Skip to content

Commit 9c187fc

Browse files
committed
chore(monorepo): Upgraded Nx packages to version 16.9.1
1 parent d994538 commit 9c187fc

28 files changed

Lines changed: 1756 additions & 827 deletions

File tree

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ AKKA_STREAMS_KAFKA_TEST_FILE_LOGGING=true
88
RUST_BACKTRACE=full
99
# PUPPETEER_SKIP_DOWNLOAD=true
1010

11-
HS_SERVICE_NAME="@stormstack/repo"
11+
HS_SERVICE_NAME="@stormstack/monorepo"
1212
# HS_DEBUG=true
1313

1414
SENTRY_ORGANIZATION="stormstack"
@@ -37,7 +37,7 @@ UPSTASH_KAFKA_REST_URL="https://fitting-dassie-7031-us1-rest-kafka.upstash.io"
3737
# UPSTASH_KAFKA_REST_PASSWORD=
3838

3939
PRISMA_GENERATE_DATAPROXY=true
40-
STORM_RUNTIME_MODULE="dist/.storm"
40+
FORECAST_RUNTIME_MODULE="dist/.stormstack"
4141

4242
NO_D1_WARNING=true
4343

babel.config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
".",
88

99
// Also consider monorepo packages "root" and load their .babelrc.json files.
10+
"./apps/*",
1011
"./libs/*",
12+
"./design-system/*",
1113
"./tools/*"
1214
],
1315
// @see https://babeljs.io/docs/en/options#presets

commitlint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
extends: ["./dist/tools/devops/config/commitlint/index.js"],
2+
extends: ["./dist/tools/devops/config/commitlint/index.js"]
33
};

