Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate NX to 16.0.1 #40

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
migrates NX to 16.0.1
github-actions[bot] committed Apr 29, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e68bcaff95d989681050290a1988fc35f4471f24
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

51 changes: 0 additions & 51 deletions README.md

This file was deleted.

9 changes: 0 additions & 9 deletions jest.config.js

This file was deleted.

36 changes: 36 additions & 0 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"migrations": [
{
"cli": "nx",
"version": "15.8.2-beta.0",
"description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-15-8-2/update-nxw",
"package": "nx",
"name": "15.8.2-update-nx-wrapper"
},
{
"cli": "nx",
"version": "16.0.0-beta.0",
"description": "Remove @nrwl/cli.",
"implementation": "./src/migrations/update-16-0-0/remove-nrwl-cli",
"package": "nx",
"name": "16.0.0-remove-nrwl-cli"
},
{
"cli": "nx",
"version": "16.0.0-beta.9",
"description": "Replace `dependsOn.projects` and `inputs` definitions with new configuration format.",
"implementation": "./src/migrations/update-16-0-0/update-depends-on-to-tokens",
"package": "nx",
"name": "16.0.0-tokens-for-depends-on"
},
{
"cli": "nx",
"version": "16.0.0-beta.0",
"description": "Replace @nrwl/nx-cloud with nx-cloud",
"implementation": "./src/migrations/update-16-0-0/update-nx-cloud-runner",
"package": "nx",
"name": "16.0.0-update-nx-cloud-runner"
}
]
}
6 changes: 3 additions & 3 deletions test-setup/nx.json → nx.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"extends": "nx/presets/npm.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
@@ -13,5 +11,7 @@
]
}
}
}
},
"extends": "nx/presets/npm.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json"
}
12,770 changes: 1,746 additions & 11,024 deletions package-lock.json

Large diffs are not rendered by default.

50 changes: 9 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,14 @@
{
"name": "nx-migration-action",
"name": "action-test-project",
"version": "0.0.0",
"private": true,
"description": "This Action checks your current NX version, migrates the project in a new branch and opens a PR.",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"package": "ncc build src/main.ts --source-map --license licenses.txt",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run package"
},
"repository": {
"type": "git",
"url": "git+https://github.com/actions/typescript-action.git"
},
"keywords": [
"actions",
"node",
"setup"
],
"author": "",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1",
"latest-version": "^7.0.0"
},
"scripts": {},
"private": true,
"dependencies": {},
"devDependencies": {
"@types/node": "^18.15.13",
"@typescript-eslint/parser": "^5.58.0",
"@vercel/ncc": "^0.36.1",
"eslint": "^8.38.0",
"eslint-plugin-github": "^4.7.0",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.5.0",
"js-yaml": "^4.1.0",
"prettier": "2.8.7",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
}
"nx": "16.0.1"
},
"workspaces": [
"packages/*"
]
}
File renamed without changes.
39 changes: 0 additions & 39 deletions src/git.ts

This file was deleted.

22 changes: 0 additions & 22 deletions src/inputs-helper.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/inputs.model.ts

This file was deleted.

88 changes: 0 additions & 88 deletions src/main.ts

This file was deleted.

35 changes: 0 additions & 35 deletions src/nx-migrate.ts

This file was deleted.

19 changes: 0 additions & 19 deletions src/nx-version.ts

This file was deleted.

39 changes: 0 additions & 39 deletions test-setup/.gitignore

This file was deleted.

2,682 changes: 0 additions & 2,682 deletions test-setup/package-lock.json

This file was deleted.

14 changes: 0 additions & 14 deletions test-setup/package.json

This file was deleted.

12 changes: 0 additions & 12 deletions tsconfig.json

This file was deleted.