Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: rspack migration - part 1 squashed 18.07.2024 * chore: update templates for the rspack * fix: typing of getPublicPath * chore: add types to TesterApp config * chore: use v5-preview templates instead of the ones from main branch * fix: use explicilitly declared cwd in addDependencies task * fix: reliably obtain path to react native * fix: check if resolved path to RN is a dir * refactor: only import NativeDevSettings in dev * refactor: reduce output in dev * feat: add OOT platforms so they are transformed like RN * feat: add RN codegen rules to the setup * chore: update rspack related dependencies * fix: remove unnecessary ts comment * chore: update to rspack 0.7.2 * chore: update to rspack 0.7.3 * chore: update rspack deps to 1.0.0-alpha.5 * fix: typing * chore: fix rspack version misalignment * chore: remove unnecessary ts fix * fix: ts & ios setup * chore: upgrade to rspack 1.0.0 beta * chore: pnpm dedupe * feat: add rspack to federation tester * chore: migrate federation tester configs to rspack * fix: typos * chore: update Podfile.lock for federation tester * fix: tsconfig for repack * fix: miniapp config * refactor: remove extra layer when logging warns and errors in dev * chore: optimize federation tester configs * feat: extract NativeEntryPlugin from RepackTargetPlugin * fix: get HMR working in MF v1 * fix: dont reuse getDevServer * chore: upgrade to rspack 1.0.0 rc1 * feat: migrate OutputPlugin * fix: typing in Compiler * fix: typing errors * refactor: revert changes in init, keep adjusted package names only * refactor: remove unused ensureProjectExists from init * chore: update pnpm lockfile * feat: add DefaultRulesPlugin * chore: update tester-app * fix: hardcode platforms for now * refactor: remove asset type from tester app config * refactor: group command-related stuff together * refactor: separate command related defaults and env * refactor: move things around * WIP: fix HMR * refactor: revert most changes to LoggerPlugin * fix: make HMR work again * fix: tsconfig setup in repack * refactor: cleanup rules * fix: eslint setup * fix: reenable ManifestPlugin * refactor: cleanup in plugins * fix: dont use hardcoded versions in init * refactor: revert async server delegate * fix: init compiler before start * refactor: remove fat from ScriptManager * refactor: trim down fat in RepackTargetPlugin * chore: update tester files * chore: type import in DefaultRules, add todo for filtering out unneeded rules * refactor: use type imports to highlight where rspack is actually imported * refactor: cleanup loaders * remove fs-extra mock * refactor: use compiler.webpack instead of imports from rspack * refactor: update babel config * refactor: cleanup * refactor: align OutputPlugin impl for tests compat * refactor: remove types/jest reference * fix: lint issue in asset loader tests * refactor: remove fs-extra * Revert "remove fs-extra mock" This reverts commit 57bb2bb. * chore: remove fs utils * chore: fix ts config * refactor: use memfs mock in assets copy processor tests * chore: update memfs to newest version * refactor: ScriptManager nad ChunksToHermesBytecodePlugin tests * refactor: getEnvOptions tests * fix: CodeSigningPlugin tests * fix: MF plugin tests * chore: remove mocking of process.cwd * chore: simplify jest.setup.js * feat: use asset extensions as default when using getAssetExtensionRegexp * fix: assetsLoader tests * chore: silence warning about event listeners * chore: update rspack virtual module plugin * chore: add webpack back as optional peer, make rspack optional peer as well * feat: separate commands for webpack and rspack * fix: commands compat * chore: revert removal of send progress from dev-server * fix: lint & type issues * feat: make loadConfig generic * fix: remove platforms from start options for now * feat: support rspack config files * refactor: extract adb reverse * refactor: extract parseFileUrl * refactor: extract interactions setup * refactor: extract stats writer * chore: remove old TODOs * fix: types in tests * refactor: move options to commands * feat: use exports for commands import * move loaders and plugins to the src * fix: types after move * fix: dynamic module imports in plugins * feat: use package exports for loaders * chore: remove docs dir from files in repack package.json * chore: use rspack in tester-app * fix: loaders imports * refactor: better typing for commands * feat: package exports types * refactor: extract Logger type * v4 bundle * fix: dont pass loaderContext into getOptions * feat: webpack compatible repack target plugin * chore: remove test bundle from git * feat: add log requtsts option to start command * refactor: remove DefaultRules plugin * chore: dual config in tester-app * chore: use require in tester-app instead of top level await * feat: progress plugin for webpack compat * feat: add webpack-compatible react refresh * chore: replace lodash throttle with throttleit * refactor: log progress only on webpack * test: update start.ts test to support rspack * fix: dont serve greet message when silent flag is active * fix: copy env to worker to avoid polluting global env * test: update bundle.ts test to support rspack * chore: use env to switch between bundlers * chore: ignore eslint errors when import callstack repack commands * feat: unstable_evaluateJavascript as a replacement for globalEvalWithSourceUrl * fix: properly obtain sourcemaps in dev with Rspack * refactor: align webpack Compiler with rspack Compiler for maintenace purposes * fix: convert worker data, mark hmr sourcemaps, Compiler typings * fix: metro-compat tests * fix: tests & linting rules in repack * feat: update init for V5 * fix: use adjusted entries for commands in repack-init * chore: restore stable templates * chore: add v5 rspack templates * chore: copy old webpack templates * chore: update webpack templates for v5 * fix: assets loader tests * chore: cleanup in assets loader * feat: add --platform CLI option for start command * chore: use EventEmitter from node in webpack Compiler * chore: better debug for start command test * refactor: rename configPath to bundlerConfigPath * refactor: adjust tests with bundlerConfigPath * chore: update vitest in tester-app * fix: tests in tester-app * chore: separate output in tester app tests * chore: use mts for vitest config * chore: update rspack deps * fix: run start.test using single platform to prevent flakiness * fix: bundle test * chore: narrow node 22 version to 22.6 * chore: pnpm dedupe * chore: add changeset * chore: migrate tester-app configs to mjs * chore: migrate tester-federation configs to mjs, rename to rspack configs * chore: use rspack.config mjs configs in tester-federation * chore: remove webpack-cli command from tester-app * chore: remove unused default platforms * fix: meet type requirements in getEnvOptions tests * chore: use commands/rspack in tester-federation * chore: update flow-remote-types to the newest version * fix: tester-federation setup * fix: non-scaled asset path * fix: swc loading rules fixes * fix: display warnings & error messages on a new line * fix: separate codegen setup for ts * refactor: cleanup in react native loading rules * chore: add inquirer prompts to init * feat: add option to bootstrap new projects with repack-init * chore: use dist dir instead of build to align with the rest of the monorepo * feat: use own version as the default when installing repack * fix: read file instead of relying on imports * fix: use cwd for adding deps * fix: add babel-loader to rspack dependencies * fix: bind dev-server version to repack version * fix: add missing welcome message to webpack * chore: update lockfile * fix: read hot update files from assets cache * fix: bind rspack version to 1.0.3 for alpha
- Loading branch information