- 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.bail
option. - Feature: Add
jetpack.trace.dynamic.resolutions
option. - 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
--report
format for trace misses to collapse packages.
- Misc: Add better collapsed packages log information.
- Feature: Add log warnings and
--report
information for missed dynamic imports in tracing mode. - Bug: Fix
--report
on collapsed sources and dependencies.
- Feature: Detect and issue warnings for collapsed files in package. Add
jetpack.collapsed.bail
option to kill serverless on detected conflicts. #109
- Add
jetpack.trace.allowMissing
configuration option.
- Add dependency tracing feature and
jetpack.trace
configuration options. - Test: Change
test/packages/webpack
into a comparison scenario for trace mode rather than testing that it doesn't conflict with Jetpack.
- Bug: Only package Node.js
runtime
service + functions. #89 - Infra: Add CircleCI.
- Upgrade production dependencies (
jest-worker
, and other minor/patches). #80
- Feature: Make builds deterministic like
serverless
to avoid unneeded re-deploys. #7
- BUG: Hack a fix to generate wrapper files like
ServerlessEnterprisePlugin
does. #67 - Infra: Add node13 to Travis CI matrix. Bump Appveyor to node10.
- Deps: Update to
serverless@^1.57.0
in all scenarios. Refactor local path plugins to use new syntax.
- README: Fix incorrect language about
foo
vsfoo/**
. Seefast-glob
notes. - Add custom option
preInclude
for better monorepo/workspaces support. - Add
jetpack package --report
option 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
util
directory.
- 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 injetpack
to overtake built-in packaging and (2) limit builds to just the function ifindividually
or just the service if not.
- Remove unnecessary
commands
in constructor as we have no actual CLI yet.
API
- Add custom options
base
androots
for 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
devDependencies
in traversed directories outside of the root.
Test
- Add
monorepo
test scenario.
- Add a
mkdir -p
equivalent of the directory containing the output bundle same asserverless
built-in packaging behavior. #30 #31
BREAKING
- Replace strategy of
yarn|npm install --production
in a temporary directory with better, faster production dependency inference viainspectdep
. - Change the API to take no
custom
options.
- Add better exec support for yarn|npm on windows. #27
- Add
--no-progress
flag tonpm|yarn
installs. #25
- Add debug log message if no service or function
package
configurations apply.
- Initial release.