libs/contact/typescript/server/attachment/schema.4cast

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ datasource db {
66
generator js {
77
provider = "prisma-client-js"
88
/// Generate into custom location because this repo has multiple prisma schemas
9-
output = "../../../../../../node_modules/@prisma/client/contact-attachment"
9+
output = "../../../../../node_modules/@prisma/client/contact-attachment"
1010
}
1111

1212
plugin crud {

migrations.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"migrations": [
3+
{
4+
"cli": "nx",
5+
"version": "16.8.0-beta.3",
6+
"description": "Escape $ in env variables",
7+
"implementation": "./src/migrations/update-16-8-0/escape-dollar-sign-env-variables",
8+
"package": "nx",
9+
"name": "16.8.0-escape-dollar-sign-env"
10+
},
11+
{
12+
"cli": "nx",
13+
"version": "16.9.0-beta.1",
14+
"description": "Replace imports of Module Federation utils frm @nx/devkit to @nx/webpack",
15+
"implementation": "./src/migrations/update-16-9-0/migrate-mf-util-usage",
16+
"package": "@nx/devkit",
17+
"name": "update-16-9-0-migrate-mf-usage-to-webpack"
18+
},
19+
{
20+
"cli": "nx",
21+
"version": "16.8.2-beta.0",
22+
"description": "Remove invalid options (strict, noInterop) for ES6 type modules.",
23+
"factory": "./src/migrations/update-16-8-2/update-swcrc",
24+
"package": "@nx/js",
25+
"name": "16-8-2-update-swcrc"
26+
},
27+
{
28+
"cli": "nx",
29+
"version": "16.8.0-beta.4",
30+
"description": "Update to Cypress v13. Most noteable change is video recording is off by default. This migration will only update if the workspace is already on Cypress v12. https://docs.cypress.io/guides/references/migration-guide#Migrating-to-Cypress-130",
31+
"implementation": "./src/migrations/update-16-8-0/cypress-13",
32+
"package": "@nx/cypress",
33+
"name": "update-16-8-0-cypress-13"
34+
},
35+
{
36+
"version": "16.8.0",
37+
"description": "update-16-8-0-add-ignored-files",
38+
"implementation": "./src/migrations/update-16-8-0-add-ignored-files/update-16-8-0-add-ignored-files",
39+
"package": "@nx/linter",
40+
"name": "update-16-8-0-add-ignored-files"
41+
}
42+
]
43+
}

nx.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@
146146
],
147147
"sharedGlobals": ["{workspaceRoot}/babel.config.json"]
148148
},
149+
"defaultBase": "main",
150+
"pluginsConfig": {
151+
"@nrwl/js": {
152+
"analyzeSourceFiles": false
153+
}
154+
},
149155
"generators": {
150156
"@nx/react": {
151157
"application": {

package.json

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stormstack/root",
2+
"name": "monorepo",
33
"namespace": "@stormstack",
44
"version": "0.0.0",
55
"private": true,
@@ -38,49 +38,49 @@
3838
"url": "https://stormcloud.dev"
3939
},
4040
"scripts": {
41-
"nx": "nx",
42-
"help": "nx help",
43-
"prepare": "pnpm prepare:husky && npx patch-package -y",
44-
"prepare:husky": "is-ci || husky install",
45-
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
46-
"install:csb": "corepack enable && pnpm install --frozen-lockfile",
47-
"local-registry": "nx local-registry @stormstack/root",
4841
"add:contributors": "all-contributors add",
4942
"add:decisions": "pnpm log4brains adr new",
5043
"analyze": "cross-env ANALYZE=true npm run build",
5144
"build": "pnpm nx run-many -t build --all --parallel 4",
45+
"build:relay": "relay-compiler ./dist/tools/devops/config/relay",
5246
"build:storybook": "cross-env FORCE_COLOR=1 storybook build -s public",
5347
"build:tools": "cross-env FORCE_COLOR=1 pnpm nx run tools-executors-typescript:build && pnpm nx run tools-executors-docs:build && pnpm nx run design-system-tokens:build:impact",
5448
"build:tools-ci": "pnpm nx run tools-executors-typescript:build && pnpm nx run design-system-tokens:style-dictionary",
5549
"build:web-deploy": "pnpm run build:tools-ci && pnpm nx run web-shell:build:production",
56-
"build:relay": "relay-compiler ./dist/tools/devops/config/relay",
5750
"clean": "rimraf dist",
5851
"clean:apps": "rimraf dist/apps",
5952
"clean:libs": "rimraf dist/libs",
6053
"clean:tools": "rimraf dist/tools",
6154
"commit": "git-cz",
6255
"dep-graph": "nx dep-graph",
56+
"e2e": "nx e2e",
6357
"format": "nx format:write && pnpm doctoc --github README.md",
6458
"generate": "graphql-codegen --config graphql-codegen.ts",
6559
"generate:contributors": "all-contributors generate",
6660
"generate:graphql": "graphql-codegen --config graphql-codegen.ts",
61+
"help": "nx help",
62+
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
63+
"install:csb": "corepack enable && pnpm install --frozen-lockfile",
6764
"lint": "pnpm lint:language && lint:dependency-versions",
6865
"lint:dependency-versions": "cross-env FORCE_COLOR=1 check-dependency-version-consistency . --fix",
6966
"lint:language": "cross-env FORCE_COLOR=1 alex . !**/CODE_OF_CONDUCT.md --quiet",
7067
"lint:spellcheck": "cross-env FORCE_COLOR=1 cspell lint \"**/*.{txt,js,jsx,ts,tsx,md,mdx}\" --cache --no-progress --relative --dot --gitignore --config=dist/tools/devops/config/cspell/config.js",
68+
"local-registry": "nx local-registry @stormstack/root",
69+
"nx": "nx",
70+
"nx-release": "nx generate @stormstack/tools-generators-typescript:monorepo-release --no-interactive",
7171
"pre-commit": "lint-staged --concurrent false --config @stormstack/tools-devops-config/lint-staged",
72+
"prepare": "pnpm prepare:husky && npx patch-package -y",
73+
"prepare:husky": "is-ci || husky install",
7274
"preview:decisions": "pnpm log4brains preview",
73-
"watch:relay": "pnpm build:relay --watch",
7475
"repo-check": "pnpm repo-check:manypkg && pnpm repo-check:circular-deps",
7576
"repo-check:circular-deps": "pnpm exec dpdm ",
7677
"repo-check:manypkg": "pnpm exec manypkg check",
7778
"start": "nx serve",
7879
"storybook": "cross-env FORCE_COLOR=1 storybook dev -p 6006",
7980
"test": "nx test",
80-
"e2e": "nx e2e",
8181
"test:storybook": "cross-env FORCE_COLOR=1 test-storybook",
8282
"typecheck": "pnpm run -r typecheck",
83-
"nx-release": "nx generate @stormstack/tools-generators-typescript:monorepo-release --no-interactive"
83+
"watch:relay": "pnpm build:relay --watch"
8484
},
8585
"husky": {
8686
"hooks": {
@@ -170,22 +170,22 @@
170170
"@manypkg/cli": "^0.21.0",
171171
"@mdx-js/react": "1.6.22",
172172
"@nx-plus/docusaurus": "^15.0.0-rc.0",
173-
"@nx/cypress": "16.7.0",
174-
"@nx/devkit": "16.7.0",
175-
"@nx/esbuild": "16.7.0",
176-
"@nx/eslint-plugin": "16.7.0",
177-
"@nx/jest": "16.7.0",
178-
"@nx/js": "16.7.0",
179-
"@nx/linter": "16.7.0",
180-
"@nx/next": "16.7.0",
181-
"@nx/node": "16.7.0",
182-
"@nx/plugin": "16.7.0",
183-
"@nx/react": "16.7.0",
184-
"@nx/rollup": "16.7.0",
185-
"@nx/storybook": "16.7.0",
186-
"@nx/web": "16.7.0",
187-
"@nx/webpack": "16.7.0",
188-
"@nx/workspace": "16.7.0",
173+
"@nx/cypress": "16.9.1",
174+
"@nx/devkit": "16.9.1",
175+
"@nx/esbuild": "16.9.1",
176+
"@nx/eslint-plugin": "16.9.1",
177+
"@nx/jest": "16.9.1",
178+
"@nx/js": "16.9.1",
179+
"@nx/linter": "16.9.1",
180+
"@nx/next": "16.9.1",
181+
"@nx/node": "16.9.1",
182+
"@nx/plugin": "16.9.1",
183+
"@nx/react": "16.9.1",
184+
"@nx/rollup": "16.9.1",
185+
"@nx/storybook": "16.9.1",
186+
"@nx/web": "16.9.1",
187+
"@nx/webpack": "16.9.1",
188+
"@nx/workspace": "16.9.1",
189189
"@nxkit/style-dictionary": "^3.0.2",
190190
"@opentelemetry/api": "^1.4.1",
191191
"@opentelemetry/instrumentation": "^0.41.2",
@@ -213,8 +213,8 @@
213213
"@swc-jotai/react-refresh": "^0.1.0",
214214
"@swc-node/register": "^1.6.7",
215215
"@swc/cli": "^0.1.62",
216-
"@swc/core": "^1.3.83",
217-
"@swc/helpers": "^0.5.2",
216+
"@swc/core": "1.3.90",
217+
"@swc/helpers": "0.5.2",
218218
"@swc/jest": "^0.2.29",
219219
"@tailwindcss/forms": "^0.5.3",
220220
"@tailwindcss/line-clamp": "^0.4.4",
@@ -243,11 +243,11 @@
243243
"cross-env": "^7.0.3",
244244
"cspell": "^6.31.1",
245245
"css-loader": "^6.4.0",
246-
"cypress": "^12.16.0",
246+
"cypress": "^13.0.0",
247247
"cz-conventional-changelog": "^3.3.0",
248248
"doctoc": "^2.2.1",
249249
"dpdm": "^3.13.1",
250-
"esbuild": "^0.18.11",
250+
"esbuild": "0.19.2",
251251
"eslint": "8.46.0",
252252
"eslint-config-next": "^13.4.7",
253253
"eslint-config-prettier": "8.8.0",
@@ -272,8 +272,8 @@
272272
"log4brains": "^1.0.1",
273273
"mustache": "^4.2.0",
274274
"next-intl": "^2.13.1",
275-
"nx": "16.7.0",
276-
"nx-cloud": "16.3.0",
275+
"nx": "16.9.1",
276+
"nx-cloud": "16.4.0",
277277
"patch-package": "^7.0.0",
278278
"postcss": "^8.4.23",
279279
"postcss-import": "^15.1.0",
@@ -333,7 +333,6 @@
333333
},
334334
"pnpm": {
335335
"patchedDependencies": {
336-
"@nx/js@16.7.0": "patches/@nx__js@16.7.0.patch",
337336
"@graphql-hive/client@0.24.1": "patches/@graphql-hive__client@0.24.1.patch",
338337
"@graphql-hive/core@0.2.3": "patches/@graphql-hive__core@0.2.3.patch",
339338
"@graphql-tools/graphql-file-loader@8.0.0": "patches/@graphql-tools__graphql-file-loader@8.0.0.patch",

patches/@nx__js@16.7.0.patch

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)