Skip to content

Commit

Permalink
fix(build-nx): Resolve issue with distribution paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sullivanpj committed Dec 29, 2024
1 parent cea1de9 commit 983f036
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build/nx/executors.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"executors": {
"node-build": {
"implementation": "./src/executors/node-app/executor",
"schema": "./src/executors/node-app/schema.json",
"implementation": "./dist/executors/node-app/executor",
"schema": "./dist/executors/node-app/schema.json",
"description": "An executor used to build a NodeJs application"
}
}
Expand Down
6 changes: 3 additions & 3 deletions build/nx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storm-stack/build-nx",
"version": "1.4.1",
"version": "0.0.0",
"type": "commonjs",
"repository": {
"type": "github",
Expand All @@ -14,9 +14,9 @@
"./package.json": "./package.json",
"./migrations.json": "./migrations.json",
"./generators.json": "./generators.json",
"./generators/*/schema.json": "./generators/*/schema.json",
"./generators/*": "./dist/generators/*",
"./executors.json": "./executors.json",
"./executors/*/schema.json": "./executors/*/schema.json"
"./executors/*": "./dist/executors/*"
},
"typings": "./dist/index.d.ts",
"peerDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion build/nx/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"commands": [
"pnpm copyfiles LICENSE dist/build/nx",
"pnpm copyfiles --up=2 ./build/nx/README.md ./build/nx/package.json ./build/nx/executors.json ./build/nx/generators.json dist/build/nx",
"pnpm copyfiles --up=3 ./build/nx/dist/* dist/build/nx/dist"
"pnpm copyfiles --up=3 ./build/nx/dist/* dist/build/nx/dist",
"pnpm copyfiles --up=4 ./build/nx/dist/executors/*/executor.js ./build/nx/dist/executors/*/executor.d.ts dist/build/nx/dist/executors",
"pnpm copyfiles --up=4 ./build/nx/src/executors/*/schema.json ./build/nx/src/executors/*/schema.d.ts dist/build/nx/dist/executors"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storm-stack/monorepo",
"version": "0.5.3",
"version": "1.0.0",
"description": "⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
"repository": {
"type": "github",
Expand Down

0 comments on commit 983f036

Please sign in to comment.