@powerlines/plugin-style-dictionary 0.1.8 → 0.1.10
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-BZr1y7wV.d.cts → index-906CYomN.d.cts} +25 -1
- package/dist/{index-BZr1y7wV.d.ts → index-906CYomN.d.ts} +25 -1
- package/dist/src/index.d.cts +2 -2
- package/dist/src/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +5 -5
|
@@ -10,7 +10,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
10
10
|
import { Jiti } from 'jiti';
|
|
11
11
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
12
12
|
import { Range } from 'semver';
|
|
13
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
13
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
14
14
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
15
15
|
import ts from 'typescript';
|
|
16
16
|
import { PrimitiveJsonValue } from '@stryke/json/types';
|
|
@@ -938,6 +938,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
938
938
|
* A logging function for the Powerlines engine
|
|
939
939
|
*/
|
|
940
940
|
log: LogFn;
|
|
941
|
+
/**
|
|
942
|
+
* A logging function for fatal messages
|
|
943
|
+
*/
|
|
944
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
945
|
+
/**
|
|
946
|
+
* A logging function for error messages
|
|
947
|
+
*/
|
|
948
|
+
error: (message: string | UnpluginMessage) => void;
|
|
949
|
+
/**
|
|
950
|
+
* A logging function for warning messages
|
|
951
|
+
*/
|
|
952
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
953
|
+
/**
|
|
954
|
+
* A logging function for informational messages
|
|
955
|
+
*/
|
|
956
|
+
info: (message: string | UnpluginMessage) => void;
|
|
957
|
+
/**
|
|
958
|
+
* A logging function for debug messages
|
|
959
|
+
*/
|
|
960
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
961
|
+
/**
|
|
962
|
+
* A logging function for trace messages
|
|
963
|
+
*/
|
|
964
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
941
965
|
/**
|
|
942
966
|
* The metadata information
|
|
943
967
|
*/
|
|
@@ -10,7 +10,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
10
10
|
import { Jiti } from 'jiti';
|
|
11
11
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
12
12
|
import { Range } from 'semver';
|
|
13
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
13
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
14
14
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
15
15
|
import ts from 'typescript';
|
|
16
16
|
import { PrimitiveJsonValue } from '@stryke/json/types';
|
|
@@ -938,6 +938,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
938
938
|
* A logging function for the Powerlines engine
|
|
939
939
|
*/
|
|
940
940
|
log: LogFn;
|
|
941
|
+
/**
|
|
942
|
+
* A logging function for fatal messages
|
|
943
|
+
*/
|
|
944
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
945
|
+
/**
|
|
946
|
+
* A logging function for error messages
|
|
947
|
+
*/
|
|
948
|
+
error: (message: string | UnpluginMessage) => void;
|
|
949
|
+
/**
|
|
950
|
+
* A logging function for warning messages
|
|
951
|
+
*/
|
|
952
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
953
|
+
/**
|
|
954
|
+
* A logging function for informational messages
|
|
955
|
+
*/
|
|
956
|
+
info: (message: string | UnpluginMessage) => void;
|
|
957
|
+
/**
|
|
958
|
+
* A logging function for debug messages
|
|
959
|
+
*/
|
|
960
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
961
|
+
/**
|
|
962
|
+
* A logging function for trace messages
|
|
963
|
+
*/
|
|
964
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
941
965
|
/**
|
|
942
966
|
* The metadata information
|
|
943
967
|
*/
|
package/dist/src/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StyleDictionaryPluginContext, a as StyleDictionaryPluginOptions, P as Plugin } from '../index-
|
|
2
|
-
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, i as StyleDictionaryPluginEnvironmentConfig, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-
|
|
1
|
+
import { S as StyleDictionaryPluginContext, a as StyleDictionaryPluginOptions, P as Plugin } from '../index-906CYomN.cjs';
|
|
2
|
+
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, i as StyleDictionaryPluginEnvironmentConfig, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-906CYomN.cjs';
|
|
3
3
|
import '@stryke/types/configuration';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StyleDictionaryPluginContext, a as StyleDictionaryPluginOptions, P as Plugin } from '../index-
|
|
2
|
-
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, i as StyleDictionaryPluginEnvironmentConfig, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-
|
|
1
|
+
import { S as StyleDictionaryPluginContext, a as StyleDictionaryPluginOptions, P as Plugin } from '../index-906CYomN.js';
|
|
2
|
+
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, i as StyleDictionaryPluginEnvironmentConfig, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-906CYomN.js';
|
|
3
3
|
import '@stryke/types/configuration';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, S as StyleDictionaryPluginContext, i as StyleDictionaryPluginEnvironmentConfig, a as StyleDictionaryPluginOptions, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-
|
|
1
|
+
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, S as StyleDictionaryPluginContext, i as StyleDictionaryPluginEnvironmentConfig, a as StyleDictionaryPluginOptions, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-906CYomN.cjs';
|
|
2
2
|
import '@stryke/types/configuration';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, S as StyleDictionaryPluginContext, i as StyleDictionaryPluginEnvironmentConfig, a as StyleDictionaryPluginOptions, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-
|
|
1
|
+
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, S as StyleDictionaryPluginContext, i as StyleDictionaryPluginEnvironmentConfig, a as StyleDictionaryPluginOptions, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-906CYomN.js';
|
|
2
2
|
import '@stryke/types/configuration';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@stryke/types/configuration';
|
|
2
|
-
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, S as StyleDictionaryPluginContext, i as StyleDictionaryPluginEnvironmentConfig, a as StyleDictionaryPluginOptions, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-
|
|
2
|
+
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, S as StyleDictionaryPluginContext, i as StyleDictionaryPluginEnvironmentConfig, a as StyleDictionaryPluginOptions, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-906CYomN.cjs';
|
|
3
3
|
import 'style-dictionary';
|
|
4
4
|
import 'style-dictionary/types';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@stryke/types/configuration';
|
|
2
|
-
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, S as StyleDictionaryPluginContext, i as StyleDictionaryPluginEnvironmentConfig, a as StyleDictionaryPluginOptions, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-
|
|
2
|
+
export { C as CustomActionsBuilder, e as CustomFileHeadersBuilder, f as CustomFiltersBuilder, c as CustomFormatsBuilder, g as CustomParsersBuilder, h as CustomPreprocessorsBuilder, d as CustomTransformGroupsBuilder, b as CustomTransformsBuilder, S as StyleDictionaryPluginContext, i as StyleDictionaryPluginEnvironmentConfig, a as StyleDictionaryPluginOptions, k as StyleDictionaryPluginResolvedConfig, j as StyleDictionaryPluginUserConfig } from '../index-906CYomN.js';
|
|
3
3
|
import 'style-dictionary';
|
|
4
4
|
import 'style-dictionary/types';
|
|
5
5
|
import '@storm-software/build-tools/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-style-dictionary",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin to generate project code with Style Dictionary.",
|
|
6
6
|
"repository": {
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
"@stryke/types": "^0.10.0",
|
|
110
110
|
"defu": "^6.1.4",
|
|
111
111
|
"jiti": "^2.6.1",
|
|
112
|
-
"powerlines": "^0.
|
|
112
|
+
"powerlines": "^0.19.0",
|
|
113
113
|
"style-dictionary": "^5.1.1"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@powerlines/nx": "^0.10.
|
|
117
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
116
|
+
"@powerlines/nx": "^0.10.4",
|
|
117
|
+
"@powerlines/plugin-plugin": "^0.11.12",
|
|
118
118
|
"@types/node": "^22.19.0"
|
|
119
119
|
},
|
|
120
120
|
"publishConfig": { "access": "public" },
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
|
|
122
122
|
}
|