Skip to content

Commit 34572c1

Browse files
committed
Merge remote-tracking branch 'upstream/main' into typedoc
2 parents e687471 + 568e2c2 commit 34572c1

47 files changed

Lines changed: 6003 additions & 1095 deletions

Some content is hidden

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

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
4+
**/node_modules
5+
**/dist

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: []
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
name: 🐞 Bug report
3+
about: Report an issue
4+
labels: ['s: pending triage', 'c: bug']
5+
---

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Discord Chat
4+
url: https://chat.tsky.dev
5+
about: Ask questions and discuss with other users in real time.
6+
- name: Questions & Discussions
7+
url: https://github.com/tsky-dev/tsky/discussions
8+
about: Use GitHub discussions for message-board style questions and discussions.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
name: 🚀 New feature proposal
3+
about: Propose a new feature
4+
labels: 's: pending triage'
5+
---

.github/assets/tsky-logo.png

5.31 KB
Loading

.github/renovate.json5

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:base", "schedule:weekly", "group:allNonMajor"],
4+
"labels": ["c: dependencies"],
5+
"rangeStrategy": "bump",
6+
"ignoreDeps": [
7+
"vue",
8+
"vue-tsc",
9+
"typescript",
10+
11+
// Intl.Segmenter is not supported in Firefox
12+
"string-length"
13+
],
14+
"packageRules": [
15+
{
16+
"groupName": "devDependencies",
17+
"matchDepTypes": ["devDependencies"],
18+
"rangeStrategy": "bump"
19+
},
20+
{
21+
"groupName": "dependencies",
22+
"matchDepTypes": ["dependencies"],
23+
"rangeStrategy": "replace"
24+
},
25+
{
26+
"groupName": "peerDependencies",
27+
"matchDepTypes": ["peerDependencies"],
28+
"rangeStrategy": "widen"
29+
},
30+
{
31+
"groupName": "engines",
32+
"matchDepTypes": ["engines"],
33+
"rangeStrategy": "replace"
34+
},
35+
{
36+
"groupName": "test",
37+
"matchPackageNames": ["@vitest/coverage-c8", "@vitest/ui", "vitest"]
38+
},
39+
{
40+
"groupName": "lint",
41+
"matchPackageNames": [
42+
"@antfu/eslint-config",
43+
"eslint",
44+
"prettier"
45+
]
46+
},
47+
{
48+
"groupName": "typescript",
49+
"matchPackageNames": ["typescript"]
50+
},
51+
{
52+
"matchDatasources": ["node-version"],
53+
"enabled": false
54+
}
55+
],
56+
"vulnerabilityAlerts": {
57+
"labels": ["c: security"]
58+
}
59+
}

.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: ci
2+
3+
permissions: {}
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
workflow_dispatch: {}
13+
merge_group: {}
14+
15+
jobs:
16+
ci:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- run: corepack enable
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
cache: pnpm
26+
27+
- name: 📦 Install dependencies
28+
run: pnpm install --frozen-lockfile
29+
30+
- name: 🧪 Test project
31+
run: pnpm -r test
32+
timeout-minutes: 10
33+
34+
- name: 📝 Lint
35+
run: pnpm -r lint
36+
37+
- name: 📝 Check format
38+
run: pnpm format:check
39+
40+
- name: 💪 Type check
41+
run: pnpm -r test:typecheck
42+
43+
- name: 📦 Build
44+
run: pnpm -r build
45+
46+
# - name: 🚢 Continuous Release
47+
# run: pnpm dlx pkg-pr-new publish './packages/core'
48+
# if: github.event_name == 'pull_request'

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release
2+
3+
permissions:
4+
contents: write
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v*'
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Set node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 18
23+
24+
- run: npx changelogithub
25+
env:
26+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Semantic Pull Request
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
permissions: {}
11+
12+
jobs:
13+
main:
14+
permissions:
15+
pull-requests: read # to analyze PRs (amannn/action-semantic-pull-request)
16+
statuses: write # to mark status of analyzed PR (amannn/action-semantic-pull-request)
17+
18+
runs-on: ubuntu-latest
19+
name: Semantic Pull Request
20+
steps:
21+
- name: Validate PR title
22+
uses: amannn/action-semantic-pull-request@v5.5.3
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)