@powerlines/plugin-style-dictionary 0.3.71 → 0.3.73

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,7 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
3
  const require_chunk_POXTJ6GF = require('./node_modules/.pnpm/@storm-software_config-tools@1.188.80_magicast@0.5.1/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.cjs');
4
- const require_style_dictionary_file_header = require('./style-dictionary/file-header.cjs');
4
+ const require_file_header = require('./style-dictionary/file-header.cjs');
5
5
  let __stryke_type_checks_is_function = require("@stryke/type-checks/is-function");
6
6
  let defu = require("defu");
7
7
  defu = require_rolldown_runtime.__toESM(defu);
@@ -27,7 +27,7 @@ const plugin = (options = {}) => {
27
27
  },
28
28
  async configResolved() {
29
29
  this.styleDictionary = this.config.styleDictionary.instance ?? new style_dictionary.default(this.config.styleDictionary);
30
- this.styleDictionary.registerFileHeader(require_style_dictionary_file_header.fileHeader(this));
30
+ this.styleDictionary.registerFileHeader(require_file_header.fileHeader(this));
31
31
  if (this.config.styleDictionary.customActions) {
32
32
  let builder;
33
33
  if ((0, __stryke_type_checks_is_function.isFunction)(this.config.styleDictionary.customActions)) builder = this.config.styleDictionary.customActions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-style-dictionary",
3
- "version": "0.3.71",
3
+ "version": "0.3.73",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code with Style Dictionary.",
6
6
  "repository": {
@@ -122,18 +122,18 @@
122
122
  "powerlines-plugin"
123
123
  ],
124
124
  "dependencies": {
125
- "@stryke/path": "^0.24.3",
126
- "@stryke/type-checks": "^0.5.17",
127
- "@stryke/types": "^0.10.31",
125
+ "@stryke/path": "^0.25.3",
126
+ "@stryke/type-checks": "^0.5.19",
127
+ "@stryke/types": "^0.10.33",
128
128
  "defu": "^6.1.4",
129
129
  "jiti": "^2.6.1",
130
- "powerlines": "^0.37.44",
130
+ "powerlines": "^0.37.46",
131
131
  "style-dictionary": "^5.1.4"
132
132
  },
133
133
  "devDependencies": {
134
- "@powerlines/plugin-plugin": "^0.12.122",
134
+ "@powerlines/plugin-plugin": "^0.12.124",
135
135
  "@types/node": "^24.10.9"
136
136
  },
137
137
  "publishConfig": { "access": "public" },
138
- "gitHead": "e4860aa4ebc657acfef8a8f2399108f0badc520c"
138
+ "gitHead": "032b11dbd79e039303ebe2942ed230ea8956ece1"
139
139
  }
@@ -1,10 +0,0 @@
1
- import { Context } from "../powerlines/src/types/context.cjs";
2
- import { FileHeader } from "style-dictionary/types";
3
-
4
- //#region src/style-dictionary/file-header.d.ts
5
- declare const fileHeader: (context: Context) => {
6
- name: string;
7
- fileHeader: FileHeader;
8
- };
9
- //#endregion
10
- export { fileHeader };
@@ -1,10 +0,0 @@
1
- import { Context } from "../packages/powerlines/src/types/context.mjs";
2
- import { FileHeader } from "style-dictionary/types";
3
-
4
- //#region src/style-dictionary/file-header.d.ts
5
- declare const fileHeader: (context: Context) => {
6
- name: string;
7
- fileHeader: FileHeader;
8
- };
9
- //#endregion
10
- export { fileHeader };