@powerlines/plugin-style-dictionary 0.3.443 → 0.3.445

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.
@@ -1,5 +1,5 @@
1
1
  import { EnvironmentConfig, PluginContext, ResolvedConfig, UserConfig } from "powerlines";
2
- import { TypeDefinitionParameter } from "@stryke/types/configuration";
2
+ import { FileReferenceInput } from "@stryke/types/configuration";
3
3
  import StyleDictionary, { Config } from "style-dictionary";
4
4
  import { Action, FileHeader, Filter, Format, Parser, PlatformConfig, Preprocessor, Transform } from "style-dictionary/types";
5
5
 
@@ -27,58 +27,58 @@ type StyleDictionaryPluginOptions = Omit<Config, "platforms"> & {
27
27
  * Custom Style Dictionary actions to register.
28
28
  *
29
29
  * @remarks
30
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
30
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
31
31
  */
32
- customActions?: TypeDefinitionParameter | CustomActionsBuilder;
32
+ customActions?: FileReferenceInput | CustomActionsBuilder;
33
33
  /**
34
34
  * Custom Style Dictionary file headers to register.
35
35
  *
36
36
  * @remarks
37
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
37
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
38
38
  */
39
- customFileHeaders?: TypeDefinitionParameter | CustomFileHeadersBuilder;
39
+ customFileHeaders?: FileReferenceInput | CustomFileHeadersBuilder;
40
40
  /**
41
41
  * Custom Style Dictionary filters to register.
42
42
  *
43
43
  * @remarks
44
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
44
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
45
45
  */
46
- customFilters?: TypeDefinitionParameter | CustomFiltersBuilder;
46
+ customFilters?: FileReferenceInput | CustomFiltersBuilder;
47
47
  /**
48
48
  * Custom Style Dictionary formats to register.
49
49
  *
50
50
  * @remarks
51
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
51
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
52
52
  */
53
- customFormats?: TypeDefinitionParameter | CustomFormatsBuilder;
53
+ customFormats?: FileReferenceInput | CustomFormatsBuilder;
54
54
  /**
55
55
  * Custom Style Dictionary preprocessors to register.
56
56
  *
57
57
  * @remarks
58
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
58
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
59
59
  */
60
- customPreprocessors?: TypeDefinitionParameter | CustomPreprocessorsBuilder;
60
+ customPreprocessors?: FileReferenceInput | CustomPreprocessorsBuilder;
61
61
  /**
62
62
  * Custom Style Dictionary parsers to register.
63
63
  *
64
64
  * @remarks
65
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
65
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
66
66
  */
67
- customParsers?: TypeDefinitionParameter | CustomParsersBuilder;
67
+ customParsers?: FileReferenceInput | CustomParsersBuilder;
68
68
  /**
69
69
  * Custom Style Dictionary transform groups to register.
70
70
  *
71
71
  * @remarks
72
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
72
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
73
73
  */
74
- customTransformGroups?: TypeDefinitionParameter | CustomTransformGroupsBuilder;
74
+ customTransformGroups?: FileReferenceInput | CustomTransformGroupsBuilder;
75
75
  /**
76
76
  * Custom Style Dictionary transforms to register.
77
77
  *
78
78
  * @remarks
79
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
79
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
80
80
  */
81
- customTransforms?: TypeDefinitionParameter | CustomTransformsBuilder;
81
+ customTransforms?: FileReferenceInput | CustomTransformsBuilder;
82
82
  /**
83
83
  * An existing Style Dictionary instance to use.
84
84
  *
@@ -1 +1 @@
1
- {"version":3,"file":"plug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wB,kBAAA,GAAqB,4BAAA;EAxCzB;;;;;;EAgDpB,gBAAA,GAAmB,kBAAA,GAAqB,uBAAA;EAxBG;;;;;;EAgC3C,QAAA,GAAW,eAAA;AAAA;AAAA,KAGD,sCAAA,GAAyC,iBAAA,GACnD,cAAc;AAAA,KAEJ,+BAAA,GAAkC,UAAA;EAC5C,eAAA,GAAkB,4BAAA;EAClB,YAAA,GAAe,MAAA,SAAe,sCAAA;AAAA;AAAA,KAGpB,mCAAA,GAAsC,cAAA;EAChD,eAAA,EAAiB,4BAAA;EACjB,YAAA,EAAc,MAAA,SAAe,sCAAA;AAAA;AAAA,KAGnB,4BAAA,yBACc,mCAAA,GACtB,mCAAA,IACA,aAAA,CAAc,eAAA;EAChB,eAAA,EAAiB,eAAA;AAAA"}
@@ -1,6 +1,6 @@
1
1
  import StyleDictionary, { Config } from "style-dictionary";
2
2
  import { EnvironmentConfig, PluginContext, ResolvedConfig, UserConfig } from "powerlines";
3
- import { TypeDefinitionParameter } from "@stryke/types/configuration";
3
+ import { FileReferenceInput } from "@stryke/types/configuration";
4
4
  import { Action, FileHeader, Filter, Format, Parser, PlatformConfig, Preprocessor, Transform } from "style-dictionary/types";
5
5
 
6
6
  //#region src/types/plugin.d.ts
@@ -27,58 +27,58 @@ type StyleDictionaryPluginOptions = Omit<Config, "platforms"> & {
27
27
  * Custom Style Dictionary actions to register.
28
28
  *
29
29
  * @remarks
30
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
30
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
31
31
  */
32
- customActions?: TypeDefinitionParameter | CustomActionsBuilder;
32
+ customActions?: FileReferenceInput | CustomActionsBuilder;
33
33
  /**
34
34
  * Custom Style Dictionary file headers to register.
35
35
  *
36
36
  * @remarks
37
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
37
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
38
38
  */
39
- customFileHeaders?: TypeDefinitionParameter | CustomFileHeadersBuilder;
39
+ customFileHeaders?: FileReferenceInput | CustomFileHeadersBuilder;
40
40
  /**
41
41
  * Custom Style Dictionary filters to register.
42
42
  *
43
43
  * @remarks
44
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
44
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
45
45
  */
46
- customFilters?: TypeDefinitionParameter | CustomFiltersBuilder;
46
+ customFilters?: FileReferenceInput | CustomFiltersBuilder;
47
47
  /**
48
48
  * Custom Style Dictionary formats to register.
49
49
  *
50
50
  * @remarks
51
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
51
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
52
52
  */
53
- customFormats?: TypeDefinitionParameter | CustomFormatsBuilder;
53
+ customFormats?: FileReferenceInput | CustomFormatsBuilder;
54
54
  /**
55
55
  * Custom Style Dictionary preprocessors to register.
56
56
  *
57
57
  * @remarks
58
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
58
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
59
59
  */
60
- customPreprocessors?: TypeDefinitionParameter | CustomPreprocessorsBuilder;
60
+ customPreprocessors?: FileReferenceInput | CustomPreprocessorsBuilder;
61
61
  /**
62
62
  * Custom Style Dictionary parsers to register.
63
63
  *
64
64
  * @remarks
65
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
65
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
66
66
  */
67
- customParsers?: TypeDefinitionParameter | CustomParsersBuilder;
67
+ customParsers?: FileReferenceInput | CustomParsersBuilder;
68
68
  /**
69
69
  * Custom Style Dictionary transform groups to register.
70
70
  *
71
71
  * @remarks
72
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
72
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
73
73
  */
74
- customTransformGroups?: TypeDefinitionParameter | CustomTransformGroupsBuilder;
74
+ customTransformGroups?: FileReferenceInput | CustomTransformGroupsBuilder;
75
75
  /**
76
76
  * Custom Style Dictionary transforms to register.
77
77
  *
78
78
  * @remarks
79
- * This value can be a {@link TypeDefinitionParameter} pointing to a module export or an actual builder function.
79
+ * This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
80
80
  */
81
- customTransforms?: TypeDefinitionParameter | CustomTransformsBuilder;
81
+ customTransforms?: FileReferenceInput | CustomTransformsBuilder;
82
82
  /**
83
83
  * An existing Style Dictionary instance to use.
84
84
  *
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;KAqCK,+BAAA,OACH,gBAAA,EAAkB,4BAAA,KACf,MAAA,SAAe,CAAA;AAAA,KAER,oBAAA,GAAuB,+BAA+B,CAAC,MAAA;AAAA,KACvD,uBAAA,GACV,+BAA+B,CAAC,SAAA;AAAA,KACtB,oBAAA,GAAuB,+BAA+B,CAAC,MAAA;AAAA,KACvD,4BAAA,GAA+B,+BAA+B;AAAA,KAG9D,wBAAA,GACV,+BAA+B,CAAC,UAAA;AAAA,KACtB,oBAAA,GAAuB,+BAA+B,CAAC,MAAA;AAAA,KACvD,oBAAA,IACV,gBAAA,EAAkB,4BAAA,KACf,MAAM;AAAA,KACC,0BAAA,GACV,+BAA+B,CAAC,YAAA;AAAA,KAEtB,4BAAA,GAA+B,IAAA,CAAK,MAAA;EApBX;;;;;;AAEhB;AAErB;EAyBE,SAAA;;;AAzBuE;AACzE;;;EAgCE,aAAA,GAAgB,uBAAA,GAA0B,oBAAA;EA/BD;AAC3C;;;;AAAyE;EAsCvE,iBAAA,GAAoB,uBAAA,GAA0B,wBAAA;EArCR;;;AAAkC;AAG1E;;EA0CE,aAAA,GAAgB,uBAAA,GAA0B,oBAAA;EAzC1C;AAA0C;AAC5C;;;;EAgDE,aAAA,GAAgB,uBAAA,GAA0B,oBAAA;EA/ChC;;;;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AAA,GAAgB,kBAAA,GAAqB,oBAAA;EA/BI;AAC3C;;;;AAAyE;EAsCvE,iBAAA,GAAoB,kBAAA,GAAqB,wBAAA;EArCH;;;AAAkC;AAG1E;;EA0CE,aAAA,GAAgB,kBAAA,GAAqB,oBAAA;EAzCrC;AAA0C;AAC5C;;;;EAgDE,aAAA,GAAgB,kBAAA,GAAqB,oBAAA;EA/C3B;;;;;;EAuDV,mBAAA,GAAsB,kBAAA,GAAqB,0BAAA;EArDlC;AAAA;AACX;;;;EA4DE,aAAA,GAAgB,kBAAA,GAAqB,oBAAA;EAzD3B;;;;;;EAiEV,qBAAA,GAAwB,kBAAA,GAAqB,4BAAA;EAxCzB;;;;;;EAgDpB,gBAAA,GAAmB,kBAAA,GAAqB,uBAAA;EAxBG;;;;;;EAgC3C,QAAA,GAAW,eAAA;AAAA;AAAA,KAGD,sCAAA,GAAyC,iBAAA,GACnD,cAAc;AAAA,KAEJ,+BAAA,GAAkC,UAAA;EAC5C,eAAA,GAAkB,4BAAA;EAClB,YAAA,GAAe,MAAA,SAAe,sCAAA;AAAA;AAAA,KAGpB,mCAAA,GAAsC,cAAA;EAChD,eAAA,EAAiB,4BAAA;EACjB,YAAA,EAAc,MAAA,SAAe,sCAAA;AAAA;AAAA,KAGnB,4BAAA,yBACc,mCAAA,GACtB,mCAAA,IACA,aAAA,CAAc,eAAA;EAChB,eAAA,EAAiB,eAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-style-dictionary",
3
- "version": "0.3.443",
3
+ "version": "0.3.445",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to generate project code with Style Dictionary.",
6
6
  "keywords": [
@@ -62,19 +62,19 @@
62
62
  "typings": "dist/index.d.mts",
63
63
  "files": ["dist"],
64
64
  "dependencies": {
65
- "@powerlines/schema": "^0.11.58",
65
+ "@powerlines/schema": "^0.11.60",
66
66
  "@storm-software/config-tools": "^1.190.33",
67
- "@stryke/string-format": "^0.17.19",
68
- "@stryke/type-checks": "^0.6.10",
69
- "@stryke/types": "^0.12.5",
67
+ "@stryke/string-format": "^0.17.20",
68
+ "@stryke/type-checks": "^0.6.11",
69
+ "@stryke/types": "^0.12.6",
70
70
  "defu": "^6.1.7",
71
- "powerlines": "^0.47.75",
71
+ "powerlines": "^0.47.76",
72
72
  "style-dictionary": "^5.4.1"
73
73
  },
74
74
  "devDependencies": {
75
- "@powerlines/plugin-plugin": "^0.12.487",
75
+ "@powerlines/plugin-plugin": "^0.12.488",
76
76
  "@types/node": "^25.9.1"
77
77
  },
78
78
  "publishConfig": { "access": "public" },
79
- "gitHead": "c8d684b669671f6b19bc57dba25dd3bf1872e66a"
79
+ "gitHead": "3c8e1ad5b1a50860626e97aed87ea56db57981b3"
80
80
  }