Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPR-6314 sls-esbuild upgrade #2

Merged
merged 76 commits into from Feb 7, 2023
Merged

SPR-6314 sls-esbuild upgrade #2

merged 76 commits into from Feb 7, 2023

Conversation

xczimi
Copy link
Member

@xczimi xczimi commented Jan 18, 2023

  • feat: reapply esbuild command

codingnuclei and others added 30 commits July 16, 2022 16:24
…h_usage_consistent

fix: packagePath correctly treated as relative path from service dir
…output

feat: add support for .mjs file output
Absolute artifact paths break deployment in scenario where serverless package runs in one folder
and later serverless deploy runs in a different folder (happens in CI/CD systems).
Serverless Framework uses the artifact path to determine the location of the file to copy from.

Closes floydspace#324
- `acorn` and `acorn-walk` are used to find `import` and `require`
…nPath-correctly-relative-when-default

fix: treat default packageJsonPath as relative
refactor: `getDepsFromBundle` now walks an AST
…space#358)

* use defaults for watch ignore

* fix up readme

* fix typo
* chore(deps): updated dependencies

- dev dependencies now require Node 14+

* test: updated tests

- use `jest.mocked()`

* chore: allow `any` in `*.test.ts`

* chore: updated `node-version`

* test: updated e2e tests

- Updated `packager` and `path` configs
- Updated dependencies
- Updated snapshots

* test: updated importing `cloudformation-template-update-stack.json`

- Changed from `import` to `fs.readFileSync()` to stop error `ts(2307)` from showing in VS Code

* chore: updated lock files

* chore: use `npm ci`

* chore(deps): updated dependencies

* test: updated snapshots

* chore: updated `actions/checkout` and `actions/setup-node` to v3

* chore: use tabs in `Makefile`

* test: upload artifact on failure

* ci: updated `node-version`

- `package.json` `engines.node` requires `>=16`

* chore: not necessary ignore

Co-authored-by: Victor Korzunin <5180700+floydspace@users.noreply.github.com>
* chore(deps): esbuild-node-externals is an optional peer dependency

* refactor: updated detecting `esbuild-node-externals` utils

- Added `nodeExternalsPluginUtilsPath()`
floydspace#410)

* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
floydspace and others added 29 commits December 27, 2022 02:07
* chore(deps): updated dependencies

* chore: updated TS config

- updated `target` to match `package.json` `engines.node`
- enabled `strict`

* chore: added types for `bestzip`

* chore: `strict` updates

* test: updated snapshots

* chore: removed commented code
* chore(deps): updated dev dependencies

* chore: updating linting rules

* test: updated snapshots

* chore: linting fixes

* chore(deps): updated dependencies

- ran `npm audit fix`

* chore: use @floydspace eslint rules, fixed occurrences

* chore: revert snapshot hunks

Co-authored-by: Victor Korzunin <5180700+floydspace@users.noreply.github.com>
…ace#424)

* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
* feat: adds noInstall option for Yarn packager

* feat: set default value for packagerOptions.noInstall in index
* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
@xczimi xczimi merged commit 020b0f4 into master Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet