chore: Update yarn, refactor packages setup (#4085)

* Update yarn, refactor packages setup

* Rename some jobs in lib-check.yml

* Update website/yarn.lock

* Revert build-type-and-test job name change
This commit is contained in:
Fleny
2025-01-16 22:27:10 -06:00
committed by GitHub
parent d8cfccb914
commit b177eb40f8
49 changed files with 5734 additions and 6098 deletions
+14 -10
View File
@@ -2,18 +2,22 @@
"name": "@discordeno/bot",
"version": "21.0.0",
"main": "./dist/esm/index.js",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs",
"types": "./dist/types/index.d.ts"
},
"types": "./dist/types/index.d.ts",
"exports": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"type": "module",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/discordeno/discordeno.git"
"url": "git+https://github.com/discordeno/discordeno.git"
},
"files": [
"dist/**",
"!dist/.tsbuildinfo"
],
"scripts": {
"build": "swc src --strip-leading-paths --delete-dir-on-start src --out-dir dist/esm && swc --strip-leading-paths --delete-dir-on-start src --out-dir dist/cjs -C module.type=commonjs && node ../../scripts/fixCjsExtension.js",
"build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
@@ -30,10 +34,10 @@
"test:test-type": "tsc --project tests/tsconfig.json"
},
"dependencies": {
"@discordeno/gateway": "21.0.0",
"@discordeno/rest": "21.0.0",
"@discordeno/types": "21.0.0",
"@discordeno/utils": "21.0.0"
"@discordeno/gateway": "workspace:^",
"@discordeno/rest": "workspace:^",
"@discordeno/types": "workspace:^",
"@discordeno/utils": "workspace:^"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",