Skip to content

Commit

Permalink
Merge pull request #518 from skyclouds2001/dev
Browse files Browse the repository at this point in the history
Release v1.6.0
  • Loading branch information
skyclouds2001 authored Nov 3, 2024
2 parents 4408062 + 6e342e7 commit 4359f53
Show file tree
Hide file tree
Showing 23 changed files with 661 additions and 578 deletions.
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"projectName": "vite-template-sky",
"projectName": "template-sky",
"projectOwner": "skyclouds2001",
"repoType": "github",
"repoHost": "https://github.com",
Expand Down
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"changelog": [
"@changesets/changelog-github",
{
"repo": "skyclouds2001/vite-template-sky"
"repo": "skyclouds2001/template-sky"
}
],
"commit": false,
Expand Down
25 changes: 15 additions & 10 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ reviews:
drafts: false
base_branches: []
tools:
ast-grep:
essential_rules: true
shellcheck:
enabled: true
ruff:
enabled: true
enabled: false
markdownlint:
enabled: true
github-checks:
Expand All @@ -42,34 +44,37 @@ reviews:
hadolint:
enabled: true
swiftlint:
enabled: true
enabled: false
phpstan:
enabled: true
level: default
enabled: false
golangci-lint:
enabled: true
enabled: false
yamllint:
enabled: true
gitleaks:
enabled: true
checkov:
enabled: true
detekt:
enabled: true
enabled: false
eslint:
enabled: true
rubocop:
enabled: true
enabled: false
buf:
enabled: true
enabled: false
regal:
enabled: true
enabled: false
actionlint:
enabled: true
pmd:
enabled: true
enabled: false
cppcheck:
enabled: false
semgrep:
enabled: true
circleci:
enabled: false
chat:
auto_reply: true
knowledge_base:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ concurrency:
jobs:
lint:
name: Run lint
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].2
- name: Install pnpm
uses: pnpm/[email protected]
- name: Install Node.js
uses: actions/setup-node@v4.0.4
uses: actions/setup-node@v4.1.0
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -39,16 +39,16 @@ jobs:
run: pnpm lint
tests:
name: Run test
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].2
- name: Install pnpm
uses: pnpm/[email protected]
- name: Install Node.js
uses: actions/setup-node@v4.0.4
uses: actions/setup-node@v4.1.0
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Run tests
run: pnpm test
- name: Upload test report
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: test-report
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
labeler-content:
name: Label for PR content
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand All @@ -26,7 +26,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labeler-size:
name: Label for PR size
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand All @@ -51,7 +51,7 @@ jobs:
files_to_ignore: 'package-lock.json yarn.lock pnpm-lock.yaml'
label-rebase-needed:
name: Label for PR merge conflict
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-contributor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
jobs:
new-contributor:
name: Welcome new contributor
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/project-automate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
add-to-project:
name: Add issue or pull request to project
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ permissions:
jobs:
github-release:
name: Publish github release
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].0
- uses: actions/[email protected].2
- uses: softprops/[email protected]
with:
body: |
Please refer to [CHANGELOG.md](https://github.com/skyclouds2001/vite-template-sky/blob/master/CHANGELOG.md) for details.
Please refer to [CHANGELOG.md](https://github.com/skyclouds2001/template-sky/blob/master/CHANGELOG.md) for details.
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
stale:
name: Stale issue or pull request if have had no activity for a long time
if: github.repository == 'skyclouds2001/vite-template-sky'
if: github.repository == 'skyclouds2001/template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
Expand Down
10 changes: 7 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[submodule "vite-react-template-sky"]
path = vite-react-template-sky
url = https://github.com/skyclouds2001/vite-react-template-sky
branch = master
[submodule "vite-vue-template-sky"]
path = vite-vue-template-sky
url = https://github.com/skyclouds2001/vite-vue-template-sky
branch = master
[submodule "vite-react-template-sky"]
path = vite-react-template-sky
url = https://github.com/skyclouds2001/vite-react-template-sky
[submodule "rollup-template-sky"]
path = rollup-template-sky
url = https://github.com/skyclouds2001/rollup-template-sky
branch = master
36 changes: 35 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,38 @@
# vite-template-sky
# template-sky

## 1.6.0

### Major Changes

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`4bf62fc`](https://github.com/skyclouds2001/template-sky/commit/4bf62fc3790892a04eadc45bd23120a7c4f08f87) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - feat: rename vite-template to template

### Minor Changes

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`12f0cc5`](https://github.com/skyclouds2001/template-sky/commit/12f0cc5799ec0258f6c8d6e7db5517dbcd3046a8) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - build: update submodules

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`fb0d5a1`](https://github.com/skyclouds2001/template-sky/commit/fb0d5a170f84f4bce3959e1ad23c9278b708c622) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - chore: remove project inner package manager

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`f6fe904`](https://github.com/skyclouds2001/template-sky/commit/f6fe9041e59451196981e18c1c667b3b0d1042bf) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - build: add rollup-template-sky sub module

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`67f779f`](https://github.com/skyclouds2001/template-sky/commit/67f779f1f89c3b05cf4e107d0d9c1690d46c170e) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - chore: mark some dependencies as updatable

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`67f779f`](https://github.com/skyclouds2001/template-sky/commit/67f779f1f89c3b05cf4e107d0d9c1690d46c170e) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - feat: add support for generate rollup template

### Patch Changes

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`b7b529a`](https://github.com/skyclouds2001/template-sky/commit/b7b529a968a552b4ea407d9a50bc6af1190a32f3) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - docs: update project description & keywords

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`67f779f`](https://github.com/skyclouds2001/template-sky/commit/67f779f1f89c3b05cf4e107d0d9c1690d46c170e) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - style: move rewrite algorithm to separate file

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`d4ddef0`](https://github.com/skyclouds2001/template-sky/commit/d4ddef0fee7e75697c41fcda25207c3b7abfbe03) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - build: update coderabbit config

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`67f779f`](https://github.com/skyclouds2001/template-sky/commit/67f779f1f89c3b05cf4e107d0d9c1690d46c170e) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - chore: update dependencies

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`7b1d4a7`](https://github.com/skyclouds2001/template-sky/commit/7b1d4a7e277902d137d6f53dba834ee47facd676) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - feat: more update to support new rollup template

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`8dd0b95`](https://github.com/skyclouds2001/template-sky/commit/8dd0b95f95c45fac8d7d5ddcb3ccb65eb1790f4f) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - feat: remove unexpected useless file

- [#518](https://github.com/skyclouds2001/template-sky/pull/518) [`67f779f`](https://github.com/skyclouds2001/template-sky/commit/67f779f1f89c3b05cf4e107d0d9c1690d46c170e) Thanks [@skyclouds2001](https://github.com/skyclouds2001)! - docs: add missing changeset bits

## 1.0.0

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contributing to vite-template-sky
# Contributing to template-sky

Thanks for your interest in contributing to vite-template-sky!
Thanks for your interest in contributing to template-sky!
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# vite-template-sky
# template-sky

An opinionated vite starter template for vue or react with a CLI to generate template project.
An opinionated starter template for vite or rollup with a cli to generate template project.

## Usage

Using npm to initialize a project

```sh
npx @sky-fly/vite-template
npx @sky-fly/template
```

You can pass one CLI option as the project name, which will be used to decide the folder name where the generated project template will be placed.

```sh
npx @sky-fly/vite-template project
npx @sky-fly/template project
```

You can also pass another CLI option as the package name, which will be used to overwrite the default in the project. If not specified, the project name will be used as the package name.

```sh
npx @sky-fly/vite-template project project
npx @sky-fly/template project project
```

Available named CLI options are shown below:
Expand Down
Empty file removed labeler.yml
Empty file.
Loading

0 comments on commit 4359f53

Please sign in to comment.