Skip to content

Commit

Permalink
refactor: rename .plop to plop
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Korzunin committed Sep 11, 2021
1 parent e4ebd19 commit a35cd87
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ env:
root: true
ignorePatterns:
- dist
- plop
- prisma
plugins:
- jest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"files": [
"dist",
".plop"
"plop"
],
"description": "Sequelize models generator for prisma schema",
"author": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ generatorHandler({
: parseEnvValue(options.generator.output);

try {
const plop = nodePlop(path.join(__dirname, '../.plop/plopfile.js'), { destBasePath: outputDir, force: true });
const plop = nodePlop(path.join(__dirname, '../plop/plopfile.js'), { destBasePath: outputDir, force: true });
const utilsGenerator = plop.getGenerator('utils');
const indexGenerator = plop.getGenerator('index.ts');
const modelGenerator = plop.getGenerator('Model.ts');
Expand Down

0 comments on commit a35cd87

Please sign in to comment.