@tulipes/spec 0.2.0 → 0.3.0-rc.2

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -2
  3. package/package.json +12 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 TulipesJS contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -10,7 +10,12 @@ Generates an **OpenAPI 3.1 document** and a **Postman collection** from a
10
10
  [Tulipes](https://www.npmjs.com/package/@tulipes/core) app's declared
11
11
  routes.
12
12
 
13
- Version 0.2 requires `@tulipes/core@^0.8.0`. See the core
13
+ Requires Node 24.x. Inspection connects infrastructure declared by the app:
14
+ the minimal starter needs no services; the production starter needs MongoDB
15
+ and Redis. There is no general offline mode yet.
16
+
17
+ Version 0.3.0-rc.2 supports core `^0.8.0 || ^0.9.0-rc.1`. Install the candidate
18
+ with `yarn add -D @tulipes/spec@next`. See the core
14
19
  [migration guide](https://github.com/kemora13conf/bp-backend-express/blob/v0.8.0/packages/core/MIGRATING.md#reliability-contracts-08)
15
20
  when upgrading from an earlier release.
16
21
 
@@ -19,7 +24,7 @@ generated document describes exactly the router that is mounted. It cannot
19
24
  invent an endpoint, and it cannot miss one.
20
25
 
21
26
  ```sh
22
- yarn add -D @tulipes/spec
27
+ yarn add -D @tulipes/spec@next
23
28
  yarn tulipes spec --openapi docs/openapi.json --postman docs/collection.json
24
29
  ```
25
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tulipes/spec",
3
- "version": "0.2.0",
3
+ "version": "0.3.0-rc.2",
4
4
  "description": "Generate OpenAPI documents and Postman collections from a Tulipes app's declared routes",
5
5
  "type": "module",
6
6
  "exports": {
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "files": [
10
10
  "dist",
11
- "README.md"
11
+ "README.md",
12
+ "LICENSE"
12
13
  ],
13
14
  "scripts": {
14
15
  "typecheck": "tsc --noEmit",
@@ -22,11 +23,11 @@
22
23
  }
23
24
  },
24
25
  "peerDependencies": {
25
- "@tulipes/core": "^0.8.0",
26
+ "@tulipes/core": "^0.8.0 || ^0.9.0-rc.1",
26
27
  "zod": "^3.25 || ^4"
27
28
  },
28
29
  "devDependencies": {
29
- "@tulipes/core": "0.8.0",
30
+ "@tulipes/core": "0.9.0-rc.2",
30
31
  "@types/node": "^24.2.0",
31
32
  "typescript": "^7.0.2",
32
33
  "zod": "^3.25"
@@ -49,5 +50,12 @@
49
50
  "zod": {
50
51
  "optional": true
51
52
  }
53
+ },
54
+ "engines": {
55
+ "node": ">=24.0.0 <25"
56
+ },
57
+ "homepage": "https://github.com/kemora13conf/bp-backend-express/tree/master/packages/spec#readme",
58
+ "bugs": {
59
+ "url": "https://github.com/kemora13conf/bp-backend-express/issues"
52
60
  }
53
61
  }