discord-embed-router 0.0.1 → 0.0.3

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.
package/README.md CHANGED
@@ -1,2 +1,3 @@
1
1
  # discord-embed-router
2
+
2
3
  A url-based router for discord.js interaction messages
@@ -0,0 +1,3 @@
1
+ declare const _default: {};
2
+
3
+ export { _default as default };
@@ -0,0 +1,3 @@
1
+ declare const _default: {};
2
+
3
+ export { _default as default };
package/dist/index.js ADDED
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ default: () => index_default
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
26
+ var index_default = {};
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export default {};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAO,gBAAQ,CAAC;","names":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ // src/index.ts
2
+ var index_default = {};
3
+ export {
4
+ index_default as default
5
+ };
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export default {};\n"],"mappings":";AAAA,IAAO,gBAAQ,CAAC;","names":[]}
package/package.json CHANGED
@@ -1,24 +1,55 @@
1
1
  {
2
- "name": "discord-embed-router",
3
- "version": "0.0.1",
4
- "description": "A vite inspired router for discord.js embeds and interactions",
5
- "main": "index.js",
6
- "keywords": [
7
- "discord",
8
- "discord.js",
9
- "embeds",
10
- "router",
11
- "interactions"
12
- ],
13
- "homepage": "https://github.com/altrup/discord-embed-router#readme",
14
- "bugs": {
15
- "url": "https://github.com/altrup/discord-embed-router/issues"
16
- },
17
- "repository": {
18
- "type": "git",
19
- "url": "git+https://github.com/altrup/discord-embed-router.git"
20
- },
21
- "license": "MIT",
22
- "author": "Eric Liu",
23
- "type": "commonjs"
2
+ "name": "discord-embed-router",
3
+ "version": "0.0.3",
4
+ "description": "A vite inspired router for discord.js embeds and interactions",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "main": "dist/index.js",
9
+ "types": "dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": {
13
+ "types": "./dist/index.d.mts",
14
+ "default": "./dist/index.js"
15
+ },
16
+ "require": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ }
20
+ }
21
+ },
22
+ "keywords": [
23
+ "discord",
24
+ "discord.js",
25
+ "embeds",
26
+ "router",
27
+ "interactions"
28
+ ],
29
+ "scripts": {
30
+ "build": "tsup",
31
+ "lint": "eslint",
32
+ "format": "prettier . --write"
33
+ },
34
+ "homepage": "https://github.com/altrup/discord-embed-router#readme",
35
+ "bugs": {
36
+ "url": "https://github.com/altrup/discord-embed-router/issues"
37
+ },
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/altrup/discord-embed-router.git"
41
+ },
42
+ "license": "MIT",
43
+ "author": "Eric Liu",
44
+ "type": "commonjs",
45
+ "devDependencies": {
46
+ "@eslint/js": "^10.0.1",
47
+ "eslint": "^10.6.0",
48
+ "globals": "^17.7.0",
49
+ "jiti": "^2.7.0",
50
+ "prettier": "^3.9.4",
51
+ "tsup": "^8.5.1",
52
+ "typescript": "^6.0.3",
53
+ "typescript-eslint": "^8.62.1"
54
+ }
24
55
  }
package/index.js DELETED
@@ -1 +0,0 @@
1
- module.exports = {};