Skip to content

Commit 52ed77c

Browse files
committed
refactor(nx, package): update nx configuration and dependencies to version 21.2.1, removing deprecated settings and adjusting package versions for compatibility
1 parent 409d3fa commit 52ed77c

File tree

3 files changed

+1096
-2861
lines changed

3 files changed

+1096
-2861
lines changed

nx.json

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3-
"affected": {
4-
"defaultBase": "origin/master"
5-
},
6-
"tasksRunnerOptions": {
7-
"default": {
8-
"runner": "@nx/workspace/tasks-runners/default",
9-
"options": {
10-
"cacheableOperations": ["build", "test", "lint", "e2e"]
11-
}
12-
}
3+
"namedInputs": {
4+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
5+
"sharedGlobals": [],
6+
"production": ["default"]
137
},
148
"targetDefaults": {
159
"build": {
@@ -33,44 +27,5 @@
3327
"workspaceLayout": {
3428
"appsDir": "apps",
3529
"libsDir": "packages"
36-
},
37-
"generators": {
38-
"@nx/web:application": {
39-
"style": "css",
40-
"linter": "eslint",
41-
"unitTestRunner": "jest",
42-
"e2eTestRunner": "cypress"
43-
},
44-
"@nx/web:library": {
45-
"style": "css",
46-
"linter": "eslint",
47-
"unitTestRunner": "jest"
48-
},
49-
"@nx/react": {
50-
"application": {
51-
"style": "css",
52-
"linter": "eslint",
53-
"babel": true
54-
},
55-
"component": {
56-
"style": "css"
57-
},
58-
"library": {
59-
"style": "css",
60-
"linter": "eslint"
61-
}
62-
},
63-
"@nx/next": {
64-
"application": {
65-
"style": "css",
66-
"linter": "eslint"
67-
}
68-
}
69-
},
70-
"defaultProject": "lit-client",
71-
"namedInputs": {
72-
"default": ["{projectRoot}/**/*", "sharedGlobals"],
73-
"sharedGlobals": [],
74-
"production": ["default", "!{projectRoot}/src/test-setup.[jt]s"]
7530
}
7631
}

package.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,13 @@
7070
},
7171
"devDependencies": {
7272
"@changesets/cli": "^2.29.4",
73-
"@nx/devkit": "17.3.0",
74-
"@nx/esbuild": "17.3.0",
75-
"@nx/eslint-plugin": "17.3.0",
76-
"@nx/jest": "17.3.0",
77-
"@nx/js": "17.3.0",
78-
"@nx/linter": "17.3.0",
79-
"@nx/next": "17.3.0",
80-
"@nx/node": "17.3.0",
81-
"@nx/plugin": "17.3.0",
82-
"@nx/react": "17.3.0",
83-
"@nx/web": "17.3.0",
73+
"nx": "21.2.1",
74+
"@nx/esbuild": "21.2.1",
75+
"@nx/eslint-plugin": "21.2.1",
76+
"@nx/jest": "21.2.1",
77+
"@nx/js": "21.2.1",
78+
"@nx/node": "21.2.1",
79+
"@nx/plugin": "21.2.1",
8480
"@solana/web3.js": "1.95.3",
8581
"@types/depd": "^1.1.36",
8682
"@types/events": "^3.0.3",
@@ -110,7 +106,6 @@
110106
"live-server": "^1.2.2",
111107
"node-fetch": "^2.6.1",
112108
"node-localstorage": "^3.0.5",
113-
"nx": "17.3.0",
114109
"path": "^0.12.7",
115110
"pino-pretty": "^13.0.0",
116111
"prettier": "^2.6.2",

0 commit comments

Comments
 (0)