@powerlines/plugin-eslint 0.8.124 → 0.8.126

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 (55) hide show
  1. package/dist/format-message-B0zrT_tN.d.cts +17 -0
  2. package/dist/format-message-Bt4W9wqe.cjs +38 -0
  3. package/dist/format-message-CKuUKX7C.mjs +27 -0
  4. package/dist/format-message-Ck01aLfz.d.mts +17 -0
  5. package/dist/helpers/format-message.cjs +3 -27
  6. package/dist/helpers/format-message.d.cts +1 -16
  7. package/dist/helpers/format-message.d.mts +1 -16
  8. package/dist/helpers/format-message.mjs +1 -25
  9. package/dist/helpers/index.cjs +4 -3
  10. package/dist/helpers/index.d.cts +2 -1
  11. package/dist/helpers/index.d.mts +2 -1
  12. package/dist/helpers/index.mjs +2 -1
  13. package/dist/helpers-B15z10jN.mjs +1 -0
  14. package/dist/helpers-LF26RHol.cjs +0 -0
  15. package/dist/index-9iG2qHLe.d.mts +1 -0
  16. package/dist/index-D-CYNcT9.d.mts +1 -0
  17. package/dist/index-D4ELpJXS.d.cts +1 -0
  18. package/dist/index-DLoAMD9J.d.cts +1 -0
  19. package/dist/index.cjs +7 -5
  20. package/dist/index.d.cts +4 -3
  21. package/dist/index.d.mts +4 -4
  22. package/dist/index.mjs +4 -2
  23. package/dist/plugin-BXuHeXYj.d.mts +1814 -0
  24. package/dist/plugin-DfZDyyvB.d.cts +1814 -0
  25. package/dist/plugin-ifZVa20V.mjs +1 -0
  26. package/dist/plugin-pBKbb5K9.cjs +0 -0
  27. package/dist/types/index.cjs +2 -0
  28. package/dist/types/index.d.cts +2 -1
  29. package/dist/types/index.d.mts +2 -1
  30. package/dist/types/index.mjs +3 -0
  31. package/dist/types/plugin.cjs +1 -0
  32. package/dist/types/plugin.d.cts +1 -69
  33. package/dist/types/plugin.d.mts +1 -69
  34. package/dist/types/plugin.mjs +2 -0
  35. package/dist/types-U3zd8PTP.mjs +1 -0
  36. package/dist/types-o3zWarRp.cjs +0 -0
  37. package/package.json +4 -4
  38. package/dist/powerlines/src/types/babel.d.mts +0 -2
  39. package/dist/powerlines/src/types/build.d.cts +0 -145
  40. package/dist/powerlines/src/types/build.d.mts +0 -145
  41. package/dist/powerlines/src/types/commands.d.cts +0 -8
  42. package/dist/powerlines/src/types/commands.d.mts +0 -9
  43. package/dist/powerlines/src/types/config.d.cts +0 -369
  44. package/dist/powerlines/src/types/config.d.mts +0 -369
  45. package/dist/powerlines/src/types/context.d.cts +0 -403
  46. package/dist/powerlines/src/types/context.d.mts +0 -405
  47. package/dist/powerlines/src/types/fs.d.cts +0 -486
  48. package/dist/powerlines/src/types/fs.d.mts +0 -486
  49. package/dist/powerlines/src/types/hooks.d.mts +0 -2
  50. package/dist/powerlines/src/types/plugin.d.cts +0 -231
  51. package/dist/powerlines/src/types/plugin.d.mts +0 -231
  52. package/dist/powerlines/src/types/resolved.d.cts +0 -81
  53. package/dist/powerlines/src/types/resolved.d.mts +0 -81
  54. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  55. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
@@ -0,0 +1 @@
1
+ export { };
File without changes
@@ -0,0 +1,2 @@
1
+ require('../plugin-pBKbb5K9.cjs');
2
+ require('../types-o3zWarRp.cjs');
@@ -1,2 +1,3 @@
1
- import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig } from "./plugin.cjs";
1
+ import { a as __ΩESLintPluginContext, c as __ΩESLintPluginUserConfig, i as ESLintPluginUserConfig, n as ESLintPluginOptions, o as __ΩESLintPluginOptions, r as ESLintPluginResolvedConfig, s as __ΩESLintPluginResolvedConfig, t as ESLintPluginContext } from "../plugin-DfZDyyvB.cjs";
2
+ import "../index-D4ELpJXS.cjs";
2
3
  export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig };
@@ -1,2 +1,3 @@
1
- import { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig } from "./plugin.mjs";
1
+ import { a as __ΩESLintPluginContext, c as __ΩESLintPluginUserConfig, i as ESLintPluginUserConfig, n as ESLintPluginOptions, o as __ΩESLintPluginOptions, r as ESLintPluginResolvedConfig, s as __ΩESLintPluginResolvedConfig, t as ESLintPluginContext } from "../plugin-BXuHeXYj.mjs";
2
+ import "../index-9iG2qHLe.mjs";
2
3
  export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig };
@@ -1 +1,4 @@
1
+ import "../plugin-ifZVa20V.mjs";
2
+ import "../types-U3zd8PTP.mjs";
3
+
1
4
  export { };
@@ -0,0 +1 @@
1
+ require('../plugin-pBKbb5K9.cjs');
@@ -1,70 +1,2 @@
1
- import { UserConfig } from "../powerlines/src/types/config.cjs";
2
- import { ResolvedConfig } from "../powerlines/src/types/resolved.cjs";
3
- import { PluginContext } from "../powerlines/src/types/context.cjs";
4
- import { ESLint } from "eslint";
5
- import { LegacyESLint } from "eslint/use-at-your-own-risk";
6
-
7
- //#region src/types/plugin.d.ts
8
- interface ESLintPluginOptions {
9
- /**
10
- * The path to the ESLint configuration file.
11
- */
12
- configFile?: string;
13
- /**
14
- * Whether to report errors only
15
- */
16
- reportErrorsOnly?: boolean;
17
- /**
18
- * The maximum number of warnings to allow before failing the process
19
- */
20
- maxWarnings?: number;
21
- /**
22
- * The output file to write the results to.
23
- */
24
- outputFile?: string | null;
25
- /**
26
- * Whether to automatically fix problems
27
- *
28
- * @defaultValue true
29
- */
30
- fix?: boolean;
31
- /**
32
- * The type of ESLint configuration to use.
33
- */
34
- type?: "base" | "recommended" | "strict";
35
- /**
36
- * Options to be passed to the ESLint generator.
37
- *
38
- * @remarks
39
- * These options will be override any other values passed to the ESLint generator.
40
- */
41
- override?: Partial<ESLint.Options>;
42
- }
43
- interface ESLintPluginUserConfig extends UserConfig {
44
- /**
45
- * Options for the ESLint plugin.
46
- */
47
- lint?: {
48
- eslint?: ESLintPluginOptions;
49
- };
50
- }
51
- interface ESLintPluginResolvedConfig extends ResolvedConfig {
52
- /**
53
- * Options for the ESLint plugin.
54
- */
55
- lint: {
56
- eslint: ESLintPluginOptions;
57
- };
58
- }
59
- type ESLintPluginContext<TResolvedConfig extends ESLintPluginResolvedConfig = ESLintPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
60
- /**
61
- * The initialized ESLint application.
62
- */
63
- eslint: ESLint | LegacyESLint;
64
- };
65
- declare type __ΩESLintPluginOptions = any[];
66
- declare type __ΩESLintPluginUserConfig = any[];
67
- declare type __ΩESLintPluginResolvedConfig = any[];
68
- declare type __ΩESLintPluginContext = any[];
69
- //#endregion
1
+ import { a as __ΩESLintPluginContext, c as __ΩESLintPluginUserConfig, i as ESLintPluginUserConfig, n as ESLintPluginOptions, o as __ΩESLintPluginOptions, r as ESLintPluginResolvedConfig, s as __ΩESLintPluginResolvedConfig, t as ESLintPluginContext } from "../plugin-DfZDyyvB.cjs";
70
2
  export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig };
