@ntnyq/utils 0.10.0 → 0.11.1

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +585 -487
  2. package/dist/index.js +179 -147
  3. package/package.json +35 -37
package/package.json CHANGED
@@ -1,22 +1,27 @@
1
1
  {
2
2
  "name": "@ntnyq/utils",
3
- "type": "module",
4
- "version": "0.10.0",
5
- "packageManager": "pnpm@10.26.2",
3
+ "version": "0.11.1",
6
4
  "description": "Common used utils.",
7
5
  "keywords": [
8
6
  "utils"
9
7
  ],
8
+ "homepage": "https://github.com/ntnyq/utils#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/ntnyq/utils/issues"
11
+ },
10
12
  "license": "MIT",
11
13
  "author": {
12
14
  "name": "ntnyq",
13
15
  "email": "ntnyq13@gmail.com"
14
16
  },
15
- "homepage": "https://github.com/ntnyq/utils#readme",
16
17
  "repository": "ntnyq/utils",
17
- "bugs": {
18
- "url": "https://github.com/ntnyq/utils/issues"
19
- },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "type": "module",
22
+ "sideEffects": false,
23
+ "main": "./dist/index.js",
24
+ "types": "./dist/index.d.ts",
20
25
  "exports": {
21
26
  "./package.json": "./package.json",
22
27
  ".": {
@@ -24,42 +29,35 @@
24
29
  "default": "./dist/index.js"
25
30
  }
26
31
  },
27
- "main": "./dist/index.js",
28
- "types": "./dist/index.d.ts",
29
- "files": [
30
- "dist"
31
- ],
32
- "sideEffects": false,
33
- "scripts": {
34
- "build": "tsdown",
35
- "dev": "tsdown --watch src",
36
- "lint": "eslint",
37
- "prepare": "husky",
38
- "prepublishOnly": "pnpm run build",
39
- "release": "run-s release:check release:version",
40
- "release:check": "run-s lint typecheck test",
41
- "release:version": "bumpp",
42
- "test": "vitest",
43
- "typecheck": "tsc --noEmit"
44
- },
45
32
  "devDependencies": {
46
- "@ntnyq/eslint-config": "^5.8.0",
47
- "@ntnyq/prettier-config": "^3.0.1",
48
- "@ntnyq/tsconfig": "^3.0.0",
49
- "bumpp": "^10.3.2",
50
- "eslint": "^9.39.2",
33
+ "@ntnyq/tsconfig": "^3.1.0",
34
+ "@typescript/native-preview": "7.0.0-dev.20260317.1",
35
+ "bumpp": "^11.0.1",
51
36
  "husky": "^9.1.7",
52
37
  "nano-staged": "^0.9.0",
53
38
  "npm-run-all2": "^8.0.4",
54
- "prettier": "^3.7.4",
55
- "tsdown": "^0.18.3",
56
- "typescript": "^5.9.3",
57
- "vitest": "^4.0.15"
39
+ "oxfmt": "^0.41.0",
40
+ "oxlint": "^1.56.0",
41
+ "tsdown": "^0.21.4",
42
+ "vitest": "^4.1.0"
43
+ },
44
+ "nano-staged": {
45
+ "*.{js,ts,mjs,tsx}": "oxlint --fix",
46
+ "*": "oxfmt --no-error-on-unmatched-pattern"
58
47
  },
59
48
  "engines": {
60
49
  "node": "^20.19.0 || ^22.13.0 || >=24"
61
50
  },
62
- "nano-staged": {
63
- "*.{js,ts,mjs,cjs,md,yml,yaml,toml,json}": "eslint --fix"
51
+ "scripts": {
52
+ "build": "tsdown",
53
+ "dev": "tsdown --watch src",
54
+ "format": "oxfmt",
55
+ "format:check": "oxfmt --check",
56
+ "lint": "oxlint",
57
+ "release": "run-s release:check release:version",
58
+ "release:check": "run-s format:check lint typecheck test",
59
+ "release:version": "bumpp",
60
+ "test": "vitest",
61
+ "typecheck": "tsgo --noEmit"
64
62
  }
65
- }
63
+ }