Skip to content

Commit

Permalink
build: fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin committed May 10, 2024
1 parent 4633149 commit 6628d76
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 62 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.js
*.d.ts
.eslintcache
tsconfig.tsbuildinfo
# Logs
logs
*.log
Expand Down
14 changes: 0 additions & 14 deletions .npmignore

This file was deleted.

55 changes: 22 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{
"name": "nestjs-minio",
"version": "2.5.4",
"version": "2.6.1",
"description": "Minio object storage with nestjs",
"author": "Rubin Bhandari",
"license": "MIT",
"main": "dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"build": "npx rimraf dist && tsc -p tsconfig.build.json",
"prepare": "npm run build",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint '{src,test}/**/*.ts' --cache --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:e2e": "jest --config ./tests/jest-e2e.json --runInBand",
"test:e2e:dev": "jest --config ./tests/jest-e2e.json --runInBand --watch",
"test:e2e:dev": "jest --config ./tests/jest-e2e.json --runInBand --watch",
"build:docs": "npx compodoc -p tsconfig.build.json -d docs -o -s --theme material"
},
"keywords": [
Expand All @@ -39,7 +43,6 @@
"@nestjs/testing": "10.3.8",
"@types/express": "4.17.21",
"@types/jest": "29.5.12",
"@types/minio": "^7.1.1",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "7.8.0",
Expand Down
File renamed without changes.
10 changes: 8 additions & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"extends": "./tsconfig.json",
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
}
"compilerOptions": {
"outDir": "./dist",
},
"include": [
"src/**/*"
],
"exclude": ["node_modules", "**/*.spec.ts"]
}
17 changes: 9 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "ES2021",
"sourceMap": false,
"skipLibCheck": true,
"strict": true,
"strictPropertyInitialization": false
}
}
"target": "es2021",
"sourceMap": false,
"baseUrl": "./",
"incremental": true,
"newLine":"lf"
},
"include": ["**/*"],
"exclude": ["node_modules", "**/*.spec.ts"]
}
1 change: 1 addition & 0 deletions tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit 6628d76

Please sign in to comment.