Skip to content

Commit

Permalink
Add install step to nx-lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobLey committed Dec 17, 2024
1 parent 18cfe17 commit 8b38197
Show file tree
Hide file tree
Showing 29 changed files with 116 additions and 9 deletions.
2 changes: 2 additions & 0 deletions apps/barrelify/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions apps/juniper/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions apps/nx-lifecycle/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions apps/nx-update-ts-references/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions apps/pnpm-dedicated-lockfile/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions apps/populate-files/load-populate-files/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions apps/populate-files/nx-populate-files/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions apps/populate-files/populate-files/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions leyman/eslint-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
18 changes: 15 additions & 3 deletions leyman/main/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"lint"
],
"dependsOn": [
"^build"
"^build",
"install"
]
},
"build": {
Expand All @@ -34,7 +35,13 @@
],
"dependsOn": [
"^build",
"analyze"
"analyze",
"install"
]
},
"install": {
"dependsOn": [
"^build"
]
},
"test": {
Expand All @@ -46,11 +53,14 @@
"dependsOn": [
"^test",
"analyze",
"build"
"build",
"install"
]
}
},
"bindings": {
"pnpm-dedicated-lockfile": "install",
"npm-pnpm-dedicated-lockfile": "install",
"eslint": "analyze:lint",
"biome": "analyze:format",
"barrelify": "build:pre",
Expand Down Expand Up @@ -80,6 +90,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
51 changes: 46 additions & 5 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,16 @@
"color": true,
"cwd": "{projectRoot}"
},
"dependsOn": []
"cache": true,
"inputs": [
"{workspaceRoot}/pnpm-lock.yaml"
],
"outputs": [
"{projectRoot}/.pnpm-lock"
],
"dependsOn": [
"install:_"
]
},
"npm-pnpm-dedicated-lockfile": {
"executor": "nx:run-commands",
Expand All @@ -302,12 +311,22 @@
"color": true,
"cwd": "{projectRoot}"
},
"dependsOn": []
"cache": true,
"inputs": [
"{workspaceRoot}/pnpm-lock.yaml"
],
"outputs": [
"{projectRoot}/.pnpm-lock"
],
"dependsOn": [
"install:_"
]
},
"analyze:_": {
"executor": "nx:noop",
"dependsOn": [
"^build"
"^build",
"install"
],
"configurations": {
"__lifecycle": {}
Expand Down Expand Up @@ -346,7 +365,8 @@
"executor": "nx:noop",
"dependsOn": [
"^build",
"analyze"
"analyze",
"install"
],
"configurations": {
"__lifecycle": {}
Expand Down Expand Up @@ -396,12 +416,33 @@
"__lifecycle": {}
}
},
"install:_": {
"executor": "nx:noop",
"dependsOn": [
"^build"
],
"configurations": {
"__lifecycle": {}
}
},
"install": {
"executor": "nx:noop",
"dependsOn": [
"install:_",
"pnpm-dedicated-lockfile",
"npm-pnpm-dedicated-lockfile"
],
"configurations": {
"__lifecycle": {}
}
},
"test:_": {
"executor": "nx:noop",
"dependsOn": [
"^test",
"analyze",
"build"
"build",
"install"
],
"configurations": {
"__lifecycle": {}
Expand Down
2 changes: 2 additions & 0 deletions tools/common-proxy/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/default-import/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/entry-script/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/enum-to-array/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/find-import/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
4 changes: 3 additions & 1 deletion tools/format-file/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@
"mocha-integration-test": {},
"coverage-report": {},
"analyze:_": {},
"analyze:lint": {},
"analyze:format": {},
"analyze:lint": {},
"analyze": {},
"build:_": {},
"build:pre": {},
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/haywire-launcher/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/haywire/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/iso-crypto/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/mocha-chain/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/named-patch/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/normalized-react-query/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/nx-plugin-handler/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/nx-tsc/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/parse-cwd/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/punycode-esm/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/sinon-typed-stub/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down
2 changes: 2 additions & 0 deletions tools/static-emitter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"build:run": {},
"build:post": {},
"build": {},
"install:_": {},
"install": {},
"test:_": {},
"test:reset": {},
"test:run": {},
Expand Down

0 comments on commit 8b38197

Please sign in to comment.