mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-12-04 18:26:22 +00:00
chore: change to package instead of dist
This commit is contained in:
parent
8d8a8e4b5b
commit
c31133c963
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
|||||||
/dist
|
/dist
|
||||||
/node_modules
|
/node_modules
|
||||||
/build
|
/build
|
||||||
|
/plugins
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
|
@ -3,6 +3,7 @@ libs
|
|||||||
sample
|
sample
|
||||||
test
|
test
|
||||||
e2e
|
e2e
|
||||||
|
/dist
|
||||||
/src
|
/src
|
||||||
/prisma
|
/prisma
|
||||||
/mod.ts
|
/mod.ts
|
||||||
|
2
index.js
2
index.js
@ -1,4 +1,4 @@
|
|||||||
require = require('esm')(module /*, options*/);
|
require = require('esm')(module /*, options*/);
|
||||||
module.exports = {
|
module.exports = {
|
||||||
...require('./dist'),
|
...require('./plugins'),
|
||||||
};
|
};
|
||||||
|
27
libs/tsconfig.lib.json
Normal file
27
libs/tsconfig.lib.json
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"extends": "../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "commonjs",
|
||||||
|
"declaration": true,
|
||||||
|
"noImplicitAny": false,
|
||||||
|
"removeComments": true,
|
||||||
|
"noLib": false,
|
||||||
|
"emitDecoratorMetadata": true,
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"target": "es6",
|
||||||
|
"sourceMap": false,
|
||||||
|
"outDir": "../plugins",
|
||||||
|
"skipLibCheck": true,
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"index.ts",
|
||||||
|
"prisma/**/*",
|
||||||
|
"skeleton/**/*",
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"node_modules",
|
||||||
|
"dist",
|
||||||
|
"test",
|
||||||
|
"**/*spec.ts",
|
||||||
|
]
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@aditama-labs/nest-autocrud",
|
"name": "@aditama-labs/nest-autocrud",
|
||||||
"version": "0.0.10",
|
"version": "0.0.11",
|
||||||
"description": "NestJS Auto CRUD Library",
|
"description": "NestJS Auto CRUD Library",
|
||||||
"author": "Supan Adit Pratama",
|
"author": "Supan Adit Pratama",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -13,7 +13,7 @@
|
|||||||
"build": "nest build",
|
"build": "nest build",
|
||||||
"build:lib:skeleton": "tsc -p libs/skeleton/tsconfig.lib.json",
|
"build:lib:skeleton": "tsc -p libs/skeleton/tsconfig.lib.json",
|
||||||
"build:lib:prisma": "tsc -p libs/prisma/tsconfig.lib.json",
|
"build:lib:prisma": "tsc -p libs/prisma/tsconfig.lib.json",
|
||||||
"build:libs": "tsc -p tsconfig.lib.json",
|
"build:libs": "tsc -p libs/tsconfig.lib.json",
|
||||||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"",
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"",
|
||||||
"start": "nest start",
|
"start": "nest start",
|
||||||
"start:dev": "nest start --watch",
|
"start:dev": "nest start --watch",
|
||||||
|
@ -21,6 +21,6 @@
|
|||||||
"node_modules",
|
"node_modules",
|
||||||
"dist",
|
"dist",
|
||||||
"test",
|
"test",
|
||||||
"**/*spec.ts"
|
"**/*spec.ts",
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user