ci(release): publish with yarn instead of npm (#4646)

* chore: update yarn to 4.12.0

* ci(release): publish with yarn instead of npm

* chore: update browsers list db

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* chore(deps): add a resolution for react types

docusaurus is using react types v18, while discordeno uses v19

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* fix: prefix the jsx element type with the react namespace

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

* chore(deps): update @rspack/core to v1.6.8

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>

---------

Signed-off-by: Seren_Modz 21 <seren@kings-world.net>
Co-authored-by: Fleny <Fleny113@outlook.com>
This commit is contained in:
Seren_Modz 21
2025-12-19 17:12:37 +00:00
committed by GitHub
parent 51d2c5a763
commit 8b9930ffe0
8 changed files with 1049 additions and 1090 deletions

View File

@@ -36,13 +36,6 @@ jobs:
if: ${{ github.event_name != 'release' && github.event.action != 'published' }}
run: node ./scripts/bumpVersionByCommit.js ${{ matrix.package }}
- run: yarn pack
working-directory: packages/${{ matrix.package }}
# We use Trusted Publishing, however this requires npm 11.5.1 or higher
- name: Update npm
run: npm install -g npm@11.7.0
# If the action is running from a release, if prerelease use beta tag else use latest tag, otherwise use the next tag
- run: npm publish package.tgz --tag ${{ github.event_name == 'release' && github.event.action == 'published' && (github.event.release.prerelease && 'beta' || 'latest') || 'next' }} --access public --provenance
- run: yarn npm publish --tag ${{ github.event_name == 'release' && github.event.action == 'published' && (github.event.release.prerelease && 'beta' || 'latest') || 'next' }} --access public --provenance
working-directory: packages/${{ matrix.package }}

942
.yarn/releases/yarn-4.12.0.cjs vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,3 @@
yarnPath: .yarn/releases/yarn-4.6.0.cjs
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.12.0.cjs

View File

@@ -3,7 +3,7 @@
"version": "22.0.0-beta.1",
"private": true,
"type": "module",
"packageManager": "yarn@4.6.0",
"packageManager": "yarn@4.12.0",
"workspaces": [
"packages/*"
],

View File

@@ -38,6 +38,9 @@
"typescript": "5.9.3",
"webpack": "5.103.0"
},
"resolutions": {
"@types/react": "^19.2.7"
},
"browserslist": {
"production": [
">0.5%",

View File

@@ -5,7 +5,7 @@ import DiscordenoFAQ from '../components/home/faq'
import DiscordenoFeatures from '../components/home/features'
import DiscordenoReviews from '../components/home/reviews'
export default function Home(): JSX.Element {
export default function Home(): React.JSX.Element {
return (
<Layout title={`Discordeno Documentation`} description="An in-depth guide to using the Discordeno library for Deno.">
<DiscordenoHeader />

View File

@@ -7290,69 +7290,69 @@ __metadata:
languageName: node
linkType: hard
"@module-federation/error-codes@npm:0.18.0":
version: 0.18.0
resolution: "@module-federation/error-codes@npm:0.18.0"
checksum: 10c0/8cf4049a4ce6b2fbe39c5824960d0c4cec4f0cfd805f0251e44d2eddf2aa2adf3ed0d7de9752444d83d74ab85da2c19b6efd0cd0ce202bcaadd2e1e5e38523b6
"@module-federation/error-codes@npm:0.21.6":
version: 0.21.6
resolution: "@module-federation/error-codes@npm:0.21.6"
checksum: 10c0/365ca6350fac7882e86730dec34bd62871161638850727604a8a7b30ac3479a62d95a9e6ee39faa6f8dfc57a960fd91274df325fbda12bbbdd554a4258d8ed7d
languageName: node
linkType: hard
"@module-federation/runtime-core@npm:0.18.0":
version: 0.18.0
resolution: "@module-federation/runtime-core@npm:0.18.0"
"@module-federation/runtime-core@npm:0.21.6":
version: 0.21.6
resolution: "@module-federation/runtime-core@npm:0.21.6"
dependencies:
"@module-federation/error-codes": "npm:0.18.0"
"@module-federation/sdk": "npm:0.18.0"
checksum: 10c0/99ac5354b50b27e80416f752f7eca6aedb0a659d272215b9db326a93cfb0e3fb772041a78290175c6329275e3a9accf7c9a3407b515ad3c4886f17a4ce6df86b
"@module-federation/error-codes": "npm:0.21.6"
"@module-federation/sdk": "npm:0.21.6"
checksum: 10c0/df986606a9f6b0f56cc9c261d497c852a1dba0e6817be5b9150db3a3d205242a6a0fedb0ad247aaa9bfb489aaeb3d58adcc7db44f4a3205cf20c5a8035e974f8
languageName: node
linkType: hard
"@module-federation/runtime-tools@npm:0.18.0":
version: 0.18.0
resolution: "@module-federation/runtime-tools@npm:0.18.0"
"@module-federation/runtime-tools@npm:0.21.6":
version: 0.21.6
resolution: "@module-federation/runtime-tools@npm:0.21.6"
dependencies:
"@module-federation/runtime": "npm:0.18.0"
"@module-federation/webpack-bundler-runtime": "npm:0.18.0"
checksum: 10c0/2c3876378ee763af8f8687996893b55020fd20a617c886bf949cb50f92c9763966f0617956d535d20fa163c264643e56eb3ae60ff5f92153c22f1520064cf3a0
"@module-federation/runtime": "npm:0.21.6"
"@module-federation/webpack-bundler-runtime": "npm:0.21.6"
checksum: 10c0/4cb9fa9dcde2101359ade4bdeb2e80c19c65f0ae265ad3877edfae2117f4b1e908e8d76d44ce5ae61d32ce73e7bf4238e24e4ad67115d64c994dbe169dc96b05
languageName: node
linkType: hard
"@module-federation/runtime@npm:0.18.0":
version: 0.18.0
resolution: "@module-federation/runtime@npm:0.18.0"
"@module-federation/runtime@npm:0.21.6":
version: 0.21.6
resolution: "@module-federation/runtime@npm:0.21.6"
dependencies:
"@module-federation/error-codes": "npm:0.18.0"
"@module-federation/runtime-core": "npm:0.18.0"
"@module-federation/sdk": "npm:0.18.0"
checksum: 10c0/c0e404d1dfdf05d4828b0b305991580a0f0b3632717e9e8532de386e9d2785f3b91aff7140d06403eff81098c36de16028e97c3387c59b9c5a52e470fc0c604e
"@module-federation/error-codes": "npm:0.21.6"
"@module-federation/runtime-core": "npm:0.21.6"
"@module-federation/sdk": "npm:0.21.6"
checksum: 10c0/76596433cd914021cdeacefd461303f08c8daeb002d6c13659ce4e3d10f36873ce3a89edca432074b7484e2f5597e53d619ba425b11656b212e3d3ce775b8fb8
languageName: node
linkType: hard
"@module-federation/sdk@npm:0.18.0":
version: 0.18.0
resolution: "@module-federation/sdk@npm:0.18.0"
checksum: 10c0/5610d5c94f11af420e2c9625cbe7bc233d22491711de2a1d7e8879c6723ad8e403391edf26f50be82aecfb62d76fa4d1660de5515abeceb55d2b645712773f8c
"@module-federation/sdk@npm:0.21.6":
version: 0.21.6
resolution: "@module-federation/sdk@npm:0.21.6"
checksum: 10c0/54f33fb48e1f3db09e03b529af9f28fcd8007c4dbd8b197cb0691c392f3eb143961c526e1ecd400f1d652451976a378da962edbb961f5859f33f56edda527f88
languageName: node
linkType: hard
"@module-federation/webpack-bundler-runtime@npm:0.18.0":
version: 0.18.0
resolution: "@module-federation/webpack-bundler-runtime@npm:0.18.0"
"@module-federation/webpack-bundler-runtime@npm:0.21.6":
version: 0.21.6
resolution: "@module-federation/webpack-bundler-runtime@npm:0.21.6"
dependencies:
"@module-federation/runtime": "npm:0.18.0"
"@module-federation/sdk": "npm:0.18.0"
checksum: 10c0/5186cea303ad485e052315b0495075ec78b4a41f4151559f25905fe7431c54e14edf96a462bc59760aeb8b3cdfe9a09a79ab8ef0d7060694c3acfd97d98778c3
"@module-federation/runtime": "npm:0.21.6"
"@module-federation/sdk": "npm:0.21.6"
checksum: 10c0/0767ace8f5002d2bcc4ace9fca25440b95f980980fcba3ffd9da1c8452ec608dc2cc8c79a6a49d259b1fa548134ad2e2e6e89d0ae42e41b4e7be047755996daf
languageName: node
linkType: hard
"@napi-rs/wasm-runtime@npm:^1.0.5":
version: 1.0.5
resolution: "@napi-rs/wasm-runtime@npm:1.0.5"
"@napi-rs/wasm-runtime@npm:1.0.7":
version: 1.0.7
resolution: "@napi-rs/wasm-runtime@npm:1.0.7"
dependencies:
"@emnapi/core": "npm:^1.5.0"
"@emnapi/runtime": "npm:^1.5.0"
"@tybys/wasm-util": "npm:^0.10.1"
checksum: 10c0/8d29299933c57b6ead61f46fad5c3dfabc31e1356bbaf25c3a8ae57be0af0db0006a808f2c1bb16e28925e027f20e0856550dac94e015f56dd6ed53b38f9a385
checksum: 10c0/2d8635498136abb49d6dbf7395b78c63422292240963bf055f307b77aeafbde57ae2c0ceaaef215601531b36d6eb92a2cdd6f5ba90ed2aa8127c27aff9c4ae55
languageName: node
linkType: hard
@@ -7583,92 +7583,92 @@ __metadata:
languageName: node
linkType: hard
"@rspack/binding-darwin-arm64@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-darwin-arm64@npm:1.5.8"
"@rspack/binding-darwin-arm64@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-darwin-arm64@npm:1.6.8"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@rspack/binding-darwin-x64@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-darwin-x64@npm:1.5.8"
"@rspack/binding-darwin-x64@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-darwin-x64@npm:1.6.8"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@rspack/binding-linux-arm64-gnu@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-linux-arm64-gnu@npm:1.5.8"
"@rspack/binding-linux-arm64-gnu@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-linux-arm64-gnu@npm:1.6.8"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
"@rspack/binding-linux-arm64-musl@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-linux-arm64-musl@npm:1.5.8"
"@rspack/binding-linux-arm64-musl@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-linux-arm64-musl@npm:1.6.8"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
"@rspack/binding-linux-x64-gnu@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-linux-x64-gnu@npm:1.5.8"
"@rspack/binding-linux-x64-gnu@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-linux-x64-gnu@npm:1.6.8"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
"@rspack/binding-linux-x64-musl@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-linux-x64-musl@npm:1.5.8"
"@rspack/binding-linux-x64-musl@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-linux-x64-musl@npm:1.6.8"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
"@rspack/binding-wasm32-wasi@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-wasm32-wasi@npm:1.5.8"
"@rspack/binding-wasm32-wasi@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-wasm32-wasi@npm:1.6.8"
dependencies:
"@napi-rs/wasm-runtime": "npm:^1.0.5"
"@napi-rs/wasm-runtime": "npm:1.0.7"
conditions: cpu=wasm32
languageName: node
linkType: hard
"@rspack/binding-win32-arm64-msvc@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-win32-arm64-msvc@npm:1.5.8"
"@rspack/binding-win32-arm64-msvc@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-win32-arm64-msvc@npm:1.6.8"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@rspack/binding-win32-ia32-msvc@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-win32-ia32-msvc@npm:1.5.8"
"@rspack/binding-win32-ia32-msvc@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-win32-ia32-msvc@npm:1.6.8"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
"@rspack/binding-win32-x64-msvc@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding-win32-x64-msvc@npm:1.5.8"
"@rspack/binding-win32-x64-msvc@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding-win32-x64-msvc@npm:1.6.8"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@rspack/binding@npm:1.5.8":
version: 1.5.8
resolution: "@rspack/binding@npm:1.5.8"
"@rspack/binding@npm:1.6.8":
version: 1.6.8
resolution: "@rspack/binding@npm:1.6.8"
dependencies:
"@rspack/binding-darwin-arm64": "npm:1.5.8"
"@rspack/binding-darwin-x64": "npm:1.5.8"
"@rspack/binding-linux-arm64-gnu": "npm:1.5.8"
"@rspack/binding-linux-arm64-musl": "npm:1.5.8"
"@rspack/binding-linux-x64-gnu": "npm:1.5.8"
"@rspack/binding-linux-x64-musl": "npm:1.5.8"
"@rspack/binding-wasm32-wasi": "npm:1.5.8"
"@rspack/binding-win32-arm64-msvc": "npm:1.5.8"
"@rspack/binding-win32-ia32-msvc": "npm:1.5.8"
"@rspack/binding-win32-x64-msvc": "npm:1.5.8"
"@rspack/binding-darwin-arm64": "npm:1.6.8"
"@rspack/binding-darwin-x64": "npm:1.6.8"
"@rspack/binding-linux-arm64-gnu": "npm:1.6.8"
"@rspack/binding-linux-arm64-musl": "npm:1.6.8"
"@rspack/binding-linux-x64-gnu": "npm:1.6.8"
"@rspack/binding-linux-x64-musl": "npm:1.6.8"
"@rspack/binding-wasm32-wasi": "npm:1.6.8"
"@rspack/binding-win32-arm64-msvc": "npm:1.6.8"
"@rspack/binding-win32-ia32-msvc": "npm:1.6.8"
"@rspack/binding-win32-x64-msvc": "npm:1.6.8"
dependenciesMeta:
"@rspack/binding-darwin-arm64":
optional: true
@@ -7690,30 +7690,30 @@ __metadata:
optional: true
"@rspack/binding-win32-x64-msvc":
optional: true
checksum: 10c0/2295e1e6750765c959547fae90e29e2628f0a4bdb98f398ce80be13292eaafadfd1c59d7958bdcce60af8a2a36516be1302e8329083b506427909de36fe0cd41
checksum: 10c0/b956421c4a162b58bfbf217e5fe6458ef20853363dbc21e873dd4239604c89885f29adaa5c1bdd0dd2cd8f3b57a302e9ec1e8fe9d66c4107b771dace78881417
languageName: node
linkType: hard
"@rspack/core@npm:^1.5.0":
version: 1.5.8
resolution: "@rspack/core@npm:1.5.8"
version: 1.6.8
resolution: "@rspack/core@npm:1.6.8"
dependencies:
"@module-federation/runtime-tools": "npm:0.18.0"
"@rspack/binding": "npm:1.5.8"
"@rspack/lite-tapable": "npm:1.0.1"
"@module-federation/runtime-tools": "npm:0.21.6"
"@rspack/binding": "npm:1.6.8"
"@rspack/lite-tapable": "npm:1.1.0"
peerDependencies:
"@swc/helpers": ">=0.5.1"
peerDependenciesMeta:
"@swc/helpers":
optional: true
checksum: 10c0/eb1b5777efae8c5f5ced0129df508e3ac6ebd365b2e99105a483f56fd648ec8e9dbab27bdf4420a8b68a7ddd53a0170413da8091c571d9ceea801f56e43f94fa
checksum: 10c0/e6f3405ac8b4e2f13b02feb507cb8cf133950dd2dc89c6fc8d0f80eeaaea900bb2788c71abd7209b0c0f6d5a9b19bd1a6b36a6ba233f2e9ceb53d24e00c925e8
languageName: node
linkType: hard
"@rspack/lite-tapable@npm:1.0.1":
version: 1.0.1
resolution: "@rspack/lite-tapable@npm:1.0.1"
checksum: 10c0/90bb1bc414dc51ea2d0933e09f78d25584f3f50a85f4cb8228930bd29e5931bf55eff4f348a06c51dd3149fc73b8ae3920bf0ae5ae8a0c9fe1d9b404e6ecf5b7
"@rspack/lite-tapable@npm:1.1.0":
version: 1.1.0
resolution: "@rspack/lite-tapable@npm:1.1.0"
checksum: 10c0/15059d1da73192b150339ceba3142a2d0073fa298dad9a497cc8c6037c597c3a982ed4c88dc50afa7b70d0757df1b47af7ae407cfe8acd31d333d524b84a7a4b
languageName: node
linkType: hard
@@ -8796,13 +8796,6 @@ __metadata:
languageName: node
linkType: hard
"@types/prop-types@npm:*":
version: 15.7.5
resolution: "@types/prop-types@npm:15.7.5"
checksum: 10c0/648aae41423821c61c83823ae36116c8d0f68258f8b609bdbc257752dcd616438d6343d554262aa9a7edaee5a19aca2e028a74fa2d0f40fffaf2816bc7056857
languageName: node
linkType: hard
"@types/qs@npm:*":
version: 6.9.7
resolution: "@types/qs@npm:6.9.7"
@@ -8860,17 +8853,6 @@ __metadata:
languageName: node
linkType: hard
"@types/react@npm:*":
version: 18.0.33
resolution: "@types/react@npm:18.0.33"
dependencies:
"@types/prop-types": "npm:*"
"@types/scheduler": "npm:*"
csstype: "npm:^3.0.2"
checksum: 10c0/12610df107eeac48d63f23c64b9c2f91acf6413faa9868e374433b1bab7a27ce95b0a0198b0712da34e2a1672ce43e04fa0b484e81e985baae3b056e204e27ac
languageName: node
linkType: hard
"@types/react@npm:^19.2.7":
version: 19.2.7
resolution: "@types/react@npm:19.2.7"
@@ -8903,13 +8885,6 @@ __metadata:
languageName: node
linkType: hard
"@types/scheduler@npm:*":
version: 0.16.3
resolution: "@types/scheduler@npm:0.16.3"
checksum: 10c0/c249d4b96fa05165ac22c214f94a045ee0af8beedefdbc54b769febd0044cab3a874e55419841a0dcc76439e379a63e257f3253c87168e3261e7bc783d623302
languageName: node
linkType: hard
"@types/send@npm:*":
version: 0.17.5
resolution: "@types/send@npm:0.17.5"
@@ -10097,11 +10072,11 @@ __metadata:
linkType: hard
"baseline-browser-mapping@npm:^2.8.9":
version: 2.8.10
resolution: "baseline-browser-mapping@npm:2.8.10"
version: 2.9.10
resolution: "baseline-browser-mapping@npm:2.9.10"
bin:
baseline-browser-mapping: dist/cli.js
checksum: 10c0/3ab9eee25e161a689b70b82887c8ee5cefb690a50da1d15655e2dd959de70916a43789b5ddf6968e272029002891e90a5cb46ed90ee54042e6aeae3b1c9630d4
checksum: 10c0/e8021a03d7ec00583c83054993a7192dae5065b25de2b2763420116553aeff8297e5ad643c94549f2310f436df0511ade80c7a889251c03af11e68eecbff1fae
languageName: node
linkType: hard
@@ -10464,24 +10439,10 @@ __metadata:
languageName: node
linkType: hard
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001449, caniuse-lite@npm:^1.0.30001464, caniuse-lite@npm:^1.0.30001538, caniuse-lite@npm:^1.0.30001541, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669":
version: 1.0.30001720
resolution: "caniuse-lite@npm:1.0.30001720"
checksum: 10c0/ba9f963364ec4bfc8359d15d7e2cf365185fa1fddc90b4f534c71befedae9b3dd0cd2583a25ffc168a02d7b61b6c18b59bda0a1828ea2a5250fd3e35c2c049e9
languageName: node
linkType: hard
"caniuse-lite@npm:^1.0.30001702, caniuse-lite@npm:^1.0.30001733":
version: 1.0.30001734
resolution: "caniuse-lite@npm:1.0.30001734"
checksum: 10c0/5869cb6a01e7a012a8c5d7b0482e2c910be3a2a469d4ef516a54db3f846fbaedb2600eeaa270dae9e2ad9328e33f39782e6f459405fcca620021f5f06694542d
languageName: node
linkType: hard
"caniuse-lite@npm:^1.0.30001746":
version: 1.0.30001746
resolution: "caniuse-lite@npm:1.0.30001746"
checksum: 10c0/e656a9dc811be2316e3b6dbd3bf25d0e32dbce645b1284821b4ec93fb81dc3e3f73b9473e2f66c921b620ea8b25ebbae9ee70c3d13dad85f8dd69d6bb2c91d46
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001449, caniuse-lite@npm:^1.0.30001464, caniuse-lite@npm:^1.0.30001538, caniuse-lite@npm:^1.0.30001541, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669, caniuse-lite@npm:^1.0.30001702, caniuse-lite@npm:^1.0.30001733, caniuse-lite@npm:^1.0.30001746":
version: 1.0.30001760
resolution: "caniuse-lite@npm:1.0.30001760"
checksum: 10c0/cee26dff5c5b15ba073ab230200e43c0d4e88dc3bac0afe0c9ab963df70aaa876c3e513dde42a027f317136bf6e274818d77b073708b74c5807dfad33c029d3c
languageName: node
linkType: hard
@@ -11543,13 +11504,6 @@ __metadata:
languageName: node
linkType: hard
"csstype@npm:^3.0.2":
version: 3.1.2
resolution: "csstype@npm:3.1.2"
checksum: 10c0/32c038af259897c807ac738d9eab16b3d86747c72b09d5c740978e06f067f9b7b1737e1b75e407c7ab1fe1543dc95f20e202b4786aeb1b8d3bdf5d5ce655e6c6
languageName: node
linkType: hard
"csstype@npm:^3.2.2":
version: 3.2.3
resolution: "csstype@npm:3.2.3"