Skip to content

Commit

Permalink
fix: nx
Browse files Browse the repository at this point in the history
  • Loading branch information
dineug committed Sep 13, 2024
1 parent 9aba89e commit c0980d8
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 35 deletions.
13 changes: 13 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": ["{projectRoot}/**/*"]
},
"targetDefaults": {
"dev": {
"inputs": ["default"],
"outputs": ["{projectRoot}/dist"],
"dependsOn": ["^build"],
"cache": true
},
"build": {
"inputs": ["default"],
"outputs": ["{projectRoot}/dist"],
"dependsOn": ["^build"],
"cache": true
},
"test": {
"inputs": ["default"],
"outputs": ["{projectRoot}/dist"],
"dependsOn": ["^build"],
"cache": true
}
Expand Down
10 changes: 0 additions & 10 deletions packages/erd-editor-app/project.json

This file was deleted.

9 changes: 2 additions & 7 deletions packages/erd-editor-intellij-webview/project.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
{
"targets": {
"build": {
"dependsOn": ["^build"]
},
"build:webview": {
"dependsOn": ["^build"]
},
"dev": {
"dependsOn": ["^build"]
"dependsOn": ["^build"],
"cache": false
}
}
}
8 changes: 8 additions & 0 deletions packages/erd-editor-vscode-webview/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"targets": {
"build": {
"outputs": ["{workspaceRoot}/packages/erd-editor-vscode/public"],
"cache": false
}
}
}
1 change: 0 additions & 1 deletion packages/erd-editor-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"nx:build": "nx build"
},
"devDependencies": {
"@dineug/erd-editor": "workspace:*",
"@dineug/erd-editor-vscode-bridge": "workspace:*",
"@dineug/erd-editor-vscode-webview": "workspace:*",
"@types/node": "^18.19.31",
Expand Down
5 changes: 1 addition & 4 deletions packages/erd-editor-vscode/project.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"targets": {
"build": {
"dependsOn": ["^build"]
},
"dev": {
"dependsOn": ["^build"]
"cache": false
}
}
}
10 changes: 0 additions & 10 deletions packages/erd-editor/project.json

This file was deleted.

3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c0980d8

Please sign in to comment.