Skip to content

Commit

Permalink
Add a direct dependency on ansi-colors
Browse files Browse the repository at this point in the history
It's used directly in src/index.js. Without this, if I used
plugin-lambda-invoker in a project that has no other transitive
dependencies on ansi-colors, I get:

```
Error: Plugin error:
- Unable to load plugin 'architect/plugin-lambda-invoker': Cannot find module 'ansi-colors'
```
  • Loading branch information
lpsinger committed Jul 21, 2023
1 parent 76bad08 commit d7e5a80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"homepage": "https://github.com/architect/plugin-lambda-invoker#readme",
"dependencies": {
"@architect/utils": "^3.1.2",
"ansi-colors": "^4.1.1",
"enquirer": "^2.3.6"
},
"devDependencies": {
Expand Down

0 comments on commit d7e5a80

Please sign in to comment.