@powerlines/plugin-env 0.15.9 → 0.15.11
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/babel/index.cjs +3 -1
- package/dist/babel/index.d.cts +2 -1
- package/dist/babel/index.d.mts +2 -1
- package/dist/babel/index.mjs +1 -1
- package/dist/babel/plugin.cjs +7 -7
- package/dist/babel/plugin.mjs +6 -6
- package/dist/components/docs.cjs +4 -4
- package/dist/components/docs.mjs +3 -3
- package/dist/components/env.cjs +8 -8
- package/dist/components/env.mjs +6 -6
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/deepkit/src/utilities.cjs +2 -2
- package/dist/deepkit/src/utilities.mjs +2 -2
- package/dist/helpers/automd-generator.d.cts +14 -0
- package/dist/helpers/automd-generator.d.mts +14 -0
- package/dist/helpers/create-reflection-resource.cjs +5 -5
- package/dist/helpers/create-reflection-resource.d.cts +2 -2
- package/dist/helpers/create-reflection-resource.d.mts +2 -2
- package/dist/helpers/create-reflection-resource.mjs +1 -1
- package/dist/helpers/index.cjs +33 -6
- package/dist/helpers/index.d.cts +2 -1
- package/dist/helpers/index.d.mts +2 -1
- package/dist/helpers/index.mjs +2 -2
- package/dist/helpers/load.cjs +5 -5
- package/dist/helpers/load.mjs +7 -7
- package/dist/helpers/persistence.cjs +7 -7
- package/dist/helpers/persistence.mjs +3 -3
- package/dist/helpers/reflect.cjs +6 -6
- package/dist/helpers/reflect.mjs +1 -1
- package/dist/helpers/source-file-env.cjs +1 -1
- package/dist/helpers/source-file-env.mjs +1 -1
- package/dist/helpers/template-helpers.cjs +2 -2
- package/dist/index.cjs +68 -68
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +14 -14
- package/dist/plugin-alloy/src/core/components/output.cjs +2 -2
- package/dist/plugin-alloy/src/core/components/output.mjs +2 -2
- package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +1 -1
- package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +1 -1
- package/dist/plugin-alloy/src/core/components/source-file.cjs +3 -3
- package/dist/plugin-alloy/src/core/components/source-file.mjs +3 -3
- package/dist/plugin-alloy/src/index.cjs +14 -7
- package/dist/plugin-alloy/src/index.mjs +14 -7
- package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +2 -2
- package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +2 -2
- package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +2 -2
- package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +2 -2
- package/dist/plugin-alloy/src/types/components.d.cts +1 -3
- package/dist/plugin-alloy/src/types/components.d.mts +2 -3
- package/dist/plugin-alloy/src/types/plugin.cjs +1 -1
- package/dist/plugin-alloy/src/types/plugin.d.cts +2 -2
- package/dist/plugin-alloy/src/types/plugin.d.mts +2 -2
- package/dist/plugin-alloy/src/types/plugin.mjs +1 -1
- package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +2 -2
- package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +2 -2
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +5 -5
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +5 -5
- package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +2 -2
- package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +2 -2
- package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +20 -14
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +1 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +1 -0
- package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +20 -14
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +2 -2
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +1 -1
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +2 -2
- package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +4 -4
- package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +4 -4
- package/dist/plugin-automd/src/index.cjs +5 -5
- package/dist/plugin-automd/src/index.mjs +6 -6
- package/dist/plugin-automd/src/types/plugin.d.mts +2 -2
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +1 -1
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +1 -1
- package/dist/plugin-babel/src/helpers/filters.cjs +1 -1
- package/dist/plugin-babel/src/helpers/filters.mjs +1 -1
- package/dist/plugin-babel/src/helpers/index.cjs +3 -3
- package/dist/plugin-babel/src/helpers/index.mjs +3 -3
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +1 -1
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +1 -1
- package/dist/plugin-babel/src/helpers/options.cjs +1 -1
- package/dist/plugin-babel/src/helpers/options.mjs +1 -1
- package/dist/plugin-babel/src/index.cjs +8 -11
- package/dist/plugin-babel/src/index.mjs +6 -9
- package/dist/plugin-babel/src/types/plugin.cjs +1 -1
- package/dist/plugin-babel/src/types/plugin.d.cts +2 -2
- package/dist/plugin-babel/src/types/plugin.d.mts +2 -2
- package/dist/plugin-babel/src/types/plugin.mjs +1 -1
- package/dist/powerlines/src/api.d.mts +2 -2
- package/dist/powerlines/src/index.d.mts +9 -6
- package/dist/powerlines/src/internal/helpers/hooks.cjs +39 -21
- package/dist/powerlines/src/internal/helpers/hooks.d.cts +47 -0
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +47 -3
- package/dist/powerlines/src/internal/helpers/hooks.mjs +39 -22
- package/dist/powerlines/src/lib/build/esbuild.cjs +2 -2
- package/dist/powerlines/src/lib/build/esbuild.mjs +2 -2
- package/dist/powerlines/src/lib/entry.cjs +6 -6
- package/dist/powerlines/src/lib/entry.mjs +6 -6
- package/dist/powerlines/src/lib/logger.cjs +2 -2
- package/dist/powerlines/src/lib/logger.mjs +2 -2
- package/dist/powerlines/src/lib/utilities/resolve.cjs +1 -1
- package/dist/powerlines/src/lib/utilities/resolve.mjs +1 -1
- package/dist/powerlines/src/types/api.cjs +62 -1
- package/dist/powerlines/src/types/api.d.cts +104 -0
- package/dist/powerlines/src/types/api.d.mts +104 -5
- package/dist/powerlines/src/types/api.mjs +61 -2
- package/dist/powerlines/src/types/babel.d.cts +1 -1
- package/dist/powerlines/src/types/babel.d.mts +1 -1
- package/dist/powerlines/src/types/build.cjs +26 -4
- package/dist/powerlines/src/types/build.d.cts +43 -3
- package/dist/powerlines/src/types/build.d.mts +42 -4
- package/dist/powerlines/src/types/build.mjs +23 -3
- package/dist/powerlines/src/types/config.cjs +107 -0
- package/dist/powerlines/src/types/config.d.cts +64 -8
- package/dist/powerlines/src/types/config.d.mts +65 -9
- package/dist/powerlines/src/types/config.mjs +99 -1
- package/dist/powerlines/src/types/context.cjs +57 -0
- package/dist/powerlines/src/types/context.d.cts +114 -2
- package/dist/powerlines/src/types/context.d.mts +114 -4
- package/dist/powerlines/src/types/context.mjs +54 -1
- package/dist/powerlines/src/types/fs.d.cts +1 -1
- package/dist/powerlines/src/types/fs.d.mts +1 -1
- package/dist/powerlines/src/types/hooks.cjs +33 -14
- package/dist/powerlines/src/types/hooks.d.cts +32 -0
- package/dist/powerlines/src/types/hooks.d.mts +32 -2
- package/dist/powerlines/src/types/hooks.mjs +32 -12
- package/dist/powerlines/src/types/index.cjs +5 -5
- package/dist/powerlines/src/types/index.d.mts +9 -9
- package/dist/powerlines/src/types/index.mjs +8 -8
- package/dist/powerlines/src/types/plugin.cjs +40 -105
- package/dist/powerlines/src/types/plugin.d.cts +37 -63
- package/dist/powerlines/src/types/plugin.d.mts +37 -63
- package/dist/powerlines/src/types/plugin.mjs +40 -102
- package/dist/powerlines/src/types/resolved.d.cts +17 -5
- package/dist/powerlines/src/types/resolved.d.mts +17 -6
- package/dist/powerlines/src/types/unplugin.cjs +47 -1
- package/dist/powerlines/src/types/unplugin.d.cts +22 -0
- package/dist/powerlines/src/types/unplugin.d.mts +22 -6
- package/dist/powerlines/src/types/unplugin.mjs +45 -2
- package/dist/types/plugin.cjs +8 -8
- package/dist/types/plugin.d.mts +1 -1
- package/dist/types/plugin.mjs +2 -2
- package/package.json +9 -9
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { ResolvedConfig } from "./resolved.cjs";
|
|
2
|
+
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.cjs";
|
|
3
|
+
import { InferHookParameters, InferHookReturnType } from "./hooks.cjs";
|
|
4
|
+
import { APIContext, EnvironmentContext, PluginContext } from "./context.cjs";
|
|
5
|
+
import { CallHookOptions } from "../internal/helpers/hooks.cjs";
|
|
6
|
+
|
|
7
|
+
//#region ../powerlines/src/types/api.d.ts
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Powerlines API Interface
|
|
11
|
+
*/
|
|
12
|
+
interface API<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
13
|
+
/**
|
|
14
|
+
* The Powerlines shared API context
|
|
15
|
+
*/
|
|
16
|
+
context: APIContext<TResolvedConfig>;
|
|
17
|
+
/**
|
|
18
|
+
* Prepare the Powerlines API
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* This method will prepare the Powerlines API for use, initializing any necessary resources.
|
|
22
|
+
*
|
|
23
|
+
* @param inlineConfig - The inline configuration for the prepare command
|
|
24
|
+
*/
|
|
25
|
+
prepare: (inlineConfig: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig) => Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new Powerlines project
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* This method will create a new Powerlines project in the current directory.
|
|
31
|
+
*
|
|
32
|
+
* @param inlineConfig - The inline configuration for the new command
|
|
33
|
+
* @returns A promise that resolves when the project has been created
|
|
34
|
+
*/
|
|
35
|
+
new: (inlineConfig: NewInlineConfig) => Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Clean any previously prepared artifacts
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* This method will remove the previous Powerlines artifacts from the project.
|
|
41
|
+
*
|
|
42
|
+
* @param inlineConfig - The inline configuration for the clean command
|
|
43
|
+
* @returns A promise that resolves when the clean command has completed
|
|
44
|
+
*/
|
|
45
|
+
clean: (inlineConfig: CleanInlineConfig | PrepareInlineConfig) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Lint the project source code
|
|
48
|
+
*
|
|
49
|
+
* @param inlineConfig - The inline configuration for the lint command
|
|
50
|
+
* @returns A promise that resolves when the lint command has completed
|
|
51
|
+
*/
|
|
52
|
+
lint: (inlineConfig: LintInlineConfig) => Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Build the project
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* This method will build the Powerlines project, generating the necessary artifacts.
|
|
58
|
+
*
|
|
59
|
+
* @param inlineConfig - The inline configuration for the build command
|
|
60
|
+
* @returns A promise that resolves when the build command has completed
|
|
61
|
+
*/
|
|
62
|
+
build: (inlineConfig: BuildInlineConfig) => Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Prepare the documentation for the project
|
|
65
|
+
*
|
|
66
|
+
* @param inlineConfig - The inline configuration for the docs command
|
|
67
|
+
* @returns A promise that resolves when the documentation generation has completed
|
|
68
|
+
*/
|
|
69
|
+
docs: (inlineConfig: DocsInlineConfig) => Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Deploy the project source code
|
|
72
|
+
*
|
|
73
|
+
* @remarks
|
|
74
|
+
* This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
|
|
75
|
+
*
|
|
76
|
+
* @param inlineConfig - The inline configuration for the deploy command
|
|
77
|
+
*/
|
|
78
|
+
deploy: (inlineConfig: DeployInlineConfig) => Promise<void>;
|
|
79
|
+
/**
|
|
80
|
+
* Finalization process
|
|
81
|
+
*
|
|
82
|
+
* @remarks
|
|
83
|
+
* This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
|
|
84
|
+
*
|
|
85
|
+
* @returns A promise that resolves when the finalization process has completed
|
|
86
|
+
*/
|
|
87
|
+
finalize: () => Promise<void>;
|
|
88
|
+
/**
|
|
89
|
+
* Invokes the configured plugin hooks
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
* By default, it will call the `"pre"`, `"normal"`, and `"post"` ordered hooks in sequence
|
|
93
|
+
*
|
|
94
|
+
* @param hook - The hook to call
|
|
95
|
+
* @param options - The options to provide to the hook
|
|
96
|
+
* @param args - The arguments to pass to the hook
|
|
97
|
+
* @returns The result of the hook call
|
|
98
|
+
*/
|
|
99
|
+
callHook: <TKey extends string>(hook: TKey, options: CallHookOptions & {
|
|
100
|
+
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
101
|
+
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
export { API };
|
|
@@ -1,5 +1,104 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "../internal/helpers/hooks.mjs";
|
|
1
|
+
import { ResolvedConfig } from "./resolved.mjs";
|
|
2
|
+
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.mjs";
|
|
3
|
+
import { InferHookParameters, InferHookReturnType } from "./hooks.mjs";
|
|
4
|
+
import { APIContext, EnvironmentContext, PluginContext } from "./context.mjs";
|
|
5
|
+
import { CallHookOptions } from "../internal/helpers/hooks.mjs";
|
|
6
|
+
|
|
7
|
+
//#region ../powerlines/src/types/api.d.ts
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Powerlines API Interface
|
|
11
|
+
*/
|
|
12
|
+
interface API<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
13
|
+
/**
|
|
14
|
+
* The Powerlines shared API context
|
|
15
|
+
*/
|
|
16
|
+
context: APIContext<TResolvedConfig>;
|
|
17
|
+
/**
|
|
18
|
+
* Prepare the Powerlines API
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* This method will prepare the Powerlines API for use, initializing any necessary resources.
|
|
22
|
+
*
|
|
23
|
+
* @param inlineConfig - The inline configuration for the prepare command
|
|
24
|
+
*/
|
|
25
|
+
prepare: (inlineConfig: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | DeployInlineConfig) => Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new Powerlines project
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* This method will create a new Powerlines project in the current directory.
|
|
31
|
+
*
|
|
32
|
+
* @param inlineConfig - The inline configuration for the new command
|
|
33
|
+
* @returns A promise that resolves when the project has been created
|
|
34
|
+
*/
|
|
35
|
+
new: (inlineConfig: NewInlineConfig) => Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Clean any previously prepared artifacts
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* This method will remove the previous Powerlines artifacts from the project.
|
|
41
|
+
*
|
|
42
|
+
* @param inlineConfig - The inline configuration for the clean command
|
|
43
|
+
* @returns A promise that resolves when the clean command has completed
|
|
44
|
+
*/
|
|
45
|
+
clean: (inlineConfig: CleanInlineConfig | PrepareInlineConfig) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Lint the project source code
|
|
48
|
+
*
|
|
49
|
+
* @param inlineConfig - The inline configuration for the lint command
|
|
50
|
+
* @returns A promise that resolves when the lint command has completed
|
|
51
|
+
*/
|
|
52
|
+
lint: (inlineConfig: LintInlineConfig) => Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Build the project
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* This method will build the Powerlines project, generating the necessary artifacts.
|
|
58
|
+
*
|
|
59
|
+
* @param inlineConfig - The inline configuration for the build command
|
|
60
|
+
* @returns A promise that resolves when the build command has completed
|
|
61
|
+
*/
|
|
62
|
+
build: (inlineConfig: BuildInlineConfig) => Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Prepare the documentation for the project
|
|
65
|
+
*
|
|
66
|
+
* @param inlineConfig - The inline configuration for the docs command
|
|
67
|
+
* @returns A promise that resolves when the documentation generation has completed
|
|
68
|
+
*/
|
|
69
|
+
docs: (inlineConfig: DocsInlineConfig) => Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Deploy the project source code
|
|
72
|
+
*
|
|
73
|
+
* @remarks
|
|
74
|
+
* This method will prepare and build the Powerlines project, generating the necessary artifacts for the deployment.
|
|
75
|
+
*
|
|
76
|
+
* @param inlineConfig - The inline configuration for the deploy command
|
|
77
|
+
*/
|
|
78
|
+
deploy: (inlineConfig: DeployInlineConfig) => Promise<void>;
|
|
79
|
+
/**
|
|
80
|
+
* Finalization process
|
|
81
|
+
*
|
|
82
|
+
* @remarks
|
|
83
|
+
* This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
|
|
84
|
+
*
|
|
85
|
+
* @returns A promise that resolves when the finalization process has completed
|
|
86
|
+
*/
|
|
87
|
+
finalize: () => Promise<void>;
|
|
88
|
+
/**
|
|
89
|
+
* Invokes the configured plugin hooks
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
* By default, it will call the `"pre"`, `"normal"`, and `"post"` ordered hooks in sequence
|
|
93
|
+
*
|
|
94
|
+
* @param hook - The hook to call
|
|
95
|
+
* @param options - The options to provide to the hook
|
|
96
|
+
* @param args - The arguments to pass to the hook
|
|
97
|
+
* @returns The result of the hook call
|
|
98
|
+
*/
|
|
99
|
+
callHook: <TKey extends string>(hook: TKey, options: CallHookOptions & {
|
|
100
|
+
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
101
|
+
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
export { API };
|
|
@@ -1,3 +1,62 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import { __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩLintInlineConfig, __ΩNewInlineConfig, __ΩPrepareInlineConfig } from "./config.mjs";
|
|
2
|
+
import { __ΩResolvedConfig } from "./resolved.mjs";
|
|
3
|
+
import { __ΩInferHookParameters, __ΩInferHookReturnType } from "./hooks.mjs";
|
|
4
|
+
import { __ΩCallHookOptions } from "../internal/helpers/hooks.mjs";
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
//#region ../powerlines/src/types/api.ts
|
|
7
|
+
const __ΩAPI = [
|
|
8
|
+
() => __ΩResolvedConfig,
|
|
9
|
+
"TResolvedConfig",
|
|
10
|
+
"APIContext",
|
|
11
|
+
"context",
|
|
12
|
+
"The Powerlines shared API context",
|
|
13
|
+
() => __ΩPrepareInlineConfig,
|
|
14
|
+
() => __ΩNewInlineConfig,
|
|
15
|
+
() => __ΩCleanInlineConfig,
|
|
16
|
+
() => __ΩBuildInlineConfig,
|
|
17
|
+
() => __ΩLintInlineConfig,
|
|
18
|
+
() => __ΩDocsInlineConfig,
|
|
19
|
+
() => __ΩDeployInlineConfig,
|
|
20
|
+
"inlineConfig",
|
|
21
|
+
"",
|
|
22
|
+
"prepare",
|
|
23
|
+
"Prepare the Powerlines API",
|
|
24
|
+
() => __ΩNewInlineConfig,
|
|
25
|
+
"new",
|
|
26
|
+
"Create a new Powerlines project",
|
|
27
|
+
() => __ΩCleanInlineConfig,
|
|
28
|
+
() => __ΩPrepareInlineConfig,
|
|
29
|
+
"clean",
|
|
30
|
+
"Clean any previously prepared artifacts",
|
|
31
|
+
() => __ΩLintInlineConfig,
|
|
32
|
+
"lint",
|
|
33
|
+
"Lint the project source code",
|
|
34
|
+
() => __ΩBuildInlineConfig,
|
|
35
|
+
"build",
|
|
36
|
+
"Build the project",
|
|
37
|
+
() => __ΩDocsInlineConfig,
|
|
38
|
+
"docs",
|
|
39
|
+
"Prepare the documentation for the project",
|
|
40
|
+
() => __ΩDeployInlineConfig,
|
|
41
|
+
"deploy",
|
|
42
|
+
"Deploy the project source code",
|
|
43
|
+
"finalize",
|
|
44
|
+
"Finalization process",
|
|
45
|
+
"hook",
|
|
46
|
+
() => __ΩCallHookOptions,
|
|
47
|
+
"EnvironmentContext",
|
|
48
|
+
"environment",
|
|
49
|
+
"options",
|
|
50
|
+
() => __ΩInferHookParameters,
|
|
51
|
+
"PluginContext",
|
|
52
|
+
"args",
|
|
53
|
+
() => __ΩInferHookReturnType,
|
|
54
|
+
"callHook",
|
|
55
|
+
"Invokes the configured plugin hooks",
|
|
56
|
+
"Powerlines API Interface",
|
|
57
|
+
"API",
|
|
58
|
+
"n!c\"P\"w#4$?%PPn&n'n(n)n*n+n,J2-$`/.4/?0Pn12-$`/.42?3PPn4n5J2-$`/.46?7Pn82-$`/.49?:Pn;2-$`/.4<?=Pn>2-$`/.4??@PnA2-$`/.4B?CP$`/.4D?EP\"2FPnGPP&\"wHJ4I8MK2J\"wL\"oK#@2MP\"wL\"oN#-J`/.4O?PM?QwRy"
|
|
59
|
+
];
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
export { __ΩAPI };
|
|
@@ -26,7 +26,7 @@ const __ΩExclude = [
|
|
|
26
26
|
"Exclude",
|
|
27
27
|
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
28
28
|
];
|
|
29
|
-
const
|
|
29
|
+
const __ΩUnpluginBuilderVariant = [
|
|
30
30
|
"rollup",
|
|
31
31
|
"webpack",
|
|
32
32
|
"rspack",
|
|
@@ -34,7 +34,27 @@ const UNPLUGIN_BUILD_VARIANTS = [
|
|
|
34
34
|
"esbuild",
|
|
35
35
|
"farm",
|
|
36
36
|
"unloader",
|
|
37
|
-
"rolldown"
|
|
37
|
+
"rolldown",
|
|
38
|
+
"bun",
|
|
39
|
+
"UnpluginBuilderVariant",
|
|
40
|
+
"P.!.\".#.$.%.&.'.(.)Jw*y"
|
|
41
|
+
];
|
|
42
|
+
const UNPLUGIN_BUILDER_VARIANTS = [
|
|
43
|
+
"rollup",
|
|
44
|
+
"webpack",
|
|
45
|
+
"rspack",
|
|
46
|
+
"vite",
|
|
47
|
+
"esbuild",
|
|
48
|
+
"farm",
|
|
49
|
+
"unloader",
|
|
50
|
+
"rolldown",
|
|
51
|
+
"bun"
|
|
52
|
+
];
|
|
53
|
+
const BUILDER_VARIANTS = [
|
|
54
|
+
...UNPLUGIN_BUILDER_VARIANTS,
|
|
55
|
+
"tsup",
|
|
56
|
+
"tsdown",
|
|
57
|
+
"unbuild"
|
|
38
58
|
];
|
|
39
59
|
const __ΩBuildConfig = [
|
|
40
60
|
"node",
|
|
@@ -99,7 +119,9 @@ const __ΩESBuildResolvedBuildConfig = [
|
|
|
99
119
|
];
|
|
100
120
|
|
|
101
121
|
//#endregion
|
|
102
|
-
exports.
|
|
122
|
+
exports.BUILDER_VARIANTS = BUILDER_VARIANTS;
|
|
123
|
+
exports.UNPLUGIN_BUILDER_VARIANTS = UNPLUGIN_BUILDER_VARIANTS;
|
|
103
124
|
exports.__ΩBuildConfig = __ΩBuildConfig;
|
|
104
125
|
exports.__ΩBuildResolvedConfig = __ΩBuildResolvedConfig;
|
|
105
|
-
exports.__ΩESBuildResolvedBuildConfig = __ΩESBuildResolvedBuildConfig;
|
|
126
|
+
exports.__ΩESBuildResolvedBuildConfig = __ΩESBuildResolvedBuildConfig;
|
|
127
|
+
exports.__ΩUnpluginBuilderVariant = __ΩUnpluginBuilderVariant;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { DepOptimizationOptions, UserConfig } from "vite";
|
|
2
|
+
import { UserConfig as UserConfig$1 } from "@farmfe/core";
|
|
3
|
+
import { Configuration } from "@rspack/core";
|
|
4
|
+
import { BuildOptions } from "@storm-software/tsup/types";
|
|
5
|
+
import { UnbuildOptions } from "@storm-software/unbuild/types";
|
|
6
|
+
import { BuildOptions as BuildOptions$1 } from "esbuild";
|
|
7
|
+
import { RolldownOptions } from "rolldown";
|
|
8
|
+
import { OutputOptions, RollupOptions } from "rollup";
|
|
9
|
+
import { UserConfig as UserConfig$2 } from "tsdown";
|
|
10
|
+
import { Configuration as Configuration$1 } from "webpack";
|
|
2
11
|
|
|
3
|
-
|
|
12
|
+
//#region ../powerlines/src/types/build.d.ts
|
|
13
|
+
type UnpluginBuilderVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown" | "bun";
|
|
14
|
+
type BuilderVariant = UnpluginBuilderVariant | "tsup" | "tsdown" | "unbuild";
|
|
15
|
+
type InferUnpluginVariant<TBuildVariant extends BuilderVariant> = TBuildVariant extends "tsup" ? "esbuild" : TBuildVariant extends "tsdown" ? "rolldown" : TBuildVariant extends "unbuild" ? "rollup" : TBuildVariant;
|
|
4
16
|
interface BuildConfig {
|
|
5
17
|
/**
|
|
6
18
|
* The platform to build the project for
|
|
@@ -141,5 +153,33 @@ interface BuildConfig {
|
|
|
141
153
|
override?: Record<string, any>;
|
|
142
154
|
}
|
|
143
155
|
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
156
|
+
type ESBuildBuildConfig = Omit<BuildOptions$1, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
|
|
157
|
+
type ESBuildResolvedBuildConfig = Omit<BuildOptions$1, "inject"> & BuildResolvedConfig;
|
|
158
|
+
type ViteBuildConfig = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
|
|
159
|
+
/**
|
|
160
|
+
* Optimize deps config
|
|
161
|
+
*/
|
|
162
|
+
optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
|
|
163
|
+
};
|
|
164
|
+
type ViteResolvedBuildConfig = UserConfig & BuildResolvedConfig;
|
|
165
|
+
type WebpackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
166
|
+
type WebpackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
|
|
167
|
+
type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
168
|
+
type RspackResolvedBuildConfig = Configuration & BuildResolvedConfig;
|
|
169
|
+
type RollupBuildOutputConfig = Omit<OutputOptions, "dir" | "format">;
|
|
170
|
+
type RollupBuildConfig = Omit<RollupOptions, "entry" | "external" | "input" | "output" | "logLevel"> & {
|
|
171
|
+
output: RollupBuildOutputConfig | RollupBuildOutputConfig[];
|
|
172
|
+
} & BuildConfig;
|
|
173
|
+
type RollupResolvedBuildConfig = RollupOptions & BuildResolvedConfig;
|
|
174
|
+
type RolldownBuildConfig = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output"> & BuildConfig;
|
|
175
|
+
type RolldownResolvedBuildConfig = RolldownOptions & BuildResolvedConfig;
|
|
176
|
+
type TsupBuildConfig = Partial<Omit<BuildOptions, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
177
|
+
type TsupResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
|
|
178
|
+
type TsdownBuildConfig = Partial<Omit<UserConfig$2, "name" | "outDir" | "clean" | "cwd" | "tsconfig" | "publicDir" | "copy" | "alias" | "format" | "platform" | "env" | "define" | "entry" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
179
|
+
type TsdownResolvedBuildConfig = UserConfig$2 & BuildResolvedConfig;
|
|
180
|
+
type UnbuildBuildConfig = Partial<Omit<UnbuildOptions, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
181
|
+
type UnbuildResolvedBuildConfig = UnbuildOptions & BuildResolvedConfig;
|
|
182
|
+
type FarmBuildConfig = Partial<Omit<UserConfig$1, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
183
|
+
type FarmResolvedBuildConfig = UserConfig$1 & BuildResolvedConfig;
|
|
144
184
|
//#endregion
|
|
145
|
-
export { BuildConfig, BuildResolvedConfig,
|
|
185
|
+
export { BuildConfig, BuildResolvedConfig, BuilderVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuilderVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig };
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import "esbuild";
|
|
1
|
+
import { BuildOptions } from "esbuild";
|
|
2
|
+
import { DepOptimizationOptions, UserConfig } from "vite";
|
|
3
|
+
import { UserConfig as UserConfig$1 } from "@farmfe/core";
|
|
4
|
+
import { Configuration } from "@rspack/core";
|
|
5
|
+
import { BuildOptions as BuildOptions$1 } from "@storm-software/tsup/types";
|
|
6
|
+
import { UnbuildOptions } from "@storm-software/unbuild/types";
|
|
7
|
+
import { RolldownOptions } from "rolldown";
|
|
8
|
+
import { OutputOptions, RollupOptions } from "rollup";
|
|
9
|
+
import { UserConfig as UserConfig$2 } from "tsdown";
|
|
10
|
+
import { Configuration as Configuration$1 } from "webpack";
|
|
2
11
|
|
|
3
12
|
//#region ../powerlines/src/types/build.d.ts
|
|
4
|
-
|
|
5
|
-
type
|
|
13
|
+
type UnpluginBuilderVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown" | "bun";
|
|
14
|
+
type BuilderVariant = UnpluginBuilderVariant | "tsup" | "tsdown" | "unbuild";
|
|
15
|
+
type InferUnpluginVariant<TBuildVariant extends BuilderVariant> = TBuildVariant extends "tsup" ? "esbuild" : TBuildVariant extends "tsdown" ? "rolldown" : TBuildVariant extends "unbuild" ? "rollup" : TBuildVariant;
|
|
6
16
|
interface BuildConfig {
|
|
7
17
|
/**
|
|
8
18
|
* The platform to build the project for
|
|
@@ -143,5 +153,33 @@ interface BuildConfig {
|
|
|
143
153
|
override?: Record<string, any>;
|
|
144
154
|
}
|
|
145
155
|
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
156
|
+
type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
|
|
157
|
+
type ESBuildResolvedBuildConfig = Omit<BuildOptions, "inject"> & BuildResolvedConfig;
|
|
158
|
+
type ViteBuildConfig = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
|
|
159
|
+
/**
|
|
160
|
+
* Optimize deps config
|
|
161
|
+
*/
|
|
162
|
+
optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
|
|
163
|
+
};
|
|
164
|
+
type ViteResolvedBuildConfig = UserConfig & BuildResolvedConfig;
|
|
165
|
+
type WebpackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
166
|
+
type WebpackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
|
|
167
|
+
type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
168
|
+
type RspackResolvedBuildConfig = Configuration & BuildResolvedConfig;
|
|
169
|
+
type RollupBuildOutputConfig = Omit<OutputOptions, "dir" | "format">;
|
|
170
|
+
type RollupBuildConfig = Omit<RollupOptions, "entry" | "external" | "input" | "output" | "logLevel"> & {
|
|
171
|
+
output: RollupBuildOutputConfig | RollupBuildOutputConfig[];
|
|
172
|
+
} & BuildConfig;
|
|
173
|
+
type RollupResolvedBuildConfig = RollupOptions & BuildResolvedConfig;
|
|
174
|
+
type RolldownBuildConfig = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output"> & BuildConfig;
|
|
175
|
+
type RolldownResolvedBuildConfig = RolldownOptions & BuildResolvedConfig;
|
|
176
|
+
type TsupBuildConfig = Partial<Omit<BuildOptions$1, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
177
|
+
type TsupResolvedBuildConfig = BuildOptions$1 & BuildResolvedConfig;
|
|
178
|
+
type TsdownBuildConfig = Partial<Omit<UserConfig$2, "name" | "outDir" | "clean" | "cwd" | "tsconfig" | "publicDir" | "copy" | "alias" | "format" | "platform" | "env" | "define" | "entry" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
179
|
+
type TsdownResolvedBuildConfig = UserConfig$2 & BuildResolvedConfig;
|
|
180
|
+
type UnbuildBuildConfig = Partial<Omit<UnbuildOptions, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
181
|
+
type UnbuildResolvedBuildConfig = UnbuildOptions & BuildResolvedConfig;
|
|
182
|
+
type FarmBuildConfig = Partial<Omit<UserConfig$1, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
183
|
+
type FarmResolvedBuildConfig = UserConfig$1 & BuildResolvedConfig;
|
|
146
184
|
//#endregion
|
|
147
|
-
export { BuildConfig, BuildResolvedConfig,
|
|
185
|
+
export { BuildConfig, BuildResolvedConfig, BuilderVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuilderVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig };
|
|
@@ -25,7 +25,7 @@ const __ΩExclude = [
|
|
|
25
25
|
"Exclude",
|
|
26
26
|
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
27
27
|
];
|
|
28
|
-
const
|
|
28
|
+
const __ΩUnpluginBuilderVariant = [
|
|
29
29
|
"rollup",
|
|
30
30
|
"webpack",
|
|
31
31
|
"rspack",
|
|
@@ -33,7 +33,27 @@ const UNPLUGIN_BUILD_VARIANTS = [
|
|
|
33
33
|
"esbuild",
|
|
34
34
|
"farm",
|
|
35
35
|
"unloader",
|
|
36
|
-
"rolldown"
|
|
36
|
+
"rolldown",
|
|
37
|
+
"bun",
|
|
38
|
+
"UnpluginBuilderVariant",
|
|
39
|
+
"P.!.\".#.$.%.&.'.(.)Jw*y"
|
|
40
|
+
];
|
|
41
|
+
const UNPLUGIN_BUILDER_VARIANTS = [
|
|
42
|
+
"rollup",
|
|
43
|
+
"webpack",
|
|
44
|
+
"rspack",
|
|
45
|
+
"vite",
|
|
46
|
+
"esbuild",
|
|
47
|
+
"farm",
|
|
48
|
+
"unloader",
|
|
49
|
+
"rolldown",
|
|
50
|
+
"bun"
|
|
51
|
+
];
|
|
52
|
+
const BUILDER_VARIANTS = [
|
|
53
|
+
...UNPLUGIN_BUILDER_VARIANTS,
|
|
54
|
+
"tsup",
|
|
55
|
+
"tsdown",
|
|
56
|
+
"unbuild"
|
|
37
57
|
];
|
|
38
58
|
const __ΩBuildConfig = [
|
|
39
59
|
"node",
|
|
@@ -98,4 +118,4 @@ const __ΩESBuildResolvedBuildConfig = [
|
|
|
98
118
|
];
|
|
99
119
|
|
|
100
120
|
//#endregion
|
|
101
|
-
export {
|
|
121
|
+
export { BUILDER_VARIANTS, UNPLUGIN_BUILDER_VARIANTS, __ΩBuildConfig, __ΩBuildResolvedConfig, __ΩESBuildResolvedBuildConfig, __ΩUnpluginBuilderVariant };
|
|
@@ -288,19 +288,126 @@ const __ΩUserConfig = [
|
|
|
288
288
|
"UserConfig",
|
|
289
289
|
"\"w!c\"\"w#c$\"c%Pn'.(o&#Pe#!.*o)#Pe$#4+8?,e$\"o-\"4.8?/MK40?1Mw2y"
|
|
290
290
|
];
|
|
291
|
+
const __ΩPowerlinesCommand = [
|
|
292
|
+
"new",
|
|
293
|
+
"prepare",
|
|
294
|
+
"build",
|
|
295
|
+
"lint",
|
|
296
|
+
"test",
|
|
297
|
+
"docs",
|
|
298
|
+
"deploy",
|
|
299
|
+
"clean",
|
|
300
|
+
"PowerlinesCommand",
|
|
301
|
+
"P.!.\".#.$.%.&.'.(Jw)y"
|
|
302
|
+
];
|
|
303
|
+
const __ΩInlineConfig = [
|
|
304
|
+
() => __ΩUserConfig,
|
|
305
|
+
"TUserConfig",
|
|
306
|
+
() => __ΩPartial,
|
|
307
|
+
() => __ΩPowerlinesCommand,
|
|
308
|
+
"command",
|
|
309
|
+
"A string identifier for the Powerlines command being executed",
|
|
310
|
+
"InlineConfig",
|
|
311
|
+
"n!c\"Pe\"!o#\"Pn$4%?&MKw'y"
|
|
312
|
+
];
|
|
313
|
+
const __ΩNewInlineConfig = [
|
|
314
|
+
() => __ΩUserConfig,
|
|
315
|
+
"TUserConfig",
|
|
316
|
+
() => __ΩInlineConfig,
|
|
317
|
+
() => __ΩRequired,
|
|
318
|
+
() => __ΩPick,
|
|
319
|
+
() => __ΩInlineConfig,
|
|
320
|
+
"root",
|
|
321
|
+
"new",
|
|
322
|
+
"command",
|
|
323
|
+
"A string identifier for the Powerlines command being executed",
|
|
324
|
+
"packageName",
|
|
325
|
+
"The package name (from the \\`package.json\\`) for the project that will be used in the \\`new\\` command to create a new project based on this configuration",
|
|
326
|
+
"NewInlineConfig",
|
|
327
|
+
"n!c\"Pe\"!o#\"e\"!o&\".'o%#o$\"P.(4)?*&4+8?,MKw-y"
|
|
328
|
+
];
|
|
329
|
+
const __ΩCleanInlineConfig = [
|
|
330
|
+
() => __ΩUserConfig,
|
|
331
|
+
"TUserConfig",
|
|
332
|
+
() => __ΩInlineConfig,
|
|
333
|
+
"clean",
|
|
334
|
+
"command",
|
|
335
|
+
"A string identifier for the Powerlines command being executed",
|
|
336
|
+
"CleanInlineConfig",
|
|
337
|
+
"n!c\"Pe\"!o#\"P.$4%?&MKw'y"
|
|
338
|
+
];
|
|
339
|
+
const __ΩPrepareInlineConfig = [
|
|
340
|
+
() => __ΩUserConfig,
|
|
341
|
+
"TUserConfig",
|
|
342
|
+
() => __ΩInlineConfig,
|
|
343
|
+
"prepare",
|
|
344
|
+
"command",
|
|
345
|
+
"A string identifier for the Powerlines command being executed",
|
|
346
|
+
"PrepareInlineConfig",
|
|
347
|
+
"n!c\"Pe\"!o#\"P.$4%?&MKw'y"
|
|
348
|
+
];
|
|
349
|
+
const __ΩBuildInlineConfig = [
|
|
350
|
+
() => __ΩUserConfig,
|
|
351
|
+
"TUserConfig",
|
|
352
|
+
() => __ΩInlineConfig,
|
|
353
|
+
"build",
|
|
354
|
+
"command",
|
|
355
|
+
"A string identifier for the Powerlines command being executed",
|
|
356
|
+
"BuildInlineConfig",
|
|
357
|
+
"n!c\"Pe\"!o#\"P.$4%?&MKw'y"
|
|
358
|
+
];
|
|
359
|
+
const __ΩLintInlineConfig = [
|
|
360
|
+
() => __ΩUserConfig,
|
|
361
|
+
"TUserConfig",
|
|
362
|
+
() => __ΩInlineConfig,
|
|
363
|
+
"lint",
|
|
364
|
+
"command",
|
|
365
|
+
"A string identifier for the Powerlines command being executed",
|
|
366
|
+
"LintInlineConfig",
|
|
367
|
+
"n!c\"Pe\"!o#\"P.$4%?&MKw'y"
|
|
368
|
+
];
|
|
369
|
+
const __ΩDocsInlineConfig = [
|
|
370
|
+
() => __ΩUserConfig,
|
|
371
|
+
"TUserConfig",
|
|
372
|
+
() => __ΩInlineConfig,
|
|
373
|
+
"docs",
|
|
374
|
+
"command",
|
|
375
|
+
"A string identifier for the Powerlines command being executed",
|
|
376
|
+
"DocsInlineConfig",
|
|
377
|
+
"n!c\"Pe\"!o#\"P.$4%?&MKw'y"
|
|
378
|
+
];
|
|
379
|
+
const __ΩDeployInlineConfig = [
|
|
380
|
+
() => __ΩUserConfig,
|
|
381
|
+
"TUserConfig",
|
|
382
|
+
() => __ΩInlineConfig,
|
|
383
|
+
"deploy",
|
|
384
|
+
"command",
|
|
385
|
+
"A string identifier for the Powerlines command being executed",
|
|
386
|
+
"DeployInlineConfig",
|
|
387
|
+
"n!c\"Pe\"!o#\"P.$4%?&MKw'y"
|
|
388
|
+
];
|
|
291
389
|
|
|
292
390
|
//#endregion
|
|
293
391
|
exports.__ΩBabelUserConfig = __ΩBabelUserConfig;
|
|
294
392
|
exports.__ΩBaseConfig = __ΩBaseConfig;
|
|
393
|
+
exports.__ΩBuildInlineConfig = __ΩBuildInlineConfig;
|
|
394
|
+
exports.__ΩCleanInlineConfig = __ΩCleanInlineConfig;
|
|
295
395
|
exports.__ΩCommonUserConfig = __ΩCommonUserConfig;
|
|
296
396
|
exports.__ΩDeployConfig = __ΩDeployConfig;
|
|
397
|
+
exports.__ΩDeployInlineConfig = __ΩDeployInlineConfig;
|
|
398
|
+
exports.__ΩDocsInlineConfig = __ΩDocsInlineConfig;
|
|
297
399
|
exports.__ΩEnvironmentConfig = __ΩEnvironmentConfig;
|
|
400
|
+
exports.__ΩInlineConfig = __ΩInlineConfig;
|
|
401
|
+
exports.__ΩLintInlineConfig = __ΩLintInlineConfig;
|
|
298
402
|
exports.__ΩLogFn = __ΩLogFn;
|
|
403
|
+
exports.__ΩNewInlineConfig = __ΩNewInlineConfig;
|
|
299
404
|
exports.__ΩOutputConfig = __ΩOutputConfig;
|
|
300
405
|
exports.__ΩPluginConfig = __ΩPluginConfig;
|
|
301
406
|
exports.__ΩPluginConfigObject = __ΩPluginConfigObject;
|
|
302
407
|
exports.__ΩPluginConfigTuple = __ΩPluginConfigTuple;
|
|
303
408
|
exports.__ΩPluginFactory = __ΩPluginFactory;
|
|
409
|
+
exports.__ΩPowerlinesCommand = __ΩPowerlinesCommand;
|
|
410
|
+
exports.__ΩPrepareInlineConfig = __ΩPrepareInlineConfig;
|
|
304
411
|
exports.__ΩProjectType = __ΩProjectType;
|
|
305
412
|
exports.__ΩUserConfig = __ΩUserConfig;
|
|
306
413
|
exports.__ΩWorkspaceConfig = __ΩWorkspaceConfig;
|