api-core-lib 12.0.38 → 12.0.39

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/dist/cli.cjs +14 -8
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -119,16 +119,22 @@ async function runGenerator(options) {
119
119
  const typesOutputPath = import_path.default.join(options.output, "types");
120
120
  const ignoreFilePath = import_path.default.join(typesOutputPath, ".openapi-generator-ignore");
121
121
  const ignoreContent = `
122
- # Ignore all documentation files
122
+ # Ignore helper files and documentation that we don't need in a TypeScript project.
123
+
124
+ # Main generator metadata
125
+ .openapi-generator/
126
+
127
+ # Documentation files
123
128
  docs/
124
- # Ignore git and helper files
125
- .openapi-generator-ignore
126
- .npmignore
129
+
130
+ # Git helper files
131
+ .gitignore
127
132
  git_push.sh
128
- # Ignore the main generator metadata
129
- .openapi-generator/
130
- # We only want the generated models and apis
131
- `;
133
+
134
+ # NPM helper files
135
+ .npmignore
136
+ README.md
137
+ `;
132
138
  if (!import_fs.default.existsSync(typesOutputPath)) {
133
139
  import_fs.default.mkdirSync(typesOutputPath, { recursive: true });
134
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-core-lib",
3
- "version": "12.0.38",
3
+ "version": "12.0.39",
4
4
  "description": "A flexible and powerful API client library for modern web applications.",
5
5
  "type": "module",
6
6
  "exports": {