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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"playwright": "1.62.1",
"playwright-core": "1.62.1",
"publint": "0.3.24",
"rsbuild-plugin-publint": "1.0.0",
"typescript": "7.0.2"
}
}
3 changes: 3 additions & 0 deletions packages/agent-bundle/rslib.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { resolve } from 'node:path';

import { defineConfig } from '@rslib/core';
import { pluginPublint } from 'rsbuild-plugin-publint';
import packageManifest from './package.json' with { type: 'json' };

export default defineConfig({
Expand All @@ -21,6 +22,8 @@ export default defineConfig({
legalComments: 'linked',
target: 'node',
},
// Suggestions stay informational; errors and warnings block publishing.
plugins: [pluginPublint({ throwOn: 'warning' })],
root: import.meta.dirname,
source: {
tsconfigPath: './tsconfig.build.json',
Expand Down
3 changes: 3 additions & 0 deletions packages/create-agent-bundle/rslib.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineConfig } from '@rslib/core';
import { pluginPublint } from 'rsbuild-plugin-publint';

/**
* Single self-contained ESM bundle: `@clack/prompts` is a devDependency so
Expand All @@ -20,6 +21,8 @@ export default defineConfig({
filenameHash: false,
target: 'node',
},
// Suggestions stay informational; errors and warnings block publishing.
plugins: [pluginPublint({ throwOn: 'warning' })],
root: import.meta.dirname,
source: {
entry: {
Expand Down
3 changes: 3 additions & 0 deletions packages/rsc-runtime/rslib.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineConfig } from '@rslib/core';
import { pluginPublint } from 'rsbuild-plugin-publint';

const sharedLib = {
bundle: true,
Expand Down Expand Up @@ -84,6 +85,8 @@ export default defineConfig({
filenameHash: false,
target: 'node',
},
// Suggestions stay informational; errors and warnings block publishing.
plugins: [pluginPublint({ throwOn: 'warning' })],
root: import.meta.dirname,
source: {
tsconfigPath: './tsconfig.build.json',
Expand Down
18 changes: 18 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading