@team-supercharge/oasg 16.4.1 → 16.5.0-temp-chore-support-react-19-8963f4db

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/README.md CHANGED
@@ -8,6 +8,7 @@ Design APIs in OpenAPI 3.0 format, lint them, and generate client/server package
8
8
  * [Create `.config.json`](#create-config.json)
9
9
  * [Configure Linter](#configure-linter)
10
10
  * [Use with Docker](#use-with-docker)
11
+ * [Use with GitLab CI](#use-with-gitlab-ci)
11
12
  * [Version Overview](#version-overview)
12
13
  * [Usage](#usage)
13
14
  * [Linter Rules](#linter-rules)
@@ -101,6 +102,26 @@ swaggerlint:
101
102
 
102
103
  > If no other dependency is needed for the API project being built, there is no need to run any `npm install` or `npm ci` commands before invoking `oasg`
103
104
 
105
+ ## Use with GitLab CI
106
+
107
+ Built on the [Docker](#use-with-docker) setup, a set of predefined templates are readily available for GitLab CI.
108
+
109
+ When your project is hosted on gitlab.com __OASg__ should always be included in your projects `.gitlab-ci.yml` by explicitly specifying a version, like this:
110
+
111
+ ```yaml
112
+ include:
113
+ - project: team-supercharge/oasg
114
+ file: gitlab-ci-templates.yml
115
+ ref: <version tag>
116
+ ```
117
+
118
+ when your project is hosted on a self-managed GitLab instance use the following snippet:
119
+
120
+ ```yaml
121
+ include:
122
+ - remote: https://gitlab.com/team-supercharge/oasg/raw/<version-tag>/gitlab-ci-templates.yml
123
+ ```
124
+
104
125
  ---
105
126
 
106
127
  # Version Overview
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-supercharge/oasg",
3
- "version": "16.4.1",
3
+ "version": "16.5.0-temp-chore-support-react-19-8963f4db",
4
4
  "description": "Node-based tool to lint OpenAPI documents and generate clients, servers and documentation from them",
5
5
  "author": "Supercharge",
6
6
  "license": "MIT",
@@ -29,10 +29,10 @@
29
29
  "reselect": "^4.0.0",
30
30
  {{/sagasAndRecords}}
31
31
  "typescript": "^4.0",
32
- "@types/react": "^18.2.24"
32
+ "@types/react": "^18.2.24 || ^19.0.0"
33
33
  },
34
34
  "peerDependencies": {
35
- "react": "^18.2.0",
35
+ "react": "^18.2.0 || ^19.0.0",
36
36
  "@tanstack/react-query": "^5.12.2"
37
37
  }{{#npmRepository}},{{/npmRepository}}
38
38
  {{#npmRepository}}