@callstack/repack-plugin-reanimated 5.0.0-rc.9 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Callstack
3
+ Copyright (c) 2025 Callstack
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,19 +1,17 @@
1
- <p align="center">
2
- <img src="https://raw.githubusercontent.com/callstack/repack/HEAD/logo.png">
3
- </p>
4
- <p align="center">
5
- A toolkit to build your React Native application with Rspack or Webpack.
6
- </p>
7
-
8
- ---
9
-
10
- [![Build Status][build-badge]][build]
11
- [![Version][version-badge]][version]
12
- [![MIT License][license-badge]][license]
1
+ <div align="center">
2
+ <img src="https://raw.githubusercontent.com/callstack/repack/HEAD/logo.png" width="650" alt="Re.Pack logo" />
3
+ <h3>A toolkit to build your React Native application with Rspack or Webpack.</h3>
4
+ </div>
5
+ <div align="center">
6
+
7
+ [![mit licence][license-badge]][license]
8
+ [![npm downloads][npm-downloads-badge]][npm-downloads]
9
+ [![Chat][chat-badge]][chat]
13
10
  [![PRs Welcome][prs-welcome-badge]][prs-welcome]
14
- [![Code of Conduct][coc-badge]][coc]
15
11
 
16
- `@callstack/repack-plugin-reanimated` is a plugin for `@callstack/repack` that integrates `react-native-reanimated` into your React Native projects.
12
+ </div>
13
+
14
+ `@callstack/repack-plugin-reanimated` is a plugin for [`@callstack/repack`](https://github.com/callstack/repack) that integrates `react-native-reanimated` into your React Native projects.
17
15
 
18
16
  ## About
19
17
 
@@ -83,14 +81,11 @@ Check out our website at https://re-pack.dev for more info and documentation or
83
81
 
84
82
  <!-- badges -->
85
83
 
86
- [callstack-readme-with-love]: https://callstack.com/?utm_source=github.com&utm_medium=referral&utm_campaign=react-native-paper&utm_term=readme-with-love
87
- [build-badge]: https://img.shields.io/github/workflow/status/callstack/repack/CI/main?style=flat-square
88
- [build]: https://github.com/callstack/repack/actions/workflows/main.yml
89
- [version-badge]: https://img.shields.io/npm/v/@callstack/repack-plugin-reanimated?style=flat-square
90
- [version]: https://www.npmjs.com/package/@callstack/repack-plugin-reanimated
91
- [license-badge]: https://img.shields.io/npm/l/@callstack/repack-plugin-reanimated?style=flat-square
92
- [license]: https://github.com/callstack/repack/blob/master/LICENSE
93
- [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
84
+ [license-badge]: https://img.shields.io/npm/l/@callstack/repack?style=for-the-badge
85
+ [license]: https://github.com/callstack/repack/blob/main/LICENSE
86
+ [npm-downloads-badge]: https://img.shields.io/npm/dm/@callstack/repack?style=for-the-badge
87
+ [npm-downloads]: https://www.npmjs.com/package/@callstack/repack
88
+ [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
94
89
  [prs-welcome]: ./CONTRIBUTING.md
95
- [coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
96
- [coc]: https://github.com/callstack/repack/blob/master/CODE_OF_CONDUCT.md
90
+ [chat-badge]: https://img.shields.io/discord/426714625279524876.svg?style=for-the-badge
91
+ [chat]: https://discord.gg/Q4yr2rTWYF
package/dist/rules.js CHANGED
@@ -14,7 +14,7 @@ exports.reanimatedModuleRules = {
14
14
  ]),
15
15
  oneOf: [
16
16
  {
17
- test: /\.ts$/,
17
+ test: /\.[cm]?ts$/,
18
18
  use: {
19
19
  loader: '@callstack/repack-plugin-reanimated/loader',
20
20
  options: {
@@ -28,7 +28,7 @@ exports.reanimatedModuleRules = {
28
28
  },
29
29
  },
30
30
  {
31
- test: /\.tsx$/,
31
+ test: /\.[cm]?tsx$/,
32
32
  use: {
33
33
  loader: '@callstack/repack-plugin-reanimated/loader',
34
34
  options: {
@@ -42,7 +42,7 @@ exports.reanimatedModuleRules = {
42
42
  },
43
43
  },
44
44
  {
45
- test: /\.jsx?$/,
45
+ test: /\.[cm]?jsx?$/,
46
46
  use: {
47
47
  loader: '@callstack/repack-plugin-reanimated/loader',
48
48
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@callstack/repack-plugin-reanimated",
3
- "version": "5.0.0-rc.9",
3
+ "version": "5.0.0",
4
4
  "description": "A plugin for @callstack/repack that integrates react-native-reanimated",
5
5
  "author": "Jakub Romańczyk <jakub.romanczyk@callstack.com>",
6
6
  "license": "MIT",
@@ -42,13 +42,13 @@
42
42
  "dependencies": {},
43
43
  "peerDependencies": {
44
44
  "@babel/core": "^7.20",
45
- "@callstack/repack": "^5.0.0-rc.9"
45
+ "@callstack/repack": "^5.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@rspack/core": "1.0.8",
48
+ "@rspack/core": "^1.2.2",
49
49
  "@types/babel__core": "7.20.5",
50
50
  "@types/node": "^18",
51
- "@callstack/repack": "5.0.0-rc.9"
51
+ "@callstack/repack": "5.0.0"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "tsc -p tsconfig.build.json",