Skip to content

Commit 934ca93

Browse files
authored
chore: merge dev to main (#195)
2 parents c263de3 + f021b98 commit 934ca93

File tree

15 files changed

+3508
-9762
lines changed

15 files changed

+3508
-9762
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,24 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v4
1616

17-
- name: Install pnpm
18-
uses: pnpm/action-setup@v4
17+
- name: Restore Bun cache
18+
uses: actions/cache@v4
1919
with:
20-
version: latest
21-
22-
- name: Install Node.js
23-
uses: actions/setup-node@v4
20+
path: ~/.bun/install/cache
21+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
22+
restore-keys: |
23+
${{ runner.os }}-bun-
24+
25+
- name: Setup Bun
26+
uses: oven-sh/setup-bun@v2
2427
with:
25-
node-version: 22
26-
cache: pnpm
27-
28+
bun-version: latest
29+
2830
- name: Install dependencies
29-
run: pnpm install --frozen-lockfile
31+
run: bun install --frozen-lockfile
3032

3133
- name: Release
32-
run: pnpx semantic-release
34+
run: bunx semantic-release
3335
env:
3436
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3537
RELEASE_BRANCH: ${{ github.ref_name }}

.releaserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
[
2929
"@semantic-release/exec",
3030
{
31-
prepareCmd: `pnpm build --release-branch ${process.env.RELEASE_BRANCH} --build-minify`,
31+
prepareCmd: `bun run build --release-branch ${process.env.RELEASE_BRANCH} --build-minify`,
3232
},
3333
],
3434
[

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
# [1.8.0-dev.2](https://github.com/revenge-mod/revenge-bundle/compare/v1.8.0-dev.1...v1.8.0-dev.2) (2025-07-21)
2+
3+
4+
### Bug Fixes
5+
6+
* Restore original behavior broken by b92d2734b33d2f0e719c364ed5aaefd43c7ae457 ([ec2809f](https://github.com/revenge-mod/revenge-bundle/commit/ec2809fe4c835c84101a8b8525cfc3863d1bc4d8))
7+
* Restore original behavior broken for old architecture ([#194](https://github.com/revenge-mod/revenge-bundle/issues/194)) ([acb85ba](https://github.com/revenge-mod/revenge-bundle/commit/acb85bacbab8b661c797f3b1609e64f2c724382f))
8+
9+
# [1.8.0-dev.1](https://github.com/revenge-mod/revenge-bundle/compare/v1.7.5-dev.1...v1.8.0-dev.1) (2025-07-21)
10+
11+
12+
### Features
13+
14+
* compile to bytecode ([18f21fe](https://github.com/revenge-mod/revenge-bundle/commit/18f21feaaea0a4330e2b098c549b2a516cc8d352))
15+
16+
# [1.8.0-dev.1](https://github.com/revenge-mod/revenge-bundle/compare/v1.7.5-dev.1...v1.8.0-dev.1) (2025-07-21)
17+
18+
19+
### Features
20+
21+
* compile to bytecode ([18f21fe](https://github.com/revenge-mod/revenge-bundle/commit/18f21feaaea0a4330e2b098c549b2a516cc8d352))
22+
23+
# [1.8.0-dev.1](https://github.com/revenge-mod/revenge-bundle/compare/v1.7.5-dev.1...v1.8.0-dev.1) (2025-07-21)
24+
25+
26+
### Features
27+
28+
* compile to bytecode ([18f21fe](https://github.com/revenge-mod/revenge-bundle/commit/18f21feaaea0a4330e2b098c549b2a516cc8d352))
29+
30+
# [1.8.0-dev.1](https://github.com/revenge-mod/revenge-bundle/compare/v1.7.5-dev.1...v1.8.0-dev.1) (2025-07-21)
31+
32+
33+
### Features
34+
35+
* compile to bytecode ([18f21fe](https://github.com/revenge-mod/revenge-bundle/commit/18f21feaaea0a4330e2b098c549b2a516cc8d352))
36+
37+
## [1.7.5-dev.1](https://github.com/revenge-mod/revenge-bundle/compare/v1.7.4...v1.7.5-dev.1) (2025-07-21)
38+
39+
40+
### Bug Fixes
41+
42+
* support New Architecture ([b92d273](https://github.com/revenge-mod/revenge-bundle/commit/b92d2734b33d2f0e719c364ed5aaefd43c7ae457))
43+
* support versions with New Architecture ([#193](https://github.com/revenge-mod/revenge-bundle/issues/193)) ([1b96867](https://github.com/revenge-mod/revenge-bundle/commit/1b96867ac76e522616186e96120c940b9311d659))
44+
145
## [1.7.4](https://github.com/revenge-mod/revenge-bundle/compare/v1.7.3...v1.7.4) (2025-05-19)
246

347

bun.lock

Lines changed: 3229 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/2_building.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
4. Install dependencies
1111

1212
```
13-
pnpm i
13+
bun i
1414
```
1515

1616
5. Build Revenge's code
1717
1818
```
19-
pnpm build
19+
bun run build
2020
```
2121
2222
6. In the newly created `dist` directory, run a HTTP server. I recommend [http-server](https://www.npmjs.com/package/http-server).
2323
7. Go to **Settings** > **Developer** enabled earlier. Enable `Load from custom URL` and input the IP address and port of the server (e.g. `http://192.168.1.236:4040/revenge.js`) in the new input box labeled `Revenge URL`.
2424
8. Restart Discord. Upon reload, you should notice that your device will download Revenge's bundled code from your server, rather than GitHub.
2525
9. Make your changes, rebuild, reload, go wild!
2626

27-
Alternatively, you can directly *serve* the bundled code by running `pnpm serve`. `revenge.js` will be served on your local address under the port 4040. You will then insert `http://<local ip address>:4040/revenge.js` as a custom URL and reload. Whenever you restart your mobile client, the script will rebuild the bundle as your client fetches it.
27+
Alternatively, you can directly *serve* the bundled code by running `bun serve`. `revenge.js` will be served on your local address under the port 4040. You will then insert `http://<local ip address>:4040/revenge.js` as a custom URL and reload. Whenever you restart your mobile client, the script will rebuild the bundle as your client fetches it.
2828

2929
If the bundle keeps being cached and not updated, you can instead tap the **Settings** > **Developer** > **Clear JS bundle** option which will prompt you to reload.

package.json

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"build": "node scripts/build.mjs",
1212
"serve": "node scripts/serve.mjs",
13-
"serve:adb": "pnpm run serve --adb",
13+
"serve:adb": "bun run serve --adb",
1414
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
1515
},
1616
"license": "BSD-3-Clause",
@@ -19,47 +19,39 @@
1919
"@semantic-release/changelog": "^6.0.3",
2020
"@semantic-release/exec": "^6.0.3",
2121
"@semantic-release/git": "^10.0.1",
22-
"semantic-release": "^24.1.3",
23-
"@swc/core": "^1.7.0",
24-
"@swc/helpers": "^0.5.12",
25-
"@types/node": "^20.14.11",
22+
"semantic-release": "^24.2.7",
23+
"@swc/core": "^1.13.1",
24+
"@swc/helpers": "^0.5.17",
25+
"@types/node": "^20.19.9",
2626
"@types/yargs-parser": "^21.0.3",
27-
"@typescript-eslint/eslint-plugin": "^7.16.1",
28-
"@typescript-eslint/parser": "^7.16.1",
29-
"@typescript-eslint/typescript-estree": "^7.16.1",
30-
"chalk": "^5.3.0",
27+
"@typescript-eslint/eslint-plugin": "^7.18.0",
28+
"@typescript-eslint/parser": "^7.18.0",
29+
"@typescript-eslint/typescript-estree": "^7.18.0",
30+
"chalk": "^5.4.1",
3131
"esbuild": "^0.20.2",
3232
"esbuild-plugin-globals": "^0.2.0",
33-
"eslint": "^8.57.0",
33+
"eslint": "^8.57.1",
3434
"eslint-plugin-import-alias": "^1.2.0",
35-
"eslint-plugin-react": "^7.35.0",
35+
"eslint-plugin-react": "^7.37.5",
3636
"eslint-plugin-simple-import-sort": "^12.1.1",
3737
"eslint-plugin-unused-imports": "^3.2.0",
38-
"typescript": "^5.5.3",
38+
"typescript": "^5.8.3",
3939
"yargs-parser": "^21.1.1"
4040
},
4141
"dependencies": {
42-
"@gullerya/object-observer": "^6.1.3",
43-
"@shopify/react-native-skia": "^1.3.8",
44-
"@tanstack/react-query": "^5.51.16",
45-
"@types/chroma-js": "~2.4.4",
46-
"@types/lodash": "~4.17.7",
42+
"@gullerya/object-observer": "^6.1.4",
43+
"@shopify/react-native-skia": "^1.12.4",
44+
"@tanstack/react-query": "^5.83.0",
45+
"@types/chroma-js": "~2.4.5",
46+
"@types/lodash": "~4.17.20",
4747
"@types/react": "18.2.60",
4848
"@types/react-native": "0.72.3",
49-
"es-toolkit": "^1.13.1",
50-
"fuzzysort": "^3.0.2",
51-
"intl-messageformat": "^10.5.14",
49+
"es-toolkit": "^1.39.7",
50+
"fuzzysort": "^3.1.0",
51+
"intl-messageformat": "^10.7.16",
5252
"moment": "2.22.2",
53-
"react-native-reanimated": "^3.6.2",
53+
"react-native-reanimated": "^3.18.0",
5454
"spitroast": "^1.4.4",
55-
"type-fest": "^4.22.1"
56-
},
57-
"pnpm": {
58-
"peerDependencyRules": {
59-
"ignoreMissing": [
60-
"react",
61-
"react-native"
62-
]
63-
}
55+
"type-fest": "^4.41.0"
6456
}
6557
}

0 commit comments

Comments
 (0)