Skip to content

Commit 718c513

Browse files
committed
chore: publish as unscoped unplugin-scriptc
The npm package ships as unplugin-scriptc; the repo stays sigilco/unplugin-scriptc. Update the package name and every import/install reference in docs, tests, and comments.
1 parent ff963b5 commit 718c513

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Agent guide
22

3-
unplugin wrapper that runs `scriptc build` inside bundler pipelines and surfaces `scriptc coverage` diagnostics. Single package, published as `@sigilco/unplugin-scriptc`.
3+
unplugin wrapper that runs `scriptc build` inside bundler pipelines and surfaces `scriptc coverage` diagnostics. Single package, published as `unplugin-scriptc`.
44

55
## Layout
66

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @sigilco/unplugin-scriptc
1+
# unplugin-scriptc
22

33
[scriptc](https://scriptc.dev) native compilation inside any bundler, via [unplugin](https://unplugin.unjs.io). Vite, Rollup, Webpack, esbuild, Rolldown.
44

@@ -7,7 +7,7 @@ The plugin does one thing: run `scriptc build` on your app entry as part of the
77
## Install
88

99
```sh
10-
npm i -D @sigilco/unplugin-scriptc scriptc
10+
npm i -D unplugin-scriptc scriptc
1111
```
1212

1313
`scriptc` is a peer dependency pinned to `0.3.0` on purpose: scriptc evolves fast and breaks flags between releases. Upgrade the pin deliberately.
@@ -17,7 +17,7 @@ npm i -D @sigilco/unplugin-scriptc scriptc
1717
```ts
1818
// vite.config.ts
1919
import { defineConfig } from "vite";
20-
import { scriptcPlugin } from "@sigilco/unplugin-scriptc";
20+
import { scriptcPlugin } from "unplugin-scriptc";
2121

2222
export default defineConfig({
2323
plugins: [

‎docs/index.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Introduction
22

3-
`@sigilco/unplugin-scriptc` runs [scriptc](https://scriptc.dev) inside your bundler pipeline through the [unplugin](https://unplugin.unjs.io) factory, so the same plugin works with Vite, Rollup, Webpack, esbuild, and Rolldown.
3+
`unplugin-scriptc` runs [scriptc](https://scriptc.dev) inside your bundler pipeline through the [unplugin](https://unplugin.unjs.io) factory, so the same plugin works with Vite, Rollup, Webpack, esbuild, and Rolldown.
44

55
It does one thing: run `scriptc build` on your app entry during the build and surface `scriptc coverage` diagnostics through the bundler's warning channel. It does not analyze code itself; every reported problem comes from the compiler.
66

77
## Install
88

99
```sh
10-
npm i -D @sigilco/unplugin-scriptc scriptc
10+
npm i -D unplugin-scriptc scriptc
1111
```
1212

1313
`scriptc` is a peer dependency pinned to `0.3.0`. scriptc evolves fast and changes flags between releases, so the pin is deliberate; upgrade it when you are ready to re-check your build flags.
@@ -17,7 +17,7 @@ npm i -D @sigilco/unplugin-scriptc scriptc
1717
```ts
1818
// vite.config.ts
1919
import { defineConfig } from "vite";
20-
import { scriptcPlugin } from "@sigilco/unplugin-scriptc";
20+
import { scriptcPlugin } from "unplugin-scriptc";
2121

2222
export default defineConfig({
2323
plugins: [
@@ -36,7 +36,7 @@ The factory exposes the same `scriptcPlugin.<bundler>()` adapters unplugin provi
3636

3737
```ts
3838
// rollup.config.mjs
39-
import { scriptcPlugin } from "@sigilco/unplugin-scriptc";
39+
import { scriptcPlugin } from "unplugin-scriptc";
4040

4141
export default {
4242
plugins: [scriptcPlugin.rollup({ entry: "src/main.ts" })],

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@sigilco/unplugin-scriptc",
2+
"name": "unplugin-scriptc",
33
"version": "0.1.0",
44
"description": "scriptc native compilation for any bundler via unplugin",
55
"keywords": [

‎src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @sigilco/unplugin-scriptc -- scriptc native compilation inside any bundler
1+
// unplugin-scriptc -- scriptc native compilation inside any bundler
22
// via the unplugin framework. One responsibility: run `scriptc build` on the
33
// app entry with the user's flag surface, and surface `scriptc coverage`
44
// diagnostics through the bundler's warning/error channel.

0 commit comments

Comments
 (0)