@@ -1,70 +1,2 @@
1
- import { UserConfig } from "../powerlines/src/types/config.mjs";
2
- import { ResolvedConfig } from "../powerlines/src/types/resolved.mjs";
3
- import { PluginContext } from "../powerlines/src/types/context.mjs";
4
- import { ESLint } from "eslint";
5
- import { LegacyESLint } from "eslint/use-at-your-own-risk";
6
-
7
- //#region src/types/plugin.d.ts
8
- interface ESLintPluginOptions {
9
- /**
10
- * The path to the ESLint configuration file.
11
- */
12
- configFile?: string;
13
- /**
14
- * Whether to report errors only
15
- */
16
- reportErrorsOnly?: boolean;
17
- /**
18
- * The maximum number of warnings to allow before failing the process
19
- */
20
- maxWarnings?: number;
21
- /**
22
- * The output file to write the results to.
23
- */
24
- outputFile?: string | null;
25
- /**
26
- * Whether to automatically fix problems
27
- *
28
- * @defaultValue true
29
- */
30
- fix?: boolean;
31
- /**
32
- * The type of ESLint configuration to use.
33
- */
34
- type?: "base" | "recommended" | "strict";
35
- /**
36
- * Options to be passed to the ESLint generator.
37
- *
38
- * @remarks
39
- * These options will be override any other values passed to the ESLint generator.
40
- */
41
- override?: Partial<ESLint.Options>;
42
- }
43
- interface ESLintPluginUserConfig extends UserConfig {
44
- /**
45
- * Options for the ESLint plugin.
46
- */
47
- lint?: {
48
- eslint?: ESLintPluginOptions;
49
- };
50
- }
51
- interface ESLintPluginResolvedConfig extends ResolvedConfig {
52
- /**
53
- * Options for the ESLint plugin.
54
- */
55
- lint: {
56
- eslint: ESLintPluginOptions;
57
- };
58
- }
59
- type ESLintPluginContext<TResolvedConfig extends ESLintPluginResolvedConfig = ESLintPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
60
- /**
61
- * The initialized ESLint application.
62
- */
63
- eslint: ESLint | LegacyESLint;
64
- };
65
- declare type __ΩESLintPluginOptions = any[];
66
- declare type __ΩESLintPluginUserConfig = any[];
67
- declare type __ΩESLintPluginResolvedConfig = any[];
68
- declare type __ΩESLintPluginContext = any[];
69
- //#endregion
1
+ import { a as __ΩESLintPluginContext, c as __ΩESLintPluginUserConfig, i as ESLintPluginUserConfig, n as ESLintPluginOptions, o as __ΩESLintPluginOptions, r as ESLintPluginResolvedConfig, s as __ΩESLintPluginResolvedConfig, t as ESLintPluginContext } from "../plugin-BXuHeXYj.mjs";
70
2
  export { ESLintPluginContext, ESLintPluginOptions, ESLintPluginResolvedConfig, ESLintPluginUserConfig, __ΩESLintPluginContext, __ΩESLintPluginOptions, __ΩESLintPluginResolvedConfig, __ΩESLintPluginUserConfig };
@@ -1 +1,3 @@
1
+ import "../plugin-ifZVa20V.mjs";
2
+
1
3
  export { };
@@ -0,0 +1 @@
1
+ export { };
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-eslint",
3
- "version": "0.8.124",
3
+ "version": "0.8.126",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running ESLint on the codebase.",
6
6
  "repository": {
@@ -105,13 +105,13 @@
105
105
  "@stryke/path": "^0.24.1",
106
106
  "defu": "^6.1.4",
107
107
  "eslint": "^9.39.2",
108
- "powerlines": "^0.36.25"
108
+ "powerlines": "^0.36.26"
109
109
  },
110
110
  "devDependencies": {
111
- "@powerlines/nx": "^0.11.51",
111
+ "@powerlines/nx": "^0.11.52",
112
112
  "@storm-software/tsup": "^0.2.73",
113
113
  "@types/node": "^24.10.4"
114
114
  },
115
115
  "publishConfig": { "access": "public" },
116
- "gitHead": "c1a4108ae6677e951e90e42f8d270959a401d1bd"
116
+ "gitHead": "a703a2dd9be6175a67a9bf4847d0217be4e920af"
117
117
  }
@@ -1,2 +0,0 @@
1
- import "./config.mjs";
2
- import "./context.mjs";
@@ -1,145 +0,0 @@
1
- //#region ../powerlines/src/types/build.d.ts
2
-
3
- type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
4
- interface BuildConfig {
5
- /**
6
- * The platform to build the project for
7
- *
8
- * @defaultValue "neutral"
9
- */
10
- platform?: "node" | "browser" | "neutral";
11
- /**
12
- * Array of strings indicating the polyfills to include for the build.
13
- *
14
- * @remarks
15
- * This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
16
- *
17
- * @example
18
- * ```ts
19
- * {
20
- * polyfill: ['{projectRoot}/custom-polyfill.ts']
21
- * }
22
- * ```
23
- */
24
- polyfill?: string[];
25
- /**
26
- * Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
27
- *
28
- * @defaultValue `['browser', 'module', 'jsnext:main', 'jsnext']`
29
- */
30
- mainFields?: string[];
31
- /**
32
- * Array of strings indicating what conditions should be used for module resolution.
33
- */
34
- conditions?: string[];
35
- /**
36
- * Array of strings indicating what file extensions should be used for module resolution.
37
- *
38
- * @defaultValue `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
39
- */
40
- extensions?: string[];
41
- /**
42
- * Array of strings indicating what modules should be deduplicated to a single version in the build.
43
- *
44
- * @remarks
45
- * This option is useful for ensuring that only one version of a module is included in the bundle, which can help reduce bundle size and avoid conflicts.
46
- */
47
- dedupe?: string[];
48
- /**
49
- * Array of strings or regular expressions that indicate what modules are builtin for the environment.
50
- */
51
- builtins?: (string | RegExp)[];
52
- /**
53
- * Define global variable replacements.
54
- *
55
- * @remarks
56
- * This option allows you to specify global constants that will be replaced in the code during the build process. It is similar to the `define` option in esbuild and Vite, enabling you to replace specific identifiers with constant expressions at build time.
57
- *
58
- * @example
59
- * ```ts
60
- * {
61
- * define: {
62
- * __VERSION__: '"1.0.0"',
63
- * __DEV__: 'process.env.NODE_ENV !== "production"'
64
- * }
65
- * }
66
- * ```
67
- *
68
- * @see https://esbuild.github.io/api/#define
69
- * @see https://vitejs.dev/config/build-options.html#define
70
- * @see https://github.com/rollup/plugins/tree/master/packages/replace
71
- */
72
- define?: Record<string, any>;
73
- /**
74
- * Global variables that will have import statements injected where necessary
75
- *
76
- * @remarks
77
- * This option allows you to specify global variables that should be automatically imported from specified modules whenever they are used in the code. This is particularly useful for polyfilling Node.js globals in a browser environment.
78
- *
79
- * @example
80
- * ```ts
81
- * {
82
- * inject: {
83
- * process: 'process/browser',
84
- * Buffer: ['buffer', 'Buffer'],
85
- * }
86
- * }
87
- * ```
88
- *
89
- * @see https://github.com/rollup/plugins/tree/master/packages/inject
90
- */
91
- inject?: Record<string, string | string[]>;
92
- /**
93
- * The alias mappings to use for module resolution during the build process.
94
- *
95
- * @remarks
96
- * This option allows you to define custom path aliases for modules, which can be useful for simplifying imports and managing dependencies.
97
- *
98
- * @example
99
- * ```ts
100
- * {
101
- * alias: {
102
- * "@utils": "./src/utils",
103
- * "@components": "./src/components"
104
- * }
105
- * }
106
- * ```
107
- *
108
- * @see https://github.com/rollup/plugins/tree/master/packages/alias
109
- */
110
- alias?: Record<string, string> | Array<{
111
- find: string | RegExp;
112
- replacement: string;
113
- }>;
114
- /**
115
- * A list of modules that should not be bundled, even if they are external dependencies.
116
- *
117
- * @remarks
118
- * This option is useful for excluding specific modules from the bundle, such as Node.js built-in modules or other libraries that should not be bundled.
119
- */
120
- external?: (string | RegExp)[];
121
- /**
122
- * A list of modules that should always be bundled, even if they are external dependencies.
123
- */
124
- noExternal?: (string | RegExp)[];
125
- /**
126
- * Should the Powerlines CLI processes skip bundling the `node_modules` directory?
127
- */
128
- skipNodeModulesBundle?: boolean;
129
- /**
130
- * If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.
131
- *
132
- * @defaultValue false
133
- */
134
- keepProcessEnv?: boolean;
135
- /**
136
- * An optional set of override options to apply to the selected build variant.
137
- *
138
- * @remarks
139
- * This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
140
- */
141
- override?: Record<string, any>;
142
- }
143
- type BuildResolvedConfig = Omit<BuildConfig, "override">;
144
- //#endregion
145
- export { BuildConfig, BuildResolvedConfig, UnpluginBuildVariant };
@@ -1,145 +0,0 @@
1
- //#region ../powerlines/src/types/build.d.ts
2
-
3
- type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
4
- interface BuildConfig {
5
- /**
6
- * The platform to build the project for
7
- *
8
- * @defaultValue "neutral"
9
- */
10
- platform?: "node" | "browser" | "neutral";
11
- /**
12
- * Array of strings indicating the polyfills to include for the build.
13
- *
14
- * @remarks
15
- * This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
16
- *
17
- * @example
18
- * ```ts
19
- * {
20
- * polyfill: ['{projectRoot}/custom-polyfill.ts']
21
- * }
22
- * ```
23
- */
24
- polyfill?: string[];
25
- /**
26
- * Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
27
- *
28
- * @defaultValue `['browser', 'module', 'jsnext:main', 'jsnext']`
29
- */
30
- mainFields?: string[];
31
- /**
32
- * Array of strings indicating what conditions should be used for module resolution.
33
- */
34
- conditions?: string[];
35
- /**
36
- * Array of strings indicating what file extensions should be used for module resolution.
37
- *
38
- * @defaultValue `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
39
- */
40
- extensions?: string[];
41
- /**
42
- * Array of strings indicating what modules should be deduplicated to a single version in the build.
43
- *
44
- * @remarks
45
- * This option is useful for ensuring that only one version of a module is included in the bundle, which can help reduce bundle size and avoid conflicts.
46
- */
47
- dedupe?: string[];
48
- /**
49
- * Array of strings or regular expressions that indicate what modules are builtin for the environment.
50
- */
51
- builtins?: (string | RegExp)[];
52
- /**
53
- * Define global variable replacements.
54
- *
55
- * @remarks
56
- * This option allows you to specify global constants that will be replaced in the code during the build process. It is similar to the `define` option in esbuild and Vite, enabling you to replace specific identifiers with constant expressions at build time.
57
- *
58
- * @example
59
- * ```ts
60
- * {
61
- * define: {
62
- * __VERSION__: '"1.0.0"',
63
- * __DEV__: 'process.env.NODE_ENV !== "production"'
64
- * }
65
- * }
66
- * ```
67
- *
68
- * @see https://esbuild.github.io/api/#define
69
- * @see https://vitejs.dev/config/build-options.html#define
70
- * @see https://github.com/rollup/plugins/tree/master/packages/replace
71
- */
72
- define?: Record<string, any>;
73
- /**
74
- * Global variables that will have import statements injected where necessary
75
- *
76
- * @remarks
77
- * This option allows you to specify global variables that should be automatically imported from specified modules whenever they are used in the code. This is particularly useful for polyfilling Node.js globals in a browser environment.
78
- *
79
- * @example
80
- * ```ts
81
- * {
82
- * inject: {
83
- * process: 'process/browser',
84
- * Buffer: ['buffer', 'Buffer'],
85
- * }
86
- * }
87
- * ```
88
- *
89
- * @see https://github.com/rollup/plugins/tree/master/packages/inject
90
- */
91
- inject?: Record<string, string | string[]>;
92
- /**
93
- * The alias mappings to use for module resolution during the build process.
94
- *
95
- * @remarks
96
- * This option allows you to define custom path aliases for modules, which can be useful for simplifying imports and managing dependencies.
97
- *
98
- * @example
99
- * ```ts
100
- * {
101
- * alias: {
102
- * "@utils": "./src/utils",
103
- * "@components": "./src/components"
104
- * }
105
- * }
106
- * ```
107
- *
108
- * @see https://github.com/rollup/plugins/tree/master/packages/alias
109
- */
110
- alias?: Record<string, string> | Array<{
111
- find: string | RegExp;
112
- replacement: string;
113
- }>;
114
- /**
115
- * A list of modules that should not be bundled, even if they are external dependencies.
116
- *
117
- * @remarks
118
- * This option is useful for excluding specific modules from the bundle, such as Node.js built-in modules or other libraries that should not be bundled.
119
- */
120
- external?: (string | RegExp)[];
121
- /**
122
- * A list of modules that should always be bundled, even if they are external dependencies.
123
- */
124
- noExternal?: (string | RegExp)[];
125
- /**
126
- * Should the Powerlines CLI processes skip bundling the `node_modules` directory?
127
- */
128
- skipNodeModulesBundle?: boolean;
129
- /**
130
- * If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.
131
- *
132
- * @defaultValue false
133
- */
134
- keepProcessEnv?: boolean;
135
- /**
136
- * An optional set of override options to apply to the selected build variant.
137
- *
138
- * @remarks
139
- * This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
140
- */
141
- override?: Record<string, any>;
142
- }
143
- type BuildResolvedConfig = Omit<BuildConfig, "override">;
144
- //#endregion
145
- export { BuildConfig, BuildResolvedConfig, UnpluginBuildVariant };
@@ -1,8 +0,0 @@
1
- import { ArrayValues } from "@stryke/types/array";
2
- import { MaybePromise } from "@stryke/types/base";
3
-
4
- //#region ../powerlines/src/types/commands.d.ts
5
- declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
6
- type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
7
- //#endregion
8
- export { CommandType };
@@ -1,9 +0,0 @@
1
- import "./context.mjs";
2
- import { ArrayValues } from "@stryke/types/array";
3
- import { MaybePromise } from "@stryke/types/base";
4
-
5
- //#region ../powerlines/src/types/commands.d.ts
6
- declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
7
- type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
8
- //#endregion
9
- export { CommandType };