Skip to content

Commit 736ddda

Browse files
committed
feat: let's fork and release
1 parent 0a7187e commit 736ddda

41 files changed

Lines changed: 16957 additions & 2511 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{
6+
"repo": "un-ts/mini-shiki"
7+
}
8+
],
9+
"commit": false,
10+
"fixed": [],
11+
"linked": [],
12+
"access": "public",
13+
"baseBranch": "main",
14+
"updateInternalDependencies": "patch",
15+
"ignore": []
16+
}

.codesandbox/ci.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"node": "20",
3+
"sandboxes": []
4+
}

.commitlintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "@1stg"
3+
}

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root=true
2+
3+
[*]
4+
indent_style=space
5+
indent_size=2
6+
tab_width=2
7+
end_of_line=lf
8+
charset=utf-8
9+
trim_trailing_whitespace=true
10+
insert_final_newline=true

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* text=auto eol=lf
2+
/.yarn/** linguist-vendored
3+
/.yarn/releases/* binary
4+
/.yarn/plugins/**/* binary
5+
yarn.lock -diff

.github/workflows/autofix.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: autofix.ci # For security reasons, the workflow in which the autofix.ci action is used must be named "autofix.ci".
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
contents: write
16+
17+
jobs:
18+
autofix:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout Repo
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
24+
- name: Setup Node.js LTS
25+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
26+
with:
27+
node-version: lts/*
28+
cache: yarn
29+
30+
- name: Install dependencies
31+
run: yarn --immutable
32+
33+
- name: Format Codes
34+
run: yarn format
35+
36+
- name: Lint Fix
37+
run: yarn lint --fix
38+
39+
- name: Apply autofix.ci
40+
uses: autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1
41+
with:
42+
fail-fast: false

.github/workflows/ci.yml

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,38 @@
11
name: CI
2+
23
on:
3-
push:
4-
pull_request:
4+
push: null
5+
pull_request: null
56
workflow_run:
6-
workflows: ["Update Shiki"]
7+
workflows: ['Update Shiki']
78
branches:
89
- main
910
types:
1011
- completed
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1117
jobs:
12-
build:
18+
ci:
19+
name: Build and Test
1320
runs-on: ubuntu-latest
14-
name: Test
1521
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@v4
18-
- name: Set up Node
19-
uses: actions/setup-node@v4
22+
- name: Checkout Repo
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
25+
- name: Setup Node.js LTS
26+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2027
with:
21-
node-version: 20
22-
- name: Install
23-
run: npm ci
24-
- name: Build
25-
run: npm run build
26-
- name: Test
27-
run: npm run test
28+
node-version: lts/*
29+
cache: yarn
30+
31+
- name: Install dependencies
32+
run: yarn --immutable
33+
34+
- name: Build, Lint, and Test
35+
run: |
36+
yarn build
37+
yarn lint
38+
yarn test

.github/workflows/pkg-pr-new.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Publish Any Commit
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
publish:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout Repo
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
22+
- name: Setup Node.js LTS
23+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
24+
with:
25+
node-version: lts/*
26+
cache: yarn
27+
28+
- name: Install dependencies
29+
run: yarn --immutable
30+
31+
- name: Build
32+
run: yarn build
33+
34+
- name: Publish
35+
run: yarn dlx pkg-pr-new publish # --compact

.github/workflows/publish.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)