Skip to content

Commit 7fbdf1c

Browse files
committed
chore: wip
chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip chore: wip
1 parent 70e8afe commit 7fbdf1c

File tree

43 files changed

+223
-565
lines changed

Some content is hidden

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

43 files changed

+223
-565
lines changed

.github/renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": ["@ow3", "customManagers:biomeVersions"]
2+
"extends": ["@ow3"]
33
}

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
version: latest
3636

3737
- name: Lint
38-
# run: biome ci --reporter github
3938
run: biome ci .
4039

4140
typecheck:

.github/workflows/release.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19-
# this is only needed while `bun publish` is not yet available (npm publish is used instead)
20-
- name: Setup Node.js
21-
uses: actions/setup-node@v4
22-
with:
23-
node-version: 'lts/*'
24-
registry-url: 'https://registry.npmjs.org'
25-
2619
- name: Setup Bun
2720
uses: oven-sh/setup-bun@v2
2821

@@ -40,13 +33,7 @@ jobs:
4033
- name: Publish Framework
4134
run: ./storage/framework/scripts/publish
4235
env:
43-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
44-
45-
# temporary workaround until npm publish is replaced with bun publish
46-
- name: Update npm and install vsce
47-
run: |
48-
npm install -g npm@latest
49-
npm install -g @vscode/vsce@latest
36+
BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
5037

5138
- name: Publish Dummy Libraries
5239
run: bun --filter='./storage/framework' run publish:dummy-libs
@@ -56,13 +43,13 @@ jobs:
5643
- name: Publish VS Code Extension
5744
run: |
5845
cd storage/framework/ide/vscode
59-
npm install
60-
vsce publish
46+
bun install
47+
bunx vsce publish
6148
cd ../../../../
6249
env:
6350
VSCE_PAT: ${{ secrets.VSCE_PAT }}
6451

6552
- name: Create GitHub Release
66-
run: bunx --bun changelogithub
53+
run: bunx changelogithub
6754
env:
6855
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

app/Listener.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { path as p } from '@stacksjs/path'
33
import events from './Events'
44

55
for (const key in events) {
6-
// biome-ignore lint/suspicious/noPrototypeBuiltins: <explanation>
76
if (events.hasOwnProperty(key)) {
87
const eventKey = key
98
const eventListeners = events[key]

biome.json

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

bun.lockb

54.2 KB
Binary file not shown.

bunfig.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ coverage = true
1111
# will automatically install dependencies on the fly during execution.
1212
# auto = true
1313

14-
# set default registry as a string
15-
registry = "https://registry.npmjs.org"
14+
registry = { url = "https://registry.npmjs.org/", token = "$BUN_AUTH_TOKEN" }
1615

1716
# where `bun install --global` installs packages
1817
globalDir = "~/.stacks/bun/install/global"

commitlint.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import { components, functions } from '@stacksjs/utils'
22
import git from './config/git'
33

4-
const scopes = [...git.scopes, ...components, ...functions]
5-
const uniqueScopes = [...new Set(scopes)]
4+
const scopes = [...new Set([...git.scopes, ...components, ...functions])]
65

76
/** @type {import('cz-git').UserConfig} */
87
export default {
98
rules: {
109
// @see: https://commitlint.js.org/#/reference-rules
11-
'scope-enum': [2, 'always', uniqueScopes],
10+
'scope-enum': [2, 'always', scopes],
1211
},
12+
1313
prompt: {
1414
messages: git.messages,
1515
types: git.types,
1616
useEmoji: false,
1717
themeColorCode: '',
18-
scopes: uniqueScopes,
18+
scopes,
1919
allowCustomScopes: true,
2020
allowEmptyScopes: true,
2121
customScopesAlign: 'bottom',

docs/guide/composability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Building complex components is oftentimes difficult using traditional developmen
1111
It is interesting to note that this is not necessarily due to the complexity of the development tasks required but rather due to the sheer amount of moving pieces required to build & engineer truly composable libraries. You may have already asked yourself one or many of the following questions/scenarios:
1212

1313
- Which code style should be followed?
14-
- Code formatting setup _(i.e. Eslint, Biome, tslint, Prettier, etc.)_
14+
- Code formatting setup _(i.e. ESLint, tslint, Prettier, etc.)_
1515
- Create a custom, project-specific CI _(e.g. GitHub Actions, Circle CI, Travis CI, etc.)_
1616
- Automatic library changelog generations upon releases, based on git naming conventions
1717
- Distribution channels setup _(e.g. package managers like npm & CDNs)_

eslint.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import stacks from '@stacksjs/lint'
2+
3+
export default stacks({
4+
// Enable stylistic formatting rules
5+
stylistic: true,
6+
7+
// Or customize the stylistic rules
8+
stylistic: {
9+
indent: 2, // 4, or 'tab'
10+
quotes: 'single', // or 'double'
11+
},
12+
13+
typescript: true,
14+
vue: true,
15+
jsonc: true,
16+
yaml: true,
17+
unocss: true,
18+
19+
// `.eslintignore` is no longer supported in Flat config, use `ignores` instead
20+
ignores: [
21+
'**/fixtures',
22+
'**/cdk.out',
23+
'**/framework/server',
24+
"**/.vite-ssg-temp"
25+
// ...globs
26+
],
27+
})

0 commit comments

Comments
 (0)