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.
- package/dist/cli.cjs +14 -8
- 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
|
|
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
|
-
|
|
125
|
-
|
|
126
|
-
.
|
|
129
|
+
|
|
130
|
+
# Git helper files
|
|
131
|
+
.gitignore
|
|
127
132
|
git_push.sh
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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
|
}
|