From e8761a1dd0cc4e79167cf73f5f9304b08eb96c04 Mon Sep 17 00:00:00 2001
From: StyleList94 <43318609+StyleList94@users.noreply.github.com>
Date: Sat, 25 Apr 2026 15:36:42 +0900
Subject: [PATCH 1/4] feat: migrate packages to `@stylelish` scope
* feat: scope plugin packages under `@stylelish`
* refactor: drop redundant qualifiers from two slugs
* docs: add migration banners to plugin readmes
---
.../README.md | 15 ++-
.../package.json | 2 +-
packages/vite-plugin-crush-envy/README.md | 13 +-
packages/vite-plugin-crush-envy/package.json | 2 +-
.../CHANGELOG.md | 0
.../LICENSE | 0
.../README.md | 17 ++-
.../eslint.config.js | 0
.../package.json | 6 +-
.../src/index.ts | 0
.../tsconfig.json | 0
.../tsdown.config.ts | 0
.../CHANGELOG.md | 0
.../LICENSE | 0
.../README.md | 21 ++--
.../eslint.config.js | 0
.../package.json | 6 +-
.../src/index.ts | 0
.../src/types.d.ts | 0
.../tsconfig.json | 0
.../tsdown.config.ts | 0
pnpm-lock.yaml | 119 ++++++++----------
22 files changed, 110 insertions(+), 91 deletions(-)
rename packages/{vite-plugin-sexy-declare-type => vite-plugin-declare-type}/CHANGELOG.md (100%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-declare-type}/LICENSE (100%)
rename packages/{vite-plugin-sexy-declare-type => vite-plugin-declare-type}/README.md (76%)
rename packages/{vite-plugin-sexy-declare-type => vite-plugin-declare-type}/eslint.config.js (100%)
rename packages/{vite-plugin-sexy-declare-type => vite-plugin-declare-type}/package.json (88%)
rename packages/{vite-plugin-sexy-declare-type => vite-plugin-declare-type}/src/index.ts (100%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-declare-type}/tsconfig.json (100%)
rename packages/{vite-plugin-sexy-declare-type => vite-plugin-declare-type}/tsdown.config.ts (100%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-react-svg}/CHANGELOG.md (100%)
rename packages/{vite-plugin-sexy-declare-type => vite-plugin-react-svg}/LICENSE (100%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-react-svg}/README.md (77%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-react-svg}/eslint.config.js (100%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-react-svg}/package.json (89%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-react-svg}/src/index.ts (100%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-react-svg}/src/types.d.ts (100%)
rename packages/{vite-plugin-sexy-declare-type => vite-plugin-react-svg}/tsconfig.json (100%)
rename packages/{vite-plugin-react-stylish-svg => vite-plugin-react-svg}/tsdown.config.ts (100%)
diff --git a/packages/rollup-plugin-im-client-component/README.md b/packages/rollup-plugin-im-client-component/README.md
index d42ca19..86f210e 100644
--- a/packages/rollup-plugin-im-client-component/README.md
+++ b/packages/rollup-plugin-im-client-component/README.md
@@ -1,8 +1,15 @@
# rollup-plugin-im-client-component
+> ⚠️ **Renamed from `rollup-plugin-im-client-component`.** The unscoped package is deprecated and will no longer receive updates. Update your imports:
+>
+> ```diff
+> - import clientDirective from 'rollup-plugin-im-client-component';
+> + import clientDirective from '@stylelish/rollup-plugin-im-client-component';
+> ```
+
Let your components say `'use client'` themselves
-[](https://www.npmjs.com/package/rollup-plugin-im-client-component)
+[](https://www.npmjs.com/package/@stylelish/rollup-plugin-im-client-component)
## Features
@@ -20,7 +27,7 @@ Let your components say `'use client'` themselves
### Installation
```bash
-pnpm add -D rollup-plugin-im-client-component
+pnpm add -D @stylelish/rollup-plugin-im-client-component
```
## Quick Start
@@ -32,7 +39,7 @@ pnpm add -D rollup-plugin-im-client-component
```typescript
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
-import clientDirective from 'rollup-plugin-im-client-component';
+import clientDirective from '@stylelish/rollup-plugin-im-client-component';
export default defineConfig({
build: {
@@ -55,7 +62,7 @@ export default defineConfig({
`rollup.config.js`
```typescript
-import clientDirective from 'rollup-plugin-im-client-component';
+import clientDirective from '@stylelish/rollup-plugin-im-client-component';
export default {
input: 'src/index.ts',
diff --git a/packages/rollup-plugin-im-client-component/package.json b/packages/rollup-plugin-im-client-component/package.json
index 2c03ce1..003b14a 100644
--- a/packages/rollup-plugin-im-client-component/package.json
+++ b/packages/rollup-plugin-im-client-component/package.json
@@ -1,5 +1,5 @@
{
- "name": "rollup-plugin-im-client-component",
+ "name": "@stylelish/rollup-plugin-im-client-component",
"version": "1.0.1",
"description": "Let your components say 'use client' themselves",
"author": "StyleList94",
diff --git a/packages/vite-plugin-crush-envy/README.md b/packages/vite-plugin-crush-envy/README.md
index 8ac336b..b1e6345 100644
--- a/packages/vite-plugin-crush-envy/README.md
+++ b/packages/vite-plugin-crush-envy/README.md
@@ -1,8 +1,15 @@
# Vite Plugin Crush Envy
+> ⚠️ **Renamed from `vite-plugin-crush-envy`.** The unscoped package is deprecated and will no longer receive updates. Update your imports:
+>
+> ```diff
+> - import crushEnvy from 'vite-plugin-crush-envy';
+> + import crushEnvy from '@stylelish/vite-plugin-crush-envy';
+> ```
+
Make `.env` type-safe, finally
-[](https://www.npmjs.com/package/vite-plugin-crush-envy)
+[](https://www.npmjs.com/package/@stylelish/vite-plugin-crush-envy)
## Features
@@ -20,7 +27,7 @@ Make `.env` type-safe, finally
### Install
```bash
-pnpm add -D vite-plugin-crush-envy
+pnpm add -D @stylelish/vite-plugin-crush-envy
```
## Quick Start
@@ -31,7 +38,7 @@ pnpm add -D vite-plugin-crush-envy
```typescript
import { defineConfig } from 'vite';
-import crushEnvy from 'vite-plugin-crush-envy';
+import crushEnvy from '@stylelish/vite-plugin-crush-envy';
export default defineConfig({
plugins: [crushEnvy()],
diff --git a/packages/vite-plugin-crush-envy/package.json b/packages/vite-plugin-crush-envy/package.json
index 3672393..580780d 100644
--- a/packages/vite-plugin-crush-envy/package.json
+++ b/packages/vite-plugin-crush-envy/package.json
@@ -1,5 +1,5 @@
{
- "name": "vite-plugin-crush-envy",
+ "name": "@stylelish/vite-plugin-crush-envy",
"version": "1.0.2",
"description": "Make .env type-safe, finally",
"author": "StyleList94",
diff --git a/packages/vite-plugin-sexy-declare-type/CHANGELOG.md b/packages/vite-plugin-declare-type/CHANGELOG.md
similarity index 100%
rename from packages/vite-plugin-sexy-declare-type/CHANGELOG.md
rename to packages/vite-plugin-declare-type/CHANGELOG.md
diff --git a/packages/vite-plugin-react-stylish-svg/LICENSE b/packages/vite-plugin-declare-type/LICENSE
similarity index 100%
rename from packages/vite-plugin-react-stylish-svg/LICENSE
rename to packages/vite-plugin-declare-type/LICENSE
diff --git a/packages/vite-plugin-sexy-declare-type/README.md b/packages/vite-plugin-declare-type/README.md
similarity index 76%
rename from packages/vite-plugin-sexy-declare-type/README.md
rename to packages/vite-plugin-declare-type/README.md
index 06ba33d..2cff48c 100644
--- a/packages/vite-plugin-sexy-declare-type/README.md
+++ b/packages/vite-plugin-declare-type/README.md
@@ -1,8 +1,15 @@
-# Vite Plugin Sexy Declare Type
+# Vite Plugin Declare Type
+
+> ⚠️ **Renamed from `vite-plugin-sexy-declare-type`.** The unscoped package is deprecated and will no longer receive updates. Update your imports:
+>
+> ```diff
+> - import sexyDeclareType from 'vite-plugin-sexy-declare-type';
+> + import declareType from '@stylelish/vite-plugin-declare-type';
+> ```
Zero-config TypeScript declaration file generator for Vite library mode
-[](https://www.npmjs.com/package/vite-plugin-sexy-declare-type)
+[](https://www.npmjs.com/package/@stylelish/vite-plugin-declare-type)
## Features
@@ -20,7 +27,7 @@ Zero-config TypeScript declaration file generator for Vite library mode
### Install
```bash
-pnpm add -D vite-plugin-sexy-declare-type
+pnpm add -D @stylelish/vite-plugin-declare-type
```
## Quick Start
@@ -31,7 +38,7 @@ pnpm add -D vite-plugin-sexy-declare-type
```typescript
import { defineConfig } from 'vite';
-import sexyDeclareType from 'vite-plugin-sexy-declare-type';
+import declareType from '@stylelish/vite-plugin-declare-type';
export default defineConfig({
build: {
@@ -40,7 +47,7 @@ export default defineConfig({
formats: ['es'],
},
},
- plugins: [sexyDeclareType()],
+ plugins: [declareType()],
});
```
diff --git a/packages/vite-plugin-sexy-declare-type/eslint.config.js b/packages/vite-plugin-declare-type/eslint.config.js
similarity index 100%
rename from packages/vite-plugin-sexy-declare-type/eslint.config.js
rename to packages/vite-plugin-declare-type/eslint.config.js
diff --git a/packages/vite-plugin-sexy-declare-type/package.json b/packages/vite-plugin-declare-type/package.json
similarity index 88%
rename from packages/vite-plugin-sexy-declare-type/package.json
rename to packages/vite-plugin-declare-type/package.json
index 6ed9b9f..dab830f 100644
--- a/packages/vite-plugin-sexy-declare-type/package.json
+++ b/packages/vite-plugin-declare-type/package.json
@@ -1,14 +1,14 @@
{
- "name": "vite-plugin-sexy-declare-type",
+ "name": "@stylelish/vite-plugin-declare-type",
"version": "1.0.6",
"description": "Zero-config TypeScript declaration file generator for Vite library mode",
"author": "StyleList94",
"license": "MIT",
- "homepage": "https://github.com/StyleList94/plugin-baby/tree/main/packages/vite-plugin-sexy-declare-type#readme",
+ "homepage": "https://github.com/StyleList94/plugin-baby/tree/main/packages/vite-plugin-declare-type#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/StyleList94/plugin-baby.git",
- "directory": "packages/vite-plugin-sexy-declare-type"
+ "directory": "packages/vite-plugin-declare-type"
},
"bugs": {
"url": "https://github.com/StyleList94/plugin-baby/issues"
diff --git a/packages/vite-plugin-sexy-declare-type/src/index.ts b/packages/vite-plugin-declare-type/src/index.ts
similarity index 100%
rename from packages/vite-plugin-sexy-declare-type/src/index.ts
rename to packages/vite-plugin-declare-type/src/index.ts
diff --git a/packages/vite-plugin-react-stylish-svg/tsconfig.json b/packages/vite-plugin-declare-type/tsconfig.json
similarity index 100%
rename from packages/vite-plugin-react-stylish-svg/tsconfig.json
rename to packages/vite-plugin-declare-type/tsconfig.json
diff --git a/packages/vite-plugin-sexy-declare-type/tsdown.config.ts b/packages/vite-plugin-declare-type/tsdown.config.ts
similarity index 100%
rename from packages/vite-plugin-sexy-declare-type/tsdown.config.ts
rename to packages/vite-plugin-declare-type/tsdown.config.ts
diff --git a/packages/vite-plugin-react-stylish-svg/CHANGELOG.md b/packages/vite-plugin-react-svg/CHANGELOG.md
similarity index 100%
rename from packages/vite-plugin-react-stylish-svg/CHANGELOG.md
rename to packages/vite-plugin-react-svg/CHANGELOG.md
diff --git a/packages/vite-plugin-sexy-declare-type/LICENSE b/packages/vite-plugin-react-svg/LICENSE
similarity index 100%
rename from packages/vite-plugin-sexy-declare-type/LICENSE
rename to packages/vite-plugin-react-svg/LICENSE
diff --git a/packages/vite-plugin-react-stylish-svg/README.md b/packages/vite-plugin-react-svg/README.md
similarity index 77%
rename from packages/vite-plugin-react-stylish-svg/README.md
rename to packages/vite-plugin-react-svg/README.md
index 0c64848..27f447c 100644
--- a/packages/vite-plugin-react-stylish-svg/README.md
+++ b/packages/vite-plugin-react-svg/README.md
@@ -1,8 +1,15 @@
-# Vite Plugin React Stylish SVG
+# Vite Plugin React SVG
+
+> ⚠️ **Renamed from `vite-plugin-react-stylish-svg`.** The unscoped package is deprecated and will no longer receive updates. Update your imports:
+>
+> ```diff
+> - import reactStylishSvg from 'vite-plugin-react-stylish-svg';
+> + import reactSvg from '@stylelish/vite-plugin-react-svg';
+> ```
Stylishly handling SVG in Vite + React
-[](https://www.npmjs.com/package/vite-plugin-react-stylish-svg)
+[](https://www.npmjs.com/package/@stylelish/vite-plugin-react-svg)
## Features
@@ -23,7 +30,7 @@ Stylishly handling SVG in Vite + React
### install
```bash
-pnpm add -D vite-plugin-react-stylish-svg
+pnpm add -D @stylelish/vite-plugin-react-svg
```
## Quick Start
@@ -35,10 +42,10 @@ pnpm add -D vite-plugin-react-stylish-svg
```typescript
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
-import reactStylishSvg from 'vite-plugin-react-stylish-svg';
+import reactSvg from '@stylelish/vite-plugin-react-svg';
export default defineConfig({
- plugins: [react(), reactStylishSvg()],
+ plugins: [react(), reactSvg()],
});
```
@@ -50,7 +57,7 @@ You can add type declarations in two ways.
```diff
///
-+ ///
++ ///
```
or `tsconfig.json`
@@ -58,7 +65,7 @@ or `tsconfig.json`
```json
{
"compilerOptions": {
- "types": ["vite-plugin-react-stylish-svg/types"]
+ "types": ["@stylelish/vite-plugin-react-svg/types"]
}
}
```
diff --git a/packages/vite-plugin-react-stylish-svg/eslint.config.js b/packages/vite-plugin-react-svg/eslint.config.js
similarity index 100%
rename from packages/vite-plugin-react-stylish-svg/eslint.config.js
rename to packages/vite-plugin-react-svg/eslint.config.js
diff --git a/packages/vite-plugin-react-stylish-svg/package.json b/packages/vite-plugin-react-svg/package.json
similarity index 89%
rename from packages/vite-plugin-react-stylish-svg/package.json
rename to packages/vite-plugin-react-svg/package.json
index 2f4cdce..203fff5 100644
--- a/packages/vite-plugin-react-stylish-svg/package.json
+++ b/packages/vite-plugin-react-svg/package.json
@@ -1,5 +1,5 @@
{
- "name": "vite-plugin-react-stylish-svg",
+ "name": "@stylelish/vite-plugin-react-svg",
"version": "1.0.6",
"description": "Stylishly handling SVG in Vite + React",
"author": "StyleList94",
@@ -7,9 +7,9 @@
"repository": {
"type": "git",
"url": "https://github.com/StyleList94/plugin-baby.git",
- "directory": "packages/vite-plugin-react-stylish-svg"
+ "directory": "packages/vite-plugin-react-svg"
},
- "homepage": "https://github.com/StyleList94/plugin-baby/tree/main/packages/vite-plugin-react-stylish-svg#readme",
+ "homepage": "https://github.com/StyleList94/plugin-baby/tree/main/packages/vite-plugin-react-svg#readme",
"bugs": {
"url": "https://github.com/StyleList94/plugin-baby/issues"
},
diff --git a/packages/vite-plugin-react-stylish-svg/src/index.ts b/packages/vite-plugin-react-svg/src/index.ts
similarity index 100%
rename from packages/vite-plugin-react-stylish-svg/src/index.ts
rename to packages/vite-plugin-react-svg/src/index.ts
diff --git a/packages/vite-plugin-react-stylish-svg/src/types.d.ts b/packages/vite-plugin-react-svg/src/types.d.ts
similarity index 100%
rename from packages/vite-plugin-react-stylish-svg/src/types.d.ts
rename to packages/vite-plugin-react-svg/src/types.d.ts
diff --git a/packages/vite-plugin-sexy-declare-type/tsconfig.json b/packages/vite-plugin-react-svg/tsconfig.json
similarity index 100%
rename from packages/vite-plugin-sexy-declare-type/tsconfig.json
rename to packages/vite-plugin-react-svg/tsconfig.json
diff --git a/packages/vite-plugin-react-stylish-svg/tsdown.config.ts b/packages/vite-plugin-react-svg/tsdown.config.ts
similarity index 100%
rename from packages/vite-plugin-react-stylish-svg/tsdown.config.ts
rename to packages/vite-plugin-react-svg/tsdown.config.ts
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cb866d1..22f52aa 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -111,20 +111,7 @@ importers:
specifier: ^7.3.0
version: 7.3.0(@types/node@24.10.4)(jiti@2.6.1)
- packages/vite-plugin-react-stylish-svg:
- dependencies:
- '@rollup/pluginutils':
- specifier: ^5.3.0
- version: 5.3.0(rollup@4.52.4)
- '@svgr/core':
- specifier: ^8.1.0
- version: 8.1.0(typescript@5.9.3)
- '@svgr/plugin-jsx':
- specifier: ^8.1.0
- version: 8.1.0(@svgr/core@8.1.0(typescript@5.9.3))
- react:
- specifier: '>=18.0.0'
- version: 19.2.0
+ packages/vite-plugin-declare-type:
devDependencies:
'@plugin-baby/eslint-config':
specifier: workspace:*
@@ -135,9 +122,6 @@ importers:
'@types/node':
specifier: ^24.10.4
version: 24.10.4
- '@types/react':
- specifier: ^19.2.7
- version: 19.2.7
tsdown:
specifier: ^0.20.3
version: 0.20.3(typescript@5.9.3)
@@ -148,7 +132,20 @@ importers:
specifier: ^7.3.0
version: 7.3.0(@types/node@24.10.4)(jiti@2.6.1)
- packages/vite-plugin-sexy-declare-type:
+ packages/vite-plugin-react-svg:
+ dependencies:
+ '@rollup/pluginutils':
+ specifier: ^5.3.0
+ version: 5.3.0(rollup@4.52.4)
+ '@svgr/core':
+ specifier: ^8.1.0
+ version: 8.1.0(typescript@5.9.3)
+ '@svgr/plugin-jsx':
+ specifier: ^8.1.0
+ version: 8.1.0(@svgr/core@8.1.0(typescript@5.9.3))
+ react:
+ specifier: '>=18.0.0'
+ version: 19.2.0
devDependencies:
'@plugin-baby/eslint-config':
specifier: workspace:*
@@ -159,6 +156,9 @@ importers:
'@types/node':
specifier: ^24.10.4
version: 24.10.4
+ '@types/react':
+ specifier: ^19.2.7
+ version: 19.2.7
tsdown:
specifier: ^0.20.3
version: 0.20.3(typescript@5.9.3)
@@ -217,10 +217,6 @@ packages:
resolution: {integrity: sha512-noLx87RwlBEMrTzncWd/FvTxoJ9+ycHNg0n8yyYydIoDsLZuxknKgWRJUqcrVkNrJ74uGyhWQzQaS3q8xfGAhQ==}
engines: {node: ^20.19.0 || >=22.12.0}
- '@babel/helper-validator-identifier@7.27.1':
- resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
- engines: {node: '>=6.9.0'}
-
'@babel/helper-validator-identifier@7.28.5':
resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
engines: {node: '>=6.9.0'}
@@ -237,11 +233,6 @@ packages:
resolution: {integrity: sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==}
engines: {node: '>=6.9.0'}
- '@babel/parser@7.28.4':
- resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==}
- engines: {node: '>=6.0.0'}
- hasBin: true
-
'@babel/parser@7.28.5':
resolution: {integrity: sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==}
engines: {node: '>=6.0.0'}
@@ -264,10 +255,6 @@ packages:
resolution: {integrity: sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==}
engines: {node: '>=6.9.0'}
- '@babel/types@7.28.4':
- resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==}
- engines: {node: '>=6.9.0'}
-
'@babel/types@7.28.5':
resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}
engines: {node: '>=6.9.0'}
@@ -644,24 +631,28 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@rolldown/binding-linux-arm64-musl@1.0.0-rc.3':
resolution: {integrity: sha512-Z03/wrqau9Bicfgb3Dbs6SYTHliELk2PM2LpG2nFd+cGupTMF5kanLEcj2vuuJLLhptNyS61rtk7SOZ+lPsTUA==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@rolldown/binding-linux-x64-gnu@1.0.0-rc.3':
resolution: {integrity: sha512-iSXXZsQp08CSilff/DCTFZHSVEpEwdicV3W8idHyrByrcsRDVh9sGC3sev6d8BygSGj3vt8GvUKBPCoyMA4tgQ==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@rolldown/binding-linux-x64-musl@1.0.0-rc.3':
resolution: {integrity: sha512-qaj+MFudtdCv9xZo9znFvkgoajLdc+vwf0Kz5N44g+LU5XMe+IsACgn3UG7uTRlCCvhMAGXm1XlpEA5bZBrOcw==}
engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@rolldown/binding-openharmony-arm64@1.0.0-rc.3':
resolution: {integrity: sha512-U662UnMETyjT65gFmG9ma+XziENrs7BBnENi/27swZPYagubfHRirXHG2oMl+pEax2WvO7Kb9gHZmMakpYqBHQ==}
@@ -732,56 +723,67 @@ packages:
resolution: {integrity: sha512-xRiOu9Of1FZ4SxVbB0iEDXc4ddIcjCv2aj03dmW8UrZIW7aIQ9jVJdLBIhxBI+MaTnGAKyvMwPwQnoOEvP7FgQ==}
cpu: [arm]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-arm-musleabihf@4.52.4':
resolution: {integrity: sha512-FbhM2p9TJAmEIEhIgzR4soUcsW49e9veAQCziwbR+XWB2zqJ12b4i/+hel9yLiD8pLncDH4fKIPIbt5238341Q==}
cpu: [arm]
os: [linux]
+ libc: [musl]
'@rollup/rollup-linux-arm64-gnu@4.52.4':
resolution: {integrity: sha512-4n4gVwhPHR9q/g8lKCyz0yuaD0MvDf7dV4f9tHt0C73Mp8h38UCtSCSE6R9iBlTbXlmA8CjpsZoujhszefqueg==}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-arm64-musl@4.52.4':
resolution: {integrity: sha512-u0n17nGA0nvi/11gcZKsjkLj1QIpAuPFQbR48Subo7SmZJnGxDpspyw2kbpuoQnyK+9pwf3pAoEXerJs/8Mi9g==}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@rollup/rollup-linux-loong64-gnu@4.52.4':
resolution: {integrity: sha512-0G2c2lpYtbTuXo8KEJkDkClE/+/2AFPdPAbmaHoE870foRFs4pBrDehilMcrSScrN/fB/1HTaWO4bqw+ewBzMQ==}
cpu: [loong64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-ppc64-gnu@4.52.4':
resolution: {integrity: sha512-teSACug1GyZHmPDv14VNbvZFX779UqWTsd7KtTM9JIZRDI5NUwYSIS30kzI8m06gOPB//jtpqlhmraQ68b5X2g==}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-riscv64-gnu@4.52.4':
resolution: {integrity: sha512-/MOEW3aHjjs1p4Pw1Xk4+3egRevx8Ji9N6HUIA1Ifh8Q+cg9dremvFCUbOX2Zebz80BwJIgCBUemjqhU5XI5Eg==}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-riscv64-musl@4.52.4':
resolution: {integrity: sha512-1HHmsRyh845QDpEWzOFtMCph5Ts+9+yllCrREuBR/vg2RogAQGGBRC8lDPrPOMnrdOJ+mt1WLMOC2Kao/UwcvA==}
cpu: [riscv64]
os: [linux]
+ libc: [musl]
'@rollup/rollup-linux-s390x-gnu@4.52.4':
resolution: {integrity: sha512-seoeZp4L/6D1MUyjWkOMRU6/iLmCU2EjbMTyAG4oIOs1/I82Y5lTeaxW0KBfkUdHAWN7j25bpkt0rjnOgAcQcA==}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-x64-gnu@4.52.4':
resolution: {integrity: sha512-Wi6AXf0k0L7E2gteNsNHUs7UMwCIhsCTs6+tqQ5GPwVRWMaflqGec4Sd8n6+FNFDw9vGcReqk2KzBDhCa1DLYg==}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@rollup/rollup-linux-x64-musl@4.52.4':
resolution: {integrity: sha512-dtBZYjDmCQ9hW+WgEkaffvRRCKm767wWhxsFW3Lw86VXz/uJRuD438/XvbZT//B96Vs8oTA8Q4A0AfHbrxP9zw==}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@rollup/rollup-openharmony-arm64@4.52.4':
resolution: {integrity: sha512-1ox+GqgRWqaB1RnyZXL8PD6E5f7YyRUJYnCqKpNzxzP0TkaUh112NDrR9Tt+C8rJ4x5G9Mk8PQR3o7Ku2RKqKA==}
@@ -1004,41 +1006,49 @@ packages:
resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==}
cpu: [arm64]
os: [linux]
+ libc: [glibc]
'@unrs/resolver-binding-linux-arm64-musl@1.11.1':
resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==}
cpu: [arm64]
os: [linux]
+ libc: [musl]
'@unrs/resolver-binding-linux-ppc64-gnu@1.11.1':
resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==}
cpu: [ppc64]
os: [linux]
+ libc: [glibc]
'@unrs/resolver-binding-linux-riscv64-gnu@1.11.1':
resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==}
cpu: [riscv64]
os: [linux]
+ libc: [glibc]
'@unrs/resolver-binding-linux-riscv64-musl@1.11.1':
resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==}
cpu: [riscv64]
os: [linux]
+ libc: [musl]
'@unrs/resolver-binding-linux-s390x-gnu@1.11.1':
resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==}
cpu: [s390x]
os: [linux]
+ libc: [glibc]
'@unrs/resolver-binding-linux-x64-gnu@1.11.1':
resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==}
cpu: [x64]
os: [linux]
+ libc: [glibc]
'@unrs/resolver-binding-linux-x64-musl@1.11.1':
resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==}
cpu: [x64]
os: [linux]
+ libc: [musl]
'@unrs/resolver-binding-wasm32-wasi@1.11.1':
resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==}
@@ -1885,10 +1895,6 @@ packages:
resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
hasBin: true
- js-yaml@4.1.0:
- resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
- hasBin: true
-
js-yaml@4.1.1:
resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==}
hasBin: true
@@ -2628,7 +2634,7 @@ snapshots:
'@babel/code-frame@7.27.1':
dependencies:
- '@babel/helper-validator-identifier': 7.27.1
+ '@babel/helper-validator-identifier': 7.28.5
js-tokens: 4.0.0
picocolors: 1.1.1
@@ -2641,10 +2647,10 @@ snapshots:
'@babel/helper-compilation-targets': 7.27.2
'@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.4)
'@babel/helpers': 7.28.4
- '@babel/parser': 7.28.4
+ '@babel/parser': 7.28.5
'@babel/template': 7.27.2
'@babel/traverse': 7.28.4
- '@babel/types': 7.28.4
+ '@babel/types': 7.28.5
'@jridgewell/remapping': 2.3.5
convert-source-map: 2.0.0
debug: 4.4.3
@@ -2656,8 +2662,8 @@ snapshots:
'@babel/generator@7.28.3':
dependencies:
- '@babel/parser': 7.28.4
- '@babel/types': 7.28.4
+ '@babel/parser': 7.28.5
+ '@babel/types': 7.28.5
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
jsesc: 3.1.0
@@ -2684,7 +2690,7 @@ snapshots:
'@babel/helper-module-imports@7.27.1':
dependencies:
'@babel/traverse': 7.28.4
- '@babel/types': 7.28.4
+ '@babel/types': 7.28.5
transitivePeerDependencies:
- supports-color
@@ -2692,7 +2698,7 @@ snapshots:
dependencies:
'@babel/core': 7.28.4
'@babel/helper-module-imports': 7.27.1
- '@babel/helper-validator-identifier': 7.27.1
+ '@babel/helper-validator-identifier': 7.28.5
'@babel/traverse': 7.28.4
transitivePeerDependencies:
- supports-color
@@ -2701,8 +2707,6 @@ snapshots:
'@babel/helper-string-parser@8.0.0-rc.2': {}
- '@babel/helper-validator-identifier@7.27.1': {}
-
'@babel/helper-validator-identifier@7.28.5': {}
'@babel/helper-validator-identifier@8.0.0-rc.1': {}
@@ -2712,11 +2716,7 @@ snapshots:
'@babel/helpers@7.28.4':
dependencies:
'@babel/template': 7.27.2
- '@babel/types': 7.28.4
-
- '@babel/parser@7.28.4':
- dependencies:
- '@babel/types': 7.28.4
+ '@babel/types': 7.28.5
'@babel/parser@7.28.5':
dependencies:
@@ -2731,26 +2731,21 @@ snapshots:
'@babel/template@7.27.2':
dependencies:
'@babel/code-frame': 7.27.1
- '@babel/parser': 7.28.4
- '@babel/types': 7.28.4
+ '@babel/parser': 7.28.5
+ '@babel/types': 7.28.5
'@babel/traverse@7.28.4':
dependencies:
'@babel/code-frame': 7.27.1
'@babel/generator': 7.28.3
'@babel/helper-globals': 7.28.0
- '@babel/parser': 7.28.4
+ '@babel/parser': 7.28.5
'@babel/template': 7.27.2
- '@babel/types': 7.28.4
+ '@babel/types': 7.28.5
debug: 4.4.3
transitivePeerDependencies:
- supports-color
- '@babel/types@7.28.4':
- dependencies:
- '@babel/helper-string-parser': 7.27.1
- '@babel/helper-validator-identifier': 7.27.1
-
'@babel/types@7.28.5':
dependencies:
'@babel/helper-string-parser': 7.27.1
@@ -3308,7 +3303,7 @@ snapshots:
'@svgr/hast-util-to-babel-ast@8.0.0':
dependencies:
- '@babel/types': 7.28.4
+ '@babel/types': 7.28.5
entities: 4.5.0
'@svgr/plugin-jsx@8.1.0(@svgr/core@8.1.0(typescript@5.9.3))':
@@ -3694,7 +3689,7 @@ snapshots:
cosmiconfig@8.3.6(typescript@5.9.3):
dependencies:
import-fresh: 3.3.1
- js-yaml: 4.1.0
+ js-yaml: 4.1.1
parse-json: 5.2.0
path-type: 4.0.0
optionalDependencies:
@@ -4485,10 +4480,6 @@ snapshots:
argparse: 1.0.10
esprima: 4.0.1
- js-yaml@4.1.0:
- dependencies:
- argparse: 2.0.1
-
js-yaml@4.1.1:
dependencies:
argparse: 2.0.1
From cb676320d5d9764d10c7b9248297b27f6533ac27 Mon Sep 17 00:00:00 2001
From: StyleList94 <43318609+StyleList94@users.noreply.github.com>
Date: Sat, 25 Apr 2026 15:38:14 +0900
Subject: [PATCH 2/4] docs: slim claude.md to non-obvious info
---
CLAUDE.md | 71 ++++++-------------------------------------------------
1 file changed, 7 insertions(+), 64 deletions(-)
diff --git a/CLAUDE.md b/CLAUDE.md
index ffa9ff6..f6f9c1c 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -2,78 +2,21 @@
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
-## Repository Overview
-
-Plugin monorepo managed with pnpm workspaces, Turborepo, and changesets. Contains Vite/Rollup plugin packages published to npm.
-
-## Commands
-
-```bash
-pnpm build # Build all packages (via Turbo)
-pnpm lint # Lint all packages (via Turbo)
-pnpm format # Format with Prettier (ts, md)
-pnpm check-types # Type check all packages
-
-# Single package (from root)
-pnpm --filter build
-pnpm --filter lint
-
-# Per-package (run from package directory)
-pnpm build # tsdown
-pnpm dev # tsdown --watch
-pnpm lint # eslint src
-
-# Release
-pnpm changeset # Create changeset
-pnpm version # Apply changesets to versions
-pnpm release # Build + publish to npm
-```
-
## Architecture
```text
packages/
- _eslint-config/ # Shared ESLint flat config (@plugin-baby/eslint-config)
- _typescript-config/ # Shared tsconfig for tsdown (@plugin-baby/typescript-config)
- rollup-plugin-im-client-component/ # Auto 'use client' directive injection
- vite-plugin-crush-envy/ # Type-safe .env for Vite
- vite-plugin-react-stylish-svg/ # SVG as React component
- vite-plugin-sexy-declare-type/ # Auto .d.ts generation
+ _eslint-config/ # @plugin-baby/eslint-config — Shared ESLint flat config (internal)
+ _typescript-config/ # @plugin-baby/typescript-config — Shared tsconfig for tsdown (internal)
+ rollup-plugin-im-client-component/ # @stylelish/rollup-plugin-im-client-component — Auto 'use client' directive injection
+ vite-plugin-crush-envy/ # @stylelish/vite-plugin-crush-envy — Type-safe .env for Vite
+ vite-plugin-declare-type/ # @stylelish/vite-plugin-declare-type — Auto .d.ts generation
+ vite-plugin-react-svg/ # @stylelish/vite-plugin-react-svg — SVG as React component
```
-Internal config packages are prefixed with `_` for visual grouping. All plugin packages follow the same structure:
-
-- `src/` → source code (TypeScript)
-- `dist/` → build output (tsdown)
-- `eslint.config.js` → extends `@plugin-baby/eslint-config/base`
-- `tsconfig.json` → extends `@plugin-baby/typescript-config/tsdown.json`
-
-## Build System
-
-- **tsdown** (powered by Rolldown) builds all plugin packages
-- Turbo orchestrates builds with `^build` dependency graph
-- Each package declares `external` in `tsdown.config.ts` for peer dependencies (e.g., `rollup`, `vite`)
-
-## Shared Configs
-
-- **ESLint**: Flat config using `eslint-config-stylish` + `eslint-config-stylish/typescript`, with turbo plugin and prettier integration
-- **TypeScript**: `strict: true`, `verbatimModuleSyntax: true`, `module: preserve`, `moduleResolution: bundler`, target esnext
-- **Prettier**: Single quotes, trailing commas, 80 print width
-
-## Release Process
-
-Changesets manages independent versioning per package. Each package has its own version and changelog. `access: public` in changeset config. Release workflow runs on push to `main` via GitHub Actions.
-
-## Conventions
-
-- Package names use creative/stylish naming (e.g., crush-envy, sexy-declare-type, im-client-component)
-- All packages are pure ESM (`"type": "module"`)
-- `workspace:*` for internal dependency references
-- Commit messages follow conventional commits (`feat:`, `chore:`, `ci:`, `fix:`)
+Public plugins publish under `@stylelish/*`; internal-only configs stay under `@plugin-baby/*` and don't publish. Directory names use the unscoped form; only `package.json` `name` carries the scope.
## Gotchas
- tsdown bundles all deps not listed in `external` of `tsdown.config.ts` — peer deps like `rollup` or `vite` must be explicitly external
- Vite may convert single quotes to double quotes in build output — idempotency checks in plugins should handle both quote styles
-- Changesets support multiple packages with different bump types in a single changeset file (e.g., one package major, others patch)
-- Internal config packages (`_eslint-config`, `_typescript-config`) use `_` prefix for directory sorting only — package names remain `@plugin-baby/*`
From 151874c5f9316541e73e0e968eeedf2a464fbec4 Mon Sep 17 00:00:00 2001
From: StyleList94 <43318609+StyleList94@users.noreply.github.com>
Date: Sat, 25 Apr 2026 16:11:32 +0900
Subject: [PATCH 3/4] docs: update changelog headings to scoped names
---
packages/rollup-plugin-im-client-component/CHANGELOG.md | 2 +-
packages/vite-plugin-crush-envy/CHANGELOG.md | 2 +-
packages/vite-plugin-declare-type/CHANGELOG.md | 2 +-
packages/vite-plugin-react-svg/CHANGELOG.md | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/packages/rollup-plugin-im-client-component/CHANGELOG.md b/packages/rollup-plugin-im-client-component/CHANGELOG.md
index 118fe43..b8e609d 100644
--- a/packages/rollup-plugin-im-client-component/CHANGELOG.md
+++ b/packages/rollup-plugin-im-client-component/CHANGELOG.md
@@ -1,4 +1,4 @@
-# rollup-plugin-im-client-component
+# @stylelish/rollup-plugin-im-client-component
## 1.0.1
diff --git a/packages/vite-plugin-crush-envy/CHANGELOG.md b/packages/vite-plugin-crush-envy/CHANGELOG.md
index 25609e9..990e6ad 100644
--- a/packages/vite-plugin-crush-envy/CHANGELOG.md
+++ b/packages/vite-plugin-crush-envy/CHANGELOG.md
@@ -1,4 +1,4 @@
-# vite-plugin-crush-envy
+# @stylelish/vite-plugin-crush-envy
## 1.0.2
diff --git a/packages/vite-plugin-declare-type/CHANGELOG.md b/packages/vite-plugin-declare-type/CHANGELOG.md
index d2b16a8..4be8c0e 100644
--- a/packages/vite-plugin-declare-type/CHANGELOG.md
+++ b/packages/vite-plugin-declare-type/CHANGELOG.md
@@ -1,4 +1,4 @@
-# vite-plugin-sexy-declare-type
+# @stylelish/vite-plugin-declare-type
## 1.0.6
diff --git a/packages/vite-plugin-react-svg/CHANGELOG.md b/packages/vite-plugin-react-svg/CHANGELOG.md
index aa75383..26f2a51 100644
--- a/packages/vite-plugin-react-svg/CHANGELOG.md
+++ b/packages/vite-plugin-react-svg/CHANGELOG.md
@@ -1,4 +1,4 @@
-# vite-plugin-react-stylish-svg
+# @stylelish/vite-plugin-react-svg
## 1.0.6
From ed9421229cd2a90e79b9638e7f3868ed5391efcf Mon Sep 17 00:00:00 2001
From: StyleList94 <43318609+StyleList94@users.noreply.github.com>
Date: Sat, 25 Apr 2026 16:25:32 +0900
Subject: [PATCH 4/4] chore: create changeset
---
.changeset/real-breads-add.md | 5 +++++
.changeset/sad-bananas-hug.md | 5 +++++
.changeset/sweet-eels-rule.md | 5 +++++
.changeset/tricky-mirrors-drive.md | 5 +++++
4 files changed, 20 insertions(+)
create mode 100644 .changeset/real-breads-add.md
create mode 100644 .changeset/sad-bananas-hug.md
create mode 100644 .changeset/sweet-eels-rule.md
create mode 100644 .changeset/tricky-mirrors-drive.md
diff --git a/.changeset/real-breads-add.md b/.changeset/real-breads-add.md
new file mode 100644
index 0000000..be04a36
--- /dev/null
+++ b/.changeset/real-breads-add.md
@@ -0,0 +1,5 @@
+---
+'@stylelish/vite-plugin-declare-type': major
+---
+
+Renamed to `@stylelish/vite-plugin-declare-type`.
diff --git a/.changeset/sad-bananas-hug.md b/.changeset/sad-bananas-hug.md
new file mode 100644
index 0000000..2fa3ea1
--- /dev/null
+++ b/.changeset/sad-bananas-hug.md
@@ -0,0 +1,5 @@
+---
+'@stylelish/rollup-plugin-im-client-component': major
+---
+
+Renamed to `@stylelish/rollup-plugin-im-client-component`.
diff --git a/.changeset/sweet-eels-rule.md b/.changeset/sweet-eels-rule.md
new file mode 100644
index 0000000..9ca3eb6
--- /dev/null
+++ b/.changeset/sweet-eels-rule.md
@@ -0,0 +1,5 @@
+---
+'@stylelish/vite-plugin-react-svg': major
+---
+
+Renamed to `@stylelish/vite-plugin-react-svg`.
diff --git a/.changeset/tricky-mirrors-drive.md b/.changeset/tricky-mirrors-drive.md
new file mode 100644
index 0000000..2a8daaf
--- /dev/null
+++ b/.changeset/tricky-mirrors-drive.md
@@ -0,0 +1,5 @@
+---
+'@stylelish/vite-plugin-crush-envy': major
+---
+
+Renamed to `@stylelish/vite-plugin-crush-envy`.