Skip to content

Commit c9a8677

Browse files
Merge remote-tracking branch 'origin/main' into codex/rstack-plugin-spi
# Conflicts: # packages/rstack/src/cli/commands.ts # packages/rstack/src/config.ts # packages/rstack/src/fmt/config.ts # packages/rstack/src/rsbuildConfig.ts # packages/rstack/src/rslibConfig.ts # packages/rstack/src/rstestConfig.ts
2 parents 96b0de5 + de46a51 commit c9a8677

172 files changed

Lines changed: 2842 additions & 1183 deletions

File tree

Some content is hidden

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

.agents/skills/migrate-to-rstack-cli/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Use one of the default names: `rstack.config.ts`, `.js`, `.mts`, or `.mjs`.
4141
Use `rs -c <path>` or `rs --config <path>` only for a custom path.
4242

4343
```ts
44-
// Rstack configuration guide: https://rstack.rs/config
44+
// Configuration guide: https://rstack.rs/config
4545
import { define } from 'rstack';
4646

4747
define.app({

.agents/skills/migrate-to-rstack-cli/references/rslint.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ Read this reference when the project uses `@rslint/core`, `rslint.config.*`, `rs
1414
```ts
1515
import { define } from 'rstack';
1616

17-
define.lint(({ js, ts }) => [js.configs.recommended, ts.configs.recommendedTypeChecked]);
17+
define.lint(({ js, ts }) => [
18+
js.configs.recommended,
19+
ts.configs.recommendedTypeChecked,
20+
]);
1821
```
1922

2023
Preserve existing presets and rules during migration.

.github/renovate.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["github>rstackjs/renovate"]
3+
"extends": ["github>rstackjs/renovate"],
4+
"packageRules": [
5+
{
6+
"description": "Disable TypeScript updates in Svelte and Vue templates until svelte-check, svelte2tsx, and vue-tsc support TypeScript 7",
7+
"matchManagers": ["npm"],
8+
"matchPackageNames": ["typescript"],
9+
"matchFileNames": [
10+
"packages/create-rstack/template-app-svelte-ts/package.json",
11+
"packages/create-rstack/template-app-vue-ts/package.json",
12+
"packages/create-rstack/template-lib-svelte-ts/package.json",
13+
"packages/create-rstack/template-lib-vue-ts/package.json"
14+
],
15+
"enabled": false
16+
}
17+
]
418
}

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"mdx.validate.validateFileLinks": "ignore",
1616
"editor.defaultFormatter": "esbenp.prettier-vscode",
1717
// Temporary workaround until we switch to the Rstack VS Code extension.
18-
"prettier.printWidth": 100,
1918
"prettier.singleQuote": true,
2019
"js/ts.tsdk.path": "node_modules/typescript/lib",
2120
"[typescript]": {

examples/app-react/rstack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Rstack configuration guide: https://rstack.rs/config
1+
// Configuration guide: https://rstack.rs/config
22
import { define } from 'rstack';
33

44
define.app(async () => {

examples/app-vanilla/rstack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Rstack configuration guide: https://rstack.rs/config
1+
// Configuration guide: https://rstack.rs/config
22
import { define } from 'rstack';
33

44
define.test({

examples/app-vanilla/tests/dom.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { expect, test } from 'rstack/test';
22
import { screen } from '@testing-library/dom';
33

4-
test('test dom', () => {
4+
test('renders content', () => {
55
document.body.innerHTML = `
66
<span data-testid="not-empty"><span data-testid="empty"></span></span>
77
<div data-testid="visible">Visible Example</div>

examples/documentation/rstack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Rstack configuration guide: https://rstack.rs/config
1+
// Configuration guide: https://rstack.rs/config
22
import { define } from 'rstack';
33
import path from 'node:path';
44

examples/lib-node/rstack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Rstack configuration guide: https://rstack.rs/config
1+
// Configuration guide: https://rstack.rs/config
22
import { define } from 'rstack';
33

44
define.lib({

examples/lib-react/rstack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Rstack configuration guide: https://rstack.rs/config
1+
// Configuration guide: https://rstack.rs/config
22
import { define } from 'rstack';
33

44
define.lib(async () => {

0 commit comments

Comments
 (0)