@styleframe/plugin 1.0.0 → 1.0.1

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,23 @@
1
+ # @styleframe/plugin
2
+
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#35](https://github.com/styleframe-dev/styleframe/pull/35) [`5d53569`](https://github.com/styleframe-dev/styleframe/commit/5d5356960af687884703f3de5d3d1638d8ee9d8a) Thanks [@alexgrozav](https://github.com/alexgrozav)! - fix: Update published files references in package.json
8
+
9
+ - Updated dependencies [[`5d53569`](https://github.com/styleframe-dev/styleframe/commit/5d5356960af687884703f3de5d3d1638d8ee9d8a)]:
10
+ - @styleframe/loader@1.0.3
11
+ - @styleframe/transpiler@1.0.3
12
+
13
+ ## 1.0.0
14
+
15
+ ### Major Changes
16
+
17
+ - [#30](https://github.com/styleframe-dev/styleframe/pull/30) [`68cd004`](https://github.com/styleframe-dev/styleframe/commit/68cd004b04395797876b5e805c0b910d6b665f35) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: Initial release. Add `unplugin` instance with dedicated Vite support
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`68cd004`](https://github.com/styleframe-dev/styleframe/commit/68cd004b04395797876b5e805c0b910d6b665f35), [`68cd004`](https://github.com/styleframe-dev/styleframe/commit/68cd004b04395797876b5e805c0b910d6b665f35)]:
22
+ - @styleframe/loader@1.0.2
23
+ - @styleframe/transpiler@1.0.2
package/dist/farm.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Options } from "./types-Clt7t35T.js";
2
- import * as _farmfe_core0 from "@farmfe/core";
2
+ import { JsPlugin } from "@farmfe/core";
3
3
 
4
4
  //#region src/farm.d.ts
5
- declare const _default: (options?: Options | undefined) => _farmfe_core0.JsPlugin;
5
+ declare const _default: (options?: Options | undefined) => JsPlugin;
6
6
  //#endregion
7
7
  export { _default as default };
8
8
  //# sourceMappingURL=farm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"farm.d.ts","names":[],"sources":["../src/farm.ts"],"sourcesContent":[],"mappings":""}
1
+ {"version":3,"file":"farm.d.ts","names":[],"sources":["../src/farm.ts"],"sourcesContent":[],"mappings":";;;;cACiE"}
package/dist/farm.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"farm.js","names":[],"sources":["../src/farm.ts"],"sourcesContent":["import { createFarmPlugin } from \"unplugin\";\nimport { unpluginFactory } from \".\";\n\nexport default createFarmPlugin(unpluginFactory);\n"],"mappings":";;;;;AAGA,mBAAe,iBAAiB,gBAAgB"}
1
+ {"version":3,"file":"farm.js","names":[],"sources":["../src/farm.ts"],"sourcesContent":["// biome-ignore:lint/correctness/noUnusedImports\nimport type { CompilationContext, JsPlugin } from \"@farmfe/core\";\nimport { createFarmPlugin } from \"unplugin\";\nimport { unpluginFactory } from \".\";\n\nexport default createFarmPlugin(unpluginFactory);\n"],"mappings":";;;;;AAKA,mBAAe,iBAAiB,gBAAgB"}
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { Options } from "./types-Clt7t35T.js";
2
- import * as unplugin1 from "unplugin";
2
+ import * as unplugin0 from "unplugin";
3
3
  import { UnpluginFactory } from "unplugin";
4
4
 
5
5
  //#region src/index.d.ts
6
6
  declare const unpluginFactory: UnpluginFactory<Options | undefined>;
7
- declare const unplugin: unplugin1.UnpluginInstance<Options | undefined, boolean>;
7
+ declare const unplugin: unplugin0.UnpluginInstance<Options | undefined, boolean>;
8
8
  //#endregion
9
9
  export { unplugin as default, unplugin, unpluginFactory };
10
10
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@styleframe/plugin",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "description": "Unplugin for Styleframe. Use it with Vite, Webpack, Astro, Nuxt, Rollup, Rspack, and more.",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -40,7 +40,10 @@
40
40
  }
41
41
  },
42
42
  "files": [
43
- "dist"
43
+ "dist",
44
+ "LICENSE",
45
+ "CHANGELOG.md",
46
+ "README.md"
44
47
  ],
45
48
  "peerDependencies": {
46
49
  "@farmfe/core": ">=1",
@@ -77,10 +80,11 @@
77
80
  "dependencies": {
78
81
  "consola": "^3.4.2",
79
82
  "unplugin": "^2.3.4",
80
- "@styleframe/loader": "^1.0.2",
81
- "@styleframe/transpiler": "^1.0.2"
83
+ "@styleframe/loader": "^1.0.3",
84
+ "@styleframe/transpiler": "^1.0.3"
82
85
  },
83
86
  "devDependencies": {
87
+ "@farmfe/core": "^1.7.11",
84
88
  "@vitest/coverage-v8": "^3.2.4",
85
89
  "@nuxt/kit": "^3.17.4",
86
90
  "@nuxt/schema": "^3.17.4",
@@ -107,6 +111,7 @@
107
111
  "scripts": {
108
112
  "build": "tsdown",
109
113
  "dev": "tsdown -w",
114
+ "typecheck": "tsc --noEmit",
110
115
  "start": "tsx src/index.ts",
111
116
  "playground:build": "cd playground && pnpm run build",
112
117
  "playground:start": "cd playground && pnpm run start",