-
Notifications
You must be signed in to change notification settings - Fork 2
Update to biolerplate v2 #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Powfu2
wants to merge
11
commits into
master
Choose a base branch
from
update-to-biolerplate-v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c2478e9
refactor: refactor-to-boilerplate
Powfu2 5994a03
feat: add matrics
Powfu2 53203d6
feat: add matrics
Powfu2 1cbab54
feat: add matrics
Powfu2 2835e96
fix: fix pr
Powfu2 e9ce5de
fix: fix tests
Powfu2 05e50c0
fix: fix ci and ssl connection
Powfu2 bda3dad
fix: fix ci and ssl connection
Powfu2 faf1f55
fix: add tests and factories
Powfu2 0092fbd
fix: fix helm files
Powfu2 2b5e581
fix: add missing files
Powfu2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,26 @@ | ||
| # EditorConfig is awesome: https://EditorConfig.org | ||
|
|
||
| # Top-most EditorConfig file | ||
| root = true | ||
|
|
||
| # Unix-style newlines with a newline ending every file | ||
| [*] | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
|
|
||
| # Set default charset | ||
| charset = utf-8 | ||
|
|
||
| # 2 space indentation (default) | ||
| indent_style = space | ||
| indent_size = 2 | ||
|
|
||
| # 2 space indentation (JS and JSX and TS files) | ||
| [*.{js,jsx,ts}] | ||
| indent_size = 2 | ||
|
|
||
| # Trim trailing whitespace | ||
| trim_trailing_whitespace = true | ||
|
|
||
| # Max line length | ||
| max_line_length = 150 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,53 @@ | ||
| # yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json | ||
| version: 2 | ||
| updates: | ||
| # deps | ||
| - package-ecosystem: npm | ||
| target-branch: 'master' | ||
| schedule: | ||
| interval: weekly | ||
| allow: | ||
| - dependency-type: production | ||
| directory: / | ||
| commit-message: | ||
| prefix: 'deps' | ||
| groups: | ||
| map-colonies: | ||
| patterns: | ||
| - '@map-colonies/*' | ||
| opentelemetry: | ||
| patterns: | ||
| - '@opentelemetry/*' | ||
| patch: | ||
| update-types: | ||
| - patch | ||
| # dev-deps | ||
| - package-ecosystem: npm | ||
| schedule: | ||
| interval: weekly | ||
| allow: | ||
| - dependency-type: development | ||
| directory: / | ||
| commit-message: | ||
| prefix: 'devdeps' | ||
| groups: | ||
| map-colonies: | ||
| patterns: | ||
| - '@map-colonies/*' | ||
| opentelemetry: | ||
| patterns: | ||
| - '@opentelemetry/*' | ||
| types: | ||
| patterns: | ||
| - '@types/*' | ||
| dev-patch: | ||
| update-types: | ||
| - patch | ||
|
|
||
| # github deps | ||
| - package-ecosystem: github-actions | ||
| schedule: | ||
| interval: weekly | ||
| commit-message: | ||
| prefix: 'ci' | ||
| directory: '/' |
This file contains hidden or 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,16 @@ | ||
| name: PR Author Auto Assign | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, reopened] | ||
|
|
||
| permissions: | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| assign-author: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: toshimaru/auto-author-assign@v2.1.1 | ||
| with: | ||
| repo-token: ${{ secrets.GH_PAT }} |
This file contains hidden or 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 contains hidden or 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,21 @@ | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| name: release-please | ||
|
|
||
| jobs: | ||
| release-please: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: googleapis/release-please-action@v4 | ||
| with: | ||
| # this assumes that you have created a personal access token | ||
| # (PAT) and configured it as a GitHub action secret named | ||
| # `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important). | ||
| token: ${{ secrets.GH_PAT }} |
This file contains hidden or 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 contains hidden or 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 @@ | ||
| npx commitlint --edit ${1} |
This file contains hidden or 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,6 @@ | ||
| // Skip Husky install in production and CI | ||
| if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') { | ||
| process.exit(0); | ||
| } | ||
| const husky = (await import('husky')).default; | ||
| console.log(husky()); |
This file contains hidden or 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 @@ | ||
| npx pretty-quick --staged |
This file contains hidden or 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 +1 @@ | ||
| v16 | ||
| v24 |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -12,5 +12,6 @@ tsbuildconfig.json | |
| tsconfig.json | ||
| node_modules | ||
| *.html | ||
| html | ||
| helm | ||
| reports | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note:
You can add top-level ENVs and reference them.
See example here