discordeno 21.0.1-next.fca0b40 → 22.0.1-next.f274ec6

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from '@discordeno/bot';
2
+
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAZGlzY29yZGVuby9ib3QnXG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQkFBaUIifQ==
package/package.json CHANGED
@@ -1,13 +1,7 @@
1
1
  {
2
2
  "name": "discordeno",
3
- "version": "21.0.1-next.fca0b40",
4
- "main": "./dist/esm/index.js",
5
- "types": "./dist/types/index.d.ts",
6
- "exports": {
7
- "types": "./dist/types/index.d.ts",
8
- "import": "./dist/esm/index.js",
9
- "require": "./dist/cjs/index.cjs"
10
- },
3
+ "version": "22.0.1-next.f274ec6",
4
+ "exports": "./dist/index.js",
11
5
  "type": "module",
12
6
  "license": "Apache-2.0",
13
7
  "repository": {
@@ -19,11 +13,10 @@
19
13
  "!dist/.tsbuildinfo"
20
14
  ],
21
15
  "scripts": {
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",
23
- "build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
16
+ "build": "swc src --strip-leading-paths --delete-dir-on-start src --out-dir dist",
17
+ "build:type": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
24
18
  "release-build": "yarn build && yarn build:type",
25
- "fmt": "biome format --write",
26
- "lint": "biome lint --write",
19
+ "check": "biome check --write",
27
20
  "test:unit-coverage": "c8 mocha --no-warnings 'tests/**/*.spec.ts'",
28
21
  "test:unit": "c8 --r lcov mocha --no-warnings 'tests/**/*.spec.ts' && node ../../scripts/coveragePathFixing.js discordeno",
29
22
  "test:unit:watch": "mocha --no-warnings --watch --parallel 'tests/**/*.spec.ts'",
@@ -33,24 +26,24 @@
33
26
  "test:test-type": "tsc --project tests/tsconfig.json"
34
27
  },
35
28
  "dependencies": {
36
- "@discordeno/bot": "21.0.1-next.fca0b40",
37
- "@discordeno/gateway": "21.0.1-next.fca0b40",
38
- "@discordeno/rest": "21.0.1-next.fca0b40",
39
- "@discordeno/types": "21.0.1-next.fca0b40",
40
- "@discordeno/utils": "21.0.1-next.fca0b40"
29
+ "@discordeno/bot": "22.0.1-next.f274ec6",
30
+ "@discordeno/gateway": "22.0.1-next.f274ec6",
31
+ "@discordeno/rest": "22.0.1-next.f274ec6",
32
+ "@discordeno/types": "22.0.1-next.f274ec6",
33
+ "@discordeno/utils": "22.0.1-next.f274ec6"
41
34
  },
42
35
  "devDependencies": {
43
- "@biomejs/biome": "2.1.3",
44
- "@swc/cli": "^0.5.2",
36
+ "@biomejs/biome": "2.1.4",
37
+ "@swc/cli": "^0.7.8",
45
38
  "@swc/core": "^1.13.3",
46
39
  "@types/chai": "^5.2.2",
47
40
  "@types/mocha": "^10.0.10",
48
- "@types/node": "^24.1.0",
41
+ "@types/node": "^24.2.1",
49
42
  "c8": "^10.1.3",
50
43
  "chai": "^5.2.1",
51
44
  "mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
52
45
  "ts-node": "^10.9.2",
53
46
  "tsconfig": "*",
54
- "typescript": "^5.8.3"
47
+ "typescript": "^5.9.2"
55
48
  }
56
49
  }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- _export_star(require("@discordeno/bot"), exports);
6
- function _export_star(from, to) {
7
- Object.keys(from).forEach(function(k) {
8
- if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
9
- Object.defineProperty(to, k, {
10
- enumerable: true,
11
- get: function() {
12
- return from[k];
13
- }
14
- });
15
- }
16
- });
17
- return from;
18
- }
19
-
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAZGlzY29yZGVuby9ib3QnXG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztxQkFBYyJ9
package/dist/esm/index.js DELETED
@@ -1,3 +0,0 @@
1
- export * from '@discordeno/bot';
2
-
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAZGlzY29yZGVuby9ib3QnXG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQkFBaUIifQ==
File without changes