mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
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:
+14
-10
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user