@powerlines/plugin-rolldown 0.7.131 → 0.7.132

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 (132) hide show
  1. package/dist/helpers/index.cjs +3 -2
  2. package/dist/helpers/index.d.cts +3 -1
  3. package/dist/helpers/index.d.mts +3 -1
  4. package/dist/helpers/index.mjs +2 -1
  5. package/dist/helpers/unplugin.cjs +2 -11
  6. package/dist/helpers/unplugin.d.cts +2 -6
  7. package/dist/helpers/unplugin.d.mts +2 -6
  8. package/dist/helpers/unplugin.mjs +1 -9
  9. package/dist/helpers-B15z10jN.mjs +1 -0
  10. package/dist/helpers-LF26RHol.cjs +0 -0
  11. package/dist/index-9iG2qHLe.d.mts +1 -0
  12. package/dist/index-D4ELpJXS.d.cts +1 -0
  13. package/dist/index-D6CnpA_r.d.cts +1 -0
  14. package/dist/index-DL0uimUT.d.mts +1 -0
  15. package/dist/index.cjs +150 -7
  16. package/dist/index.d.cts +4 -3
  17. package/dist/index.d.mts +5 -5
  18. package/dist/index.mjs +143 -3
  19. package/dist/plugin-CSxfX_NG.d.cts +1762 -0
  20. package/dist/plugin-Uw6R0wJs.d.mts +1765 -0
  21. package/dist/plugin-ifZVa20V.mjs +1 -0
  22. package/dist/plugin-pBKbb5K9.cjs +0 -0
  23. package/dist/types/index.cjs +2 -0
  24. package/dist/types/index.d.cts +2 -1
  25. package/dist/types/index.d.mts +2 -1
  26. package/dist/types/index.mjs +3 -0
  27. package/dist/types/plugin.cjs +1 -0
  28. package/dist/types/plugin.d.cts +1 -12
  29. package/dist/types/plugin.d.mts +1 -12
  30. package/dist/types/plugin.mjs +2 -0
  31. package/dist/types-U3zd8PTP.mjs +1 -0
  32. package/dist/types-o3zWarRp.cjs +0 -0
  33. package/dist/unplugin-CGHiXm-d.cjs +4659 -0
  34. package/dist/unplugin-DJFit78t.d.cts +7 -0
  35. package/dist/unplugin-DKYx7eGc.d.mts +7 -0
  36. package/dist/unplugin-oxUpd2fe.mjs +4615 -0
  37. package/package.json +3 -3
  38. package/dist/_virtual/rolldown_runtime.cjs +0 -29
  39. package/dist/powerlines/schemas/fs.cjs +0 -226
  40. package/dist/powerlines/schemas/fs.mjs +0 -224
  41. package/dist/powerlines/src/api.cjs +0 -580
  42. package/dist/powerlines/src/api.mjs +0 -578
  43. package/dist/powerlines/src/internal/babel/module-resolver-plugin.cjs +0 -86
  44. package/dist/powerlines/src/internal/babel/module-resolver-plugin.mjs +0 -84
  45. package/dist/powerlines/src/internal/helpers/environment.cjs +0 -52
  46. package/dist/powerlines/src/internal/helpers/environment.mjs +0 -48
  47. package/dist/powerlines/src/internal/helpers/generate-types.cjs +0 -51
  48. package/dist/powerlines/src/internal/helpers/generate-types.mjs +0 -49
  49. package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -63
  50. package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -61
  51. package/dist/powerlines/src/internal/helpers/install-dependencies.cjs +0 -25
  52. package/dist/powerlines/src/internal/helpers/install-dependencies.mjs +0 -24
  53. package/dist/powerlines/src/internal/helpers/install.cjs +0 -37
  54. package/dist/powerlines/src/internal/helpers/install.mjs +0 -36
  55. package/dist/powerlines/src/internal/helpers/resolve-tsconfig.cjs +0 -98
  56. package/dist/powerlines/src/internal/helpers/resolve-tsconfig.mjs +0 -94
  57. package/dist/powerlines/src/internal/helpers/resolver.cjs +0 -43
  58. package/dist/powerlines/src/internal/helpers/resolver.mjs +0 -41
  59. package/dist/powerlines/src/lib/build/rolldown.cjs +0 -125
  60. package/dist/powerlines/src/lib/build/rolldown.mjs +0 -119
  61. package/dist/powerlines/src/lib/build/rollup.cjs +0 -45
  62. package/dist/powerlines/src/lib/build/rollup.mjs +0 -39
  63. package/dist/powerlines/src/lib/config-file.cjs +0 -79
  64. package/dist/powerlines/src/lib/config-file.mjs +0 -76
  65. package/dist/powerlines/src/lib/contexts/api-context.cjs +0 -184
  66. package/dist/powerlines/src/lib/contexts/api-context.mjs +0 -182
  67. package/dist/powerlines/src/lib/contexts/context.cjs +0 -931
  68. package/dist/powerlines/src/lib/contexts/context.mjs +0 -929
  69. package/dist/powerlines/src/lib/contexts/environment-context.cjs +0 -160
  70. package/dist/powerlines/src/lib/contexts/environment-context.mjs +0 -159
  71. package/dist/powerlines/src/lib/contexts/plugin-context.cjs +0 -75
  72. package/dist/powerlines/src/lib/contexts/plugin-context.mjs +0 -74
  73. package/dist/powerlines/src/lib/entry.cjs +0 -69
  74. package/dist/powerlines/src/lib/entry.mjs +0 -67
  75. package/dist/powerlines/src/lib/fs/helpers.cjs +0 -85
  76. package/dist/powerlines/src/lib/fs/helpers.mjs +0 -81
  77. package/dist/powerlines/src/lib/fs/storage/base.cjs +0 -196
  78. package/dist/powerlines/src/lib/fs/storage/base.mjs +0 -195
  79. package/dist/powerlines/src/lib/fs/storage/file-system.cjs +0 -170
  80. package/dist/powerlines/src/lib/fs/storage/file-system.mjs +0 -169
  81. package/dist/powerlines/src/lib/fs/storage/virtual.cjs +0 -88
  82. package/dist/powerlines/src/lib/fs/storage/virtual.mjs +0 -87
  83. package/dist/powerlines/src/lib/fs/vfs.cjs +0 -830
  84. package/dist/powerlines/src/lib/fs/vfs.mjs +0 -828
  85. package/dist/powerlines/src/lib/logger.cjs +0 -58
  86. package/dist/powerlines/src/lib/logger.mjs +0 -55
  87. package/dist/powerlines/src/lib/typescript/ts-morph.cjs +0 -104
  88. package/dist/powerlines/src/lib/typescript/ts-morph.mjs +0 -102
  89. package/dist/powerlines/src/lib/typescript/tsconfig.cjs +0 -149
  90. package/dist/powerlines/src/lib/typescript/tsconfig.mjs +0 -144
  91. package/dist/powerlines/src/lib/unplugin/factory.cjs +0 -6
  92. package/dist/powerlines/src/lib/unplugin/factory.mjs +0 -8
  93. package/dist/powerlines/src/lib/unplugin/helpers.cjs +0 -17
  94. package/dist/powerlines/src/lib/unplugin/helpers.mjs +0 -16
  95. package/dist/powerlines/src/lib/unplugin/index.cjs +0 -3
  96. package/dist/powerlines/src/lib/unplugin/index.mjs +0 -5
  97. package/dist/powerlines/src/lib/unplugin/plugin.cjs +0 -128
  98. package/dist/powerlines/src/lib/unplugin/plugin.mjs +0 -127
  99. package/dist/powerlines/src/lib/utilities/file-header.cjs +0 -22
  100. package/dist/powerlines/src/lib/utilities/file-header.mjs +0 -21
  101. package/dist/powerlines/src/lib/utilities/meta.cjs +0 -45
  102. package/dist/powerlines/src/lib/utilities/meta.mjs +0 -41
  103. package/dist/powerlines/src/lib/utilities/source-file.cjs +0 -22
  104. package/dist/powerlines/src/lib/utilities/source-file.mjs +0 -21
  105. package/dist/powerlines/src/plugin-utils/helpers.cjs +0 -148
  106. package/dist/powerlines/src/plugin-utils/helpers.mjs +0 -138
  107. package/dist/powerlines/src/plugin-utils/paths.cjs +0 -36
  108. package/dist/powerlines/src/plugin-utils/paths.mjs +0 -35
  109. package/dist/powerlines/src/types/babel.d.mts +0 -4
  110. package/dist/powerlines/src/types/build.cjs +0 -15
  111. package/dist/powerlines/src/types/build.d.cts +0 -149
  112. package/dist/powerlines/src/types/build.d.mts +0 -149
  113. package/dist/powerlines/src/types/build.mjs +0 -14
  114. package/dist/powerlines/src/types/commands.cjs +0 -16
  115. package/dist/powerlines/src/types/commands.d.cts +0 -8
  116. package/dist/powerlines/src/types/commands.d.mts +0 -9
  117. package/dist/powerlines/src/types/commands.mjs +0 -15
  118. package/dist/powerlines/src/types/config.d.cts +0 -370
  119. package/dist/powerlines/src/types/config.d.mts +0 -371
  120. package/dist/powerlines/src/types/context.d.cts +0 -403
  121. package/dist/powerlines/src/types/context.d.mts +0 -405
  122. package/dist/powerlines/src/types/fs.d.cts +0 -486
  123. package/dist/powerlines/src/types/fs.d.mts +0 -486
  124. package/dist/powerlines/src/types/hooks.d.mts +0 -2
  125. package/dist/powerlines/src/types/plugin.cjs +0 -32
  126. package/dist/powerlines/src/types/plugin.d.cts +0 -231
  127. package/dist/powerlines/src/types/plugin.d.mts +0 -231
  128. package/dist/powerlines/src/types/plugin.mjs +0 -31
  129. package/dist/powerlines/src/types/resolved.d.cts +0 -82
  130. package/dist/powerlines/src/types/resolved.d.mts +0 -83
  131. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  132. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
@@ -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 ts from "typescript";
2
- import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
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 };