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

V4 #540

Merged
merged 27 commits into from
Apr 5, 2024
Merged

V4 #540

merged 27 commits into from
Apr 5, 2024

Conversation

jbroma
Copy link
Member

@jbroma jbroma commented Apr 5, 2024

No description provided.

Copy link

changeset-bot bot commented Apr 5, 2024

🦋 Changeset detected

Latest commit: 4c8035c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@callstack/repack Major
@callstack/repack-dev-server Major
@callstack/repack-init Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jbroma jbroma marked this pull request as draft April 5, 2024 09:26
jbroma and others added 27 commits April 5, 2024 16:14
* chore: bump required node version to v18

* refactor(repack): remove replaceAll shim

* chore: upgrade @types/node to ^18

* chore: remove node 16 from CI test job

* chore: use node v18 in @babel/preset-env

* docs: change minimal node version to 18+

* chore: update yarn.lock

* docs: update recommended Node version in docs

* chore(repack): remove string.prototype.replaceall from dependencies

* chore: update yarn.lock

* chore: add changeset

* chore: rework changeset
* refactor: rework CodeSigningPlugin

* refactor: support both relative and absolute paths

* refactor: add stage to ChunksToHermesBytecodePlugin

* test: refactor tests for CodeSigningPlugin to be more independent of implementation

* chore: add changeset
* chore: upgrade typescript in all packages

* fix(repack): fix ts error after upgrade

* chore: upgrade eslint & eslint config callstack in all packages

* fix(dev-server): fix lint issues

* fix(init): fix lint issues

* fix(repack): fix lint issues

* fix(debugger-app): tsconfig fix

* fix(repack): fix lint issue in WebpackHMRClient

* fix(TesterApp): fix lint issue in index.js

* refactor(website): revert removal of eslint in website

* chore: upgrade typedoc & typedoc markdown plugin

* fix(repack): add a comment with better description

* chore: add changeset

* chore: update yarn.lock
* chore: upgrade to yarn v4

* chore: migrate yarn.lock to v4

* chore: upgrade yarn to 4.0.2
* chore: upgrade fastify to v4

* refactor(dev-server): use non-deprecated version of listen

* fix(dev-server): use proper name for @fastify/sensible as a plugin dependency
* TS spec + android old arch

* android new arch

* ios support

* fix tests

* change needsEagerInit to true

* add early return

* fix comment

* chore: add changeset

---------

Co-authored-by: Piotr Trocki <[email protected]>
Co-authored-by: Jakub Romanczyk <[email protected]>
* fix: remove duplicated React-Core dependency from podspec

* chore: add changeset
Please update the following actions to use Node.js 20:
actions/checkout@v3, actions/setup-node@v3.

For more information see:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
* feat: migrate to pnpm

* chore: remove installConfig fields

* chore: fix setup issues in init

* chore: move reusable dev dependencies to root

* fix: lint, typecheck, build issues

* chore: migrate CI and scripts to use pnpm

* fix: test issues in TesterApp

* fix: typecheck issues in dashboard

* feat: use symlinked RN in TesterApp android

* chore: upgrade TesterApp to 0.73.5

* fix(TesterApp): android setup for new arch

* fix: add missing dependencies to react-native packages

* fix: properly import yarn lockfile versions to pnpm

* fix(repack): ts issue

* chore(repack): bump RN-CLI & lodash types

* docs: mention major version of pnpm only to prevent updating it often

* refactor: update .gitignore to include all of .yarn files

* fix: fix CI setup

* fix: added missing dependency to website

* chore: update CONTRIBUTING.md
* move output path check to the beginning

* feat: move final phase to done hook

* feat: use sourcemap file directly instead of extracting from compilation

* refactor: move chunk classifying to done hook

* refactor: finish migration to done hook

* fix: tests & typescript issues

* chore: add changeset

* refactor: rename chunks to statsChunkMap
* fix: use metro defaults for getResolveOptions

* fix: align conditonNames with @react-native/metro-config

* fix: use platform extensions only when not using package exports

* feat: setup environment for metro tests

* refactor: use imported utils

* refactor: use ts for non-imported files

* refactor: move metro tests to a separate workspace package

* chore: remove extra dev deps from repack, update lockfile

* chore: remove changes from eslintrc in repack

* chore: remove changes in repack package setup

* fix: eslint setup

* feat: add typing for ResolutionContext

* refactor: use utils mock

* chore: add enhanced-resolve for types

* feat: setup resolve function in tests

* chore: add @types/jest to metro-compat

* feat: use imported utils module instead of own implementation

* refactor: adjust resolve-error impl

* feat: pass symlinks tests

* feat: add platform-extensions-test

* feat: add package-exports tests

* fix: don't apply js plugins to ts files

* refactor: use package json type from type-fest

* refactor: obtain fileMap from createPackageAccessors instead

* refactor: use separate fields for fileMaps

* feat: add assets & browser-spec tests

* refactor: skip assets tests

* feat: support more package exports cases

* feat: add a list of tests to skip

* feat: add index-tests

* refactor: cleanup resolve mock

* refactor: use babel-jest directly, skip assets & index tests

* refactor: cleanup jest setup

* refactor: add 2 more tests to skip list

* chore: exclude metro-compat from turbo test task

* chore: revert changes to getResolveOptions in this PR

* chore: cleanup in test script

* chore: fix .prettierignore setup

* chore: cleanup .eslintrc.js in metro-compat

* chore: alter formatting and restore tests from upstream

* chore: cleanup & add some utility scripts to metro-compat

* fix: align to target getResolveOptions API

* chore: rename to metro-compat-test

* chore: add README.md for metro-compat-test

* chore: update pnpm lockfile

* fix: update scripts in root package.json to reflect name change
* chore: upgrade turbo

* chore: update .gitignore

* chore: reduce output from turbo
* chore: upgrade TesterApp to RN 74-rc6

* chore: update lockfile

* chore: update Podfile.lock

* chore: disable bridgless mode

* chore: upgrade rn-svg to support RN 0.74

* chore: disable bridgless on android
* chore: remove ReactRefreshPlugin

* chore: add changeset
…525)

* fix: getResolveOptions implementation

* chore: add some additional descriptions

* refactor: don't use default initializer, improve JSDoc

* chore: make sure typedoc/jsdoc looks good

* chore: add descriptive changeset

* fix: mark options as optional

* fix: align behaviour of conditions by platform in tests

* refactor: add more tests to skip in metro-compat-test

* test: enable metro-compat-test on CI

* feat: use the same order of extensions as metro

* chore: update changeset
* feat: override metro commands by default

* feat: update types for commands

* test: add basic tests to TesterApp suite

* chore: add changeset

* chore: adjust changeset
* feat: allow OutputPlugin to proceed without entryChunk

* chore: add changeset
* chore: changsets make versions fixed

* chore: changesets add ignored packages

* chore: update changesets
* chore: remove irrelevant changesets, remove testerapp and debugger-app from changes

* chore: remove changelog in dashboard

* chore: remove Changelog in TesterApp
* chore: remove dashboard

* chore: update pnpm lockfile

* chore: cleanup
* chore: remove now irrelevant package extensions

* chore: bump pnpm to 8.15.6
@jbroma jbroma marked this pull request as ready for review April 5, 2024 14:14
Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jbroma jbroma merged commit 778c2aa into main Apr 5, 2024
3 checks passed
@jbroma jbroma deleted the v4 branch April 5, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants