Skip to content

Commit

Permalink
feat: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-jerkovic committed Mar 5, 2024
1 parent 1f83bd2 commit bfa29d6
Show file tree
Hide file tree
Showing 13 changed files with 7,229 additions and 6,572 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ module.exports = {
'./eslint/mobx.js',
'./eslint/react.js',
'./eslint/next.js',
'./eslint/type-graphql.js',
],
files: '*.ts',
},
Expand Down
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@ yarn-error.log*
# Node
node_modules/

# Eslint
.eslintcache

# Env Files
.env

# IntelliJ
.idea

# Stylelint
.stylelintcache
# MacOS
**/.DS_Store
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/commitlint --edit $1
546 changes: 0 additions & 546 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

783 changes: 0 additions & 783 deletions .yarn/releases/yarn-3.2.3.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed

enableGlobalCache: false

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.2.3.cjs
yarnPath: .yarn/releases/yarn-4.1.1.cjs
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ module.exports = {
// Other config stuff
}
```
- `@rimac-technology/style-guide/eslint/type-graphql`
- Example configuration with overrides for only `.test.ts` files with `jest` ruleset

```javascript
Expand Down
6 changes: 3 additions & 3 deletions __tests__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "@rimac-technology/test",
"version": "0.0.0",
"private": false,
"description": "Test config",
"license": "MIT",
"author": {
"name": "Test Author"
},
"description": "Test config",
"license": "MIT"
}
}
8 changes: 0 additions & 8 deletions eslint/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ module.exports = {
'simple-import-sort',
'more',
'sonarjs',
'etc',
'@rimac-technology',
'@eslint-community/eslint-comments',
],
Expand Down Expand Up @@ -223,13 +222,6 @@ module.exports = {
curly: 'error',
'default-param-last': 'off',
eqeqeq: 'error',
'etc/no-assign-mutated-array': 'error',
'etc/no-commented-out-code': 'error',
'etc/no-const-enum': 'error',
'etc/no-deprecated': 'error',
'etc/no-implicit-any-catch': 'error',
'etc/no-internal': 'error',
'etc/no-t': 'error',
'for-direction': 'error',
'func-call-spacing': 'off',
'function-call-argument-newline': ['error', 'consistent'],
Expand Down
11 changes: 0 additions & 11 deletions eslint/type-graphql.js

This file was deleted.

67 changes: 31 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
],
"scripts": {
"cm": "cz",
"postinstall": "husky install",
"postinstall": "husky",
"lint": "yarn lint:source & yarn lint:config & yarn lint:package-json",
"lint:config": "prettier --log-level warn --no-editorconfig --no-error-on-unmatched-pattern --write \"./**/*{yaml,yml,json,md,prisma,graphql,css}\" ",
"lint:package-json": "npmPkgJsonLint --configFile ./.packagerc.js .",
"lint:source": "eslint './**/*.{js,ts}' --quiet --cache --cache-strategy content --cache-location '.eslintcache/'",
"lint:source": "eslint './**/*.{js,ts}' --quiet --cache --cache-strategy content --cache-location 'node_modules/.cache/eslint/'",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"release": "semantic-release",
"test": "yarn test:eslint && yarn test:prettier && yarn test:package-json && yarn test:stylelint",
"test:eslint": "eslint ./__tests__/**/*.{ts,tsx}",
"test:package-json": "npmPkgJsonLint --configFile ./.packagerc.js ./__tests__/",
"test:prettier": "prettier --log-level warn --check ./__tests__/prettier.json",
"test:stylelint": "stylelint --cache --config='./stylelint/index.js' './**/*.css'"
"test:prettier": "prettier --log-level warn --cache --check ./__tests__/prettier.json",
"test:stylelint": "stylelint --cache --cache-location node_modules/.cache/stylelint/ --config='./stylelint/index.js' './**/*.css'"
},
"commitlint": {
"extends": [
Expand All @@ -42,64 +42,59 @@
"path": "cz-conventional-changelog"
}
},
"resolutions": {
"npm/chalk": "^4.1.2"
},
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.1.0",
"@next/eslint-plugin-next": "^14.0.1",
"@next/eslint-plugin-next": "^14.1.2",
"@rimac-technology/eslint-plugin": "^1.5.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint-config-next": "^14.0.1",
"eslint-plugin-etc": "^2.0.3",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint-config-next": "^14.1.2",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-mobx": "^0.0.9",
"eslint-plugin-more": "^1.0.5",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-type-graphql": "^1.0.0",
"eslint-plugin-typescript-sort-keys": "^3.1.0",
"eslint-plugin-unicorn": "^49.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-workspaces": "^0.9.0",
"prettier-plugin-packagejson": "^2.4.6",
"eslint-plugin-typescript-sort-keys": "^3.2.0",
"eslint-plugin-unicorn": "^51.0.1",
"eslint-plugin-unused-imports": "^3.1.0",
"eslint-plugin-workspaces": "^0.10.0",
"prettier-plugin-packagejson": "^2.4.12",
"prettier-plugin-prisma": "^5.0.0",
"stylelint-order": "^6.0.3"
"stylelint-order": "^6.0.4"
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"@types/react": "^18.2.63",
"@types/react-dom": "^18.2.20",
"commitizen": "^4.3.0",
"conventional-changelog-conventionalcommits": "^7.0.2",
"eslint": "^8.53.0",
"husky": "^8.0.3",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"npm-package-json-lint": "^7.1.0",
"pinst": "^3.0.0",
"prettier": "^3.0.3",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"semantic-release": "^19.0.5",
"stylelint": "^15.2.0",
"typescript": "^5.2.2"
"semantic-release": "^23.0.2",
"stylelint": "^15.11.0",
"typescript": "^5.3.3"
},
"peerDependencies": {
"eslint": ">=8.27",
"npm-package-json-lint": "7",
"prettier": "3",
"stylelint": "^14"
"stylelint": "^15"
},
"peerDependenciesMeta": {
"eslint": {
Expand All @@ -115,7 +110,7 @@
"optional": true
}
},
"packageManager": "yarn@3.2.3",
"packageManager": "yarn@4.1.1",
"engines": {
"yarn": ">=3"
},
Expand Down
Loading

0 comments on commit bfa29d6

Please sign in to comment.