feat: using release-it instead

This commit is contained in:
Supan Adit Pratama 2024-10-29 10:08:36 +07:00
parent c31133c963
commit 8d93bf5aaa
7 changed files with 2293 additions and 39 deletions

5
.release-it.json Normal file
View File

@ -0,0 +1,5 @@
{
"git": {
"commitMessage": "chore(): release v${version}"
}
}

View File

@ -1,4 +0,0 @@
require = require('esm')(module /*, options*/);
module.exports = {
...require('./plugins'),
};

View File

@ -1 +0,0 @@
export * from './plugins';

2290
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,9 +4,8 @@
"description": "NestJS Auto CRUD Library",
"author": "Supan Adit Pratama",
"license": "MIT",
"main": "index.js",
"publishConfig": {
"directory": "dist",
"directory": "packages",
"access": "public"
},
"scripts": {
@ -15,6 +14,7 @@
"build:lib:prisma": "tsc -p libs/prisma/tsconfig.lib.json",
"build:libs": "tsc -p libs/tsconfig.lib.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"libs/**/*.ts\"",
"release": "release-it",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
@ -51,6 +51,7 @@
"jest": "^29.5.0",
"prettier": "^3.0.0",
"prisma": "^5.21.1",
"release-it": "^17.10.0",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.1.0",

View File

@ -1,26 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"sourceMap": false,
"outDir": "./dist",
"rootDir": "./libs",
"skipLibCheck": true,
},
"include": [
"libs/**/*",
],
"exclude": [
"node_modules",
"dist",
"test",
"**/*spec.ts",
]
}

File diff suppressed because one or more lines are too long