e621stream 0.0.0-stage → 0.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.
@@ -0,0 +1,4 @@
1
+ // generated by scripts/clientTypes.ts in the E621Stream repository, don't edit by hand
2
+ /* eslint-disable */
3
+ export {};
4
+ //# sourceMappingURL=generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated.js","sourceRoot":"","sources":["../lib/generated.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,oBAAoB"}
@@ -0,0 +1,5 @@
1
+ export { E621Stream, StreamError, type ClientEvents, type Options, type Ready } from "./E621Stream.ts";
2
+ export * from "./events.ts";
3
+ export * from "./changes.ts";
4
+ export type * from "./generated.ts";
5
+ export { default as Emitter, type Listener } from "./Emitter.ts";
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ export { E621Stream, StreamError } from "./E621Stream.js";
2
+ export * from "./events.js";
3
+ export * from "./changes.js";
4
+ export { default as Emitter } from "./Emitter.js";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAA+C,MAAM,iBAAiB,CAAC;AACvG,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAiB,MAAM,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,49 @@
1
1
  {
2
2
  "name": "e621stream",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.0",
4
+ "description": "A client for E621Stream, a live WebSocket stream of e621 activity",
5
+ "license": "MIT",
6
+ "author": "Donovan_DMC <hewwo@yiff.rocks>",
7
+ "type": "module",
8
+ "main": "dist/index.js",
9
+ "types": "dist/index.d.ts",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/DonovanDMC/E621Stream"
13
+ },
14
+ "homepage": "https://github.com/DonovanDMC/E621Stream#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/DonovanDMC/E621Stream/issues"
17
+ },
18
+ "devDependencies": {
19
+ "@eslint/js": "^9.39.4",
20
+ "@stylistic/eslint-plugin": "^5.10.0",
21
+ "@types/bun": "^1.4.4",
22
+ "@uwu-codes/eslint-config": "^2.0.8",
23
+ "eslint": "^9.39.4",
24
+ "eslint-plugin-import": "^2.32.0",
25
+ "eslint-plugin-unicorn": "^59.0.1",
26
+ "eslint-plugin-unused-imports": "^4.4.1",
27
+ "globals": "^16.5.0",
28
+ "jiti": "^2.6.1",
29
+ "typescript": "^6.0.3",
30
+ "typescript-eslint": "^8.57.1"
31
+ },
32
+ "files": [
33
+ "dist",
34
+ "README.md",
35
+ "LICENSE",
36
+ "package.json",
37
+ "tsconfig.json"
38
+ ],
39
+ "publishConfig": {
40
+ "access": "public",
41
+ "provenance": true
42
+ },
43
+ "scripts": {
44
+ "build": "tsc -p tsconfig.build.json",
45
+ "lint": "eslint .",
46
+ "lint:fix": "eslint . --fix",
47
+ "test": "bun test"
48
+ }
6
49
  }
package/tsconfig.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["ESNext", "DOM"],
4
+ "module": "NodeNext",
5
+ "target": "ESNext",
6
+ "types": ["bun"],
7
+ "moduleDetection": "force",
8
+ "inlineSourceMap": true,
9
+ "importHelpers": false,
10
+ "newLine": "LF",
11
+ "noFallthroughCasesInSwitch": true,
12
+ "noImplicitOverride": true,
13
+ "strict": true,
14
+ "esModuleInterop": true,
15
+ "skipLibCheck": false,
16
+ "forceConsistentCasingInFileNames": true,
17
+ "moduleResolution": "NodeNext",
18
+ "allowUnusedLabels": false,
19
+ "allowUnreachableCode": false,
20
+ "checkJs": true,
21
+ "strictPropertyInitialization": true,
22
+ "strictBindCallApply": true,
23
+ "verbatimModuleSyntax": true,
24
+ "declaration": true,
25
+ "noEmit": true,
26
+ "allowSyntheticDefaultImports": true,
27
+ "noUncheckedIndexedAccess": true,
28
+ "allowImportingTsExtensions": true
29
+ },
30
+ "include": ["eslint.config.mts", "test/**/*", "lib/**/*"],
31
+ "exclude": ["node_modules"]
32
+ }