@interfere/constants 0.2.0-alpha.4 → 1.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interfere/constants",
3
- "version": "0.2.0-alpha.4",
3
+ "version": "1.0.0",
4
4
  "license": "MIT",
5
5
  "description": "Build apps that never break.",
6
6
  "keywords": [
@@ -26,14 +26,23 @@
26
26
  ],
27
27
  "type": "module",
28
28
  "exports": {
29
- "./*": {
30
- "@source": "./src/*.ts",
31
- "types": "./dist/*.d.mts",
32
- "default": "./dist/*.mjs"
33
- }
29
+ "./api": {
30
+ "@source": "./src/api.ts",
31
+ "default": "./dist/api.mjs"
32
+ },
33
+ "./http": {
34
+ "@source": "./src/http.ts",
35
+ "default": "./dist/http.mjs"
36
+ },
37
+ "./package.json": "./package.json"
34
38
  },
35
39
  "publishConfig": {
36
- "access": "public"
40
+ "access": "public",
41
+ "exports": {
42
+ "./api": "./dist/api.mjs",
43
+ "./http": "./dist/http.mjs",
44
+ "./package.json": "./package.json"
45
+ }
37
46
  },
38
47
  "scripts": {
39
48
  "build": "tsdown",
@@ -41,12 +50,12 @@
41
50
  "typecheck": "tsc --noEmit --incremental"
42
51
  },
43
52
  "dependencies": {
44
- "better-status-codes": "^2.1.5"
53
+ "better-status-codes": "catalog:"
45
54
  },
46
55
  "devDependencies": {
47
- "@interfere/typescript-config": "1.1.0-alpha.6",
48
- "@types/node": "^24.12.0",
49
- "tsdown": "0.21.2",
50
- "typescript": "5.9.3"
56
+ "@interfere/typescript-config": "workspace:*",
57
+ "@types/node": "catalog:",
58
+ "tsdown": "catalog:",
59
+ "typescript": "catalog:"
51
60
  }
52
61
  }
package/dist/api.d.mts DELETED
@@ -1,8 +0,0 @@
1
- //#region src/api.d.ts
2
- declare const API_URL = "https://in.interfere.com";
3
- declare const API_PATHS: {
4
- readonly INGEST: "/v1/ingest";
5
- readonly SESSION: "/v1/session";
6
- };
7
- //#endregion
8
- export { API_PATHS, API_URL };
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.d.mts","names":[],"sources":["../src/api.ts"],"mappings":";cAAa,OAAA;AAAA,cAEA,SAAA;EAAA,SAGH,MAAA;EAAA,SAAA,OAAA;AAAA"}
package/dist/api.mjs DELETED
@@ -1,8 +0,0 @@
1
- //#region src/api.ts
2
- const API_URL = "https://in.interfere.com";
3
- const API_PATHS = {
4
- INGEST: "/v1/ingest",
5
- SESSION: "/v1/session"
6
- };
7
- //#endregion
8
- export { API_PATHS, API_URL };
package/dist/api.mjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.mjs","names":[],"sources":["../src/api.ts"],"sourcesContent":["export const API_URL = \"https://in.interfere.com\";\n\nexport const API_PATHS = {\n INGEST: \"/v1/ingest\",\n SESSION: \"/v1/session\",\n} as const;\n"],"mappings":";AAAA,MAAa,UAAU;AAEvB,MAAa,YAAY;CACvB,QAAQ;CACR,SAAS;CACV"}
package/dist/http.d.mts DELETED
@@ -1,2 +0,0 @@
1
- import { Status, StatusText } from "better-status-codes";
2
- export { Status, StatusText };
package/dist/http.mjs DELETED
@@ -1,2 +0,0 @@
1
- import { Status, StatusText } from "better-status-codes";
2
- export { Status, StatusText };