Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"schedule:monthly",
"group:allNonMajor"
],
"rangeStrategy": "bump",
"packageRules": [{ "depTypeList": ["peerDependencies"], "enabled": false }]
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['config:recommended', 'schedule:monthly', 'group:allNonMajor'],
rangeStrategy: 'bump',
packageRules: [{ depTypeList: ['peerDependencies'], enabled: false }],
}
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
# Trigger on version tags or run manually.
push:
tags:
- "v*"
- 'v*'

workflow_dispatch:

Expand All @@ -28,7 +28,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install
Expand All @@ -42,4 +42,4 @@ jobs:
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: "true"
generateReleaseNotes: 'true'
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install && npx playwright install chromium
Expand Down
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore artifacts:
dist
dist-*
test/rslib/index.test.ts-snapshots
pnpm-lock.yaml
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["biomejs.biome"]
"recommendations": ["rstack.rslint", "esbenp.prettier-vscode"]
}
16 changes: 1 addition & 15 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
{
"search.useIgnoreFiles": true,
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[css]": {
"editor.defaultFormatter": "biomejs.biome"
}
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Add plugin to your `rsbuild.config.ts`:

```ts
// rsbuild.config.ts / rslib.config.ts
import { pluginUnpluginVue } from 'rsbuild-plugin-unplugin-vue'
import { pluginUnpluginVue } from 'rsbuild-plugin-unplugin-vue';

export default {
plugins: [pluginUnpluginVue()],
}
};
```

## Options
Expand All @@ -49,7 +49,7 @@ pluginUnpluginVue({
unpluginVueOptions: {
include: ['**/*.vue'],
},
})
});
```

## License
Expand Down
32 changes: 0 additions & 32 deletions biome.json

This file was deleted.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,26 @@
"scripts": {
"build": "rslib build",
"dev": "rslib build --watch",
"format": "biome check . --write --unsafe",
"lint": "biome check .",
"lint:write": "biome check . --write",
"prepare": "simple-git-hooks && npm run build",
"format": "prettier -w .",
"lint": "rslint && prettier -c .",
"lint:write": "rslint --fix && prettier -w .",
"prepare": "simple-git-hooks && pnpm run build",
"test": "playwright test",
"bump": "bumpp"
},
"simple-git-hooks": {
"pre-commit": "npm run format"
"pre-commit": "pnpm run lint:write"
},
"devDependencies": {
"@biomejs/biome": "^2.4.7",
"@playwright/test": "^1.58.2",
"@rsbuild/core": "2.0.0-beta.8",
"@rsbuild/core-v1": "npm:@rsbuild/core@^1.7.3",
"@rslib/core": "^0.20.0",
"@rslint/core": "^0.5.0",
"@types/node": "^25.5.0",
"bumpp": "^11.0.1",
"playwright": "^1.58.2",
"prettier": "^3.8.3",
"simple-git-hooks": "^2.13.1",
"typescript": "^5.9.3",
"vue": "^3.5.30"
Expand Down
4 changes: 1 addition & 3 deletions playground/rsbuild/src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
declare module '*.vue' {
import type { DefineComponent } from 'vue';

// biome-ignore lint/complexity/noBannedTypes: reason
// biome-ignore lint/suspicious/noExplicitAny: Vue component typings use `any` here.
const component: DefineComponent<{}, {}, any>;
const component: DefineComponent;
export default component;
}
Loading
Loading