Skip to content

Commit

Permalink
chore: upgrade dependencies and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
secundant committed Feb 22, 2024
1 parent cb6a7a1 commit eee5e58
Show file tree
Hide file tree
Showing 10 changed files with 4,155 additions and 4,033 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ call_lefthook()
pnpm lefthook "$@"
elif command -v npx >/dev/null 2>&1
then
npx @evilmartians/lefthook "$@"
npx lefthook "$@"
elif swift package plugin lefthook >/dev/null 2>&1
then
swift package --disable-sandbox plugin lefthook "$@"
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ call_lefthook()
pnpm lefthook "$@"
elif command -v npx >/dev/null 2>&1
then
npx @evilmartians/lefthook "$@"
npx lefthook "$@"
elif swift package plugin lefthook >/dev/null 2>&1
then
swift package --disable-sandbox plugin lefthook "$@"
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ call_lefthook()
pnpm lefthook "$@"
elif command -v npx >/dev/null 2>&1
then
npx @evilmartians/lefthook "$@"
npx lefthook "$@"
elif swift package plugin lefthook >/dev/null 2>&1
then
swift package --disable-sandbox plugin lefthook "$@"
Expand Down
2 changes: 1 addition & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ call_lefthook()
pnpm lefthook "$@"
elif command -v npx >/dev/null 2>&1
then
npx @evilmartians/lefthook "$@"
npx lefthook "$@"
elif swift package plugin lefthook >/dev/null 2>&1
then
swift package --disable-sandbox plugin lefthook "$@"
Expand Down
4 changes: 2 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
compressionLevel: 0

defaultSemverRangePrefix: ''
defaultSemverRangePrefix: ""

enableGlobalCache: false

nmMode: hardlinks-local

nodeLinker: node-modules

npmRegistryServer: 'https://registry.npmjs.org/'
npmRegistryServer: "https://registry.npmjs.org/"

