Skip to content

Commit aafb72e

Browse files
committed
chore: update to nx 17
1 parent 9c41544 commit aafb72e

File tree

171 files changed

+732
-839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+732
-839
lines changed

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
/coverage
55

66
.angular
7+
8+
/.nx/cache

deploy/pulumi/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "activepieces",
3-
"main": "index.ts",
4-
"devDependencies": {
5-
"@types/node": "^18"
6-
},
7-
"dependencies": {
8-
"@pulumi/pulumi": "^3.0.0",
9-
"@pulumi/aws": "^6.0.0",
10-
"@pulumi/awsx": "^1.0.0",
11-
"@pulumi/docker": "^4.4.0"
12-
}
2+
"name": "activepieces",
3+
"main": "index.ts",
4+
"devDependencies": {
5+
"@types/node": "^18"
6+
},
7+
"dependencies": {
8+
"@pulumi/pulumi": "^3.0.0",
9+
"@pulumi/aws": "^6.0.0",
10+
"@pulumi/awsx": "^1.0.0",
11+
"@pulumi/docker": "^4.4.0"
12+
}
1313
}

migrations.json

+18-54
Original file line numberDiff line numberDiff line change
@@ -2,69 +2,33 @@
22
"migrations": [
33
{
44
"cli": "nx",
5-
"version": "16.6.0-beta.6",
6-
"description": "Prefix outputs with {workspaceRoot}/{projectRoot} if needed",
7-
"implementation": "./src/migrations/update-15-0-0/prefix-outputs",
5+
"version": "17.0.0-beta.1",
6+
"description": "Updates the default cache directory to .nx/cache",
7+
"implementation": "./src/migrations/update-17-0-0/move-cache-directory",
88
"package": "nx",
9-
"name": "16.6.0-prefix-outputs"
9+
"name": "17.0.0-move-cache-directory"
1010
},
1111
{
1212
"cli": "nx",
13-
"version": "16.8.0-beta.3",
14-
"description": "Escape $ in env variables",
15-
"implementation": "./src/migrations/update-16-8-0/escape-dollar-sign-env-variables",
13+
"version": "17.0.0-beta.3",
14+
"description": "Use minimal config for tasksRunnerOptions",
15+
"implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options",
1616
"package": "nx",
17-
"name": "16.8.0-escape-dollar-sign-env"
17+
"name": "17.0.0-use-minimal-config-for-tasks-runner-options"
1818
},
1919
{
20-
"cli": "nx",
21-
"version": "16.6.0-beta.0",
22-
"description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.",
23-
"factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps",
24-
"package": "@nx/js",
25-
"name": "explicitly-set-projects-to-update-buildable-deps"
26-
},
27-
{
28-
"cli": "nx",
29-
"version": "16.8.2-beta.0",
30-
"description": "Remove invalid options (strict, noInterop) for ES6 type modules.",
31-
"factory": "./src/migrations/update-16-8-2/update-swcrc",
32-
"package": "@nx/js",
33-
"name": "16-8-2-update-swcrc"
34-
},
35-
{
36-
"cli": "nx",
37-
"version": "16.9.0-beta.1",
38-
"description": "Replace imports of Module Federation utils frm @nx/devkit to @nx/webpack",
39-
"implementation": "./src/migrations/update-16-9-0/migrate-mf-util-usage",
40-
"package": "@nx/devkit",
41-
"name": "update-16-9-0-migrate-mf-usage-to-webpack"
42-
},
43-
{
44-
"version": "16.8.0",
45-
"description": "update-16-8-0-add-ignored-files",
46-
"implementation": "./src/migrations/update-16-8-0-add-ignored-files/update-16-8-0-add-ignored-files",
47-
"package": "@nx/linter",
48-
"name": "update-16-8-0-add-ignored-files"
49-
},
50-
{
51-
"cli": "nx",
52-
"version": "16.6.0-beta.0",
53-
"description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.",
54-
"factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps",
55-
"package": "@nx/angular",
56-
"name": "explicitly-set-projects-to-update-buildable-deps"
20+
"version": "17.0.0-rc.1",
21+
"description": "Migration for v17.0.0-rc.1",
22+
"implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope",
23+
"package": "nx",
24+
"name": "rm-default-collection-npm-scope"
5725
},
5826
{
59-
"cli": "nx",
60-
"version": "16.7.0-beta.6",
61-
"requires": {
62-
"@angular/core": ">=16.2.0"
63-
},
64-
"description": "Update the @angular/cli package version to ~16.2.0.",
65-
"factory": "./src/migrations/update-16-7-0/update-angular-cli",
66-
"package": "@nx/angular",
67-
"name": "update-angular-cli-version-16-2-0"
27+
"version": "17.0.0-beta.7",
28+
"description": "update-17-0-0-rename-to-eslint",
29+
"implementation": "./src/migrations/update-17-0-0-rename-to-eslint/update-17-0-0-rename-to-eslint",
30+
"package": "@nx/eslint",
31+
"name": "update-17-0-0-rename-to-eslint"
6832
}
6933
]
7034
}

nx.json

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,27 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3-
"npmScope": "activepieces",
4-
"tasksRunnerOptions": {
5-
"default": {
6-
"runner": "nx-cloud",
7-
"options": {
8-
"cacheableOperations": ["build", "lint", "test", "e2e"],
9-
"accessToken": "Y2Y3YzhhNjYtZWI4OC00M2Y0LWIwY2ItMWJhNTBjYzA3ZDA0fHJlYWQtb25seQ=="
10-
}
11-
}
12-
},
133
"targetDefaults": {
144
"build": {
155
"dependsOn": ["^build"],
16-
"inputs": ["production", "^production"]
6+
"inputs": ["production", "^production"],
7+
"cache": true
178
},
189
"lint": {
19-
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
10+
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
11+
"cache": true
2012
},
2113
"test": {
2214
"inputs": [
2315
"default",
2416
"^production",
2517
"{workspaceRoot}/jest.preset.js",
2618
"{workspaceRoot}/karma.conf.js"
27-
]
19+
],
20+
"cache": true
2821
},
2922
"e2e": {
30-
"inputs": ["default", "^production"]
23+
"inputs": ["default", "^production"],
24+
"cache": true
3125
}
3226
},
3327
"namedInputs": {
@@ -62,5 +56,6 @@
6256
"@nx/angular:component": {
6357
"style": "scss"
6458
}
65-
}
59+
},
60+
"nxCloudAccessToken": "Y2Y3YzhhNjYtZWI4OC00M2Y0LWIwY2ItMWJhNTBjYzA3ZDA0fHJlYWQtb25seQ=="
6661
}

0 commit comments

Comments
 (0)