styleframe 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +171 -0
  3. package/dist/plugin/astro.cjs +8 -0
  4. package/dist/plugin/astro.d.cts +2 -0
  5. package/dist/plugin/astro.d.ts +2 -0
  6. package/dist/plugin/astro.js +8 -0
  7. package/dist/plugin/astro.js.map +1 -0
  8. package/dist/plugin/chunk-CUT6urMc.cjs +30 -0
  9. package/dist/plugin/esbuild.cjs +8 -0
  10. package/dist/plugin/esbuild.d.cts +2 -0
  11. package/dist/plugin/esbuild.d.ts +2 -0
  12. package/dist/plugin/esbuild.js +8 -0
  13. package/dist/plugin/esbuild.js.map +1 -0
  14. package/dist/plugin/farm.cjs +8 -0
  15. package/dist/plugin/farm.d.cts +2 -0
  16. package/dist/plugin/farm.d.ts +2 -0
  17. package/dist/plugin/farm.js +8 -0
  18. package/dist/plugin/farm.js.map +1 -0
  19. package/dist/plugin/nuxt.cjs +8 -0
  20. package/dist/plugin/nuxt.d.cts +2 -0
  21. package/dist/plugin/nuxt.d.ts +2 -0
  22. package/dist/plugin/nuxt.js +8 -0
  23. package/dist/plugin/nuxt.js.map +1 -0
  24. package/dist/plugin/rollup.cjs +8 -0
  25. package/dist/plugin/rollup.d.cts +2 -0
  26. package/dist/plugin/rollup.d.ts +2 -0
  27. package/dist/plugin/rollup.js +8 -0
  28. package/dist/plugin/rollup.js.map +1 -0
  29. package/dist/plugin/rspack.cjs +8 -0
  30. package/dist/plugin/rspack.d.cts +2 -0
  31. package/dist/plugin/rspack.d.ts +2 -0
  32. package/dist/plugin/rspack.js +8 -0
  33. package/dist/plugin/rspack.js.map +1 -0
  34. package/dist/plugin/vite.cjs +8 -0
  35. package/dist/plugin/vite.d.cts +2 -0
  36. package/dist/plugin/vite.d.ts +2 -0
  37. package/dist/plugin/vite.js +8 -0
  38. package/dist/plugin/vite.js.map +1 -0
  39. package/dist/plugin/webpack.cjs +8 -0
  40. package/dist/plugin/webpack.d.cts +2 -0
  41. package/dist/plugin/webpack.d.ts +2 -0
  42. package/dist/plugin/webpack.js +8 -0
  43. package/dist/plugin/webpack.js.map +1 -0
  44. package/package.json +54 -7
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Alex Grozav
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,171 @@
1
+ <div align="center">
2
+ <img src="https://www.styleframe.dev/_vercel/image?url=%2Flogotype-light.svg&w=1536&q=100" alt="Styleframe" width="320" height="120">
3
+
4
+ **Type-safe, Composable CSS in TypeScript**
5
+
6
+ Write type-safe, composable, future-proof Design Systems code using styleframe's powerful TypeScript CSS API.
7
+
8
+ [![npm version](https://img.shields.io/npm/v/styleframe.svg)](https://www.npmjs.com/package/styleframe)
9
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/styleframe-dev/styleframe/blob/main/LICENSE)
10
+ [![Discord](https://img.shields.io/discord/1395724958919032943?label=Discord&logo=discord)](https://discord.gg/KCVwuGz44M)
11
+
12
+ [Homepage](https://styleframe.dev) · [Documentation](https://styleframe.dev/docs)
13
+
14
+ </div>
15
+
16
+ ---
17
+
18
+ # styleframe
19
+
20
+ ## ✨ Features
21
+
22
+ - **🛡️ Type-safe CSS API** - Catch style bugs at compile time with full TypeScript support
23
+ - **🧩 Composable & Modular** - Build design systems from reusable, composable functions
24
+ - **🎨 Built-in Theming** - Create light/dark modes and custom themes effortlessly
25
+ - **⚡ Framework Agnostic** - Works with React, Vue, Svelte, Solid, Astro, and more
26
+ - **🔥 First-class DX** - IDE auto-complete, in-editor docs, and static analysis
27
+
28
+ ## 🚀 Quick Start
29
+
30
+ ### Installation
31
+
32
+ ```bash
33
+ # npm
34
+ npm install styleframe
35
+
36
+ # pnpm
37
+ pnpm add styleframe
38
+
39
+ # yarn
40
+ yarn add styleframe
41
+
42
+ # bun
43
+ bun add styleframe
44
+ ```
45
+
46
+ ### Initialization
47
+
48
+ ```bash
49
+ # npm
50
+ npx styleframe init
51
+
52
+ # pnpm
53
+ pnpx styleframe init
54
+
55
+ # yarn
56
+ yarn styleframe init
57
+
58
+ # bun
59
+ bunx styleframe init
60
+ ```
61
+
62
+ Using the CLI command above, it will:
63
+
64
+ - Install `styleframe` as a development dependency to your project
65
+ - Add the `styleframe` plugin to Vite, if possible
66
+ - Create a new `styleframe.config.ts` file
67
+
68
+ ## 💡 Usage
69
+
70
+ ```typescript
71
+ import { styleframe } from "styleframe";
72
+
73
+ const s = styleframe();
74
+ const { variable, ref, selector, theme } = s;
75
+
76
+ // Define design tokens
77
+ const colorPrimary = variable("color--primary", "#006cff");
78
+ const spacing = variable("spacing--md", "1rem");
79
+
80
+ // Create styles
81
+ selector(".button", {
82
+ backgroundColor: ref(colorPrimary),
83
+ padding: ref(spacing),
84
+ borderRadius: "4px",
85
+ color: "white",
86
+
87
+ "&:hover": {
88
+ opacity: 0.9,
89
+ },
90
+ });
91
+
92
+ // Add dark theme
93
+ theme("dark", (ctx) => {
94
+ ctx.variable(colorPrimary, "#60a5fa");
95
+ });
96
+
97
+ export default s;
98
+ ```
99
+
100
+ ## 📚 Documentation
101
+
102
+ Styleframe is extremely powerful and flexible. The code preview above is just a small example of what you can achieve with styleframe.
103
+
104
+ Read the full documentation at [https://styleframe.dev](https://styleframe.dev).
105
+
106
+ ## 🎯 Why styleframe?
107
+
108
+ After over 10 years of working on Design Systems for successful companies, we've learned a lot about what makes a great Design System. Styleframe is built on these learnings and is designed to help you easily build your own.
109
+
110
+ [Read more](https://styleframe.dev/docs) about styleframe's philosophy and design principles.
111
+
112
+ ## 🔗 Framework Integration
113
+
114
+ Styleframe works seamlessly with any framework:
115
+
116
+ - **Vite** - Native plugin support
117
+ - **React** - Perfect for component libraries
118
+ - **Vue** - Full SFC compatibility
119
+ - **Svelte** - Works out of the box
120
+ - **Astro** - Static site ready
121
+ - **Solid** - Reactive styling
122
+
123
+ See the [installation guide](https://styleframe.dev/docs/getting-started/installation/vite) for framework-specific setup.
124
+
125
+ ## 📖 Documentation
126
+
127
+ - **[Getting Started](https://styleframe.dev/docs/getting-started/introduction)** - Learn the basics
128
+ - **[API Reference](https://styleframe.dev/docs/api/variables)** - Complete API documentation
129
+ - **[Guides](https://styleframe.dev/docs/resources/guides)** - Step-by-step tutorials
130
+ - **[Examples](https://github.com/styleframe-dev/examples)** - Real-world examples
131
+
132
+ ## 🤝 Community
133
+
134
+ - **[Discord](https://discord.gg/KCVwuGz44M)** - Chat with the community
135
+ - **[GitHub Issues](https://github.com/styleframe-dev/styleframe/issues)** - Report bugs or request features
136
+ - **[Discussions](https://github.com/styleframe-dev/styleframe/discussions)** - Ask questions and share ideas
137
+
138
+ ## 🛠️ Development
139
+
140
+ ```bash
141
+ # Clone the repository
142
+ git clone https://github.com/styleframe-dev/styleframe.git
143
+
144
+ # Install dependencies
145
+ pnpm install
146
+
147
+ # Run tests
148
+ pnpm test
149
+
150
+ # Build
151
+ pnpm build
152
+ ```
153
+
154
+ ## 📝 License
155
+
156
+ Styleframe is [MIT licensed](https://github.com/styleframe-dev/styleframe/blob/main/LICENSE).
157
+
158
+ ## 💎 Styleframe Pro
159
+
160
+ Looking for advanced features? Check out [Styleframe Pro](https://styleframe.dev/pricing) for:
161
+
162
+ - Premium composables and design tokens
163
+ - Advanced theming capabilities
164
+ - Priority support
165
+ - Commercial licenses
166
+
167
+ ---
168
+
169
+ <div align="center">
170
+ <sub>Built with ❤️ by <a href="https://github.com/styleframe-dev">Styleframe</a></sub>
171
+ </div>
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const __styleframe_plugin_astro = require_chunk.__toESM(require("@styleframe/plugin/astro"));
3
+
4
+ //#region src/plugin/astro.ts
5
+ var astro_default = __styleframe_plugin_astro.default;
6
+
7
+ //#endregion
8
+ module.exports = astro_default;
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/astro";
2
+ export { plugin as default };
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/astro";
2
+ export { plugin as default };
@@ -0,0 +1,8 @@
1
+ import plugin from "@styleframe/plugin/astro";
2
+
3
+ //#region src/plugin/astro.ts
4
+ var astro_default = plugin;
5
+
6
+ //#endregion
7
+ export { astro_default as default };
8
+ //# sourceMappingURL=astro.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"astro.js","names":[],"sources":["../../src/plugin/astro.ts"],"sourcesContent":["import plugin from \"@styleframe/plugin/astro\";\n\nexport default plugin;\n"],"mappings":";;;AAEA,oBAAe"}
@@ -0,0 +1,30 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+
23
+ //#endregion
24
+
25
+ Object.defineProperty(exports, '__toESM', {
26
+ enumerable: true,
27
+ get: function () {
28
+ return __toESM;
29
+ }
30
+ });
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const __styleframe_plugin_esbuild = require_chunk.__toESM(require("@styleframe/plugin/esbuild"));
3
+
4
+ //#region src/plugin/esbuild.ts
5
+ var esbuild_default = __styleframe_plugin_esbuild.default;
6
+
7
+ //#endregion
8
+ module.exports = esbuild_default;
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/esbuild";
2
+ export { plugin as default };
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/esbuild";
2
+ export { plugin as default };
@@ -0,0 +1,8 @@
1
+ import plugin from "@styleframe/plugin/esbuild";
2
+
3
+ //#region src/plugin/esbuild.ts
4
+ var esbuild_default = plugin;
5
+
6
+ //#endregion
7
+ export { esbuild_default as default };
8
+ //# sourceMappingURL=esbuild.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"esbuild.js","names":[],"sources":["../../src/plugin/esbuild.ts"],"sourcesContent":["import plugin from \"@styleframe/plugin/esbuild\";\n\nexport default plugin;\n"],"mappings":";;;AAEA,sBAAe"}
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const __styleframe_plugin_farm = require_chunk.__toESM(require("@styleframe/plugin/farm"));
3
+
4
+ //#region src/plugin/farm.ts
5
+ var farm_default = __styleframe_plugin_farm.default;
6
+
7
+ //#endregion
8
+ module.exports = farm_default;
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/farm";
2
+ export { plugin as default };
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/farm";
2
+ export { plugin as default };
@@ -0,0 +1,8 @@
1
+ import plugin from "@styleframe/plugin/farm";
2
+
3
+ //#region src/plugin/farm.ts
4
+ var farm_default = plugin;
5
+
6
+ //#endregion
7
+ export { farm_default as default };
8
+ //# sourceMappingURL=farm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"farm.js","names":[],"sources":["../../src/plugin/farm.ts"],"sourcesContent":["import plugin from \"@styleframe/plugin/farm\";\n\nexport default plugin;\n"],"mappings":";;;AAEA,mBAAe"}
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const __styleframe_plugin_nuxt = require_chunk.__toESM(require("@styleframe/plugin/nuxt"));
3
+
4
+ //#region src/plugin/nuxt.ts
5
+ var nuxt_default = __styleframe_plugin_nuxt.default;
6
+
7
+ //#endregion
8
+ module.exports = nuxt_default;
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/nuxt";
2
+ export { plugin as default };
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/nuxt";
2
+ export { plugin as default };
@@ -0,0 +1,8 @@
1
+ import plugin from "@styleframe/plugin/nuxt";
2
+
3
+ //#region src/plugin/nuxt.ts
4
+ var nuxt_default = plugin;
5
+
6
+ //#endregion
7
+ export { nuxt_default as default };
8
+ //# sourceMappingURL=nuxt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nuxt.js","names":[],"sources":["../../src/plugin/nuxt.ts"],"sourcesContent":["import plugin from \"@styleframe/plugin/nuxt\";\n\nexport default plugin;\n"],"mappings":";;;AAEA,mBAAe"}
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const __styleframe_plugin_rollup = require_chunk.__toESM(require("@styleframe/plugin/rollup"));
3
+
4
+ //#region src/plugin/rollup.ts
5
+ var rollup_default = __styleframe_plugin_rollup.default;
6
+
7
+ //#endregion
8
+ module.exports = rollup_default;
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/rollup";
2
+ export { plugin as default };
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/rollup";
2
+ export { plugin as default };
@@ -0,0 +1,8 @@
1
+ import plugin from "@styleframe/plugin/rollup";
2
+
3
+ //#region src/plugin/rollup.ts
4
+ var rollup_default = plugin;
5
+
6
+ //#endregion
7
+ export { rollup_default as default };
8
+ //# sourceMappingURL=rollup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rollup.js","names":[],"sources":["../../src/plugin/rollup.ts"],"sourcesContent":["import plugin from \"@styleframe/plugin/rollup\";\n\nexport default plugin;\n"],"mappings":";;;AAEA,qBAAe"}
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const __styleframe_plugin_rspack = require_chunk.__toESM(require("@styleframe/plugin/rspack"));
3
+
4
+ //#region src/plugin/rspack.ts
5
+ var rspack_default = __styleframe_plugin_rspack.default;
6
+
7
+ //#endregion
8
+ module.exports = rspack_default;
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/rspack";
2
+ export { plugin as default };
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/rspack";
2
+ export { plugin as default };
@@ -0,0 +1,8 @@
1
+ import plugin from "@styleframe/plugin/rspack";
2
+
3
+ //#region src/plugin/rspack.ts
4
+ var rspack_default = plugin;
5
+
6
+ //#endregion
7
+ export { rspack_default as default };
8
+ //# sourceMappingURL=rspack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rspack.js","names":[],"sources":["../../src/plugin/rspack.ts"],"sourcesContent":["import plugin from \"@styleframe/plugin/rspack\";\n\nexport default plugin;\n"],"mappings":";;;AAEA,qBAAe"}
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const __styleframe_plugin_vite = require_chunk.__toESM(require("@styleframe/plugin/vite"));
3
+
4
+ //#region src/plugin/vite.ts
5
+ var vite_default = __styleframe_plugin_vite.default;
6
+
7
+ //#endregion
8
+ module.exports = vite_default;
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/vite";
2
+ export { plugin as default };
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/vite";
2
+ export { plugin as default };
@@ -0,0 +1,8 @@
1
+ import plugin from "@styleframe/plugin/vite";
2
+
3
+ //#region src/plugin/vite.ts
4
+ var vite_default = plugin;
5
+
6
+ //#endregion
7
+ export { vite_default as default };
8
+ //# sourceMappingURL=vite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vite.js","names":[],"sources":["../../src/plugin/vite.ts"],"sourcesContent":["import plugin from \"@styleframe/plugin/vite\";\n\nexport default plugin;\n"],"mappings":";;;AAEA,mBAAe"}
@@ -0,0 +1,8 @@
1
+ const require_chunk = require('./chunk-CUT6urMc.cjs');
2
+ const __styleframe_plugin_webpack = require_chunk.__toESM(require("@styleframe/plugin/webpack"));
3
+
4
+ //#region src/plugin/webpack.ts
5
+ var webpack_default = __styleframe_plugin_webpack.default;
6
+
7
+ //#endregion
8
+ module.exports = webpack_default;
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/webpack";
2
+ export { plugin as default };
@@ -0,0 +1,2 @@
1
+ import plugin from "@styleframe/plugin/webpack";
2
+ export { plugin as default };
@@ -0,0 +1,8 @@
1
+ import plugin from "@styleframe/plugin/webpack";
2
+
3
+ //#region src/plugin/webpack.ts
4
+ var webpack_default = plugin;
5
+
6
+ //#endregion
7
+ export { webpack_default as default };
8
+ //# sourceMappingURL=webpack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webpack.js","names":[],"sources":["../../src/plugin/webpack.ts"],"sourcesContent":["import plugin from \"@styleframe/plugin/webpack\";\n\nexport default plugin;\n"],"mappings":";;;AAEA,sBAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "styleframe",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "bin": {
5
5
  "styleframe": "./dist/cli.cjs"
6
6
  },
@@ -8,8 +8,10 @@
8
8
  "type": "module",
9
9
  "license": "MIT",
10
10
  "files": [
11
+ "README.md",
11
12
  "dist"
12
13
  ],
14
+ "sideEffects": false,
13
15
  "main": "./dist/index.js",
14
16
  "module": "./dist/index.js",
15
17
  "types": "./dist/index.d.ts",
@@ -34,24 +36,66 @@
34
36
  "import": "./dist/transpiler.js",
35
37
  "require": "./dist/transpiler.cjs"
36
38
  },
39
+ "./plugin/astro": {
40
+ "types": "./dist/plugin/astro.d.ts",
41
+ "import": "./dist/plugin/astro.js",
42
+ "require": "./dist/plugin/astro.cjs"
43
+ },
44
+ "./plugin/esbuild": {
45
+ "types": "./dist/plugin/esbuild.d.ts",
46
+ "import": "./dist/plugin/esbuild.js",
47
+ "require": "./dist/plugin/esbuild.cjs"
48
+ },
49
+ "./plugin/farm": {
50
+ "types": "./dist/plugin/farm.d.ts",
51
+ "import": "./dist/plugin/farm.js",
52
+ "require": "./dist/plugin/farm.cjs"
53
+ },
54
+ "./plugin/nuxt": {
55
+ "types": "./dist/plugin/nuxt.d.ts",
56
+ "import": "./dist/plugin/nuxt.js",
57
+ "require": "./dist/plugin/nuxt.cjs"
58
+ },
59
+ "./plugin/rollup": {
60
+ "types": "./dist/plugin/rollup.d.ts",
61
+ "import": "./dist/plugin/rollup.js",
62
+ "require": "./dist/plugin/rollup.cjs"
63
+ },
64
+ "./plugin/rspack": {
65
+ "types": "./dist/plugin/rspack.d.ts",
66
+ "import": "./dist/plugin/rspack.js",
67
+ "require": "./dist/plugin/rspack.cjs"
68
+ },
69
+ "./plugin/vite": {
70
+ "types": "./dist/plugin/vite.d.ts",
71
+ "import": "./dist/plugin/vite.js",
72
+ "require": "./dist/plugin/vite.cjs"
73
+ },
74
+ "./plugin/webpack": {
75
+ "types": "./dist/plugin/webpack.d.ts",
76
+ "import": "./dist/plugin/webpack.js",
77
+ "require": "./dist/plugin/webpack.cjs"
78
+ },
37
79
  "./package.json": "./package.json"
38
80
  },
39
81
  "publishConfig": {
40
82
  "access": "public"
41
83
  },
42
84
  "dependencies": {
43
- "@styleframe/cli": "^1.0.0",
44
- "@styleframe/core": "^1.0.0",
45
- "@styleframe/transpiler": "^1.0.0",
46
- "@styleframe/loader": "^1.0.0"
85
+ "@styleframe/cli": "^1.0.2",
86
+ "@styleframe/plugin": "^1.0.0",
87
+ "@styleframe/core": "^1.0.1",
88
+ "@styleframe/loader": "^1.0.2",
89
+ "@styleframe/transpiler": "^1.0.2"
47
90
  },
48
91
  "devDependencies": {
49
92
  "@types/node": "^22.15.17",
93
+ "@vitest/coverage-v8": "^3.2.4",
50
94
  "bumpp": "^10.1.0",
51
95
  "tsdown": "^0.11.9",
52
96
  "typescript": "^5.8.3",
53
97
  "vitest": "^3.1.3",
54
- "@styleframe/config-typescript": "^1.0.0"
98
+ "@styleframe/config-typescript": "^1.0.1"
55
99
  },
56
100
  "homepage": "https://github.com/styleframe-dev/styleframe#readme",
57
101
  "bugs": {
@@ -62,10 +106,13 @@
62
106
  "url": "git+https://github.com/styleframe-dev/styleframe.git"
63
107
  },
64
108
  "author": "Alex Grozav <alex@styleframe.dev>",
109
+ "overrides": {
110
+ "vite": "npm:rolldown-vite@latest"
111
+ },
65
112
  "scripts": {
66
113
  "build": "tsdown",
67
114
  "dev": "tsdown --watch",
68
- "test": "vitest",
115
+ "test": "vitest run --passWithNoTests",
69
116
  "typecheck": "tsc --noEmit",
70
117
  "release": "bumpp && npm publish"
71
118
  }