Changes
- Update to latest trace-deps. (#366)
-
Adding GitHub release workflow (#355)
- Chore: Add plugin options types for serverless v3. #206 ([XuluWarrior][])
- Feature: Add full support for modern Node.js ESM and
exports. - Deps: Upgrade more various dependencies.
- Deps: Update various production and development dependencies. #254
- Bug: Handle special characters in filenames like
[...id].jsduring tracing. - Deps: Upgrade
globbytov11.
- Feature: Support application source paths as keys in
jetpack.trace.allowMissing.
- Internal: Refactor inefficient JavaScript object usage in
reduce(). #121 #123 (@gabmontes)
- Bug: Fix process hang on errors when using
concurrency: 2+by properly ending worker.
- Feature: Add
jetpack.trace.dynamic.bailoption. - Feature: Add
jetpack.trace.dynamic.resolutionsoption. - Internal: Minor refactor of patterns passed for trace includes to globbing handlers. Also standardize options passed to
globby()across different functions. - Internal: Enhance and refactor trace miss logging as well as the
--reportformat for trace misses to collapse packages.
- Misc: Add better collapsed packages log information.
- Feature: Add log warnings and
--reportinformation for missed dynamic imports in tracing mode. - Bug: Fix
--reporton collapsed sources and dependencies.
- Feature: Detect and issue warnings for collapsed files in package. Add
jetpack.collapsed.bailoption to kill serverless on detected conflicts. #109
- Add
jetpack.trace.allowMissingconfiguration option.
- Add dependency tracing feature and
jetpack.traceconfiguration options. - Test: Change
test/packages/webpackinto a comparison scenario for trace mode rather than testing that it doesn't conflict with Jetpack.
- Bug: Only package Node.js
runtimeservice + functions. #89 - Infra: Add CircleCI.
- Upgrade production dependencies (
jest-worker, and other minor/patches). #80
- Feature: Make builds deterministic like
serverlessto avoid unneeded re-deploys. #7
- BUG: Hack a fix to generate wrapper files like
ServerlessEnterprisePlugindoes. #67 - Infra: Add node13 to Travis CI matrix. Bump Appveyor to node10.
- Deps: Update to
serverless@^1.57.0in all scenarios. Refactor local path plugins to use new syntax.
- README: Fix incorrect language about
foovsfoo/**. Seefast-globnotes. - Add custom option
preIncludefor better monorepo/workspaces support. - Add
jetpack package --reportoption for patterns and files report. - Refactor internal pattern matching in
nanomatch()phase.
- Add support for Lambda Layers packaging in Jetpack. #42
- BUG: Properly exclude layers sources from normal function packages.
- BUG: Publish missing
utildirectory.
- Add CLI options for
serverless jetpack package. #35 - BUG: Don't package service if
serverless deploy -f {NAME}is specified.
- Add support for
deploy -f {NAME}to (1) hook injetpackto overtake built-in packaging and (2) limit builds to just the function ifindividuallyor just the service if not.
- Remove unnecessary
commandsin constructor as we have no actual CLI yet.
API
- Add custom options
baseandrootsfor better monorepo/workspaces support. #26
Behavior
- Process functions in serial to reduce system resource contention and typically make overall process faster.
- Add automatic exclusion of
devDependenciesin traversed directories outside of the root.
Test
- Add
monorepotest scenario.
- Add a
mkdir -pequivalent of the directory containing the output bundle same asserverlessbuilt-in packaging behavior. #30 #31
BREAKING
- Replace strategy of
yarn|npm install --productionin a temporary directory with better, faster production dependency inference viainspectdep. - Change the API to take no
customoptions.
- Add better exec support for yarn|npm on windows. #27
- Add
--no-progressflag tonpm|yarninstalls. #25
- Add debug log message if no service or function
packageconfigurations apply.
- Initial release.