Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ypescript-codegen into feat/config-js
  • Loading branch information
mrlubos committed Mar 18, 2024
2 parents 81d2360 + a701e81 commit b40388a
Show file tree
Hide file tree
Showing 31 changed files with 246 additions and 554 deletions.
32 changes: 0 additions & 32 deletions .circleci/config.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ indent_size = 4

[*.hbs]
indent_style = tab

[*.yml]
indent_size = 2
11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
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
11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
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
48 changes: 28 additions & 20 deletions .github/dependabot.yml
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*"
29 changes: 0 additions & 29 deletions .github/workflows/auto-merge.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
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
10 changes: 4 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "CodeQL"
name: CodeQL

on:
push:
branches: [ "master" ]
branches:
- master
pull_request:
branches: [ "master" ]
schedule:
- cron: "44 20 * * 3"

Expand All @@ -16,15 +16,13 @@ jobs:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ javascript ]

steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/unittest.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ temp
yarn-debug.log*
yarn-error.log*

# IDE config
.vscode

*.iml
dist
coverage
Expand Down
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"EditorConfig.EditorConfig",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
11 changes: 11 additions & 0 deletions .vscode/settings.json
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"
}
7 changes: 0 additions & 7 deletions Dockerfile

This file was deleted.

Loading

0 comments on commit b40388a

Please sign in to comment.