chore: nx migrate

This commit is contained in:
Nathan Walker
2025-04-10 09:54:06 -07:00
parent 4d5f148dd2
commit 15e76fb662
5 changed files with 1773 additions and 886 deletions

View File

@ -1,7 +1,7 @@
{ {
"migrations": [ "migrations": [
{ "version": "20.0.0-beta.7", "description": "Migration for v20.0.0-beta.7", "implementation": "./src/migrations/update-20-0-0/move-use-daemon-process", "package": "nx", "name": "move-use-daemon-process" }, { "version": "20.5.0-beta.2", "description": "Install jiti as a devDependency to allow vite to parse TS postcss files.", "implementation": "./src/migrations/update-20-5-0/install-jiti", "package": "@nx/vite", "name": "update-20-5-0-install-jiti" },
{ "version": "20.0.1", "description": "Set `useLegacyCache` to true for migrating workspaces", "implementation": "./src/migrations/update-20-0-1/use-legacy-cache", "x-repair-skip": true, "package": "nx", "name": "use-legacy-cache" }, { "version": "20.5.0-beta.3", "description": "Update resolve.conditions to include defaults that are no longer provided by Vite.", "implementation": "./src/migrations/update-20-5-0/update-resolve-conditions", "package": "@nx/vite", "name": "update-20-5-0-update-resolve-conditions" },
{ "cli": "nx", "version": "20.0.0-beta.5", "description": "replace getJestProjects with getJestProjectsAsync", "implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync", "package": "@nx/jest", "name": "replace-getJestProjects-with-getJestProjectsAsync" } { "version": "20.5.0-beta.3", "description": "Add vite config temporary files to the ESLint configuration ignore patterns if ESLint is used.", "implementation": "./src/migrations/update-20-5-0/eslint-ignore-vite-temp-files", "package": "@nx/vite", "name": "eslint-ignore-vite-temp-files" }
] ]
} }

