1
0
Sv443 3 сар өмнө
parent
commit
1752dceaaa
2 өөрчлөгдсөн 436 нэмэгдсэн , 181 устгасан
  1. 14 13
      package.json
  2. 422 168
      pnpm-lock.yaml

+ 14 - 13
package.json

@@ -17,21 +17,21 @@
   "type": "module",
   "scripts": {
     "lint": "eslint . && tsc --noEmit",
-    "build-types": "tsc --emitDeclarationOnly --declaration --outDir dist",
+    "build-types": "tsc --emitDeclarationOnly --declaration --outDir dist && pnpm node-ts -- ./tools/fix-dts.mts",
     "build-common": "tsup lib/index.ts --format cjs,esm --clean --treeshake",
-    "build-all": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"npm run build-types && npm run post-build-global && echo Finished building.\"",
-    "build": "npm run build-common -- && npm run build-types",
-    "post-build-global": "npm run node-ts -- ./tools/post-build-global.mts",
-    "dev": "npm run build-common -- --sourcemap --watch --onSuccess \"npm run build-types && echo Finished building.\"",
-    "dev-all": "npm run build-all -- --watch",
-    "update-jsr-version": "npm run node-ts -- ./tools/update-jsr-version.mts",
+    "build-all": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"pnpm build-types && pnpm post-build-global && echo Finished building.\"",
+    "build": "pnpm build-common -- && pnpm build-types",
+    "post-build-global": "pnpm node-ts -- ./tools/post-build-global.mts",
+    "dev": "pnpm build-common -- --sourcemap --watch --onSuccess \"pnpm build-types && echo Finished building.\"",
+    "dev-all": "pnpm build-all -- --watch",
+    "update-jsr-version": "pnpm node-ts -- ./tools/update-jsr-version.mts",
     "publish-package": "changeset publish",
-    "publish-package-jsr": "npm run update-jsr-version && npx jsr publish --allow-dirty",
+    "publish-package-jsr": "pnpm update-jsr-version && npx jsr publish --allow-dirty",
     "change": "changeset",
     "node-ts": "node --no-warnings=ExperimentalWarning --enable-source-maps --loader ts-node/esm",
-    "test-serve": "npm run node-ts -- ./test/TestPage/server.mts",
-    "test-dev": "cd test/TestScript && npm run dev",
-    "test": "concurrently \"npm run test-serve\" \"npm run test-dev\""
+    "test-serve": "pnpm node-ts -- ./test/TestPage/server.mts",
+    "test-dev": "cd test/TestScript && pnpm dev",
+    "test": "concurrently \"pnpm test-serve\" \"pnpm test-dev\""
   },
   "repository": {
     "type": "git",
@@ -57,7 +57,7 @@
     "@changesets/cli": "^2.27.11",
     "@types/express": "^4.17.21",
     "@types/greasemonkey": "^4.0.7",
-    "@types/node": "^20.17.10",
+    "@types/node": "^22.10.5",
     "@typescript-eslint/eslint-plugin": "^6.21.0",
     "@typescript-eslint/parser": "^6.21.0",
     "concurrently": "^8.2.2",
@@ -66,7 +66,8 @@
     "ts-node": "^10.9.2",
     "tslib": "^2.8.1",
     "tsup": "^8.3.5",
-    "typescript": "^5.7.2"
+    "tsx": "^4.19.2",
+    "typescript": "^5.7.3"
   },
   "files": [
     "/dist/index.js",

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 422 - 168
pnpm-lock.yaml


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно