Skip to content

Commit

Permalink
Replaced lodash.template with lodash (#117)
Browse files Browse the repository at this point in the history
* chore: Replaced lodash.template with lodash

* chore: Added lockfile

* chore: Updated import statement

* chore: Added changeset

---------

Co-authored-by: ijlee2 <ijlee2@users.noreply.github.com>
  • Loading branch information
ijlee2 and ijlee2 committed Apr 26, 2024
1 parent fe473d8 commit e741dfe
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-zoos-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@codemod-utils/blueprints": patch
---

Replaced lodash.template with lodash
4 changes: 2 additions & 2 deletions packages/blueprints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
"test": "./build.sh --test && mt dist-for-testing --quiet"
},
"dependencies": {
"lodash.template": "^4.5.0"
"lodash": "^4.17.21"
},
"devDependencies": {
"@codemod-utils/tests": "workspace:*",
"@shared-configs/eslint-config-node": "workspace:*",
"@shared-configs/prettier": "workspace:*",
"@shared-configs/typescript": "workspace:*",
"@sondr3/minitest": "^0.1.2",
"@types/lodash.template": "^4.5.3",
"@types/lodash": "^4.17.0",
"@types/node": "^18.19.31",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/blueprints/src/blueprints/process-template.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import template from 'lodash.template';
// eslint-disable-next-line n/no-missing-import
import template from 'lodash/template.js';

/**
* Returns the blueprint file after filling it out with data.
Expand Down
29 changes: 6 additions & 23 deletions pnpm-lock.yaml

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

0 comments on commit e741dfe

Please sign in to comment.