distopia 0.0.0 → 0.2.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/README.md CHANGED
@@ -1,3 +1,17 @@
1
1
  # Distopia
2
2
 
3
3
  Library for [Distopia](https://distopia.top).
4
+
5
+ ## Installation
6
+
7
+ ```
8
+ npm install distopia
9
+
10
+ jsr install @thunlights/distopia
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { oxfmtConfig, oxlintConfig } from "distopia";
17
+ ```
package/package.json CHANGED
@@ -1,15 +1,20 @@
1
1
  {
2
2
  "name": "distopia",
3
- "version": "0.0.0",
3
+ "version": "0.2.0",
4
4
  "description": "Library for Distopia.",
5
+ "keywords": [
6
+ "distopia",
7
+ "thunlights"
8
+ ],
5
9
  "license": "MIT",
6
10
  "repository": {
7
11
  "type": "git",
8
- "url": "git+https://github.com/thunlights/distopia.git",
12
+ "url": "git+https://github.com/ThunLights/distopia.git",
9
13
  "directory": "lib/distopia"
10
14
  },
11
15
  "files": [
12
- "dist"
16
+ "dist",
17
+ "CHANGELOG"
13
18
  ],
14
19
  "type": "module",
15
20
  "exports": {
@@ -21,23 +26,25 @@
21
26
  },
22
27
  "publishConfig": {
23
28
  "access": "public",
24
- "registry": "https://registry.npmjs.org/"
29
+ "registry": "https://registry.npmjs.org"
25
30
  },
26
31
  "scripts": {
27
32
  "build": "tsdown",
28
- "lint": "oxfmt --check && oxlint",
29
- "lint:fix": "oxlint --fix",
30
- "format": "oxfmt",
33
+ "lint": "oxfmt --check --config ../template/oxfmt.config.ts && oxlint --config ../template/oxlint.config.ts",
34
+ "lint:fix": "oxlint --fix --config ../template/oxlint.config.ts",
35
+ "format": "oxfmt --config ../template/oxfmt.config.ts",
31
36
  "typecheck": "tsc --noEmit",
37
+ "version:jsr": "../../scripts/jsr-version.sh $npm_package_version",
32
38
  "prepublishOnly": "bun run build"
33
39
  },
34
40
  "dependencies": {
41
+ "@types/node": "24",
42
+ "jsr": "0.14.3",
35
43
  "oxfmt": "0.45.0",
36
44
  "oxlint": "1.60.0",
37
45
  "tsdown": "0.22.2"
38
46
  },
39
47
  "devDependencies": {
40
- "@types/node": "24",
41
48
  "bun": "1.3.13"
42
49
  },
43
50
  "peerDependencies": {
package/dist/index.cjs DELETED
@@ -1,6 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#endregion
3
- //#region src/index.ts
4
- const DISTOPIA_VERSION = "0.0.0";
5
- //#endregion
6
- exports.DISTOPIA_VERSION = DISTOPIA_VERSION;
package/dist/index.d.cts DELETED
@@ -1,4 +0,0 @@
1
- //#region src/index.d.ts
2
- declare const DISTOPIA_VERSION: string;
3
- //#endregion
4
- export { DISTOPIA_VERSION };
package/dist/index.d.mts DELETED
@@ -1,4 +0,0 @@
1
- //#region src/index.d.ts
2
- declare const DISTOPIA_VERSION: string;
3
- //#endregion
4
- export { DISTOPIA_VERSION };
package/dist/index.mjs DELETED
@@ -1,5 +0,0 @@
1
- //#endregion
2
- //#region src/index.ts
3
- const DISTOPIA_VERSION = "0.0.0";
4
- //#endregion
5
- export { DISTOPIA_VERSION };