From 084778c7120d925071dcde7440afd2ea3c2d2c2c Mon Sep 17 00:00:00 2001 From: Jakub Romanczyk Date: Wed, 17 Apr 2024 16:14:36 +0200 Subject: [PATCH] release: 4.0.0-rc.1 --- .changeset/pre.json | 4 ++++ packages/TesterApp/package.json | 2 +- packages/dev-server/CHANGELOG.md | 6 +++++ packages/dev-server/package.json | 2 +- packages/init/CHANGELOG.md | 6 +++++ packages/init/package.json | 2 +- packages/repack/CHANGELOG.md | 39 ++++++++++++++++++++------------ packages/repack/package.json | 4 ++-- pnpm-lock.yaml | 4 ++-- 9 files changed, 48 insertions(+), 21 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 34417d88f..84bb0887f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -19,7 +19,11 @@ "good-planes-confess", "grumpy-tigers-eat", "honest-wolves-act", + "kind-beds-clap", "kind-scissors-kick", + "modern-dryers-itch", + "polite-islands-fetch", + "sharp-stingrays-wave", "shiny-planes-hope", "warm-numbers-doubt", "yellow-spiders-smash" diff --git a/packages/TesterApp/package.json b/packages/TesterApp/package.json index 92e149edd..9336c0183 100644 --- a/packages/TesterApp/package.json +++ b/packages/TesterApp/package.json @@ -14,7 +14,7 @@ "serve-remote-assets:ios": "pnpm http-server -p 9999 build/output/ios/remote" }, "dependencies": { - "@callstack/repack": "4.0.0-rc.0", + "@callstack/repack": "4.0.0-rc.1", "@react-native-async-storage/async-storage": "^1.21.0", "lodash.throttle": "^4.1.1", "react": "18.2.0", diff --git a/packages/dev-server/CHANGELOG.md b/packages/dev-server/CHANGELOG.md index b59c6a16c..5d9785947 100644 --- a/packages/dev-server/CHANGELOG.md +++ b/packages/dev-server/CHANGELOG.md @@ -1,5 +1,11 @@ # @callstack/repack-dev-server +## 4.0.0-rc.1 + +### Patch Changes + +- [#554](https://github.com/callstack/repack/pull/554) [`ed82e29`](https://github.com/callstack/repack/commit/ed82e29c2871411fd73616f29a7d4b75ff3dd913) Thanks [@jbroma](https://github.com/jbroma)! - Fix path to favicon.ico on Windows + ## 4.0.0-rc.0 ### Major Changes diff --git a/packages/dev-server/package.json b/packages/dev-server/package.json index 9ed52eee6..6e288eb22 100644 --- a/packages/dev-server/package.json +++ b/packages/dev-server/package.json @@ -2,7 +2,7 @@ "name": "@callstack/repack-dev-server", "description": "A bundler-agnostic development server for React Native applications as part of @callstack/repack.", "license": "MIT", - "version": "4.0.0-rc.0", + "version": "4.0.0-rc.1", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/init/CHANGELOG.md b/packages/init/CHANGELOG.md index 429b92614..f1f53cb36 100644 --- a/packages/init/CHANGELOG.md +++ b/packages/init/CHANGELOG.md @@ -1,5 +1,11 @@ # @callstack/repack-init +## 4.0.0-rc.1 + +### Minor Changes + +- [#557](https://github.com/callstack/repack/pull/557) [`8a57f57`](https://github.com/callstack/repack/commit/8a57f57912748efe806dbac52e29a8f4e238652d) Thanks [@jbroma](https://github.com/jbroma)! - add `custom-version` flag + ## 4.0.0-rc.0 ### Major Changes diff --git a/packages/init/package.json b/packages/init/package.json index 3c60d8bbb..b4bf34727 100644 --- a/packages/init/package.json +++ b/packages/init/package.json @@ -3,7 +3,7 @@ "description": "Automates the integration of the @callstack/repack into React-Native projects", "author": "Jakub Romańczyk ", "license": "MIT", - "version": "4.0.0-rc.0", + "version": "4.0.0-rc.1", "homepage": "https://github.com/callstack/repack", "repository": "github:callstack/repack", "keywords": [ diff --git a/packages/repack/CHANGELOG.md b/packages/repack/CHANGELOG.md index 3d9b68dcd..a9754fd11 100644 --- a/packages/repack/CHANGELOG.md +++ b/packages/repack/CHANGELOG.md @@ -1,5 +1,16 @@ # @callstack/repack +## 4.0.0-rc.1 + +### Patch Changes + +- [#555](https://github.com/callstack/repack/pull/555) [`8fe92be`](https://github.com/callstack/repack/commit/8fe92bedc65c1757f3105d21d4c498cf17327ee7) Thanks [@jbroma](https://github.com/jbroma)! - Fix getDirname on Windows + +- [#556](https://github.com/callstack/repack/pull/556) [`6c09015`](https://github.com/callstack/repack/commit/6c09015c1afe3ac2d932dad5ed158165fd548c87) Thanks [@jbroma](https://github.com/jbroma)! - Update webpack.config templates + +- Updated dependencies [[`ed82e29`](https://github.com/callstack/repack/commit/ed82e29c2871411fd73616f29a7d4b75ff3dd913)]: + - @callstack/repack-dev-server@4.0.0-rc.1 + ## 4.0.0-rc.0 ### Major Changes @@ -29,10 +40,10 @@ ```js // react-native.config.js - const commands = require('@callstack/repack/commands'); + const commands = require("@callstack/repack/commands"); module.exports = { - commands: commands.filter((command) => command.name.startsWith('webpack')), + commands: commands.filter((command) => command.name.startsWith("webpack")), }; ``` @@ -361,22 +372,22 @@ This Release candidate introduces a new feature – **Code Signing**. It allows import * as Repack from "@callstack/repack"; new Repack.plugins.ModuleFederationPlugin({ - name: "host" + name: "host", }); new Repack.plugins.ModuleFederationPlugin({ name: "app1", remotes: { - module1: "module1@https://example.com/module1.container.bundle" - } + module1: "module1@https://example.com/module1.container.bundle", + }, }); new Repack.plugins.ModuleFederationPlugin({ name: "app2", remotes: { module1: "module1@https://example.com/module1.container.bundle", - module2: "module1@dynamic" - } + module2: "module1@dynamic", + }, }); ``` @@ -398,7 +409,7 @@ This Release candidate introduces a new feature – **Code Signing**. It allows async (scriptId, caller) => { // ... }, - { priority: 1 } + { priority: 1 }, ); // Default priority is `2`. ``` @@ -455,22 +466,22 @@ This Release candidate introduces a new feature – **Code Signing**. It allows import * as Repack from "@callstack/repack"; new Repack.plugins.ModuleFederationPlugin({ - name: "host" + name: "host", }); new Repack.plugins.ModuleFederationPlugin({ name: "app1", remotes: { - module1: "module1@https://example.com/module1.container.bundle" - } + module1: "module1@https://example.com/module1.container.bundle", + }, }); new Repack.plugins.ModuleFederationPlugin({ name: "app2", remotes: { module1: "module1@https://example.com/module1.container.bundle", - module2: "module1@dynamic" - } + module2: "module1@dynamic", + }, }); ``` @@ -492,7 +503,7 @@ This Release candidate introduces a new feature – **Code Signing**. It allows async (scriptId, caller) => { // ... }, - { priority: 1 } + { priority: 1 }, ); // Default priority is `2`. ``` diff --git a/packages/repack/package.json b/packages/repack/package.json index 01b0dc9a3..5015ed713 100644 --- a/packages/repack/package.json +++ b/packages/repack/package.json @@ -1,6 +1,6 @@ { "name": "@callstack/repack", - "version": "4.0.0-rc.0", + "version": "4.0.0-rc.1", "description": "A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -58,7 +58,7 @@ "webpack": "5.x" }, "dependencies": { - "@callstack/repack-dev-server": "^4.0.0-rc.0", + "@callstack/repack-dev-server": "^4.0.0-rc.1", "@discoveryjs/json-ext": "^0.5.7", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7", "colorette": "^1.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 18451f159..a324923a9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -127,7 +127,7 @@ importers: packages/TesterApp: dependencies: '@callstack/repack': - specifier: 4.0.0-rc.0 + specifier: 4.0.0-rc.1 version: link:../repack '@react-native-async-storage/async-storage': specifier: ^1.21.0 @@ -388,7 +388,7 @@ importers: packages/repack: dependencies: '@callstack/repack-dev-server': - specifier: ^4.0.0-rc.0 + specifier: ^4.0.0-rc.1 version: link:../dev-server '@discoveryjs/json-ext': specifier: ^0.5.7