koatty 4.0.0 → 4.0.3

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/dist/package.json CHANGED
@@ -1,24 +1,16 @@
1
1
  {
2
2
  "name": "koatty",
3
- "version": "4.0.0",
3
+ "version": "4.0.3",
4
4
  "description": "Koa + Typescript = koatty. Use Typescript's decorator implement auto injection.",
5
5
  "scripts": {
6
- "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp && npm run build:fix",
7
- "build:cp": "npx copyfiles package.json LICENSE README.md dist/ && node scripts/postBuild",
8
- "build:fix": "node scripts/fixWorkspaceDeps",
6
+ "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
7
+ "build:cp": "node scripts/copyFiles && node scripts/postBuild",
9
8
  "build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
10
9
  "build:doc": "npx api-documenter markdown --input temp --output docs/api",
11
10
  "build:dts": "npx tsc --skipLibCheck && npx api-extractor run --local --verbose",
12
11
  "eslint": "eslint --ext .ts,.js ./",
13
- "prepublishOnly": "echo 'Skipping prepublishOnly in monorepo'",
14
- "prerelease": "npm test && npm run build",
15
- "release": "standard-version",
16
- "release:pre": "npm run release -- --prerelease",
17
- "release:major": "npm run release -- --release-as major",
18
- "release:minor": "npm run release -- --release-as minor",
19
12
  "test": "npm run eslint && jest --passWithNoTests",
20
- "test:cov": "jest --collectCoverage --detectOpenHandles",
21
- "version": "conventional-changelog -p angular -i CHANGELOG.md -s"
13
+ "test:cov": "jest --collectCoverage --detectOpenHandles"
22
14
  },
23
15
  "main": "./dist/index.js",
24
16
  "exports": {
@@ -72,18 +64,17 @@
72
64
  "@types/ws": "^8.x.x",
73
65
  "@typescript-eslint/eslint-plugin": "^8.x.x",
74
66
  "@typescript-eslint/parser": "^8.x.x",
75
- "conventional-changelog-cli": "^5.x.x",
67
+ "copyfiles": "^2.x.x",
76
68
  "eslint": "^8.x.x",
77
69
  "eslint-plugin-jest": "^28.x.x",
78
70
  "husky": "^4.x.x",
79
71
  "jest": "^29.x.x",
80
72
  "jest-html-reporters": "^3.x.x",
81
- "koatty_validation": "~1.x.x",
73
+ "koatty_validation": "^1.6.3",
82
74
  "reflect-metadata": "^0.x.x",
83
75
  "rollup": "^4.x.x",
84
76
  "rollup-plugin-delete": "^2.x.x",
85
77
  "rollup-plugin-typescript2": "^0.x.x",
86
- "standard-version": "^9.x.x",
87
78
  "supertest": "^7.x.x",
88
79
  "ts-jest": "^29.x.x",
89
80
  "ts-node": "^10.x.x",
@@ -92,16 +83,16 @@
92
83
  },
93
84
  "dependencies": {
94
85
  "koa": "^3.0.3",
95
- "koatty_config": "^1.2.2",
96
- "koatty_container": "^1.17.0",
97
- "koatty_core": "^2.0.8",
98
- "koatty_exception": "^2.0.4",
99
- "koatty_lib": "^1.4.3",
100
- "koatty_loader": "^1.3.0",
101
- "koatty_logger": "2.8.1",
102
- "koatty_router": "^2.0.2",
103
- "koatty_serve": "^3.0.0",
104
- "koatty_trace": "^2.0.0",
86
+ "koatty_config": "workspace:*",
87
+ "koatty_container": "workspace:*",
88
+ "koatty_core": "workspace:*",
89
+ "koatty_exception": "workspace:*",
90
+ "koatty_lib": "workspace:*",
91
+ "koatty_loader": "workspace:*",
92
+ "koatty_logger": "workspace:*",
93
+ "koatty_router": "workspace:*",
94
+ "koatty_serve": "workspace:*",
95
+ "koatty_trace": "workspace:*",
105
96
  "ts-morph": "^27.0.2"
106
97
  }
107
- }
98
+ }
package/package.json CHANGED
@@ -1,25 +1,7 @@
1
1
  {
2
2
  "name": "koatty",
3
- "version": "4.0.0",
3
+ "version": "4.0.3",
4
4
  "description": "Koa + Typescript = koatty. Use Typescript's decorator implement auto injection.",
5
- "scripts": {
6
- "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp && npm run build:fix",
7
- "build:cp": "npx copyfiles package.json LICENSE README.md dist/ && node scripts/postBuild",
8
- "build:fix": "node scripts/fixWorkspaceDeps",
9
- "build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
10
- "build:doc": "npx api-documenter markdown --input temp --output docs/api",
11
- "build:dts": "npx tsc --skipLibCheck && npx api-extractor run --local --verbose",
12
- "eslint": "eslint --ext .ts,.js ./",
13
- "prepublishOnly": "echo 'Skipping prepublishOnly in monorepo'",
14
- "prerelease": "npm test && npm run build",
15
- "release": "standard-version",
16
- "release:pre": "npm run release -- --prerelease",
17
- "release:major": "npm run release -- --release-as major",
18
- "release:minor": "npm run release -- --release-as minor",
19
- "test": "npm run eslint && jest --passWithNoTests",
20
- "test:cov": "jest --collectCoverage --detectOpenHandles",
21
- "version": "conventional-changelog -p angular -i CHANGELOG.md -s"
22
- },
23
5
  "main": "./dist/index.js",
24
6
  "exports": {
25
7
  "require": "./dist/index.js",
@@ -72,18 +54,17 @@
72
54
  "@types/ws": "^8.x.x",
73
55
  "@typescript-eslint/eslint-plugin": "^8.x.x",
74
56
  "@typescript-eslint/parser": "^8.x.x",
75
- "conventional-changelog-cli": "^5.x.x",
57
+ "copyfiles": "^2.x.x",
76
58
  "eslint": "^8.x.x",
77
59
  "eslint-plugin-jest": "^28.x.x",
78
60
  "husky": "^4.x.x",
79
61
  "jest": "^29.x.x",
80
62
  "jest-html-reporters": "^3.x.x",
81
- "koatty_validation": "~1.x.x",
63
+ "koatty_validation": "^1.6.3",
82
64
  "reflect-metadata": "^0.x.x",
83
65
  "rollup": "^4.x.x",
84
66
  "rollup-plugin-delete": "^2.x.x",
85
67
  "rollup-plugin-typescript2": "^0.x.x",
86
- "standard-version": "^9.x.x",
87
68
  "supertest": "^7.x.x",
88
69
  "ts-jest": "^29.x.x",
89
70
  "ts-node": "^10.x.x",
@@ -92,16 +73,26 @@
92
73
  },
93
74
  "dependencies": {
94
75
  "koa": "^3.0.3",
95
- "koatty_config": "^1.2.2",
96
- "koatty_container": "^1.17.0",
97
- "koatty_core": "^2.0.8",
98
- "koatty_exception": "^2.0.4",
99
- "koatty_lib": "^1.4.3",
100
- "koatty_loader": "^1.3.0",
76
+ "ts-morph": "^27.0.2",
77
+ "koatty_loader": "1.3.0",
78
+ "koatty_exception": "2.0.7",
101
79
  "koatty_logger": "2.8.1",
102
- "koatty_router": "^2.0.2",
103
- "koatty_serve": "^3.0.0",
104
- "koatty_trace": "^2.0.0",
105
- "ts-morph": "^27.0.2"
80
+ "koatty_container": "1.18.0",
81
+ "koatty_lib": "1.4.3",
82
+ "koatty_router": "2.0.5",
83
+ "koatty_serve": "3.0.3",
84
+ "koatty_config": "1.2.5",
85
+ "koatty_core": "2.0.11",
86
+ "koatty_trace": "2.0.3"
87
+ },
88
+ "scripts": {
89
+ "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
90
+ "build:cp": "node scripts/copyFiles && node scripts/postBuild",
91
+ "build:js": "npx rollup --bundleConfigAsCjs -c .rollup.config.js",
92
+ "build:doc": "npx api-documenter markdown --input temp --output docs/api",
93
+ "build:dts": "npx tsc --skipLibCheck && npx api-extractor run --local --verbose",
94
+ "eslint": "eslint --ext .ts,.js ./",
95
+ "test": "npm run eslint && jest --passWithNoTests",
96
+ "test:cov": "jest --collectCoverage --detectOpenHandles"
106
97
  }
107
- }
98
+ }
@@ -0,0 +1 @@
1
+ backup-before-monorepo-20251022
@@ -0,0 +1,2 @@
1
+ Node.js version: v22.19.0
2
+ ✅ Node.js >= 18.0.0
@@ -0,0 +1,2 @@
1
+ pnpm version: 10.17.0
2
+ ✅ pnpm >= 8.0.0
File without changes
@@ -1 +0,0 @@
1
- {"dependencies":{"koa":"^3.0.3","koatty_config":"workspace:*","koatty_container":"^1.17.0","koatty_core":"workspace:*","koatty_exception":"workspace:*","koatty_lib":"^1.4.3","koatty_loader":"^1.3.0","koatty_logger":"2.8.1","koatty_router":"workspace:*","koatty_serve":"workspace:*","koatty_trace":"workspace:*","ts-morph":"^27.0.2"},"devDependencies":{"@commitlint/cli":"^19.x.x","@commitlint/config-conventional":"^19.x.x","@grpc/grpc-js":"^1.12.2","@microsoft/api-documenter":"^7.x.x","@microsoft/api-extractor":"^7.x.x","@rollup/plugin-commonjs":"^28.x.x","@rollup/plugin-json":"^6.x.x","@rollup/plugin-node-resolve":"^16.0.1","@rollup/plugin-terser":"^0.x.x","@types/formidable":"^3.x.x","@types/jest":"^29.x.x","@types/koa":"^2.x.x","@types/koa-compose":"^3.x.x","@types/lodash":"^4.x.x","@types/node":"^22.x.x","@types/on-finished":"^2.x.x","@types/supertest":"^6.x.x","@types/ws":"^8.x.x","@typescript-eslint/eslint-plugin":"^8.x.x","@typescript-eslint/parser":"^8.x.x","conventional-changelog-cli":"^5.x.x","eslint":"^8.x.x","eslint-plugin-jest":"^28.x.x","husky":"^4.x.x","jest":"^29.x.x","jest-html-reporters":"^3.x.x","koatty_validation":"~1.x.x","reflect-metadata":"^0.x.x","rollup":"^4.x.x","rollup-plugin-delete":"^2.x.x","rollup-plugin-typescript2":"^0.x.x","standard-version":"^9.x.x","supertest":"^7.x.x","ts-jest":"^29.x.x","ts-node":"^10.x.x","tslib":"^2.x.x","typescript":"^5.x.x"}}