Skip to content

Commit faa2223

Browse files
committed
o/
0 parents  commit faa2223

91 files changed

Lines changed: 18745 additions & 0 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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Changesets
2+
3+
Use Changesets to record publishable changes for `@blurengine/cli`.
4+
5+
## Add a changeset
6+
7+
```bash
8+
npm run changeset
9+
```
10+
11+
Then:
12+
13+
1. Select `@blurengine/cli`
14+
2. Choose the release type
15+
3. Write a short summary
16+
4. Commit the generated `.changeset/*.md` file
17+
18+
## Version and publish
19+
20+
These commands are mainly for the release workflow:
21+
22+
- `npm run version-packages`
23+
- `npm run release`

.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@3.1.1/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{
6+
"repo": "BlurEngine/cli"
7+
}
8+
],
9+
"commit": false,
10+
"fixed": [],
11+
"linked": [],
12+
"access": "public",
13+
"baseBranch": "main",
14+
"updateInternalDependencies": "patch",
15+
"ignore": []
16+
}

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 2
9+
trim_trailing_whitespace = true
10+
11+
[*.{js,cjs,mjs,ts,cts,mts}]
12+
indent_size = 4
13+
14+
[*.{json,jsonc,yml,yaml}]
15+
indent_size = 2
16+
17+
[*.md]
18+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
* text=auto eol=lf
2+
3+
*.png binary
4+
*.jpg binary
5+
*.jpeg binary
6+
*.gif binary
7+
*.svg binary
8+
*.webp binary
9+
*.ico binary
10+
*.woff binary
11+
*.woff2 binary
12+
*.ttf binary
13+
*.otf binary
14+
*.zip binary
15+
*.tgz binary
16+
*.jar binary
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Bug report
2+
description: Report a problem with the CLI or generated projects.
3+
title: "[Bug]: "
4+
labels:
5+
- bug
6+
body:
7+
- type: textarea
8+
id: summary
9+
attributes:
10+
label: What happened?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: reproduction
15+
attributes:
16+
label: How can we reproduce it?
17+
description: Include commands, config, and any relevant files.
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: expected
22+
attributes:
23+
label: What did you expect to happen?
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: environment
28+
attributes:
29+
label: Environment
30+
description: |
31+
If this is a generated project, please run the `system` package script with your project package manager. For example:
32+
33+
- `npm run system -- info --format markdown`
34+
- `npm run system -- doctor --format markdown`
35+
- `pnpm run system -- info --format markdown`
36+
- `pnpm run system -- doctor --format markdown`
37+
- `yarn run system -- info --format markdown`
38+
- `yarn run system -- doctor --format markdown`
39+
- `bun run system -- info --format markdown`
40+
- `bun run system -- doctor --format markdown`
41+
42+
Otherwise run:
43+
44+
- `blr system info --format markdown`
45+
- `blr system doctor --format markdown`
46+
47+
Paste the output here.
48+
validations:
49+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Feature request
2+
description: Suggest an improvement to the CLI or project workflow.
3+
title: "[Feature]: "
4+
labels:
5+
- enhancement
6+
body:
7+
- type: textarea
8+
id: problem
9+
attributes:
10+
label: What problem are you trying to solve?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: proposal
15+
attributes:
16+
label: What would you like to happen?
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: context
21+
attributes:
22+
label: Additional context
23+
description: Include examples, workflow details, or tradeoffs if helpful.

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
open-pull-requests-limit: 10

.github/pull_request_template.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Summary
2+
3+
- what changed
4+
- why it changed
5+
6+
## Verification
7+
8+
- [ ] `npm run check`
9+
- [ ] docs updated when needed
10+
- [ ] tests added or updated when behavior changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
check:
12+
runs-on: ${{ matrix.os }}
13+
timeout-minutes: 25
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
os: [ubuntu-latest, windows-latest]
18+
node: [20, 22]
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: ${{ matrix.node }}
28+
cache: npm
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
33+
- name: Run checks
34+
run: npm run check

0 commit comments

Comments
 (0)