Skip to content

Commit be700b6

Browse files
committed
chore: upgrade workspace to Vite 8, Vitest 4, and Nx 22.5
Align root and app toolchains with Vite 8 HMR, including the Vitest 4 Nx executor move and 9.1-era CLI/runtime versions.
1 parent 9bbbddb commit be700b6

13 files changed

Lines changed: 9827 additions & 9426 deletions

File tree

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"**/*.js": true,
77
"**/*.js.map": true
88
},
9-
"eslint.validate": ["json"]
9+
"eslint.validate": ["json"],
10+
"js/ts.tsdk.path": "./node_modules/typescript/lib"
1011
}

apps/automated/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@nativescript/vite": "file:../../dist/packages/vite",
1818
"@nativescript/webpack": "file:../../dist/packages/webpack5",
1919
"circular-dependency-plugin": "^5.2.2",
20-
"typescript": "~5.8.0"
20+
"typescript": "~5.9.3"
2121
},
2222
"gitHead": "c06800e52ee1a184ea2dffd12a6702aaa43be4e3",
2323
"readme": "NativeScript Application"

apps/toolbox/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
"dependencies": {
1010
"@nativescript/core": "file:../../packages/core",
1111
"@nativescript/imagepicker": "^4.1.0",
12-
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"
12+
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core",
13+
"@valor/nativescript-websockets": "file:../../node_modules/@valor/nativescript-websockets"
1314
},
1415
"devDependencies": {
15-
"@nativescript/android": "~9.0.0",
16-
"@nativescript/ios": "~9.0.0",
16+
"@nativescript/android": "9.1.0-alpha.4",
17+
"@nativescript/ios": "9.1.0-alpha.6",
1718
"@nativescript/visionos": "~9.0.0",
1819
"@nativescript/vite": "file:../../dist/packages/vite",
1920
"@nativescript/webpack": "file:../../dist/packages/webpack5",
20-
"typescript": "~5.8.0"
21+
"typescript": "~5.9.3"
2122
}
2223
}

apps/ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
},
99
"dependencies": {
1010
"@nativescript/core": "file:../../packages/core",
11-
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"
11+
"nativescript-theme-core": "^1.0.4"
1212
},
1313
"devDependencies": {
1414
"@nativescript/android": "~9.0.0",
1515
"@nativescript/ios": "~9.0.0",
1616
"@nativescript/visionos": "~9.0.0",
1717
"@nativescript/webpack": "file:../../dist/packages/webpack5",
18-
"typescript": "~5.8.0"
18+
"typescript": "~5.9.3"
1919
},
2020
"gitHead": "8ab7726d1ee9991706069c1359c552e67ee0d1a4",
2121
"readme": "NativeScript Application",

migrations.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"migrations": [
3-
{ "version": "22.0.0-beta.1", "description": "Updates release version config based on the breaking changes in Nx v22", "implementation": "./src/migrations/update-22-0-0/release-version-config-changes", "package": "nx", "name": "22-0-0-release-version-config-changes" },
4-
{ "version": "22.0.0-beta.2", "description": "Consolidates releaseTag* options into nested releaseTag object structure", "implementation": "./src/migrations/update-22-0-0/consolidate-release-tag-config", "package": "nx", "name": "22-0-0-consolidate-release-tag-config" },
5-
{ "version": "21.5.0-beta.2", "description": "Migrate the legacy 'development' custom condition to a workspace-unique custom condition name.", "factory": "./src/migrations/update-21-5-0/migrate-development-custom-condition", "package": "@nx/js", "name": "migrate-development-custom-condition" },
6-
{ "version": "22.0.0-beta.0", "description": "Remove the deprecated `external` and `externalBuildTargets` options from the `@nx/js:swc` and `@nx/js:tsc` executors.", "factory": "./src/migrations/update-22-0-0/remove-external-options-from-js-executors", "package": "@nx/js", "name": "remove-external-options-from-js-executors" }
3+
{ "cli": "nx", "version": "22.1.0-beta.5", "description": "Updates the nx wrapper.", "implementation": "./src/migrations/update-22-1-0/update-nx-wrapper", "package": "nx", "name": "22-1-0-update-nx-wrapper" },
4+
{ "version": "22.1.0-rc.1", "description": "Removes redundant TypeScript project references from project's tsconfig.json files when runtime tsconfig files (e.g., tsconfig.lib.json, tsconfig.app.json) exist.", "factory": "./src/migrations/update-22-1-0/remove-redundant-ts-project-references", "package": "@nx/js", "name": "remove-redundant-ts-project-references" },
5+
{ "version": "22.2.0-beta.1", "requires": { "vitest": ">=4.0.0" }, "description": "Create AI Instructions to help migrate users workspaces past breaking changes for Vitest 4.", "implementation": "./src/migrations/update-22-2-0/create-ai-instructions-for-vitest-4", "package": "@nx/vite", "name": "update-22-2-0" },
6+
{ "version": "22.2.0-beta.2", "description": "Migrate Vitest usage from @nx/vite to @nx/vitest package.", "implementation": "./src/migrations/update-22-2-0/migrate-vitest-to-vitest-package", "package": "@nx/vite", "name": "migrate-vitest-to-vitest-package" },
7+
{ "version": "22.2.0-beta.2", "description": "Convert jest.config.ts files from ESM to CJS syntax (export default -> module.exports, import -> require) for projects using CommonJS resolution to ensure correct loading under Node.js type-stripping.", "implementation": "./src/migrations/update-22-2-0/convert-jest-config-to-cjs", "package": "@nx/jest", "name": "convert-jest-config-to-cjs" },
8+
{ "version": "22.3.2-beta.0", "requires": { "jest": ">=30.0.0" }, "description": "Replace removed matcher aliases in Jest v30 with their corresponding matcher", "implementation": "./src/migrations/update-21-3-0/replace-removed-matcher-aliases", "package": "@nx/jest", "name": "replace-removed-matcher-aliases-v22-3" }
79
]
810
}

nx.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@
107107
}
108108
}
109109
},
110-
"@nx/vite:test": {
111-
"cache": true,
112-
"inputs": ["default", "^production"]
113-
},
114110
"nx-release-publish": {
115111
"dependsOn": ["build"],
116112
"options": {
117113
"packageRoot": "{workspaceRoot}/dist/packages/{projectName}"
118114
}
115+
},
116+
"@nx/vitest:test": {
117+
"cache": true,
118+
"inputs": ["default", "^production"]
119119
}
120120
},
121121
"useDaemonProcess": false,

0 commit comments

Comments
 (0)