mirror of
https://github.com/aditama-labs/nest-autocrud.git
synced 2024-12-03 09:46: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
|
||||
/node_modules
|
||||
/build
|
||||
/plugins
|
||||
|
||||
# Logs
|
||||
logs
|
||||
|
@ -3,6 +3,7 @@ libs
|
||||
sample
|
||||
test
|
||||
e2e
|
||||
/dist
|
||||
/src
|
||||
/prisma
|
||||
/mod.ts
|
||||
|
2
index.js
2
index.js
@ -1,4 +1,4 @@
|
||||
require = require('esm')(module /*, options*/);
|
||||
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",
|
||||
"version": "0.0.10",
|
||||
"version": "0.0.11",
|
||||
"description": "NestJS Auto CRUD Library",
|
||||
"author": "Supan Adit Pratama",
|
||||
"license": "MIT",
|
||||
@ -13,7 +13,7 @@
|
||||
"build": "nest build",
|
||||
"build:lib:skeleton": "tsc -p libs/skeleton/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\"",
|
||||
"start": "nest start",
|
||||
"start:dev": "nest start --watch",
|
||||
|
@ -21,6 +21,6 @@
|
||||
"node_modules",
|
||||
"dist",
|
||||
"test",
|
||||
"**/*spec.ts"
|
||||
"**/*spec.ts",
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user