@powerlines/plugin-style-dictionary 0.3.579 → 0.3.581

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/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  //#region \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -30,7 +30,6 @@ require('./types/index.cjs');
30
30
  let _power_plant_style_dictionary = require("@power-plant/style-dictionary");
31
31
  _power_plant_style_dictionary = __toESM(_power_plant_style_dictionary, 1);
32
32
  let _powerlines_plugin_power_plant = require("@powerlines/plugin-power-plant");
33
- _powerlines_plugin_power_plant = __toESM(_powerlines_plugin_power_plant, 1);
34
33
  let _storm_software_config_tools_types = require("@storm-software/config-tools/types");
35
34
  let defu = require("defu");
36
35
  defu = __toESM(defu, 1);
@@ -147,7 +146,7 @@ async function resolveStyleDictionaryHooks(context, options) {
147
146
  */
148
147
  const plugin = (options = {}) => {
149
148
  const generatorConfig = { ..._power_plant_style_dictionary.default };
150
- return [(0, _powerlines_plugin_power_plant.default)(generatorConfig), {
149
+ return [(0, _powerlines_plugin_power_plant.plugin)(generatorConfig), {
151
150
  name: "style-dictionary",
152
151
  config() {
153
152
  return { styleDictionary: (0, defu.default)(options, {
@@ -189,5 +188,4 @@ const plugin = (options = {}) => {
189
188
  };
190
189
 
191
190
  //#endregion
192
- exports.default = plugin;
193
191
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -15,5 +15,5 @@ declare module "powerlines" {
15
15
  */
16
16
  declare const plugin: <TContext extends StyleDictionaryPluginContext = StyleDictionaryPluginContext>(options?: StyleDictionaryPluginOptions) => Plugin<TContext>[];
17
17
  //#endregion
18
- export { CustomActionsBuilder, CustomFileHeadersBuilder, CustomFiltersBuilder, CustomFormatsBuilder, CustomParsersBuilder, CustomPreprocessorsBuilder, CustomTransformGroupsBuilder, CustomTransformsBuilder, StyleDictionaryPluginContext, StyleDictionaryPluginEnvironmentConfig, StyleDictionaryPluginOptions, StyleDictionaryPluginResolvedConfig, StyleDictionaryPluginUserConfig, plugin as default, plugin };
18
+ export { CustomActionsBuilder, CustomFileHeadersBuilder, CustomFiltersBuilder, CustomFormatsBuilder, CustomParsersBuilder, CustomPreprocessorsBuilder, CustomTransformGroupsBuilder, CustomTransformsBuilder, StyleDictionaryPluginContext, StyleDictionaryPluginEnvironmentConfig, StyleDictionaryPluginOptions, StyleDictionaryPluginResolvedConfig, StyleDictionaryPluginUserConfig, plugin };
19
19
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.mts CHANGED
@@ -15,5 +15,5 @@ declare module "powerlines" {
15
15
  */
16
16
  declare const plugin: <TContext extends StyleDictionaryPluginContext = StyleDictionaryPluginContext>(options?: StyleDictionaryPluginOptions) => Plugin<TContext>[];
17
17
  //#endregion
18
- export { CustomActionsBuilder, CustomFileHeadersBuilder, CustomFiltersBuilder, CustomFormatsBuilder, CustomParsersBuilder, CustomPreprocessorsBuilder, CustomTransformGroupsBuilder, CustomTransformsBuilder, StyleDictionaryPluginContext, StyleDictionaryPluginEnvironmentConfig, StyleDictionaryPluginOptions, StyleDictionaryPluginResolvedConfig, StyleDictionaryPluginUserConfig, plugin as default, plugin };
18
+ export { CustomActionsBuilder, CustomFileHeadersBuilder, CustomFiltersBuilder, CustomFormatsBuilder, CustomParsersBuilder, CustomPreprocessorsBuilder, CustomTransformGroupsBuilder, CustomTransformsBuilder, StyleDictionaryPluginContext, StyleDictionaryPluginEnvironmentConfig, StyleDictionaryPluginOptions, StyleDictionaryPluginResolvedConfig, StyleDictionaryPluginUserConfig, plugin };
19
19
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./types/index.mjs";
2
2
  import styleDictionaryGenerator from "@power-plant/style-dictionary";
3
- import powerPlant from "@powerlines/plugin-power-plant";
3
+ import { plugin as plugin$1 } from "@powerlines/plugin-power-plant";
4
4
  import { LogLevelLabel } from "@storm-software/config-tools/types";
5
5
  import defu from "defu";
6
6
  import { isFunction } from "@stryke/type-checks/is-function";
@@ -116,7 +116,7 @@ async function resolveStyleDictionaryHooks(context, options) {
116
116
  */
117
117
  const plugin = (options = {}) => {
118
118
  const generatorConfig = { ...styleDictionaryGenerator };
119
- return [powerPlant(generatorConfig), {
119
+ return [plugin$1(generatorConfig), {
120
120
  name: "style-dictionary",
121
121
  config() {
122
122
  return { styleDictionary: defu(options, {
@@ -158,5 +158,5 @@ const plugin = (options = {}) => {
158
158
  };
159
159
 
160
160
  //#endregion
161
- export { plugin as default, plugin };
161
+ export { plugin };
162
162
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-style-dictionary",
3
- "version": "0.3.579",
3
+ "version": "0.3.581",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to generate project code with Style Dictionary.",
6
6
  "keywords": [
@@ -95,21 +95,21 @@
95
95
  "typings": "dist/index.d.mts",
96
96
  "files": ["dist"],
97
97
  "dependencies": {
98
- "@power-plant/core": "^0.0.89",
99
- "@power-plant/style-dictionary": "^0.0.74",
100
- "@powerlines/plugin-power-plant": "^0.1.66",
98
+ "@power-plant/core": "^0.0.90",
99
+ "@power-plant/style-dictionary": "^0.0.75",
100
+ "@powerlines/plugin-power-plant": "^0.1.68",
101
101
  "@storm-software/config-tools": "^1.190.133",
102
102
  "@stryke/string-format": "^0.17.50",
103
103
  "@stryke/type-checks": "^0.6.41",
104
104
  "@stryke/types": "^0.12.36",
105
105
  "defu": "^6.1.7",
106
- "powerlines": "^0.47.209",
106
+ "powerlines": "^0.47.211",
107
107
  "style-dictionary": "^5.5.1"
108
108
  },
109
109
  "devDependencies": {
110
- "@powerlines/plugin-plugin": "^0.12.622",
110
+ "@powerlines/plugin-plugin": "^0.12.624",
111
111
  "@types/node": "^25.9.5"
112
112
  },
113
113
  "publishConfig": { "access": "public" },
114
- "gitHead": "88974b224a5cdb97dbd377373c9ed7f8a8780324"
114
+ "gitHead": "b009e583e12f04c70454ada388ceaae84d7ae6db"
115
115
  }