FormidableLabs / FormidableLabs/serverless-jetpack

Feature: Glob patterns for values in `trace.dynamic.resolutions`

Open
#116 4 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
281
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Could glob resolution values _after_ have misses because then could match `@heroku/socksv5/index.js` to `../node_modules/@heroku/socksv5/index.js` but would need to do a second pass `traceFiles`.

So, instead of:

```yml
resolutions:
"@heroku/socksv5/index.js":
- "./lib/constants.js"
- "./lib/client.js"
- "./lib/server.parser.js"
- "./lib/Agents.js"
- "./lib/auth/UserPassword.js"
- "./lib/auth/None.js"
- "./lib/server.js"
- "./lib/utils.js"
```

Allow this:

```yml
resolutions:
"@heroku/socksv5/index.js":
- "./lib/**/*.js"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.