chore: remove all references of pnpm
This commit is contained in:
parent
ec0a99d8c2
commit
93d0416551
4 changed files with 5 additions and 9690 deletions
|
|
@ -28,7 +28,7 @@ export default {
|
|||
[
|
||||
"@semantic-release/exec",
|
||||
{
|
||||
prepareCmd: `pnpm build --release-branch ${process.env.RELEASE_BRANCH} --build-minify`,
|
||||
prepareCmd: `bun run build --release-branch ${process.env.RELEASE_BRANCH} --build-minify`,
|
||||
},
|
||||
],
|
||||
[
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@
|
|||
4. Install dependencies
|
||||
|
||||
```
|
||||
pnpm i
|
||||
bun i
|
||||
```
|
||||
|
||||
5. Build Revenge's code
|
||||
|
||||
```
|
||||
pnpm build
|
||||
bun run build
|
||||
```
|
||||
|
||||
6. In the newly created `dist` directory, run a HTTP server. I recommend [http-server](https://www.npmjs.com/package/http-server).
|
||||
|
|
@ -24,6 +24,6 @@
|
|||
8. Restart Discord. Upon reload, you should notice that your device will download Revenge's bundled code from your server, rather than GitHub.
|
||||
9. Make your changes, rebuild, reload, go wild!
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
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.
|
||||
|
|
|
|||
10
package.json
10
package.json
|
|
@ -10,7 +10,7 @@
|
|||
"scripts": {
|
||||
"build": "node scripts/build.mjs",
|
||||
"serve": "node scripts/serve.mjs",
|
||||
"serve:adb": "pnpm run serve --adb",
|
||||
"serve:adb": "bun run serve --adb",
|
||||
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
|
||||
},
|
||||
"license": "BSD-3-Clause",
|
||||
|
|
@ -53,13 +53,5 @@
|
|||
"react-native-reanimated": "^3.18.0",
|
||||
"spitroast": "^1.4.4",
|
||||
"type-fest": "^4.41.0"
|
||||
},
|
||||
"pnpm": {
|
||||
"peerDependencyRules": {
|
||||
"ignoreMissing": [
|
||||
"react",
|
||||
"react-native"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
9677
pnpm-lock.yaml
generated
9677
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue