@powerlines/plugin-style-dictionary 0.3.21 → 0.3.23

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.
Files changed (52) hide show
  1. package/dist/index-BgAdqTbb.d.mts +1 -0
  2. package/dist/index-CEgs-Dz2.d.cts +1 -0
  3. package/dist/index.cjs +210 -13
  4. package/dist/index.d.cts +2 -2
  5. package/dist/index.d.mts +2 -3
  6. package/dist/index.mjs +173 -2
  7. package/dist/plugin-C3MaN5jp.mjs +1 -0
  8. package/dist/plugin-DHXHjv16.cjs +0 -0
  9. package/dist/plugin-DoaM1stj.d.cts +1861 -0
  10. package/dist/plugin-stDuO5l1.d.mts +1862 -0
  11. package/dist/types/index.cjs +2 -0
  12. package/dist/types/index.d.cts +2 -1
  13. package/dist/types/index.d.mts +2 -1
  14. package/dist/types/index.mjs +3 -0
  15. package/dist/types/plugin.cjs +1 -0
  16. package/dist/types/plugin.d.cts +1 -117
  17. package/dist/types/plugin.d.mts +1 -117
  18. package/dist/types/plugin.mjs +2 -0
  19. package/dist/types-CTUnla4x.mjs +1 -0
  20. package/dist/types-DHkg7xmX.cjs +0 -0
  21. package/package.json +5 -5
  22. package/dist/_virtual/rolldown_runtime.cjs +0 -29
  23. package/dist/powerlines/src/lib/build/esbuild.cjs +0 -102
  24. package/dist/powerlines/src/lib/build/esbuild.mjs +0 -100
  25. package/dist/powerlines/src/lib/entry.cjs +0 -12
  26. package/dist/powerlines/src/lib/entry.mjs +0 -14
  27. package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -35
  28. package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -34
  29. package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -30
  30. package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -29
  31. package/dist/powerlines/src/plugin-utils/paths.cjs +0 -1
  32. package/dist/powerlines/src/plugin-utils/paths.mjs +0 -3
  33. package/dist/powerlines/src/types/babel.d.mts +0 -2
  34. package/dist/powerlines/src/types/build.d.cts +0 -145
  35. package/dist/powerlines/src/types/build.d.mts +0 -147
  36. package/dist/powerlines/src/types/commands.d.cts +0 -8
  37. package/dist/powerlines/src/types/commands.d.mts +0 -9
  38. package/dist/powerlines/src/types/config.d.cts +0 -369
  39. package/dist/powerlines/src/types/config.d.mts +0 -369
  40. package/dist/powerlines/src/types/context.d.cts +0 -403
  41. package/dist/powerlines/src/types/context.d.mts +0 -405
  42. package/dist/powerlines/src/types/fs.d.cts +0 -486
  43. package/dist/powerlines/src/types/fs.d.mts +0 -486
  44. package/dist/powerlines/src/types/hooks.d.mts +0 -2
  45. package/dist/powerlines/src/types/plugin.d.cts +0 -231
  46. package/dist/powerlines/src/types/plugin.d.mts +0 -231
  47. package/dist/powerlines/src/types/resolved.d.cts +0 -81
  48. package/dist/powerlines/src/types/resolved.d.mts +0 -82
  49. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  50. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
  51. package/dist/style-dictionary/file-header.cjs +0 -15
  52. package/dist/style-dictionary/file-header.mjs +0 -14
