-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/nicolas-chaulet/openapi-t…
…ypescript-codegen into feat/config-js
- Loading branch information
Showing
31 changed files
with
246 additions
and
554 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ indent_size = 4 | |
|
||
[*.hbs] | ||
indent_style = tab | ||
|
||
[*.yml] | ||
indent_size = 2 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Bug report | ||
description: Report an issue with the project. | ||
labels: ["bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! Please do your best to fill out as much information as possible. | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Describe the bug | ||
description: Please check if there is an existing bug report before creating a new issue. If you intend to submit a PR to fix this issue, let us know in the description. | ||
placeholder: Bug description | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduction | ||
attributes: | ||
label: Reproduction | ||
description: Please provide steps to reproduce the bug. This may include code snippets, links to repositories, numeric steps, etc. | ||
placeholder: Reproduction | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Logs | ||
description: Please paste any output logs available as it will help in quickly fixing the issue. | ||
render: Shell | ||
- type: textarea | ||
id: system-info | ||
attributes: | ||
label: System information | ||
description: Please provide as much system information as possible. This may include OS, browser, NPM version, Node version, etc. | ||
render: Shell | ||
placeholder: System information | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: severity | ||
attributes: | ||
label: Severity | ||
options: | ||
- annoyance | ||
- serious, but I can work around it | ||
- breaking | ||
- other | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional information | ||
description: Any additional information, context, or screenshots important to fixing this bug. | ||
placeholder: Additional information |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Feature Request | ||
description: Suggest a new feature for the project. | ||
labels: ["enhancement"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to request a new feature! Please ensure your feature request has enough information so maintainers can decide if it will be worked on. | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Describe the problem | ||
description: Please provide a clear and concise description the problem this feature would solve. The more information you can provide here, the better. | ||
placeholder: Describe the problem | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: Describe the proposed solution | ||
description: Please provide a clear and concise description of what you would like to happen and how the feature would work. | ||
placeholder: Describe how the feature should work | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Alternatives considered | ||
description: Please provide a clear and concise description of any alternative solutions or features you've considered. | ||
- type: dropdown | ||
id: importance | ||
attributes: | ||
label: Importance | ||
description: How important is this feature to you? | ||
options: | ||
- nice to have | ||
- would make my life easier | ||
- cannot use project without | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional information | ||
description: Any additional information, context, or screenshots important to this feature request. | ||
placeholder: Additional information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
ignore: | ||
- dependency-name: "@types/node-fetch" | ||
- dependency-name: "node-fetch" | ||
- dependency-name: "camelcase" | ||
- dependency-name: "@angular-devkit/build-angular" | ||
- dependency-name: "@angular/animations" | ||
- dependency-name: "@angular/cli" | ||
- dependency-name: "@angular/common" | ||
- dependency-name: "@angular/compiler" | ||
- dependency-name: "@angular/compiler-cli" | ||
- dependency-name: "@angular/core" | ||
- dependency-name: "@angular/forms" | ||
- dependency-name: "@angular/platform-browser" | ||
- dependency-name: "@angular/platform-browser-dynamic" | ||
- dependency-name: "@angular/router" | ||
- dependency-name: "typescript" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
groups: | ||
github-actions: | ||
patterns: | ||
- "*" | ||
|
||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
groups: | ||
prod-deps: | ||
dependency-type: "production" | ||
exclude-patterns: | ||
- "@angular*" | ||
dev-deps: | ||
dependency-type: "development" | ||
exclude-patterns: | ||
- "@angular*" | ||
angular-deps: | ||
patterns: | ||
- "@angular*" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ci: | ||
name: Build, Lint, Test | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: [18.x, 20.x] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build library | ||
run: npm run build | ||
|
||
- name: Run linter | ||
run: npm run eslint | ||
|
||
- name: Run unit tests | ||
run: npm run test | ||
|
||
# - name: Run e2e tests | ||
# run: npm run test:e2e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,6 @@ temp | |
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# IDE config | ||
.vscode | ||
|
||
*.iml | ||
dist | ||
coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"EditorConfig.EditorConfig", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
}, | ||
"eslint.format.enable": true, | ||
"typescript.preferences.autoImportFileExcludePatterns": ["dist/**"], | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.