express-zod-api 15.0.0 → 15.0.1-beta1

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/CHANGELOG.md +11 -0
  2. package/package.json +16 -14
package/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## Version 15
4
4
 
5
+ ### 15.0.1
6
+
7
+ - Development environment improvements:
8
+ - Transitioned from an exclusive approach to the inclusive one:
9
+ - Introducing the list of `files` included into the distribution (instead of ignoring redundant ones).
10
+ - Stable testing environment:
11
+ - Inclusive, stable and extendible `tsconfig.json` files;
12
+ - Stable `package.json` for integration, ESM and compatibility tests;
13
+ - Dedicated environment for Issue #952 test.
14
+ - Simplified development commands.
15
+
5
16
  ### 15.0.0
6
17
 
7
18
  - **Breaking changes**:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-zod-api",
3
- "version": "15.0.0",
3
+ "version": "15.0.1-beta1",
4
4
  "description": "A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,29 +20,27 @@
20
20
  "start": "yarn tsnode example/index.ts",
21
21
  "build": "yarn build:compile && yarn build:tests && yarn build:assets",
22
22
  "build:compile": "tsup && attw --pack",
23
- "build:tests": "yarn build:int && yarn build:esm && yarn build:vi",
24
- "build:int": "yarn tsnode tools/integration-test.ts && yarn install --cwd ./tests/integration",
25
- "build:esm": "yarn tsnode tools/esm-test.ts && yarn install --cwd ./tests/esm",
26
- "build:vi": "yarn install --cwd ./tests/vitest",
23
+ "build:tests": "yarn cleanup && yarn tsnode tools/make-tests.ts",
27
24
  "build:assets": "yarn build:swagger && yarn build:client && yarn build:license",
28
25
  "build:swagger": "yarn tsnode example/generate-open-api-schema.ts",
29
26
  "build:client": "yarn tsnode example/generate-client.ts && yarn prettier example/example.client.ts --write",
30
27
  "build:license": "yarn tsnode tools/license.ts",
31
28
  "build:logo": "yarn tsnode tools/startup-logo.ts",
32
29
  "test": "yarn test:types && yarn test:jest && yarn test:badge",
33
- "test:int": "jest ./tests/integration",
34
- "test:952": "yarn --cwd tests/integration tsc -p tsconfig.issue952.json && rm tests/integration/issue952.d.ts",
35
- "test:esm": "jest ./tests/esm",
36
- "test:vi": "yarn --cwd ./tests/vitest test",
30
+ "test:int": "yarn --cwd tests/integration && jest tests/integration",
31
+ "test:952": "yarn --cwd tests/issue952 && yarn --cwd tests/issue952 test",
32
+ "test:esm": "yarn --cwd tests/esm && jest tests/esm",
33
+ "test:vi": "yarn --cwd tests/vitest && yarn --cwd tests/vitest test",
37
34
  "test:u": "yarn test:jest -u && yarn test:badge",
38
35
  "test:types": "tsc --noEmit",
39
- "test:jest": "jest ./tests/unit ./tests/system",
40
- "test:badge": "make-coverage-badge --output-path ./coverage.svg",
36
+ "test:jest": "jest tests/unit tests/system",
37
+ "test:badge": "make-coverage-badge --output-path coverage.svg",
41
38
  "lint": "eslint src example tests tools && yarn prettier *.md --check",
42
39
  "mdfix": "prettier *.md --write",
40
+ "cleanup": "rm -rf tests/**/node_modules",
43
41
  "tsnode": "node -r @swc-node/register",
44
- "precommit": "yarn build && yarn lint && yarn test && git add example/example.swagger.yaml example/example.client.ts ./LICENSE ./coverage.svg",
45
- "prepublishOnly": "yarn build && yarn lint && yarn test",
42
+ "precommit": "yarn lint && yarn test && yarn build && git add example/example.* LICENSE coverage.svg",
43
+ "prepublishOnly": "yarn lint && yarn test && yarn build",
46
44
  "postversion": "git push && git push --tags",
47
45
  "install_hooks": "husky install"
48
46
  },
@@ -61,6 +59,10 @@
61
59
  }
62
60
  }
63
61
  },
62
+ "files": [
63
+ "dist",
64
+ "*.md"
65
+ ],
64
66
  "engines": {
65
67
  "node": "^18.0.0 || ^20.1.0"
66
68
  },
@@ -157,7 +159,7 @@
157
159
  "jest": "^29.6.4",
158
160
  "make-coverage-badge": "^1.2.0",
159
161
  "mockdate": "^3.0.5",
160
- "prettier": "3.1.0",
162
+ "prettier": "3.1.1",
161
163
  "strip-ansi": "^6.0.1",
162
164
  "tsd": "^0.29.0",
163
165
  "tsup": "^8.0.0",