Skip to content

Commit

Permalink
fix: 🐛 Fix generators
Browse files Browse the repository at this point in the history
  • Loading branch information
klaascuvelier committed Jun 8, 2022
1 parent 8d3ad58 commit 0bb575f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
4 changes: 0 additions & 4 deletions packages/nx-cloudflare-wrangler/executors.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
"implementation": "./src/executors/workers/serve/executor",
"schema": "./src/executors/workers/serve/schema.json"
},
"test-worker": {
"implementation": "./src/executors/workers/test/executor",
"schema": "./src/executors/workers/test/schema.json"
},
"deploy-worker": {
"implementation": "./src/executors/workers/deploy/executor",
"schema": "./src/executors/workers/deploy/schema.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,8 @@ function addTargets(

projectConfiguration.targets = {
...(projectConfiguration.targets ?? {}),
serve: {
executor: '@k11r/nx-cloudflare-wrangler:serve',
...options,
},

deploy: {
executor: '@k11r/nx-cloudflare-wrangler:deploy',
executor: '@k11r/nx-cloudflare-wrangler:deploy-page',
...options,
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ function addTargets(
projectConfiguration.targets = {
...(projectConfiguration.targets ?? {}),
serve: {
executor: '@k11r/nx-cloudflare-wrangler:serve',
executor: '@k11r/nx-cloudflare-wrangler:serve-worker',
...options,
},

deploy: {
executor: '@k11r/nx-cloudflare-wrangler:deploy',
executor: '@k11r/nx-cloudflare-wrangler:deploy-worker',
...options,
},
};
Expand Down

0 comments on commit 0bb575f

Please sign in to comment.