Skip to content

Commit

Permalink
Merge pull request #503 from skyclouds2001/dev
Browse files Browse the repository at this point in the history
Release v1.0.0
  • Loading branch information
skyclouds2001 authored Oct 12, 2024
2 parents 5a7a02a + 3318133 commit effb8a1
Show file tree
Hide file tree
Showing 42 changed files with 5,302 additions and 5,416 deletions.
23 changes: 23 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"projectName": "vite-template-sky",
"projectOwner": "skyclouds2001",
"repoType": "github",
"repoHost": "https://github.com",
"files": ["README.md"],
"imageSize": 100,
"commit": false,
"commitConvention": "angular",
"contributorsPerLine": 7,
"contributorsSortAlphabetically": false,
"linkToUsage": true,
"skipCi": true,
"contributors": [
{
"login": "skyclouds2001",
"name": "skyclouds2001",
"avatar_url": "https://avatars.githubusercontent.com/u/95597335?v=4",
"profile": "https://github.com/skyclouds2001",
"contributions": ["code", "design", "doc", "ideas", "infra", "maintenance", "review", "test"]
}
]
}
4 changes: 0 additions & 4 deletions .browserslistrc

This file was deleted.

86 changes: 86 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
language: zh-CN
tone_instructions: ''
early_access: false
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: true
poem: true
collapse_walkthrough: false
sequence_diagrams: true
labeling_instructions: []
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
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
rubocop:
enabled: true
buf:
enabled: true
regal:
enabled: true
actionlint:
enabled: true
pmd:
enabled: true
cppcheck:
enabled: true
chat:
auto_reply: true
knowledge_base:
opt_out: false
learnings:
scope: auto
issues:
scope: auto
jira:
project_keys: []
linear:
team_keys: []
pull_requests:
scope: auto
42 changes: 0 additions & 42 deletions .eslintrc.js

This file was deleted.

28 changes: 19 additions & 9 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,28 @@ A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
**Platform (please select one option):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- [ ] Desktop
- [ ] Laptop
- [ ] Smartphone
- [ ] Tablet
- [ ] Others: _Please type here_

**Smartphone (please complete the following information):**
**OS (please select one option):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
- [ ] Windows
- [ ] macOS
- [ ] Linux
- [ ] Others: _Please type here_

**Browser (please select one option):**

- [ ] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Edge
- [ ] Others: _Please type here_

**Additional context**
Add any other context about the problem here.
6 changes: 4 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ updates:
- dependency-type: 'direct'
labels:
- 'dependencies'
milestone: 1
assignees:
- 'skyclouds2001'
reviewers:
- 'skyclouds2001'
open-pull-requests-limit: 5
pull-request-branch-name:
separator: '-'
target-branch: 'dev'
target-branch: 'master'
groups:
all:
patterns:
Expand All @@ -34,14 +35,15 @@ updates:
- dependency-type: 'direct'
labels:
- 'dependencies'
milestone: 1
assignees:
- 'skyclouds2001'
reviewers:
- 'skyclouds2001'
open-pull-requests-limit: 5
pull-request-branch-name:
separator: '-'
target-branch: 'dev'
target-branch: 'master'
groups:
all:
patterns:
Expand Down
17 changes: 17 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
system:
- changed-files:
- any-glob-to-any-file:
- .changeset/**
- .github/**
- .husky/**
- '*'

source:
- changed-files:
- any-glob-to-any-file:
- src/**

test:
- changed-files:
- any-glob-to-any-file:
- tests/**
74 changes: 49 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,64 @@ name: ci

on:
push:
branches: ['master']
branches:
- master
pull_request:
branches: ['master']
branches:
- master

permissions:
contents: read
issues: none
pull-requests: none

concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
tests:
lint:
name: Run lint
if: github.repository == 'skyclouds2001/vite-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8.10.0
- uses: actions/setup-node@v4
- name: Checkout
uses: actions/[email protected]
- name: Install pnpm
uses: pnpm/[email protected]
- name: Install Node.js
uses: actions/[email protected]
with:
node-version: 16
node-version-file: .nvmrc
cache: pnpm
- name: install dependencies
run: pnpm install
- name: run tests
run: pnpm test
lint:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run lint
run: pnpm lint
tests:
name: Run test
if: github.repository == 'skyclouds2001/vite-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8.10.0
- uses: actions/setup-node@v4
- name: Checkout
uses: actions/[email protected]
- name: Install pnpm
uses: pnpm/[email protected]
- name: Install Node.js
uses: actions/[email protected]
with:
node-version: 16
node-version-file: .nvmrc
cache: pnpm
- name: install dependencies
run: pnpm install
- name: run lint
run: pnpm lint
continue-on-error: true
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests
run: pnpm test
- name: Upload test report
uses: actions/[email protected]
with:
name: test-report
path: |
vitest-report/
coverage-report/
Loading

0 comments on commit effb8a1

Please sign in to comment.