@devp0nt/error0 1.0.0-next.20 → 1.0.0-next.22

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 (1) hide show
  1. package/package.json +9 -5
package/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "@devp0nt/error0",
3
+ "version": "1.0.0-next.22",
3
4
  "license": "MIT",
4
5
  "author": {
5
6
  "name": "Sergei Dmitriev",
@@ -31,7 +32,8 @@
31
32
  "LICENSE"
32
33
  ],
33
34
  "scripts": {
34
- "dev": "tsc --watch --preserveWatchOutput --project tsconfig.build.json",
35
+ "dev": "tsc-watch --preserveWatchOutput --project tsconfig.build.json",
36
+ "dev:npm": "tsc-watch --preserveWatchOutput --project tsconfig.build.json --onSuccess 'bun run pack:dist'",
35
37
  "build": "tsup",
36
38
  "build:test:esm": "tsup --outDir dist-test/esm --tsconfig tsconfig.build.test.json --format esm src",
37
39
  "build:test:esm:watch": "bun run build:test:esm --watch",
@@ -67,12 +69,14 @@
67
69
  "types:dev": "tsc --noEmit",
68
70
  "types": "bun run types:dev",
69
71
  "pack:dry": "npm pack --dry-run",
72
+ "pack:dist": "mkdir -p dist-npm && npm pack --pack-destination dist-npm --silent && cd dist-npm && tar -xzf *.tgz && cp -r package/* . && rm -rf package && rm *.tgz",
73
+ "pack:dist:hard": "rimraf dist-npm && bun run pack:dist",
70
74
  "prepare": "husky",
71
- "clean": "rimraf dist && rimraf dist-test && rimraf node_modules/.cache"
75
+ "clean": "rimraf dist && rimraf dist-test && rimraf dist-npm && rimraf node_modules/.cache"
72
76
  },
73
77
  "dependencies": {},
74
78
  "peerDependencies": {
75
- "@devp0nt/meta0": "^1.0.0-next.20",
79
+ "@devp0nt/meta0": "^1.0.0-next.21",
76
80
  "axios": "^1.12.2",
77
81
  "zod": "^4.1.9"
78
82
  },
@@ -96,6 +100,7 @@
96
100
  "prettier": "^3.6.2",
97
101
  "rimraf": "^6.0.1",
98
102
  "semantic-release": "^24.2.8",
103
+ "tsc-watch": "^7.1.1",
99
104
  "tsup": "^8.0.0",
100
105
  "typescript": "^5.0.0"
101
106
  },
@@ -105,6 +110,5 @@
105
110
  },
106
111
  "publishConfig": {
107
112
  "access": "public"
108
- },
109
- "version": "1.0.0-next.20"
113
+ }
110
114
  }