-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: strengthen the codeblitz brand (#104)
- Loading branch information
Showing
25 changed files
with
232 additions
and
682 deletions.
There are no files selected for viewing
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,81 @@ | ||
language: zh-CN | ||
tone_instructions: '' | ||
early_access: true | ||
enable_free_tier: true | ||
reviews: | ||
profile: chill | ||
request_changes_workflow: false | ||
high_level_summary: true | ||
high_level_summary_placeholder: '@coderabbitai summary' | ||
auto_title_placeholder: '@coderabbitai' | ||
review_status: false | ||
poem: false | ||
collapse_walkthrough: true | ||
sequence_diagrams: true | ||
path_filters: [] | ||
path_instructions: [] | ||
abort_on_close: true | ||
auto_review: | ||
enabled: true | ||
auto_incremental_review: true | ||
ignore_title_keywords: [] | ||
labels: [] | ||
drafts: false | ||
base_branches: [] | ||
tools: | ||
shellcheck: | ||
enabled: true | ||
ruff: | ||
enabled: true | ||
markdownlint: | ||
enabled: true | ||
github-checks: | ||
enabled: true | ||
timeout_ms: 90000 | ||
languagetool: | ||
enabled: true | ||
enabled_only: false | ||
level: default | ||
enabled_rules: [] | ||
disabled_rules: | ||
- EN_UNPAIRED_BRACKETS | ||
- EN_UNPAIRED_QUOTES | ||
enabled_categories: [] | ||
disabled_categories: | ||
- TYPOS | ||
- TYPOGRAPHY | ||
- CASING | ||
biome: | ||
enabled: true | ||
hadolint: | ||
enabled: true | ||
swiftlint: | ||
enabled: true | ||
phpstan: | ||
enabled: true | ||
level: default | ||
golangci-lint: | ||
enabled: true | ||
yamllint: | ||
enabled: true | ||
gitleaks: | ||
enabled: true | ||
checkov: | ||
enabled: true | ||
detekt: | ||
enabled: true | ||
eslint: | ||
enabled: true | ||
ast-grep: | ||
packages: [] | ||
rule_dirs: [] | ||
util_dirs: [] | ||
essential_rules: true | ||
chat: | ||
auto_reply: true | ||
knowledge_base: | ||
opt_out: false | ||
learnings: | ||
scope: auto | ||
issues: | ||
scope: auto |
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,62 @@ | ||
name: CI | ||
|
||
# Cancel prev CI if new commit come | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
- v*.* | ||
pull_request: | ||
branches: | ||
- main | ||
- v*.* | ||
paths: | ||
- 'packages/**' | ||
- package.json | ||
- yarn.lock | ||
|
||
jobs: | ||
unittest: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
node-version: [18.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Get yarn cache directory path | ||
id: yarn_cache_dir_path | ||
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | ||
|
||
- uses: actions/cache@v4 | ||
id: yarn_cache | ||
with: | ||
path: ${{ steps.yarn_cache_dir_path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install && Build | ||
run: | | ||
yarn install --immutable | ||
yarn run init | ||
- name: CI | ||
run: | | ||
yarn run ci | ||
- if: ${{ matrix.os == 'ubuntu-latest' }} | ||
name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CORE_CODECOV_TOKEN }} | ||
directory: ./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
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 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 |
---|---|---|
|
@@ -31,7 +31,8 @@ | |
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"update-package": "node scripts/utils/update-package", | ||
"release": "node scripts/release", | ||
"release:next": "node scripts/release --tag=next" | ||
"release:next": "node scripts/release --tag=next", | ||
"ci": "yarn type-check && yarn test" | ||
}, | ||
"author": "antgroup", | ||
"license": "MIT", | ||
|
@@ -78,10 +79,10 @@ | |
"typescript": "^4.2.3" | ||
}, | ||
"resolutions": { | ||
"node-gyp": "10.1.0" | ||
"node-gyp": "npm:@favware/skip-dependency@latest", | ||
"nsfw": "npm:@favware/skip-dependency@latest", | ||
"spdlog": "npm:@favware/skip-dependency@latest", | ||
"node-pty": "npm:@favware/skip-dependency@latest" | ||
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"node-gyp": "10.1.0" | ||
} | ||
"packageManager": "[email protected]" | ||
} |
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 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 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 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 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 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 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 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 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
Oops, something went wrong.