supportedArchitectures:
cpu:
Expand Down
2 changes: 1 addition & 1 deletion libs/react-ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"types": ["vitest/globals", "vitest/importMeta", "vite/client"]
},
"include": ["src", "vite.config.ts", ".storybook"]
"include": ["src", "vite.config.ts", ".storybook/**/*.ts"]
}
2 changes: 1 addition & 1 deletion libs/std/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../../tsconfig.base.json",
"include": ["src"]
"include": ["src", "vite.config.ts"]
}
81 changes: 65 additions & 16 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,27 @@
},
"targetDefaults": {
"build": {
"dependsOn": ["typecheck", "test", "lint", "^build"],
"dependsOn": [
"typecheck",
"test",
"lint",
"^build"
],
"cache": true,
"inputs": ["production", "^production"]
"inputs": [
"production",
"^production"
]
},
"dev": {
"cache": false,
"dependsOn": ["typecheck", "test", "lint", "^build", "dev"],
"dependsOn": [
"typecheck",
"test",
"lint",
"^build",
"dev"
],
"executor": "@nx/vite:dev-server",
"options": {
"buildTarget": "{projectName}:build:development",
Expand All @@ -36,26 +50,45 @@
"options": {
"buildTarget": "{projectName}:build:production"
},
"dependsOn": ["typecheck", "test", "lint", "^build"]
"dependsOn": [
"typecheck",
"test",
"lint",
"^build"
]
},
"test": {
"cache": true,
"inputs": ["default", "^default"],
"inputs": [
"default",
"^default"
],
"executor": "@nx/vite:test",
"dependsOn": ["typecheck", "^test"],
"outputs": ["{options.reportsDirectory}"],
"dependsOn": [
"typecheck",
"^test"
],
"outputs": [
"{options.reportsDirectory}"
],
"options": {
"passWithNoTests": true,
"reportsDirectory": "{workspaceRoot}/coverage/{projectRoot}"
}
},
"lint": {
"cache": true,
"inputs": ["default"],
"inputs": [
"default"
],
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"outputs": [
"{options.outputFile}"
],
"options": {
"lintFilePatterns": ["{projectRoot}/**/*.{ts,tsx}"],
"lintFilePatterns": [
"{projectRoot}/**/*.{ts,tsx}"
],
"reportUnusedDisableDirectives": "error"
},
"configurations": {
Expand All @@ -72,7 +105,9 @@
}
},
"@nx/vite:build": {
"outputs": ["{options.outputPath}"],
"outputs": [
"{options.outputPath}"
],
"options": {
"outputPath": "dist/{projectRoot}",
"configFile": "{projectRoot}/vite.config.ts",
Expand All @@ -88,11 +123,17 @@
}
},
"cache": true,
"inputs": ["default", "^production"]
"inputs": [
"default",
"^production"
]
},
"@nx/vite:test": {
"cache": true,
"inputs": ["default", "^production"]
"inputs": [
"default",
"^production"
]
},
"storybook": {
"cache": false,
Expand All @@ -115,7 +156,9 @@
},
"build-storybook": {
"executor": "@nx/storybook:build",
"outputs": ["{options.outputDir}"],
"outputs": [
"{options.outputDir}"
],
"options": {
"outputDir": "dist/storybook/{projectRoot}",
"configDir": "{projectRoot}/.storybook"
Expand All @@ -126,7 +169,10 @@
}
},
"cache": true,
"inputs": ["default", "^production"]
"inputs": [
"default",
"^production"
]
}
},
"namedInputs": {
Expand All @@ -135,7 +181,10 @@
"{workspaceRoot}/tsconfig.base.json",
"{workspaceRoot}/package.json"
],
"default": ["{projectRoot}/**/*", "globals"],
"default": [
"{projectRoot}/**/*",
"globals"
],
"production": [
"default",
"!{projectRoot}/.eslintrc.[cm]?js",
Expand Down
80 changes: 40 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"yarn": ">=4.0.0",
"npm": "please-use-yarn"
},
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.1.0",
"workspaces": [
"apps/*",
"libs/*",
Expand All @@ -36,59 +36,59 @@
"release-publish": "yarn nx affected:build && yarn changeset publish"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/core": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@nx/eslint": "17.2.8",
"@nx/js": "17.2.8",
"@nx/react": "17.2.8",
"@nx/storybook": "17.2.8",
"@nx/vite": "17.2.8",
"@storybook/addon-essentials": "^7.6.7",
"@storybook/addon-interactions": "^7.6.7",
"@storybook/core-server": "^7.6.7",
"@storybook/react-vite": "7.6.7",
"@commitlint/cli": "18.6.1",
"@commitlint/config-conventional": "18.6.2",
"@nx/eslint": "18.0.4",
"@nx/js": "18.0.4",
"@nx/react": "18.0.4",
"@nx/storybook": "18.0.4",
"@nx/vite": "18.0.4",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17",
"@storybook/core-server": "^7.6.17",
"@storybook/react-vite": "7.6.17",
"@storybook/test-runner": "^0.16.0",
"@storybook/testing-library": "^0.2.2",
"@testing-library/react": "14.1.2",
"@types/node": "20.10.6",
"@types/react": "18.2.46",
"@types/react-dom": "18.2.18",
"@testing-library/react": "14.2.1",
"@types/node": "20.11.19",
"@types/react": "18.2.57",
"@types/react-dom": "18.2.19",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "~1.1.1",
"@vitest/ui": "~1.1.1",
"autoprefixer": "10.4.16",
"@vitest/coverage-v8": "~1.3.1",
"@vitest/ui": "~1.3.1",
"autoprefixer": "10.4.17",
"eslint": "8.56.0",
"eslint-kit": "10.7.0",
"eslint-kit": "10.15.0",
"is-ci": "3.0.1",
"jsdom": "~23.0.1",
"lefthook": "1.5.5",
"nx": "17.2.8",
"postcss": "8.4.32",
"prettier": "3.1.1",
"prettier-plugin-tailwindcss": "0.5.10",
"tailwindcss": "3.4.0",
"jsdom": "~24.0.0",
"lefthook": "1.6.1",
"nx": "18.0.4",
"postcss": "8.4.35",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.5.11",
"tailwindcss": "3.4.1",
"typescript": "5.3.3",
"vite": "5.0.10",
"vite-plugin-dts": "~3.7.0",
"vite-tsconfig-paths": "4.2.3",
"vitepress": "^1.0.0-rc.35",
"vitest": "1.1.1"
"vite": "5.1.4",
"vite-plugin-dts": "~3.7.3",
"vite-tsconfig-paths": "4.3.1",
"vitepress": "^1.0.0-rc.44",
"vitest": "1.3.1"
},
"dependencies": {
"@farfetched/core": "0.11.2",
"@react-aria/utils": "3.23.0",
"atomic-router": "0.9.3",
"atomic-router-react": "0.9.1",
"@farfetched/core": "0.11.4",
"@react-aria/utils": "3.23.2",
"atomic-router": "0.10.1",
"atomic-router-react": "0.10.0",
"class-variance-authority": "0.7.0",
"effector": "23.1.0",
"effector-react": "23.1.0",
"effector": "23.2.0",
"effector-react": "23.2.0",
"history": "5.3.0",
"react": "18.2.0",
"react-aria": "3.31.0",
"react-aria": "3.32.1",
"react-dom": "18.2.0"
}
}
Loading

0 comments on commit eee5e58

Please sign in to comment.