Skip to content

Commit

Permalink
feat: nx
Browse files Browse the repository at this point in the history
  • Loading branch information
dineug committed Oct 6, 2024
1 parent 17f0816 commit 12390b7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
9 changes: 5 additions & 4 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": ["{projectRoot}/**/*"]
"default": ["{projectRoot}/**/*"],
"production": ["default"]
},
"targetDefaults": {
"dev": {
"inputs": ["default"],
"inputs": ["default", "^production"],
"outputs": ["{projectRoot}/dist"],
"dependsOn": ["^build"],
"cache": true
},
"build": {
"inputs": ["default"],
"inputs": ["default", "^production"],
"outputs": ["{projectRoot}/dist"],
"dependsOn": ["^build"],
"cache": true
},
"test": {
"inputs": ["default"],
"inputs": ["default", "^production"],
"outputs": ["{projectRoot}/dist"],
"dependsOn": ["^build"],
"cache": true
Expand Down
1 change: 1 addition & 0 deletions packages/erd-editor-intellij-webview/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"targets": {
"build:webview": {
"inputs": ["default", "^production"],
"dependsOn": ["^build"],
"cache": false
}
Expand Down
3 changes: 1 addition & 2 deletions packages/erd-editor-vscode-webview/project.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"targets": {
"build": {
"outputs": ["{workspaceRoot}/packages/erd-editor-vscode/public"],
"cache": false
"outputs": ["{workspaceRoot}/packages/erd-editor-vscode/public"]
}
}
}
10 changes: 0 additions & 10 deletions packages/erd-editor-vscode/project.json

This file was deleted.

0 comments on commit 12390b7

Please sign in to comment.