init
This commit is contained in:
parent
aa1f57ca01
commit
ba73cc8752
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "loafle.nx.plugin",
|
||||
"name": "unbox-x.nx.plugin",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"dockerComposeFile": "docker-compose.yml",
|
||||
"service": "app",
|
||||
|
@ -2,4 +2,4 @@ npx create-nx-workspace nx-plugin --preset=ts --pm=pnpm
|
||||
|
||||
npx nx g @nx/js:lib packages/rust --useProjectJson=true
|
||||
|
||||
npx nx g @nx/js:lib packages/rust --publishable --importPath=@loafle/nx-rust --useProjectJson=true
|
||||
npx nx g @nx/js:lib packages/rust --publishable --importPath=@unbox-x/nx-rust --useProjectJson=true
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@loafle/nx-plugin",
|
||||
"name": "@unbox-x/nx-plugin",
|
||||
"version": "0.0.0",
|
||||
"license": "MIT",
|
||||
"scripts": {},
|
||||
|
@ -10,7 +10,7 @@ const swcJestConfig = JSON.parse(
|
||||
swcJestConfig.swcrc = false;
|
||||
|
||||
export default {
|
||||
displayName: '@loafle/nx-rust',
|
||||
displayName: '@unbox-x/nx-rust',
|
||||
preset: '../../jest.preset.js',
|
||||
testEnvironment: 'node',
|
||||
transform: {
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@loafle/nx-rust",
|
||||
"name": "@unbox-x/nx-rust",
|
||||
"version": "0.0.1",
|
||||
"private": false,
|
||||
"repository": {
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "@loafle/nx-rust",
|
||||
"name": "@unbox-x/nx-rust",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "packages/rust/src",
|
||||
"projectType": "library",
|
||||
"tags": [],
|
||||
"// targets": "to see all targets run: nx show project @loafle/nx-rust --web",
|
||||
"// targets": "to see all targets run: nx show project @unbox-x/nx-rust --web",
|
||||
"targets": {
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@loafle/nx-plugin",
|
||||
"name": "@unbox-x/nx-plugin",
|
||||
"$schema": "node_modules/nx/schemas/project-schema.json",
|
||||
"targets": {
|
||||
"local-registry": {
|
||||
|
@ -18,7 +18,7 @@
|
||||
"target": "es2022",
|
||||
"customConditions": ["development"],
|
||||
"paths": {
|
||||
"@loafle/nx-rust": ["packages/rust/src/index.ts"]
|
||||
"@unbox-x/nx-rust": ["packages/rust/src/index.ts"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user