2089
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,91 +1,92 @@
{ {
"name": "nativescript", "name": "nativescript",
"version": "8.9.0", "version": "8.9.0",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"clean": "git clean -f -X -d --exclude=!.idea/ --exclude=!.vscode/* --exclude=!.npmrc", "clean": "git clean -f -X -d --exclude=!.idea/ --exclude=!.vscode/* --exclude=!.npmrc",
"clean.all": "npm run setup && nx run-many --target=clean --all", "clean.all": "npm run setup && nx run-many --target=clean --all",
"setup": "npm run clean && npm install", "setup": "npm run clean && npm install",
"setup:yarn": "yarn clean && yarn", "setup:yarn": "yarn clean && yarn",
"setup:pnpm": "pnpm run clean && pnpm install", "setup:pnpm": "pnpm run clean && pnpm install",
"postinstall": "ts-patch install && husky && nx run webpack5:build", "postinstall": "ts-patch install && husky && nx run webpack5:build",
"start": "nps" "start": "nps"
}, },
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/NativeScript/NativeScript.git" "url": "https://github.com/NativeScript/NativeScript.git"
}, },
"dependencies": { "dependencies": {
"nativescript-theme-core": "^1.0.4" "nativescript-theme-core": "^1.0.4"
}, },
"devDependencies": { "devDependencies": {
"@csstools/css-calc": "~2.1.2", "@csstools/css-calc": "~2.1.2",
"@csstools/css-color-parser": "^3.0.8", "@csstools/css-color-parser": "^3.0.8",
"@csstools/css-parser-algorithms": "^3.0.4", "@csstools/css-parser-algorithms": "^3.0.4",
"@csstools/css-tokenizer": "^3.0.3", "@csstools/css-tokenizer": "^3.0.3",
"@nativescript/hook": "^2.0.0", "@nativescript/hook": "^2.0.0",
"@nativescript/nx": "^20.0.0", "@nativescript/nx": "^20.0.0",
"@nstudio/focus": "^20.0.2", "@nstudio/focus": "^20.0.2",
"@nstudio/nps-i": "~2.0.0", "@nstudio/nps-i": "~2.0.0",
"@nx/devkit": "20.3.0", "@nx/devkit": "20.7.2",
"@nx/eslint-plugin": "20.3.0", "@nx/eslint-plugin": "20.7.2",
"@nx/jest": "20.3.0", "@nx/jest": "20.7.2",
"@nx/js": "20.3.0", "@nx/js": "20.7.2",
"@nx/node": "20.3.0", "@nx/node": "20.7.2",
"@nx/plugin": "20.3.0", "@nx/plugin": "20.7.2",
"@nx/vite": "20.3.0", "@nx/vite": "20.7.2",
"@nx/web": "20.3.0", "@nx/web": "20.7.2",
"@nx/workspace": "20.3.0", "@nx/workspace": "20.7.2",
"@prettier/plugin-xml": "^3.4.1", "@prettier/plugin-xml": "^3.4.1",
"@swc-node/register": "~1.9.1", "@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7", "@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11", "@swc/helpers": "~0.5.11",
"@types/jest": "~29.5.0", "@types/jest": "~29.5.0",
"@types/node": "^20.0.0", "@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.6.0", "@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0", "@typescript-eslint/parser": "^8.6.0",
"@vitest/coverage-v8": "^1.0.4", "@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.3.1", "@vitest/ui": "^1.3.1",
"acorn": "^8.7.0", "acorn": "^8.7.0",
"copyfiles": "^2.4.0", "copyfiles": "^2.4.0",
"css": "^3.0.0", "css": "^3.0.0",
"css-tree": "^1.1.2", "css-tree": "^1.1.2",
"css-what": "^6.1.0", "css-what": "^6.1.0",
"dotenv": "~16.4.0", "dotenv": "~16.4.0",
"emoji-regex": "^10.3.0", "emoji-regex": "^10.3.0",
"enhanced-resolve": "^5.8.3", "enhanced-resolve": "^5.8.3",
"eslint": "~8.57.0", "eslint": "~8.57.0",
"eslint-config-prettier": "~9.1.0", "eslint-config-prettier": "^10.1.0",
"gonzales": "^1.0.7", "gonzales": "^1.0.7",
"husky": "^9.0.0", "husky": "^9.0.0",
"jest": "~29.7.0", "jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0", "jest-environment-jsdom": "~29.7.0",
"jsdom": "~22.1.0", "jiti": "2.4.2",
"lint-staged": "^15.2.0", "jsdom": "~22.1.0",
"module-alias": "^2.2.2", "lint-staged": "^15.2.0",
"nativescript": "~8.9.0", "module-alias": "^2.2.2",
"nativescript-typedoc-theme": "1.1.0", "nativescript": "~8.9.0",
"nx": "20.3.0", "nativescript-typedoc-theme": "1.1.0",
"parse-css": "git+https://github.com/tabatkins/parse-css.git", "nx": "20.7.2",
"parserlib": "^1.1.1", "parse-css": "git+https://github.com/tabatkins/parse-css.git",
"prettier": "^3.2.5", "parserlib": "^1.1.1",
"sass": "^1.72.0", "prettier": "^3.2.5",
"shady-css-parser": "^0.1.0", "sass": "^1.72.0",
"tree-kill": "^1.2.2", "shady-css-parser": "^0.1.0",
"ts-jest": "29.2.5", "tree-kill": "^1.2.2",
"ts-node": "10.9.2", "ts-jest": "29.2.5",
"ts-patch": "^3.0.0", "ts-node": "10.9.2",
"tslib": "^2.6.0", "ts-patch": "^3.0.0",
"typedoc": "^0.27.6", "tslib": "^2.6.0",
"typescript": "~5.6.0", "typedoc": "^0.27.6",
"vite": "^5.0.0", "typescript": "5.7.3",
"vitest": "^1.3.1", "vite": "6.2.6",
"zx": "^8.3.0" "vitest": "^1.3.1",
}, "zx": "^8.3.0"
"lint-staged": { },
"**/*.{js,ts,css,scss,json,html}": [ "lint-staged": {
"npx prettier --write" "**/*.{js,ts,css,scss,json,html}": [
] "npx prettier --write"
} ]
} }
}

View File

@ -1,7 +1,7 @@
{ {
"extends": "../../.eslintrc.json", "extends": "../../.eslintrc.json",
"rules": {}, "rules": {},
"ignorePatterns": ["!**/*", "**/global-types.d.ts", "**/node_modules/**/*", "**/__tests__/**/*"], "ignorePatterns": ["!**/*", "**/global-types.d.ts", "**/node_modules/**/*", "**/__tests__/**/*", "**/vite.config.*.timestamp*", "**/vitest.config.*.timestamp*"],
"overrides": [ "overrides": [
{ {
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],

File diff suppressed because it is too large Load Diff