discordeno 20.0.0 → 21.0.0-next.10731a1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +23 -19
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
1
  {
2
2
  "name": "discordeno",
3
- "version": "20.0.0",
3
+ "version": "21.0.0-next.10731a1",
4
4
  "main": "./dist/esm/index.js",
5
+ "types": "./dist/types/index.d.ts",
5
6
  "exports": {
7
+ "types": "./dist/types/index.d.ts",
6
8
  "import": "./dist/esm/index.js",
7
- "require": "./dist/cjs/index.cjs",
8
- "types": "./dist/types/index.d.ts"
9
+ "require": "./dist/cjs/index.cjs"
9
10
  },
10
- "types": "./dist/types/index.d.ts",
11
11
  "type": "module",
12
12
  "license": "Apache-2.0",
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/discordeno/discordeno.git"
15
+ "url": "git+https://github.com/discordeno/discordeno.git"
16
16
  },
17
+ "files": [
18
+ "dist/**",
19
+ "!dist/.tsbuildinfo"
20
+ ],
17
21
  "scripts": {
18
22
  "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",
19
23
  "build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
@@ -22,31 +26,31 @@
22
26
  "lint": "biome lint --write",
23
27
  "test:unit-coverage": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
24
28
  "test:unit": "c8 --r lcov mocha --no-warnings 'tests/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js discordeno",
25
- "test:deno-unit": "swc --strip-leading-paths tests --delete-dir-on-start --out-dir denoTestsDist && node ../../scripts/fixDenoTestExtension.js && deno test -A --import-map ../../denoImportMap.json denoTestsDist",
26
- "test:bun-unit": "node ../../scripts/fixBunTestExtension.js && bun test bunTestsDist",
27
29
  "test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
30
+ "test:deno-unit": "deno -A ../../node_modules/mocha/bin/mocha.js --config ../../.mocharc.base.cjs 'tests/**/*.spec.ts'",
31
+ "test:bun-unit": "bun ../../node_modules/mocha/bin/mocha.js --config ../../.mocharc.base.cjs 'tests/**/*.spec.ts'",
28
32
  "test:type": "tsc --noEmit",
29
33
  "test:test-type": "tsc --project tests/tsconfig.json"
30
34
  },
31
35
  "dependencies": {
32
- "@discordeno/bot": "20.0.0",
33
- "@discordeno/gateway": "20.0.0",
34
- "@discordeno/rest": "20.0.0",
35
- "@discordeno/types": "20.0.0",
36
- "@discordeno/utils": "20.0.0"
36
+ "@discordeno/bot": "21.0.0-next.10731a1",
37
+ "@discordeno/gateway": "21.0.0-next.10731a1",
38
+ "@discordeno/rest": "21.0.0-next.10731a1",
39
+ "@discordeno/types": "21.0.0-next.10731a1",
40
+ "@discordeno/utils": "21.0.0-next.10731a1"
37
41
  },
38
42
  "devDependencies": {
39
43
  "@biomejs/biome": "^1.9.4",
40
- "@swc/cli": "^0.5.1",
41
- "@swc/core": "^1.9.2",
44
+ "@swc/cli": "^0.5.2",
45
+ "@swc/core": "^1.10.4",
42
46
  "@types/chai": "^5.0.1",
43
47
  "@types/mocha": "^10.0.10",
44
- "@types/node": "^22.9.1",
45
- "c8": "^10.1.2",
48
+ "@types/node": "^22.10.3",
49
+ "c8": "^10.1.3",
46
50
  "chai": "^5.1.2",
47
- "mocha": "^10.8.2",
51
+ "mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
48
52
  "ts-node": "^10.9.2",
49
53
  "tsconfig": "*",
50
- "typescript": "^5.6.3"
54
+ "typescript": "^5.7.2"
51
55
  }
52
- }
56
+ }