Skip to content

Commit 983f036

Browse files
committed
fix(build-nx): Resolve issue with distribution paths
1 parent cea1de9 commit 983f036

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

build/nx/executors.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"executors": {
33
"node-build": {
4-
"implementation": "./src/executors/node-app/executor",
5-
"schema": "./src/executors/node-app/schema.json",
4+
"implementation": "./dist/executors/node-app/executor",
5+
"schema": "./dist/executors/node-app/schema.json",
66
"description": "An executor used to build a NodeJs application"
77
}
88
}

build/nx/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storm-stack/build-nx",
3-
"version": "1.4.1",
3+
"version": "0.0.0",
44
"type": "commonjs",
55
"repository": {
66
"type": "github",
@@ -14,9 +14,9 @@
1414
"./package.json": "./package.json",
1515
"./migrations.json": "./migrations.json",
1616
"./generators.json": "./generators.json",
17-
"./generators/*/schema.json": "./generators/*/schema.json",
17+
"./generators/*": "./dist/generators/*",
1818
"./executors.json": "./executors.json",
19-
"./executors/*/schema.json": "./executors/*/schema.json"
19+
"./executors/*": "./dist/executors/*"
2020
},
2121
"typings": "./dist/index.d.ts",
2222
"peerDependencies": {

build/nx/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"commands": [
1313
"pnpm copyfiles LICENSE dist/build/nx",
1414
"pnpm copyfiles --up=2 ./build/nx/README.md ./build/nx/package.json ./build/nx/executors.json ./build/nx/generators.json dist/build/nx",
15-
"pnpm copyfiles --up=3 ./build/nx/dist/* dist/build/nx/dist"
15+
"pnpm copyfiles --up=3 ./build/nx/dist/* dist/build/nx/dist",
16+
"pnpm copyfiles --up=4 ./build/nx/dist/executors/*/executor.js ./build/nx/dist/executors/*/executor.d.ts dist/build/nx/dist/executors",
17+
"pnpm copyfiles --up=4 ./build/nx/src/executors/*/schema.json ./build/nx/src/executors/*/schema.d.ts dist/build/nx/dist/executors"
1618
]
1719
}
1820
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@storm-stack/monorepo",
3-
"version": "0.5.3",
3+
"version": "1.0.0",
44
"description": "⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
55
"repository": {
66
"type": "github",

0 commit comments

Comments
 (0)