Skip to content

Commit

Permalink
works
Browse files Browse the repository at this point in the history
  • Loading branch information
CGQAQ committed Nov 30, 2023
1 parent b59e694 commit 1fc7aec
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 83 deletions.
7 changes: 5 additions & 2 deletions editor/package-lock.json

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

48 changes: 48 additions & 0 deletions editor/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "editor",
"$schema": "../.nx/installation/node_modules/nx/schemas/project-schema.json",
"targets": {
"install": {
"executor": "nx:run-commands",
"options": {
"cwd": "editor",
"commands": [
"npm install"
]
}
},
"build": {
"executor": "nx:run-commands",
"options": {
"cwd": "editor",
"commands": [
"npx next build"
]
},
"inputs": [
"{projectRoot}/**/*.{ts,tsx,js,jsx,css}"
],
"outputs": [
"{projectRoot}/.next"
]
},
"serve": {
"executor": "nx:run-commands",
"options": {
"cwd": "editor",
"commands": [
"npx next start"
]
}
},
"dev": {
"executor": "nx:run-commands",
"options": {
"cwd": "editor",
"commands": [
"npx next dev"
]
}
}
}
}
74 changes: 32 additions & 42 deletions local_server/project.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,34 @@
{
"$schema": "../.nx/installation/node_modules/nx/schemas/project-schema.json",
"name": "b3-local-server",
"projectType": "library",
"targets": {
"build": {
"executor": "@monodon/rust:build",
"outputs": [
"{options.target-dir}"
],
"options": {
"target-dir": "dist/target/b3-local-server"
},
"configurations": {
"production": {
"release": true
}
}
},
"test": {
"executor": "@monodon/rust:test",
"outputs": [
"{options.target-dir}"
],
"options": {
"target-dir": "dist/target/b3-local-server"
},
"configurations": {
"production": {
"release": true
}
}
},
"lint": {
"executor": "@monodon/rust:lint",
"outputs": [
"{options.target-dir}"
],
"options": {
"target-dir": "dist/target/b3-local-server"
}
}
"name": "local_server",
"$schema": "../.nx/installation/node_modules/nx/schemas/project-schema.json",
"sourceRoot": "local-server/src",
"targets": {
"build": {
"executor": "nx:run-commands",
"options": {
"cwd": "local_server",
"commands": [
"cargo build"
]
}
},
"test": {
"executor": "nx:run-commands",
"options": {
"cwd": "local_server",
"commands": [
"cargo test"
]
}
},
"lint": {
"executor": "nx:run-commands",
"options": {
"cwd": "local_server",
"commands": [
"cargo lint"
]
}
}
}
}
}
21 changes: 13 additions & 8 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,29 @@
"targetDefaults": {
"build": {
"cache": true,
"dependsOn": [
"^build"
"inputs": [
"production",
"^production"
]
},
"lint": {
"cache": true
},
"test": {
"cache": true
},
"e2e": {
"cache": true
}
},
"installation": {
"version": "17.1.3"
},
"plugins": [
"@monodon/rust"
]
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"sharedGlobals": [],
"production": [
"default"
]
}
}
25 changes: 0 additions & 25 deletions package-lock.json

This file was deleted.

6 changes: 0 additions & 6 deletions package.json

This file was deleted.

0 comments on commit 1fc7aec

Please sign in to comment.