@powerlines/plugin-env 0.15.122 → 0.15.124
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/plugin.cjs +11 -11
- package/dist/babel/plugin.d.cts +2 -2
- package/dist/babel/plugin.d.mts +2 -3
- package/dist/babel/plugin.mjs +5 -5
- package/dist/components/docs.cjs +6 -6
- package/dist/components/docs.d.cts +1 -1
- package/dist/components/docs.d.mts +1 -1
- package/dist/components/docs.mjs +3 -3
- package/dist/components/env.cjs +40 -40
- package/dist/components/env.d.cts +2 -2
- package/dist/components/env.d.mts +2 -2
- package/dist/components/env.mjs +11 -11
- package/dist/helpers/automd-generator.cjs +2 -2
- package/dist/helpers/automd-generator.d.cts +1 -1
- package/dist/helpers/automd-generator.d.mts +1 -1
- package/dist/helpers/automd-generator.mjs +1 -1
- package/dist/helpers/load.cjs +7 -7
- package/dist/helpers/load.mjs +8 -8
- package/dist/helpers/persistence.cjs +23 -23
- package/dist/helpers/persistence.d.cts +1 -1
- package/dist/helpers/persistence.d.mts +1 -1
- package/dist/helpers/persistence.mjs +5 -5
- package/dist/helpers/reflect.cjs +5 -5
- 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/index.cjs +13 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +12 -12
- package/dist/types/plugin.cjs +19 -18
- package/dist/types/plugin.d.cts +5 -6
- package/dist/types/plugin.d.mts +4 -6
- package/dist/types/plugin.mjs +4 -4
- package/package.json +7 -7
- package/dist/deepkit/schemas/reflection.cjs +0 -5426
- package/dist/deepkit/schemas/reflection.d.cts +0 -1560
- package/dist/deepkit/schemas/reflection.d.mts +0 -1560
- package/dist/deepkit/schemas/reflection.mjs +0 -5423
- package/dist/deepkit/schemas/reflection2.cjs +0 -4112
- package/dist/deepkit/schemas/reflection2.mjs +0 -4110
- package/dist/deepkit/src/capnp.cjs +0 -1692
- package/dist/deepkit/src/capnp.mjs +0 -1690
- package/dist/deepkit/src/esbuild-plugin.cjs +0 -99
- package/dist/deepkit/src/esbuild-plugin.mjs +0 -98
- package/dist/deepkit/src/reflect-type.cjs +0 -40
- package/dist/deepkit/src/reflect-type.mjs +0 -38
- package/dist/deepkit/src/resolve-reflections.cjs +0 -23
- package/dist/deepkit/src/resolve-reflections.mjs +0 -22
- package/dist/deepkit/src/transformer.cjs +0 -92
- package/dist/deepkit/src/transformer.mjs +0 -89
- package/dist/deepkit/src/transpile.cjs +0 -39
- package/dist/deepkit/src/transpile.mjs +0 -37
- package/dist/deepkit/src/types.cjs +0 -22
- package/dist/deepkit/src/types.d.cts +0 -10
- package/dist/deepkit/src/types.d.mts +0 -10
- package/dist/deepkit/src/types.mjs +0 -21
- package/dist/deepkit/src/utilities.cjs +0 -184
- package/dist/deepkit/src/utilities.mjs +0 -183
- package/dist/plugin-alloy/src/core/components/output.cjs +0 -43
- package/dist/plugin-alloy/src/core/components/output.mjs +0 -42
- package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
- package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
- package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
- package/dist/plugin-alloy/src/core/components/source-file.d.cts +0 -23
- package/dist/plugin-alloy/src/core/components/source-file.d.mts +0 -23
- package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
- package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -134
- package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -126
- package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
- package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
- package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -110
- package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -101
- package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -23
- package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -22
- package/dist/plugin-alloy/src/index.cjs +0 -105
- package/dist/plugin-alloy/src/index.mjs +0 -103
- package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
- package/dist/plugin-alloy/src/markdown/components/markdown-file.d.cts +0 -8
- package/dist/plugin-alloy/src/markdown/components/markdown-file.d.mts +0 -8
- package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
- package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
- package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -72
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -71
- package/dist/plugin-alloy/src/types/components.cjs +0 -22
- package/dist/plugin-alloy/src/types/components.d.cts +0 -20
- package/dist/plugin-alloy/src/types/components.d.mts +0 -21
- package/dist/plugin-alloy/src/types/components.mjs +0 -21
- package/dist/plugin-alloy/src/types/index.d.cts +0 -2
- package/dist/plugin-alloy/src/types/index.d.mts +0 -2
- package/dist/plugin-alloy/src/types/plugin.cjs +0 -53
- package/dist/plugin-alloy/src/types/plugin.d.cts +0 -36
- package/dist/plugin-alloy/src/types/plugin.d.mts +0 -36
- package/dist/plugin-alloy/src/types/plugin.mjs +0 -50
- package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -62
- package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +0 -26
- package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +0 -26
- package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -61
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -131
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -129
- package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -451
- package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +0 -37
- package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +0 -37
- package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -442
- package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -216
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +0 -16
- package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +0 -16
- package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -213
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -72
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +0 -12
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +0 -12
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -71
- package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
- package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
- package/dist/plugin-automd/src/index.cjs +0 -127
- package/dist/plugin-automd/src/index.mjs +0 -124
- package/dist/plugin-automd/src/types/plugin.cjs +0 -47
- package/dist/plugin-automd/src/types/plugin.d.cts +0 -38
- package/dist/plugin-automd/src/types/plugin.d.mts +0 -40
- package/dist/plugin-automd/src/types/plugin.mjs +0 -47
- package/dist/plugin-automd/src/types/toc.cjs +0 -26
- package/dist/plugin-automd/src/types/toc.d.cts +0 -33
- package/dist/plugin-automd/src/types/toc.d.mts +0 -33
- package/dist/plugin-automd/src/types/toc.mjs +0 -25
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -74
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -70
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -71
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -69
- package/dist/plugin-babel/src/helpers/filters.cjs +0 -158
- package/dist/plugin-babel/src/helpers/filters.mjs +0 -154
- package/dist/plugin-babel/src/helpers/index.cjs +0 -5
- package/dist/plugin-babel/src/helpers/index.mjs +0 -7
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -200
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -192
- package/dist/plugin-babel/src/helpers/options.cjs +0 -73
- package/dist/plugin-babel/src/helpers/options.mjs +0 -70
- package/dist/plugin-babel/src/index.cjs +0 -125
- package/dist/plugin-babel/src/index.mjs +0 -123
- package/dist/plugin-babel/src/types/index.d.mts +0 -1
- package/dist/plugin-babel/src/types/plugin.cjs +0 -42
- package/dist/plugin-babel/src/types/plugin.d.cts +0 -15
- package/dist/plugin-babel/src/types/plugin.d.mts +0 -15
- package/dist/plugin-babel/src/types/plugin.mjs +0 -39
- package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -136
- package/dist/powerlines/src/internal/helpers/hooks.d.cts +0 -47
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +0 -49
- package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -134
- package/dist/powerlines/src/lib/build/esbuild.cjs +0 -142
- package/dist/powerlines/src/lib/build/esbuild.mjs +0 -140
- package/dist/powerlines/src/lib/constants/environments.cjs +0 -6
- package/dist/powerlines/src/lib/constants/environments.mjs +0 -5
- package/dist/powerlines/src/lib/entry.cjs +0 -195
- package/dist/powerlines/src/lib/entry.mjs +0 -194
- package/dist/powerlines/src/lib/logger.cjs +0 -108
- package/dist/powerlines/src/lib/logger.mjs +0 -106
- package/dist/powerlines/src/lib/unplugin/helpers.cjs +0 -41
- package/dist/powerlines/src/lib/unplugin/helpers.mjs +0 -40
- package/dist/powerlines/src/lib/unplugin/module-resolution.cjs +0 -98
- package/dist/powerlines/src/lib/unplugin/module-resolution.mjs +0 -97
- package/dist/powerlines/src/lib/unplugin/plugin.cjs +0 -139
- package/dist/powerlines/src/lib/unplugin/plugin.mjs +0 -138
- package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -74
- package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -72
- package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -69
- package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -68
- package/dist/powerlines/src/lib/utilities/source-file.cjs +0 -68
- package/dist/powerlines/src/lib/utilities/source-file.mjs +0 -66
- package/dist/powerlines/src/plugin-utils/paths.cjs +0 -46
- package/dist/powerlines/src/plugin-utils/paths.mjs +0 -45
- package/dist/powerlines/src/types/api.cjs +0 -62
- package/dist/powerlines/src/types/api.d.cts +0 -104
- package/dist/powerlines/src/types/api.d.mts +0 -104
- package/dist/powerlines/src/types/api.mjs +0 -62
- package/dist/powerlines/src/types/babel.cjs +0 -156
- package/dist/powerlines/src/types/babel.d.cts +0 -23
- package/dist/powerlines/src/types/babel.d.mts +0 -23
- package/dist/powerlines/src/types/babel.mjs +0 -147
- package/dist/powerlines/src/types/build.cjs +0 -127
- package/dist/powerlines/src/types/build.d.cts +0 -185
- package/dist/powerlines/src/types/build.d.mts +0 -185
- package/dist/powerlines/src/types/build.mjs +0 -121
- package/dist/powerlines/src/types/commands.cjs +0 -16
- package/dist/powerlines/src/types/commands.d.cts +0 -8
- package/dist/powerlines/src/types/commands.d.mts +0 -9
- package/dist/powerlines/src/types/commands.mjs +0 -15
- package/dist/powerlines/src/types/config.cjs +0 -420
- package/dist/powerlines/src/types/config.d.cts +0 -435
- package/dist/powerlines/src/types/config.d.mts +0 -436
- package/dist/powerlines/src/types/config.mjs +0 -397
- package/dist/powerlines/src/types/context.cjs +0 -388
- package/dist/powerlines/src/types/context.d.cts +0 -514
- package/dist/powerlines/src/types/context.d.mts +0 -514
- package/dist/powerlines/src/types/context.mjs +0 -371
- package/dist/powerlines/src/types/fs.cjs +0 -78
- package/dist/powerlines/src/types/fs.d.cts +0 -486
- package/dist/powerlines/src/types/fs.d.mts +0 -486
- package/dist/powerlines/src/types/fs.mjs +0 -75
- package/dist/powerlines/src/types/hooks.cjs +0 -71
- package/dist/powerlines/src/types/hooks.d.cts +0 -32
- package/dist/powerlines/src/types/hooks.d.mts +0 -32
- package/dist/powerlines/src/types/hooks.mjs +0 -68
- package/dist/powerlines/src/types/index.cjs +0 -11
- package/dist/powerlines/src/types/index.d.mts +0 -12
- package/dist/powerlines/src/types/index.mjs +0 -13
- package/dist/powerlines/src/types/plugin.cjs +0 -184
- package/dist/powerlines/src/types/plugin.d.cts +0 -205
- package/dist/powerlines/src/types/plugin.d.mts +0 -205
- package/dist/powerlines/src/types/plugin.mjs +0 -178
- package/dist/powerlines/src/types/resolved.cjs +0 -149
- package/dist/powerlines/src/types/resolved.d.cts +0 -94
- package/dist/powerlines/src/types/resolved.d.mts +0 -94
- package/dist/powerlines/src/types/resolved.mjs +0 -144
- package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
- package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
- package/dist/powerlines/src/types/unplugin.cjs +0 -64
- package/dist/powerlines/src/types/unplugin.d.cts +0 -22
- package/dist/powerlines/src/types/unplugin.d.mts +0 -23
- package/dist/powerlines/src/types/unplugin.mjs +0 -62
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
const require_config = require('./config.cjs');
|
|
2
|
-
const require_resolved = require('./resolved.cjs');
|
|
3
|
-
const require_hooks = require('./hooks.cjs');
|
|
4
|
-
const require_hooks$1 = require('../internal/helpers/hooks.cjs');
|
|
5
|
-
|
|
6
|
-
//#region ../powerlines/src/types/api.ts
|
|
7
|
-
const __ΩAPI = [
|
|
8
|
-
() => require_resolved.__ΩResolvedConfig,
|
|
9
|
-
"TResolvedConfig",
|
|
10
|
-
"APIContext",
|
|
11
|
-
"context",
|
|
12
|
-
"The Powerlines shared API context",
|
|
13
|
-
() => require_config.__ΩPrepareInlineConfig,
|
|
14
|
-
() => require_config.__ΩNewInlineConfig,
|
|
15
|
-
() => require_config.__ΩCleanInlineConfig,
|
|
16
|
-
() => require_config.__ΩBuildInlineConfig,
|
|
17
|
-
() => require_config.__ΩLintInlineConfig,
|
|
18
|
-
() => require_config.__ΩDocsInlineConfig,
|
|
19
|
-
() => require_config.__ΩDeployInlineConfig,
|
|
20
|
-
"inlineConfig",
|
|
21
|
-
"",
|
|
22
|
-
"prepare",
|
|
23
|
-
"Prepare the Powerlines API",
|
|
24
|
-
() => require_config.__ΩNewInlineConfig,
|
|
25
|
-
"new",
|
|
26
|
-
"Create a new Powerlines project",
|
|
27
|
-
() => require_config.__ΩCleanInlineConfig,
|
|
28
|
-
() => require_config.__ΩPrepareInlineConfig,
|
|
29
|
-
"clean",
|
|
30
|
-
"Clean any previously prepared artifacts",
|
|
31
|
-
() => require_config.__ΩLintInlineConfig,
|
|
32
|
-
"lint",
|
|
33
|
-
"Lint the project source code",
|
|
34
|
-
() => require_config.__ΩBuildInlineConfig,
|
|
35
|
-
"build",
|
|
36
|
-
"Build the project",
|
|
37
|
-
() => require_config.__ΩDocsInlineConfig,
|
|
38
|
-
"docs",
|
|
39
|
-
"Prepare the documentation for the project",
|
|
40
|
-
() => require_config.__ΩDeployInlineConfig,
|
|
41
|
-
"deploy",
|
|
42
|
-
"Deploy the project source code",
|
|
43
|
-
"finalize",
|
|
44
|
-
"Finalization process",
|
|
45
|
-
"hook",
|
|
46
|
-
() => require_hooks$1.__ΩCallHookOptions,
|
|
47
|
-
"EnvironmentContext",
|
|
48
|
-
"environment",
|
|
49
|
-
"options",
|
|
50
|
-
() => require_hooks.__ΩInferHookParameters,
|
|
51
|
-
"PluginContext",
|
|
52
|
-
"args",
|
|
53
|
-
() => require_hooks.__Ω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
|
-
exports.__ΩAPI = __ΩAPI;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.cjs";
|
|
2
|
-
import { InferHookParameters, InferHookReturnType } from "./hooks.cjs";
|
|
3
|
-
import { ResolvedConfig } from "./resolved.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,104 +0,0 @@
|
|
|
1
|
-
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.mjs";
|
|
2
|
-
import { InferHookParameters, InferHookReturnType } from "./hooks.mjs";
|
|
3
|
-
import { ResolvedConfig } from "./resolved.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,62 +0,0 @@
|
|
|
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";
|
|
5
|
-
|
|
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 };
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region ../powerlines/src/types/babel.ts
|
|
3
|
-
const __ΩRecord = [
|
|
4
|
-
"K",
|
|
5
|
-
"T",
|
|
6
|
-
"Record",
|
|
7
|
-
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
8
|
-
];
|
|
9
|
-
const __ΩOmit = [
|
|
10
|
-
"T",
|
|
11
|
-
"K",
|
|
12
|
-
() => __ΩPick,
|
|
13
|
-
() => __ΩExclude,
|
|
14
|
-
"Omit",
|
|
15
|
-
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
16
|
-
];
|
|
17
|
-
const __ΩRequired = [
|
|
18
|
-
"T",
|
|
19
|
-
"Required",
|
|
20
|
-
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
21
|
-
];
|
|
22
|
-
const __ΩPick = [
|
|
23
|
-
"T",
|
|
24
|
-
"K",
|
|
25
|
-
"Pick",
|
|
26
|
-
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
27
|
-
];
|
|
28
|
-
const __ΩExclude = [
|
|
29
|
-
"T",
|
|
30
|
-
"U",
|
|
31
|
-
"Exclude",
|
|
32
|
-
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
33
|
-
];
|
|
34
|
-
const __ΩBabelPluginPass = [
|
|
35
|
-
"TState",
|
|
36
|
-
"PluginPass",
|
|
37
|
-
"BabelPluginPass",
|
|
38
|
-
"#c!P\"w\"e\"!Kw#y"
|
|
39
|
-
];
|
|
40
|
-
const __ΩBabelTransformPluginFilter = [
|
|
41
|
-
"code",
|
|
42
|
-
"id",
|
|
43
|
-
"",
|
|
44
|
-
"BabelTransformPluginFilter",
|
|
45
|
-
"P&2!&2\")/#w$y"
|
|
46
|
-
];
|
|
47
|
-
const __ΩBabelTransformPlugin = [
|
|
48
|
-
"Context",
|
|
49
|
-
"TContext",
|
|
50
|
-
() => __ΩRecord,
|
|
51
|
-
"TOptions",
|
|
52
|
-
"TState",
|
|
53
|
-
"context",
|
|
54
|
-
"name",
|
|
55
|
-
"LogFn",
|
|
56
|
-
"log",
|
|
57
|
-
"BabelAPI",
|
|
58
|
-
"api",
|
|
59
|
-
"options",
|
|
60
|
-
"dirname",
|
|
61
|
-
"PluginObj",
|
|
62
|
-
"",
|
|
63
|
-
"$$name",
|
|
64
|
-
"BabelTransformPlugin",
|
|
65
|
-
"\"w!c\"&\"o##c$#c%PPe#!2&PP&4'\"w(4)\"w*4+e%\"4,e%!4&&4-M2,\"w.////P&40MKw1y"
|
|
66
|
-
];
|
|
67
|
-
const __ΩBabelTransformPluginOptions = [
|
|
68
|
-
"Context",
|
|
69
|
-
"TContext",
|
|
70
|
-
() => __ΩRecord,
|
|
71
|
-
"TOptions",
|
|
72
|
-
"TState",
|
|
73
|
-
"PluginItem",
|
|
74
|
-
() => __ΩBabelTransformPlugin,
|
|
75
|
-
() => __ΩBabelTransformPlugin,
|
|
76
|
-
() => __ΩBabelTransformPlugin,
|
|
77
|
-
() => __ΩBabelTransformPluginFilter,
|
|
78
|
-
"BabelTransformPluginOptions",
|
|
79
|
-
"\"w!c\"&\"o##c$#c%P\"w&e\"!e\"\"e\"#o'$Pe#!e#\"e##o($e#\"GPe#!e#\"e##o)$e#\"n*GJw+y"
|
|
80
|
-
];
|
|
81
|
-
const __ΩResolvedBabelTransformPluginOptions = [
|
|
82
|
-
"Context",
|
|
83
|
-
"TContext",
|
|
84
|
-
() => __ΩRecord,
|
|
85
|
-
"TOptions",
|
|
86
|
-
"TState",
|
|
87
|
-
"PluginItem",
|
|
88
|
-
() => __ΩBabelTransformPlugin,
|
|
89
|
-
() => __ΩBabelTransformPluginFilter,
|
|
90
|
-
"ResolvedBabelTransformPluginOptions",
|
|
91
|
-
"\"w!c\"&\"o##c$#c%P\"w&Pe#!e#\"e##o'$e#\"Pn(,JGJw)y"
|
|
92
|
-
];
|
|
93
|
-
const __ΩBabelTransformPluginBuilderParams = [
|
|
94
|
-
"Context",
|
|
95
|
-
"TContext",
|
|
96
|
-
() => __ΩRecord,
|
|
97
|
-
"TOptions",
|
|
98
|
-
"name",
|
|
99
|
-
"LogFn",
|
|
100
|
-
"log",
|
|
101
|
-
"BabelAPI",
|
|
102
|
-
"api",
|
|
103
|
-
"options",
|
|
104
|
-
"context",
|
|
105
|
-
"dirname",
|
|
106
|
-
"BabelTransformPluginBuilderParams",
|
|
107
|
-
"\"w!c\"&\"o##c$P&4%\"w&4'\"w(4)e\"\"4*e\"!4+&4,Mw-y"
|
|
108
|
-
];
|
|
109
|
-
const __ΩBabelTransformPluginBuilder = [
|
|
110
|
-
"Context",
|
|
111
|
-
"TContext",
|
|
112
|
-
() => __ΩRecord,
|
|
113
|
-
"TOptions",
|
|
114
|
-
"TState",
|
|
115
|
-
() => __ΩBabelTransformPluginBuilderParams,
|
|
116
|
-
"params",
|
|
117
|
-
"PluginObj",
|
|
118
|
-
"",
|
|
119
|
-
"BabelTransformPluginBuilder",
|
|
120
|
-
"\"w!c\"&\"o##c$\"c%Pe\"!e\"\"o'\"w(/)w*y"
|
|
121
|
-
];
|
|
122
|
-
const __ΩDeclareBabelTransformPluginReturn = [
|
|
123
|
-
"Context",
|
|
124
|
-
"TContext",
|
|
125
|
-
() => __ΩRecord,
|
|
126
|
-
"TOptions",
|
|
127
|
-
"TState",
|
|
128
|
-
() => __ΩOmit,
|
|
129
|
-
() => __ΩBabelTransformPlugin,
|
|
130
|
-
"$$name",
|
|
131
|
-
() => __ΩRequired,
|
|
132
|
-
() => __ΩPick,
|
|
133
|
-
() => __ΩBabelTransformPlugin,
|
|
134
|
-
"$$name",
|
|
135
|
-
"DeclareBabelTransformPluginReturn",
|
|
136
|
-
"\"w!c\"&\"o##c$\"c%Pe\"!e\"\"e\"#o'$.(o&#e\"!e\"\"e\"#o+$.,o*#o)\"Kw-y"
|
|
137
|
-
];
|
|
138
|
-
const __ΩImportSpecifier = [
|
|
139
|
-
"name",
|
|
140
|
-
"module",
|
|
141
|
-
"imported",
|
|
142
|
-
"A non-local import specifier represents an import that is not defined within the current module.",
|
|
143
|
-
"ImportSpecifier",
|
|
144
|
-
"P&4!8&4\"&4#M?$w%y"
|
|
145
|
-
];
|
|
146
|
-
|
|
147
|
-
//#endregion
|
|
148
|
-
exports.__ΩBabelPluginPass = __ΩBabelPluginPass;
|
|
149
|
-
exports.__ΩBabelTransformPlugin = __ΩBabelTransformPlugin;
|
|
150
|
-
exports.__ΩBabelTransformPluginBuilder = __ΩBabelTransformPluginBuilder;
|
|
151
|
-
exports.__ΩBabelTransformPluginBuilderParams = __ΩBabelTransformPluginBuilderParams;
|
|
152
|
-
exports.__ΩBabelTransformPluginFilter = __ΩBabelTransformPluginFilter;
|
|
153
|
-
exports.__ΩBabelTransformPluginOptions = __ΩBabelTransformPluginOptions;
|
|
154
|
-
exports.__ΩDeclareBabelTransformPluginReturn = __ΩDeclareBabelTransformPluginReturn;
|
|
155
|
-
exports.__ΩImportSpecifier = __ΩImportSpecifier;
|
|
156
|
-
exports.__ΩResolvedBabelTransformPluginOptions = __ΩResolvedBabelTransformPluginOptions;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LogFn } from "./config.cjs";
|
|
2
|
-
import { Context } from "./context.cjs";
|
|
3
|
-
import { PluginItem, PluginObj, PluginPass } from "@babel/core";
|
|
4
|
-
import { BabelAPI } from "@babel/helper-plugin-utils";
|
|
5
|
-
|
|
6
|
-
//#region ../powerlines/src/types/babel.d.ts
|
|
7
|
-
|
|
8
|
-
type BabelPluginPass<TState = unknown> = PluginPass & TState;
|
|
9
|
-
type BabelTransformPluginFilter = (code: string, id: string) => boolean;
|
|
10
|
-
type BabelTransformPlugin<TContext extends Context = Context, TOptions extends Record<string, any> = Record<string, any>, TState = unknown> = ((context: TContext) => (options: {
|
|
11
|
-
name: string;
|
|
12
|
-
log: LogFn;
|
|
13
|
-
api: BabelAPI;
|
|
14
|
-
options: TOptions;
|
|
15
|
-
context: TContext;
|
|
16
|
-
dirname: string;
|
|
17
|
-
}) => PluginObj<TOptions & BabelPluginPass<TState>>) & {
|
|
18
|
-
$$name: string;
|
|
19
|
-
};
|
|
20
|
-
type BabelTransformPluginOptions<TContext extends Context = Context, TOptions extends Record<string, any> = Record<string, any>, TState = unknown> = PluginItem | BabelTransformPlugin<TContext, TOptions, TState> | [BabelTransformPlugin<TContext, TOptions, TState>, TOptions] | [BabelTransformPlugin<TContext, TOptions, TState>, TOptions, BabelTransformPluginFilter];
|
|
21
|
-
type DeclareBabelTransformPluginReturn<TContext extends Context = Context, TOptions extends Record<string, any> = Record<string, any>, TState = any> = Omit<BabelTransformPlugin<TContext, TOptions, TState>, "$$name"> & Required<Pick<BabelTransformPlugin<TContext, TOptions, TState>, "$$name">>;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { BabelTransformPluginOptions, DeclareBabelTransformPluginReturn };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LogFn } from "./config.mjs";
|
|
2
|
-
import { Context } from "./context.mjs";
|
|
3
|
-
import { PluginItem, PluginObj, PluginPass } from "@babel/core";
|
|
4
|
-
import { BabelAPI } from "@babel/helper-plugin-utils";
|
|
5
|
-
|
|
6
|
-
//#region ../powerlines/src/types/babel.d.ts
|
|
7
|
-
|
|
8
|
-
type BabelPluginPass<TState = unknown> = PluginPass & TState;
|
|
9
|
-
type BabelTransformPluginFilter = (code: string, id: string) => boolean;
|
|
10
|
-
type BabelTransformPlugin<TContext extends Context = Context, TOptions extends Record<string, any> = Record<string, any>, TState = unknown> = ((context: TContext) => (options: {
|
|
11
|
-
name: string;
|
|
12
|
-
log: LogFn;
|
|
13
|
-
api: BabelAPI;
|
|
14
|
-
options: TOptions;
|
|
15
|
-
context: TContext;
|
|
16
|
-
dirname: string;
|
|
17
|
-
}) => PluginObj<TOptions & BabelPluginPass<TState>>) & {
|
|
18
|
-
$$name: string;
|
|
19
|
-
};
|
|
20
|
-
type BabelTransformPluginOptions<TContext extends Context = Context, TOptions extends Record<string, any> = Record<string, any>, TState = unknown> = PluginItem | BabelTransformPlugin<TContext, TOptions, TState> | [BabelTransformPlugin<TContext, TOptions, TState>, TOptions] | [BabelTransformPlugin<TContext, TOptions, TState>, TOptions, BabelTransformPluginFilter];
|
|
21
|
-
type DeclareBabelTransformPluginReturn<TContext extends Context = Context, TOptions extends Record<string, any> = Record<string, any>, TState = any> = Omit<BabelTransformPlugin<TContext, TOptions, TState>, "$$name"> & Required<Pick<BabelTransformPlugin<TContext, TOptions, TState>, "$$name">>;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { BabelPluginPass, BabelTransformPlugin, BabelTransformPluginFilter, BabelTransformPluginOptions, DeclareBabelTransformPluginReturn };
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
//#region ../powerlines/src/types/babel.ts
|
|
2
|
-
const __ΩRecord = [
|
|
3
|
-
"K",
|
|
4
|
-
"T",
|
|
5
|
-
"Record",
|
|
6
|
-
"l'e#\"Rb!b\"Pde\"!N#!w#y"
|
|
7
|
-
];
|
|
8
|
-
const __ΩOmit = [
|
|
9
|
-
"T",
|
|
10
|
-
"K",
|
|
11
|
-
() => __ΩPick,
|
|
12
|
-
() => __ΩExclude,
|
|
13
|
-
"Omit",
|
|
14
|
-
"b!b\"e!!e!!ge!\"o$#o##w%y"
|
|
15
|
-
];
|
|
16
|
-
const __ΩRequired = [
|
|
17
|
-
"T",
|
|
18
|
-
"Required",
|
|
19
|
-
"l+e#!e\"!fRb!Pde\"!gN##w\"y"
|
|
20
|
-
];
|
|
21
|
-
const __ΩPick = [
|
|
22
|
-
"T",
|
|
23
|
-
"K",
|
|
24
|
-
"Pick",
|
|
25
|
-
"l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
|
|
26
|
-
];
|
|
27
|
-
const __ΩExclude = [
|
|
28
|
-
"T",
|
|
29
|
-
"U",
|
|
30
|
-
"Exclude",
|
|
31
|
-
"l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
|
|
32
|
-
];
|
|
33
|
-
const __ΩBabelPluginPass = [
|
|
34
|
-
"TState",
|
|
35
|
-
"PluginPass",
|
|
36
|
-
"BabelPluginPass",
|
|
37
|
-
"#c!P\"w\"e\"!Kw#y"
|
|
38
|
-
];
|
|
39
|
-
const __ΩBabelTransformPluginFilter = [
|
|
40
|
-
"code",
|
|
41
|
-
"id",
|
|
42
|
-
"",
|
|
43
|
-
"BabelTransformPluginFilter",
|
|
44
|
-
"P&2!&2\")/#w$y"
|
|
45
|
-
];
|
|
46
|
-
const __ΩBabelTransformPlugin = [
|
|
47
|
-
"Context",
|
|
48
|
-
"TContext",
|
|
49
|
-
() => __ΩRecord,
|
|
50
|
-
"TOptions",
|
|
51
|
-
"TState",
|
|
52
|
-
"context",
|
|
53
|
-
"name",
|
|
54
|
-
"LogFn",
|
|
55
|
-
"log",
|
|
56
|
-
"BabelAPI",
|
|
57
|
-
"api",
|
|
58
|
-
"options",
|
|
59
|
-
"dirname",
|
|
60
|
-
"PluginObj",
|
|
61
|
-
"",
|
|
62
|
-
"$$name",
|
|
63
|
-
"BabelTransformPlugin",
|
|
64
|
-
"\"w!c\"&\"o##c$#c%PPe#!2&PP&4'\"w(4)\"w*4+e%\"4,e%!4&&4-M2,\"w.////P&40MKw1y"
|
|
65
|
-
];
|
|
66
|
-
const __ΩBabelTransformPluginOptions = [
|
|
67
|
-
"Context",
|
|
68
|
-
"TContext",
|
|
69
|
-
() => __ΩRecord,
|
|
70
|
-
"TOptions",
|
|
71
|
-
"TState",
|
|
72
|
-
"PluginItem",
|
|
73
|
-
() => __ΩBabelTransformPlugin,
|
|
74
|
-
() => __ΩBabelTransformPlugin,
|
|
75
|
-
() => __ΩBabelTransformPlugin,
|
|
76
|
-
() => __ΩBabelTransformPluginFilter,
|
|
77
|
-
"BabelTransformPluginOptions",
|
|
78
|
-
"\"w!c\"&\"o##c$#c%P\"w&e\"!e\"\"e\"#o'$Pe#!e#\"e##o($e#\"GPe#!e#\"e##o)$e#\"n*GJw+y"
|
|
79
|
-
];
|
|
80
|
-
const __ΩResolvedBabelTransformPluginOptions = [
|
|
81
|
-
"Context",
|
|
82
|
-
"TContext",
|
|
83
|
-
() => __ΩRecord,
|
|
84
|
-
"TOptions",
|
|
85
|
-
"TState",
|
|
86
|
-
"PluginItem",
|
|
87
|
-
() => __ΩBabelTransformPlugin,
|
|
88
|
-
() => __ΩBabelTransformPluginFilter,
|
|
89
|
-
"ResolvedBabelTransformPluginOptions",
|
|
90
|
-
"\"w!c\"&\"o##c$#c%P\"w&Pe#!e#\"e##o'$e#\"Pn(,JGJw)y"
|
|
91
|
-
];
|
|
92
|
-
const __ΩBabelTransformPluginBuilderParams = [
|
|
93
|
-
"Context",
|
|
94
|
-
"TContext",
|
|
95
|
-
() => __ΩRecord,
|
|
96
|
-
"TOptions",
|
|
97
|
-
"name",
|
|
98
|
-
"LogFn",
|
|
99
|
-
"log",
|
|
100
|
-
"BabelAPI",
|
|
101
|
-
"api",
|
|
102
|
-
"options",
|
|
103
|
-
"context",
|
|
104
|
-
"dirname",
|
|
105
|
-
"BabelTransformPluginBuilderParams",
|
|
106
|
-
"\"w!c\"&\"o##c$P&4%\"w&4'\"w(4)e\"\"4*e\"!4+&4,Mw-y"
|
|
107
|
-
];
|
|
108
|
-
const __ΩBabelTransformPluginBuilder = [
|
|
109
|
-
"Context",
|
|
110
|
-
"TContext",
|
|
111
|
-
() => __ΩRecord,
|
|
112
|
-
"TOptions",
|
|
113
|
-
"TState",
|
|
114
|
-
() => __ΩBabelTransformPluginBuilderParams,
|
|
115
|
-
"params",
|
|
116
|
-
"PluginObj",
|
|
117
|
-
"",
|
|
118
|
-
"BabelTransformPluginBuilder",
|
|
119
|
-
"\"w!c\"&\"o##c$\"c%Pe\"!e\"\"o'\"w(/)w*y"
|
|
120
|
-
];
|
|
121
|
-
const __ΩDeclareBabelTransformPluginReturn = [
|
|
122
|
-
"Context",
|
|
123
|
-
"TContext",
|
|
124
|
-
() => __ΩRecord,
|
|
125
|
-
"TOptions",
|
|
126
|
-
"TState",
|
|
127
|
-
() => __ΩOmit,
|
|
128
|
-
() => __ΩBabelTransformPlugin,
|
|
129
|
-
"$$name",
|
|
130
|
-
() => __ΩRequired,
|
|
131
|
-
() => __ΩPick,
|
|
132
|
-
() => __ΩBabelTransformPlugin,
|
|
133
|
-
"$$name",
|
|
134
|
-
"DeclareBabelTransformPluginReturn",
|
|
135
|
-
"\"w!c\"&\"o##c$\"c%Pe\"!e\"\"e\"#o'$.(o&#e\"!e\"\"e\"#o+$.,o*#o)\"Kw-y"
|
|
136
|
-
];
|
|
137
|
-
const __ΩImportSpecifier = [
|
|
138
|
-
"name",
|
|
139
|
-
"module",
|
|
140
|
-
"imported",
|
|
141
|
-
"A non-local import specifier represents an import that is not defined within the current module.",
|
|
142
|
-
"ImportSpecifier",
|
|
143
|
-
"P&4!8&4\"&4#M?$w%y"
|
|
144
|
-
];
|
|
145
|
-
|
|
146
|
-
//#endregion
|
|
147
|
-
export { __ΩBabelPluginPass, __ΩBabelTransformPlugin, __ΩBabelTransformPluginBuilder, __ΩBabelTransformPluginBuilderParams, __ΩBabelTransformPluginFilter, __ΩBabelTransformPluginOptions, __ΩDeclareBabelTransformPluginReturn, __ΩImportSpecifier, __ΩResolvedBabelTransformPluginOptions };
|