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

chore: integrate netlify/zip-it-and-ship-it #5644

Merged
merged 1,596 commits into from
May 22, 2024
Merged

chore: integrate netlify/zip-it-and-ship-it #5644

merged 1,596 commits into from
May 22, 2024

Conversation

Skn0tt
Copy link
Contributor

@Skn0tt Skn0tt commented May 21, 2024

This PR moves the netlify/zip-it-and-ship-it repository into the build monorepo. I followed the same steps as in #5598.

This PR is giant and unreviewable, so i'll be opening a separate pull request into this one, that makes all the necessary edits to fit ZISI into the structure of Build.

It's really important that we merge this with a merge commit, and not squashed, to preserve history! ❗

renovate bot and others added 30 commits June 26, 2023 02:57
…-it-and-ship-it#1476)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: support v2 api with typescript

* fix: resolve some test todos by enabling flags

* chore: prettier

* fix: ensure that all .ts files are transpiled

* fix: make default bundler understand typescript

* refactor: remove join import
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
* feat: correctly account for AWS SDK v3

* fix: zisi bundler

* fix: adapt test for esbuild

* refactor: rename ignoreFunction

* refactor: rewrite isExcludedModule
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
…it-and-ship-it#1483)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…nd-ship-it#1484)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
…-it-and-ship-it#1485)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
…netlify/zip-it-and-ship-it#1489)

* fix: auto-enable zisi_pure_esm, zisi_pure_esm_mjs when v2 api is used

* refactor: read runtimeVersion besides flags
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
…-and-ship-it#1492)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…-it-and-ship-it#1494)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ip-it#1496)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…-it-and-ship-it#1498)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…p-it#1501)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…p-it#1506)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…nd-ship-it#1507)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…p-it#1509)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…5.2 (netlify/zip-it-and-ship-it#1510)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
…it-and-ship-it#1511)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…p-it#1512)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
)

* feat: add support for TypeScript to NFT

* feat: add rewrites

* refactor: stop using esbuild for v2 functions
Skn0tt and others added 21 commits April 19, 2024 11:05
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
…nd-ship-it#1726)

* feat: ship instrumentation file in functions bundle

* chore: update serverless functions api

* chore: fix tests

* chore: latest pr feedback

* chore: add test for bundler none

* chore: update naming

* chore: fix windows
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
Co-authored-by: Lukas Holzer <[email protected]>
…18.0 (netlify/zip-it-and-ship-it#1728)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
…hip-it#1730)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…nd-ship-it#1646)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…to v4 (netlify/zip-it-and-ship-it#1696)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…-and-ship-it#1694)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…-ship-it#1691)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Simon Knott <[email protected]>
…18.1 (netlify/zip-it-and-ship-it#1733)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…it#1734)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
…-and-ship-it#1735)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
…it#1736)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ip-it#1732)

* feat: add support to ISC parser

* feat: use parsed values

* chore: remove unneeded import

* chore: prettier

* fix: flip precedence and extract to own test

* fix: fmt

* fix: switch back to logical or
Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
…it-and-ship-it#1741)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…t-and-ship-it#1742)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@Skn0tt Skn0tt requested review from a team as code owners May 21, 2024 11:18
Copy link
Contributor

This pull request adds or modifies JavaScript (.js, .cjs, .mjs) files.
Consider converting them to TypeScript.

* chore: move CodeQL

* chore: remove duplicate files

* chore: remove prettierignore

* chore: remove duplicates from gitignore

* chore: adapt base TS config

* chore: format

* chore: adapt to main eslint config

* chore: remove duplicate codecov file

* chore: add zisi to release-please config

* chore: update package.json

* chore: fix all tests

* chore: "encoding" is now a dependency, so we can't use it for this test

* chore: adapt benchmark workflow

* chore: remove CodeQL

* chore: remove fossa workflow

* chore: remove duplicate pre-release flow

* chore: remove duplicate release-please flow

* chore: adopt test workflow

* chore: workaround for bin.js

* chore: update release-please-manifest

* chore: update lockfile

* chore: trigger ci run

* fix: build error around new tsc version

* fix: use ts-ignore
@Skn0tt Skn0tt merged commit 7b7d086 into main May 22, 2024
37 of 38 checks passed
@Skn0tt Skn0tt deleted the integrate-zisi-repo branch May 22, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants