Skip to content

Commit

Permalink
release: 4.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jbroma committed Apr 17, 2024
1 parent 8a57f57 commit 084778c
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 21 deletions.
4 changes: 4 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/TesterApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions packages/dev-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions packages/init/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Automates the integration of the @callstack/repack into React-Native projects",
"author": "Jakub Romańczyk <[email protected]>",
"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": [
Expand Down
39 changes: 25 additions & 14 deletions packages/repack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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")),
};
```

Expand Down Expand Up @@ -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",
},
});
```

Expand All @@ -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`.
```

Expand Down Expand Up @@ -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",
},
});
```

Expand All @@ -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`.
```

Expand Down
4 changes: 2 additions & 2 deletions packages/repack/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 084778c

Please sign in to comment.