@eggjs/koa 3.0.0-alpha.0 → 3.0.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.
Files changed (2) hide show
  1. package/LICENSE +1 -1
  2. package/package.json +7 -8
package/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
1
  (The MIT License)
2
2
 
3
3
  Copyright (c) 2019 Koa contributors
4
- Copyright (c) 2023 EggJS contributors
4
+ Copyright (c) 2023-present EggJS contributors
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining
7
7
  a copy of this software and associated documentation files (the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/koa",
3
- "version": "3.0.0-alpha.0",
3
+ "version": "3.0.0",
4
4
  "engines": {
5
5
  "node": ">= 22.17.1"
6
6
  },
@@ -11,15 +11,14 @@
11
11
  "description": "Koa web app framework for https://eggjs.org",
12
12
  "scripts": {
13
13
  "pretest": "npm run lint -- --fix",
14
- "test": "node --test --test-force-exit --test-update-snapshots",
14
+ "test": "node --test --test-force-exit --test-update-snapshots --experimental-strip-types",
15
15
  "preci": "npm run lint",
16
- "ci": "egg-bin cov",
17
- "postci": "npm run prepublishOnly && attw --pack",
16
+ "ci": "c8 -r html -r lcov -r text npm test",
17
+ "postci": "npm run prepublishOnly",
18
18
  "lint": "oxlint",
19
- "authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS",
20
19
  "prepublishOnly": "npm run clean && npm run build",
21
20
  "build": "tsc --build",
22
- "clean": "rm -rf dist",
21
+ "clean": "tsc --build --clean",
23
22
  "prepare": "husky"
24
23
  },
25
24
  "lint-staged": {
@@ -65,8 +64,7 @@
65
64
  "vary": "^1.1.2"
66
65
  },
67
66
  "devDependencies": {
68
- "@arethetypeswrong/cli": "^0.18.2",
69
- "@eggjs/tsconfig": "2",
67
+ "@eggjs/tsconfig": "^3.0.0",
70
68
  "@types/accepts": "^1.3.7",
71
69
  "@types/content-type": "^1.1.8",
72
70
  "@types/cookies": "^0.9.0",
@@ -83,6 +81,7 @@
83
81
  "@types/supertest": "^6.0.2",
84
82
  "@types/type-is": "^1.6.6",
85
83
  "@types/vary": "^1.1.3",
84
+ "c8": "^10.1.3",
86
85
  "husky": "9",
87
86
  "lint-staged": "15",
88
87
  "mm": "^4.0.1",