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
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||||
"dockerComposeFile": "docker-compose.yml",
|
"dockerComposeFile": "docker-compose.yml",
|
||||||
"service": "app",
|
"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 --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",
|
"version": "0.0.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {},
|
"scripts": {},
|
||||||
|
@ -10,7 +10,7 @@ const swcJestConfig = JSON.parse(
|
|||||||
swcJestConfig.swcrc = false;
|
swcJestConfig.swcrc = false;
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
displayName: '@loafle/nx-rust',
|
displayName: '@unbox-x/nx-rust',
|
||||||
preset: '../../jest.preset.js',
|
preset: '../../jest.preset.js',
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
transform: {
|
transform: {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@loafle/nx-rust",
|
"name": "@unbox-x/nx-rust",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": false,
|
"private": false,
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "@loafle/nx-rust",
|
"name": "@unbox-x/nx-rust",
|
||||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||||
"sourceRoot": "packages/rust/src",
|
"sourceRoot": "packages/rust/src",
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"tags": [],
|
"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": {
|
"targets": {
|
||||||
"lint": {
|
"lint": {
|
||||||
"executor": "@nx/eslint: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",
|
"$schema": "node_modules/nx/schemas/project-schema.json",
|
||||||
"targets": {
|
"targets": {
|
||||||
"local-registry": {
|
"local-registry": {
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"target": "es2022",
|
"target": "es2022",
|
||||||
"customConditions": ["development"],
|
"customConditions": ["development"],
|
||||||
"paths": {
|
"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