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

View File

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

File diff suppressed because it is too large Load Diff