Skip to content

Commit 74b348e

Browse files
committed
chore: updates jsr config
1 parent caecbe1 commit 74b348e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

jsr.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
"name": "@dschz/bun-plugin-solid",
33
"version": "1.0.2",
44
"license": "MIT",
5-
"exports": "./src/index.ts"
5+
"exports": "./src/index.ts",
6+
"publish": {
7+
"include": ["LICENSE", "README.md", "src/**/*.ts"],
8+
"exclude": ["**/*.test.ts"]
9+
}
610
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"lint:fix": "eslint --fix .",
3535
"pkg:changeset": "changeset",
3636
"pkg:version": "changeset version",
37-
"pkg:publish": "changeset publish",
37+
"pkg:publish": "bun run build && changeset publish",
3838
"test": "vitest run",
3939
"test:cov": "vitest run --coverage",
4040
"typecheck": "tsc --noEmit"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const SolidPlugin = (options: Partial<SolidPluginOptions> = {}): Bun.BunP
9595
};
9696

9797
const plugin = {
98-
name: "bun-plugin-solid-jsx",
98+
name: "bun-plugin-solid",
9999
setup: (build) => {
100100
let babel: typeof import("@babel/core") | undefined;
101101
let babelTransformPresets: PluginItem[] | undefined;

0 commit comments

Comments
 (0)