Skip to content

Commit

Permalink
fix: making tsconfig-paths dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Farenheith committed Sep 27, 2024
1 parent 66bc34b commit 6cca1a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions decorator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module.exports = require('./dist/plugin/decorators');
module.exports.default = module.exports;
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"main": "dist/index.js",
"files": [
"dist",
"decorator.js",
"plugin.js"
],
"scripts": {
Expand Down Expand Up @@ -36,10 +37,7 @@
"typescript": "^5.3.3"
},
"peerDependencies": {
"@nestjs/cli": "*",
"reflect-metadata": "*",
"tsconfig-paths": "*",
"typescript": "^5.3.3"
"reflect-metadata": "*"
},
"contributors": [
"Thiago O Santos <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export function before() {
undefined,
[
tsBinary.factory.createStringLiteral(
'nestjs-auto-reflect-metadata-emitter/plugin',
'nestjs-auto-reflect-metadata-emitter/decorators',
),
],
);
Expand Down

0 comments on commit 6cca1a1

Please sign in to comment.