@@ -1,69 +0,0 @@
1
- import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
2
- import ts from "typescript";
3
-
4
- //#region ../powerlines/src/types/tsconfig.d.ts
5
- type ReflectionMode = "default" | "explicit" | "never";
6
- type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
- /**
8
- * Defines the level of reflection to be used during the transpilation process.
9
- *
10
- * @remarks
11
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
- * - `minimal` - Only the essential type information is captured.
13
- * - `normal` - Additional type information is captured, including some contextual data.
14
- * - `verbose` - All available type information is captured, including detailed contextual data.
15
- */
16
- type ReflectionLevel = "minimal" | "normal" | "verbose";
17
- interface DeepkitOptions {
18
- /**
19
- * Either true to activate reflection for all files compiled using this tsconfig,
20
- * or a list of globs/file paths relative to this tsconfig.json.
21
- * Globs/file paths can be prefixed with a ! to exclude them.
22
- */
23
- reflection?: RawReflectionMode;
24
- /**
25
- * Defines the level of reflection to be used during the transpilation process.
26
- *
27
- * @remarks
28
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
- * - `minimal` - Only the essential type information is captured.
30
- * - `normal` - Additional type information is captured, including some contextual data.
31
- * - `verbose` - All available type information is captured, including detailed contextual data.
32
- */
33
- reflectionLevel?: ReflectionLevel;
34
- }
35
- type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
- /**
37
- * The TypeScript compiler configuration.
38
- *
39
- * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
- */
41
- interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
- /**
43
- * Either true to activate reflection for all files compiled using this tsconfig,
44
- * or a list of globs/file paths relative to this tsconfig.json.
45
- * Globs/file paths can be prefixed with a ! to exclude them.
46
- */
47
- reflection?: RawReflectionMode;
48
- /**
49
- * Defines the level of reflection to be used during the transpilation process.
50
- *
51
- * @remarks
52
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
- * - `minimal` - Only the essential type information is captured.
54
- * - `normal` - Additional type information is captured, including some contextual data.
55
- * - `verbose` - All available type information is captured, including detailed contextual data.
56
- */
57
- reflectionLevel?: ReflectionLevel;
58
- /**
59
- * Instructs the TypeScript compiler how to compile `.ts` files.
60
- */
61
- compilerOptions?: TSCompilerOptions;
62
- }
63
- type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
- originalTsconfigJson: TsConfigJson;
65
- tsconfigJson: TSConfig;
66
- tsconfigFilePath: string;
67
- };
68
- //#endregion
69
- export { ParsedTypeScriptConfig, TSConfig };
@@ -1,69 +0,0 @@
1
- import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
2
- import ts from "typescript";
3
-
4
- //#region ../powerlines/src/types/tsconfig.d.ts
5
- type ReflectionMode = "default" | "explicit" | "never";
6
- type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
- /**
8
- * Defines the level of reflection to be used during the transpilation process.
9
- *
10
- * @remarks
11
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
- * - `minimal` - Only the essential type information is captured.
13
- * - `normal` - Additional type information is captured, including some contextual data.
14
- * - `verbose` - All available type information is captured, including detailed contextual data.
15
- */
16
- type ReflectionLevel = "minimal" | "normal" | "verbose";
17
- interface DeepkitOptions {
18
- /**
19
- * Either true to activate reflection for all files compiled using this tsconfig,
20
- * or a list of globs/file paths relative to this tsconfig.json.
21
- * Globs/file paths can be prefixed with a ! to exclude them.
22
- */
23
- reflection?: RawReflectionMode;
24
- /**
25
- * Defines the level of reflection to be used during the transpilation process.
26
- *
27
- * @remarks
28
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
- * - `minimal` - Only the essential type information is captured.
30
- * - `normal` - Additional type information is captured, including some contextual data.
31
- * - `verbose` - All available type information is captured, including detailed contextual data.
32
- */
33
- reflectionLevel?: ReflectionLevel;
34
- }
35
- type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
- /**
37
- * The TypeScript compiler configuration.
38
- *
39
- * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
- */
41
- interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
- /**
43
- * Either true to activate reflection for all files compiled using this tsconfig,
44
- * or a list of globs/file paths relative to this tsconfig.json.
45
- * Globs/file paths can be prefixed with a ! to exclude them.
46
- */
47
- reflection?: RawReflectionMode;
48
- /**
49
- * Defines the level of reflection to be used during the transpilation process.
50
- *
51
- * @remarks
52
- * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
- * - `minimal` - Only the essential type information is captured.
54
- * - `normal` - Additional type information is captured, including some contextual data.
55
- * - `verbose` - All available type information is captured, including detailed contextual data.
56
- */
57
- reflectionLevel?: ReflectionLevel;
58
- /**
59
- * Instructs the TypeScript compiler how to compile `.ts` files.
60
- */
61
- compilerOptions?: TSCompilerOptions;
62
- }
63
- type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
- originalTsconfigJson: TsConfigJson;
65
- tsconfigJson: TSConfig;
66
- tsconfigFilePath: string;
67
- };
68
- //#endregion
69
- export { ParsedTypeScriptConfig, TSConfig };
@@ -1,15 +0,0 @@
1
-
2
- //#region src/style-dictionary/file-header.ts
3
- const fileHeader = (context) => ({
4
- name: "powerlines/file-header",
5
- fileHeader: (defaultMessages = []) => {
6
- return [
7
- `Generated by ${context.config.framework || "Powerlines"}`,
8
- "NOTE: Do not edit this file manually - it will be overwritten automatically by the \"prepare\" command",
9
- ...defaultMessages
10
- ];
11
- }
12
- });
13
-
14
- //#endregion
15
- exports.fileHeader = fileHeader;
@@ -1,14 +0,0 @@
1
- //#region src/style-dictionary/file-header.ts
2
- const fileHeader = (context) => ({
3
- name: "powerlines/file-header",
4
- fileHeader: (defaultMessages = []) => {
5
- return [
6
- `Generated by ${context.config.framework || "Powerlines"}`,
7
- "NOTE: Do not edit this file manually - it will be overwritten automatically by the \"prepare\" command",
8
- ...defaultMessages
9
- ];
10
- }
11
- });
12
-
13
- //#endregion
14
- export { fileHeader };