@powerlines/plugin-style-dictionary 0.3.443 → 0.3.444
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/types/plugin.d.cts +17 -17
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +17 -17
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +8 -8
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnvironmentConfig, PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
-
import {
|
|
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
|
|
30
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
31
31
|
*/
|
|
32
|
-
customActions?:
|
|
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
|
|
37
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
38
38
|
*/
|
|
39
|
-
customFileHeaders?:
|
|
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
|
|
44
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
45
45
|
*/
|
|
46
|
-
customFilters?:
|
|
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
|
|
51
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
52
52
|
*/
|
|
53
|
-
customFormats?:
|
|
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
|
|
58
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
59
59
|
*/
|
|
60
|
-
customPreprocessors?:
|
|
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
|
|
65
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
66
66
|
*/
|
|
67
|
-
customParsers?:
|
|
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
|
|
72
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
73
73
|
*/
|
|
74
|
-
customTransformGroups?:
|
|
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
|
|
79
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
80
80
|
*/
|
|
81
|
-
customTransforms?:
|
|
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.cts","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,
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","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,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/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import StyleDictionary, { Config } from "style-dictionary";
|
|
2
2
|
import { EnvironmentConfig, PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
import {
|
|
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
|
|
30
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
31
31
|
*/
|
|
32
|
-
customActions?:
|
|
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
|
|
37
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
38
38
|
*/
|
|
39
|
-
customFileHeaders?:
|
|
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
|
|
44
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
45
45
|
*/
|
|
46
|
-
customFilters?:
|
|
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
|
|
51
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
52
52
|
*/
|
|
53
|
-
customFormats?:
|
|
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
|
|
58
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
59
59
|
*/
|
|
60
|
-
customPreprocessors?:
|
|
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
|
|
65
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
66
66
|
*/
|
|
67
|
-
customParsers?:
|
|
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
|
|
72
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
73
73
|
*/
|
|
74
|
-
customTransformGroups?:
|
|
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
|
|
79
|
+
* This value can be a {@link FileReferenceInput} pointing to a module export or an actual builder function.
|
|
80
80
|
*/
|
|
81
|
-
customTransforms?:
|
|
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,uB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AC5C;;;;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.
|
|
3
|
+
"version": "0.3.444",
|
|
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.
|
|
65
|
+
"@powerlines/schema": "^0.11.59",
|
|
66
66
|
"@storm-software/config-tools": "^1.190.33",
|
|
67
|
-
"@stryke/string-format": "^0.17.
|
|
68
|
-
"@stryke/type-checks": "^0.6.
|
|
69
|
-
"@stryke/types": "^0.12.
|
|
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.
|
|
71
|
+
"powerlines": "^0.47.76",
|
|
72
72
|
"style-dictionary": "^5.4.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
75
|
+
"@powerlines/plugin-plugin": "^0.12.488",
|
|
76
76
|
"@types/node": "^25.9.1"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": { "access": "public" },
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "53c5911f6d02444075c38d2965bb8361ae30f7e5"
|
|
80
80
|
}
|