@powerlines/plugin-env 0.13.26 → 0.13.28
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.d.cts +3 -5
- package/dist/babel/index.d.ts +3 -5
- package/dist/babel/plugin.d.cts +3 -5
- package/dist/babel/plugin.d.ts +3 -5
- package/dist/components/env.d.cts +1 -2
- package/dist/components/env.d.ts +1 -2
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.ts +1 -2
- package/dist/{vfs-BS4ST5TO.d.cts → fs-B3t0EW52.d.cts} +45 -29
- package/dist/{vfs-BS4ST5TO.d.ts → fs-B3t0EW52.d.ts} +45 -29
- package/dist/helpers/index.d.cts +3 -5
- package/dist/helpers/index.d.ts +3 -5
- package/dist/helpers/load.d.cts +3 -5
- package/dist/helpers/load.d.ts +3 -5
- package/dist/helpers/persistence.d.cts +3 -5
- package/dist/helpers/persistence.d.ts +3 -5
- package/dist/helpers/reflect.d.cts +3 -5
- package/dist/helpers/reflect.d.ts +3 -5
- package/dist/helpers/template-helpers.d.cts +3 -5
- package/dist/helpers/template-helpers.d.ts +3 -5
- package/dist/index.d.cts +4 -6
- package/dist/index.d.ts +4 -6
- package/dist/{runtime-Bv4xY4CP.d.ts → runtime-917-zSME.d.ts} +9 -8
- package/dist/{runtime-DpsPYVzV.d.cts → runtime-DRc5I70S.d.cts} +9 -8
- package/dist/types/index.d.cts +3 -5
- package/dist/types/index.d.ts +3 -5
- package/dist/types/plugin.d.cts +3 -5
- package/dist/types/plugin.d.ts +3 -5
- package/dist/types/runtime.d.cts +3 -5
- package/dist/types/runtime.d.ts +3 -5
- package/package.json +10 -10
package/dist/babel/index.d.cts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export { envBabelPlugin } from './plugin.cjs';
|
|
2
|
-
import '../runtime-
|
|
2
|
+
import '../runtime-DRc5I70S.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
6
6
|
import 'jiti';
|
|
7
|
-
import 'oxc-parser';
|
|
8
7
|
import 'semver';
|
|
9
8
|
import 'unplugin';
|
|
10
9
|
import '@babel/core';
|
|
@@ -15,12 +14,11 @@ import '@stryke/types/configuration';
|
|
|
15
14
|
import '@stryke/types/file';
|
|
16
15
|
import 'vite';
|
|
17
16
|
import '@babel/helper-plugin-utils';
|
|
17
|
+
import '../fs-B3t0EW52.cjs';
|
|
18
|
+
import 'node:fs';
|
|
18
19
|
import '@stryke/types/array';
|
|
19
20
|
import '@stryke/types/tsconfig';
|
|
20
21
|
import 'typescript';
|
|
21
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
22
|
-
import '@stryke/json/types';
|
|
23
|
-
import 'node:fs';
|
|
24
22
|
import '../types/plugin.cjs';
|
|
25
23
|
import '@alloy-js/core/jsx-runtime';
|
|
26
24
|
import '@deepkit/type';
|
package/dist/babel/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export { envBabelPlugin } from './plugin.js';
|
|
2
|
-
import '../runtime-
|
|
2
|
+
import '../runtime-917-zSME.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
6
6
|
import 'jiti';
|
|
7
|
-
import 'oxc-parser';
|
|
8
7
|
import 'semver';
|
|
9
8
|
import 'unplugin';
|
|
10
9
|
import '@babel/core';
|
|
@@ -15,12 +14,11 @@ import '@stryke/types/configuration';
|
|
|
15
14
|
import '@stryke/types/file';
|
|
16
15
|
import 'vite';
|
|
17
16
|
import '@babel/helper-plugin-utils';
|
|
17
|
+
import '../fs-B3t0EW52.js';
|
|
18
|
+
import 'node:fs';
|
|
18
19
|
import '@stryke/types/array';
|
|
19
20
|
import '@stryke/types/tsconfig';
|
|
20
21
|
import 'typescript';
|
|
21
|
-
import '../vfs-BS4ST5TO.js';
|
|
22
|
-
import '@stryke/json/types';
|
|
23
|
-
import 'node:fs';
|
|
24
22
|
import '../types/plugin.js';
|
|
25
23
|
import '@alloy-js/core/jsx-runtime';
|
|
26
24
|
import '@deepkit/type';
|
package/dist/babel/plugin.d.cts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { D as DeclareBabelTransformPluginReturn } from '../runtime-
|
|
1
|
+
import { D as DeclareBabelTransformPluginReturn } from '../runtime-DRc5I70S.cjs';
|
|
2
2
|
import { EnvPluginContext, EnvPluginResolvedConfig } from '../types/plugin.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
6
6
|
import 'jiti';
|
|
7
|
-
import 'oxc-parser';
|
|
8
7
|
import 'semver';
|
|
9
8
|
import 'unplugin';
|
|
10
9
|
import '@babel/core';
|
|
@@ -15,12 +14,11 @@ import '@stryke/types/configuration';
|
|
|
15
14
|
import '@stryke/types/file';
|
|
16
15
|
import 'vite';
|
|
17
16
|
import '@babel/helper-plugin-utils';
|
|
17
|
+
import '../fs-B3t0EW52.cjs';
|
|
18
|
+
import 'node:fs';
|
|
18
19
|
import '@stryke/types/array';
|
|
19
20
|
import '@stryke/types/tsconfig';
|
|
20
21
|
import 'typescript';
|
|
21
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
22
|
-
import '@stryke/json/types';
|
|
23
|
-
import 'node:fs';
|
|
24
22
|
import '@alloy-js/core/jsx-runtime';
|
|
25
23
|
import '@deepkit/type';
|
|
26
24
|
import '@stryke/capnp';
|
package/dist/babel/plugin.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { D as DeclareBabelTransformPluginReturn } from '../runtime-
|
|
1
|
+
import { D as DeclareBabelTransformPluginReturn } from '../runtime-917-zSME.js';
|
|
2
2
|
import { EnvPluginContext, EnvPluginResolvedConfig } from '../types/plugin.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/base';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
6
6
|
import 'jiti';
|
|
7
|
-
import 'oxc-parser';
|
|
8
7
|
import 'semver';
|
|
9
8
|
import 'unplugin';
|
|
10
9
|
import '@babel/core';
|
|
@@ -15,12 +14,11 @@ import '@stryke/types/configuration';
|
|
|
15
14
|
import '@stryke/types/file';
|
|
16
15
|
import 'vite';
|
|
17
16
|
import '@babel/helper-plugin-utils';
|
|
17
|
+
import '../fs-B3t0EW52.js';
|
|
18
|
+
import 'node:fs';
|
|
18
19
|
import '@stryke/types/array';
|
|
19
20
|
import '@stryke/types/tsconfig';
|
|
20
21
|
import 'typescript';
|
|
21
|
-
import '../vfs-BS4ST5TO.js';
|
|
22
|
-
import '@stryke/json/types';
|
|
23
|
-
import 'node:fs';
|
|
24
22
|
import '@alloy-js/core/jsx-runtime';
|
|
25
23
|
import '@deepkit/type';
|
|
26
24
|
import '@stryke/capnp';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Children as Children$1, SourceFileProps as SourceFileProps$1 } from '@alloy-js/core';
|
|
2
2
|
import { Children } from '@alloy-js/core/jsx-runtime';
|
|
3
|
-
import { O as OutputModeType } from '../
|
|
3
|
+
import { O as OutputModeType } from '../fs-B3t0EW52.cjs';
|
|
4
4
|
import { InterfaceDeclarationProps } from '@alloy-js/typescript';
|
|
5
5
|
import { ReflectionClass } from '@deepkit/type';
|
|
6
|
-
import '@stryke/json/types';
|
|
7
6
|
import 'node:fs';
|
|
8
7
|
|
|
9
8
|
/**
|
package/dist/components/env.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Children as Children$1, SourceFileProps as SourceFileProps$1 } from '@alloy-js/core';
|
|
2
2
|
import { Children } from '@alloy-js/core/jsx-runtime';
|
|
3
|
-
import { O as OutputModeType } from '../
|
|
3
|
+
import { O as OutputModeType } from '../fs-B3t0EW52.js';
|
|
4
4
|
import { InterfaceDeclarationProps } from '@alloy-js/typescript';
|
|
5
5
|
import { ReflectionClass } from '@deepkit/type';
|
|
6
|
-
import '@stryke/json/types';
|
|
7
6
|
import 'node:fs';
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export { EnvBuiltin, EnvBuiltinProps, EnvTypeDefinition, __ΩEnvBuiltinProps } from './env.cjs';
|
|
2
2
|
import '@alloy-js/core';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
|
-
import '../
|
|
5
|
-
import '@stryke/json/types';
|
|
4
|
+
import '../fs-B3t0EW52.cjs';
|
|
6
5
|
import 'node:fs';
|
|
7
6
|
import '@alloy-js/typescript';
|
|
8
7
|
import '@deepkit/type';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export { EnvBuiltin, EnvBuiltinProps, EnvTypeDefinition, __ΩEnvBuiltinProps } from './env.js';
|
|
2
2
|
import '@alloy-js/core';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
|
-
import '../
|
|
5
|
-
import '@stryke/json/types';
|
|
4
|
+
import '../fs-B3t0EW52.js';
|
|
6
5
|
import 'node:fs';
|
|
7
6
|
import '@alloy-js/typescript';
|
|
8
7
|
import '@deepkit/type';
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { PrimitiveJsonValue } from '@stryke/json/types';
|
|
2
1
|
import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDirectoryOptions as MakeDirectoryOptions$1, PathOrFileDescriptor, WriteFileOptions as WriteFileOptions$1 } from 'node:fs';
|
|
3
2
|
|
|
4
3
|
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
5
4
|
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
6
5
|
type OutputModeType = "fs" | "virtual";
|
|
7
|
-
interface
|
|
6
|
+
interface VirtualFileMetadata {
|
|
8
7
|
/**
|
|
9
|
-
* The
|
|
10
|
-
*
|
|
11
|
-
* @remarks
|
|
12
|
-
* If no specific id is provided, it defaults to the file's {@link path}.
|
|
8
|
+
* The identifier for the file data.
|
|
13
9
|
*/
|
|
14
10
|
id: string;
|
|
15
11
|
/**
|
|
16
|
-
*
|
|
12
|
+
* The timestamp of the virtual file.
|
|
17
13
|
*/
|
|
18
|
-
|
|
14
|
+
timestamp: number;
|
|
19
15
|
/**
|
|
20
|
-
* The
|
|
16
|
+
* The type of the file.
|
|
21
17
|
*
|
|
22
18
|
* @remarks
|
|
23
19
|
* This string represents the purpose/function of the file in the virtual file system. A potential list of variants includes:
|
|
@@ -25,52 +21,72 @@ interface VirtualFile {
|
|
|
25
21
|
* - `entry`: Indicates that the file is an entry point for execution.
|
|
26
22
|
* - `normal`: Indicates that the file is a standard file without any special role.
|
|
27
23
|
*/
|
|
28
|
-
|
|
24
|
+
type: string;
|
|
29
25
|
/**
|
|
30
26
|
* The output mode of the file.
|
|
31
|
-
*
|
|
32
|
-
* @remarks
|
|
33
|
-
* This indicates whether the file is intended to be written to the actual file system (`fs`) or kept in the virtual file system (`virtual`).
|
|
34
|
-
*/
|
|
35
|
-
mode: OutputModeType;
|
|
36
|
-
/**
|
|
37
|
-
* A virtual (or actual) path to the file in the file system.
|
|
38
27
|
*/
|
|
39
|
-
|
|
28
|
+
mode: string;
|
|
40
29
|
/**
|
|
41
|
-
*
|
|
30
|
+
* Additional metadata associated with the file.
|
|
42
31
|
*/
|
|
43
|
-
|
|
32
|
+
properties: Record<string, string>;
|
|
44
33
|
}
|
|
45
|
-
interface
|
|
34
|
+
interface VirtualFileData {
|
|
46
35
|
/**
|
|
47
36
|
* The identifier for the file data.
|
|
48
37
|
*/
|
|
49
|
-
id
|
|
38
|
+
id?: string;
|
|
50
39
|
/**
|
|
51
|
-
* The
|
|
40
|
+
* The contents of the virtual file.
|
|
52
41
|
*/
|
|
53
|
-
|
|
42
|
+
code: string;
|
|
43
|
+
/**
|
|
44
|
+
* The type of the file.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* This string represents the purpose/function of the file in the virtual file system. A potential list of variants includes:
|
|
48
|
+
* - `builtin`: Indicates that the file is a built-in module provided by the system.
|
|
49
|
+
* - `entry`: Indicates that the file is an entry point for execution.
|
|
50
|
+
* - `chunk`: Indicates that the file is a code chunk, typically used in code-splitting scenarios.
|
|
51
|
+
* - `prebuilt-chunk`: Indicates that the file is a prebuilt code chunk.
|
|
52
|
+
* - `asset`: Indicates that the file is a static asset, such as an image or stylesheet.
|
|
53
|
+
* - `normal`: Indicates that the file is a standard file without any special role.
|
|
54
|
+
*/
|
|
55
|
+
type?: string;
|
|
54
56
|
/**
|
|
55
57
|
* The output mode of the file.
|
|
56
58
|
*/
|
|
57
|
-
mode
|
|
59
|
+
mode?: string;
|
|
58
60
|
/**
|
|
59
61
|
* Additional metadata associated with the file.
|
|
60
62
|
*/
|
|
61
|
-
properties
|
|
63
|
+
properties?: Record<string, string>;
|
|
64
|
+
}
|
|
65
|
+
interface VirtualFile extends Required<VirtualFileData>, VirtualFileMetadata {
|
|
66
|
+
/**
|
|
67
|
+
* An additional name for the file.
|
|
68
|
+
*/
|
|
69
|
+
path: string;
|
|
70
|
+
/**
|
|
71
|
+
* The timestamp of the virtual file.
|
|
72
|
+
*/
|
|
73
|
+
timestamp: number;
|
|
62
74
|
}
|
|
63
75
|
interface ResolveFSOptions {
|
|
64
76
|
mode?: OutputModeType;
|
|
65
77
|
}
|
|
66
78
|
type MakeDirectoryOptions = (Mode | MakeDirectoryOptions$1) & ResolveFSOptions;
|
|
67
79
|
interface PowerlinesWriteFileOptions extends ResolveFSOptions {
|
|
80
|
+
/**
|
|
81
|
+
* Should the file skip formatting before being written?
|
|
82
|
+
*
|
|
83
|
+
* @defaultValue false
|
|
84
|
+
*/
|
|
68
85
|
skipFormat?: boolean;
|
|
69
86
|
}
|
|
70
87
|
type NodeWriteFileOptions = WriteFileOptions$1;
|
|
71
88
|
type WriteFileOptions = NodeWriteFileOptions | PowerlinesWriteFileOptions;
|
|
72
|
-
type
|
|
73
|
-
type WriteFileData = string | NodeJS.ArrayBufferView | PowerLinesWriteFileData;
|
|
89
|
+
type WriteFileData = string | NodeJS.ArrayBufferView | VirtualFileData;
|
|
74
90
|
interface ResolvePathOptions extends ResolveFSOptions {
|
|
75
91
|
/**
|
|
76
92
|
* Should the resolved path include the file extension?
|
|
@@ -85,7 +101,7 @@ interface ResolvePathOptions extends ResolveFSOptions {
|
|
|
85
101
|
/**
|
|
86
102
|
* The type of the path to resolve.
|
|
87
103
|
*/
|
|
88
|
-
|
|
104
|
+
pathType?: "file" | "directory";
|
|
89
105
|
}
|
|
90
106
|
interface VirtualFileSystemInterface {
|
|
91
107
|
/**
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { PrimitiveJsonValue } from '@stryke/json/types';
|
|
2
1
|
import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDirectoryOptions as MakeDirectoryOptions$1, PathOrFileDescriptor, WriteFileOptions as WriteFileOptions$1 } from 'node:fs';
|
|
3
2
|
|
|
4
3
|
declare const __VFS_PATCH__ = "__VFS_PATCH__";
|
|
5
4
|
declare const __VFS_REVERT__ = "__VFS_REVERT__";
|
|
6
5
|
type OutputModeType = "fs" | "virtual";
|
|
7
|
-
interface
|
|
6
|
+
interface VirtualFileMetadata {
|
|
8
7
|
/**
|
|
9
|
-
* The
|
|
10
|
-
*
|
|
11
|
-
* @remarks
|
|
12
|
-
* If no specific id is provided, it defaults to the file's {@link path}.
|
|
8
|
+
* The identifier for the file data.
|
|
13
9
|
*/
|
|
14
10
|
id: string;
|
|
15
11
|
/**
|
|
16
|
-
*
|
|
12
|
+
* The timestamp of the virtual file.
|
|
17
13
|
*/
|
|
18
|
-
|
|
14
|
+
timestamp: number;
|
|
19
15
|
/**
|
|
20
|
-
* The
|
|
16
|
+
* The type of the file.
|
|
21
17
|
*
|
|
22
18
|
* @remarks
|
|
23
19
|
* This string represents the purpose/function of the file in the virtual file system. A potential list of variants includes:
|
|
@@ -25,52 +21,72 @@ interface VirtualFile {
|
|
|
25
21
|
* - `entry`: Indicates that the file is an entry point for execution.
|
|
26
22
|
* - `normal`: Indicates that the file is a standard file without any special role.
|
|
27
23
|
*/
|
|
28
|
-
|
|
24
|
+
type: string;
|
|
29
25
|
/**
|
|
30
26
|
* The output mode of the file.
|
|
31
|
-
*
|
|
32
|
-
* @remarks
|
|
33
|
-
* This indicates whether the file is intended to be written to the actual file system (`fs`) or kept in the virtual file system (`virtual`).
|
|
34
|
-
*/
|
|
35
|
-
mode: OutputModeType;
|
|
36
|
-
/**
|
|
37
|
-
* A virtual (or actual) path to the file in the file system.
|
|
38
27
|
*/
|
|
39
|
-
|
|
28
|
+
mode: string;
|
|
40
29
|
/**
|
|
41
|
-
*
|
|
30
|
+
* Additional metadata associated with the file.
|
|
42
31
|
*/
|
|
43
|
-
|
|
32
|
+
properties: Record<string, string>;
|
|
44
33
|
}
|
|
45
|
-
interface
|
|
34
|
+
interface VirtualFileData {
|
|
46
35
|
/**
|
|
47
36
|
* The identifier for the file data.
|
|
48
37
|
*/
|
|
49
|
-
id
|
|
38
|
+
id?: string;
|
|
50
39
|
/**
|
|
51
|
-
* The
|
|
40
|
+
* The contents of the virtual file.
|
|
52
41
|
*/
|
|
53
|
-
|
|
42
|
+
code: string;
|
|
43
|
+
/**
|
|
44
|
+
* The type of the file.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* This string represents the purpose/function of the file in the virtual file system. A potential list of variants includes:
|
|
48
|
+
* - `builtin`: Indicates that the file is a built-in module provided by the system.
|
|
49
|
+
* - `entry`: Indicates that the file is an entry point for execution.
|
|
50
|
+
* - `chunk`: Indicates that the file is a code chunk, typically used in code-splitting scenarios.
|
|
51
|
+
* - `prebuilt-chunk`: Indicates that the file is a prebuilt code chunk.
|
|
52
|
+
* - `asset`: Indicates that the file is a static asset, such as an image or stylesheet.
|
|
53
|
+
* - `normal`: Indicates that the file is a standard file without any special role.
|
|
54
|
+
*/
|
|
55
|
+
type?: string;
|
|
54
56
|
/**
|
|
55
57
|
* The output mode of the file.
|
|
56
58
|
*/
|
|
57
|
-
mode
|
|
59
|
+
mode?: string;
|
|
58
60
|
/**
|
|
59
61
|
* Additional metadata associated with the file.
|
|
60
62
|
*/
|
|
61
|
-
properties
|
|
63
|
+
properties?: Record<string, string>;
|
|
64
|
+
}
|
|
65
|
+
interface VirtualFile extends Required<VirtualFileData>, VirtualFileMetadata {
|
|
66
|
+
/**
|
|
67
|
+
* An additional name for the file.
|
|
68
|
+
*/
|
|
69
|
+
path: string;
|
|
70
|
+
/**
|
|
71
|
+
* The timestamp of the virtual file.
|
|
72
|
+
*/
|
|
73
|
+
timestamp: number;
|
|
62
74
|
}
|
|
63
75
|
interface ResolveFSOptions {
|
|
64
76
|
mode?: OutputModeType;
|
|
65
77
|
}
|
|
66
78
|
type MakeDirectoryOptions = (Mode | MakeDirectoryOptions$1) & ResolveFSOptions;
|
|
67
79
|
interface PowerlinesWriteFileOptions extends ResolveFSOptions {
|
|
80
|
+
/**
|
|
81
|
+
* Should the file skip formatting before being written?
|
|
82
|
+
*
|
|
83
|
+
* @defaultValue false
|
|
84
|
+
*/
|
|
68
85
|
skipFormat?: boolean;
|
|
69
86
|
}
|
|
70
87
|
type NodeWriteFileOptions = WriteFileOptions$1;
|
|
71
88
|
type WriteFileOptions = NodeWriteFileOptions | PowerlinesWriteFileOptions;
|
|
72
|
-
type
|
|
73
|
-
type WriteFileData = string | NodeJS.ArrayBufferView | PowerLinesWriteFileData;
|
|
89
|
+
type WriteFileData = string | NodeJS.ArrayBufferView | VirtualFileData;
|
|
74
90
|
interface ResolvePathOptions extends ResolveFSOptions {
|
|
75
91
|
/**
|
|
76
92
|
* Should the resolved path include the file extension?
|
|
@@ -85,7 +101,7 @@ interface ResolvePathOptions extends ResolveFSOptions {
|
|
|
85
101
|
/**
|
|
86
102
|
* The type of the path to resolve.
|
|
87
103
|
*/
|
|
88
|
-
|
|
104
|
+
pathType?: "file" | "directory";
|
|
89
105
|
}
|
|
90
106
|
interface VirtualFileSystemInterface {
|
|
91
107
|
/**
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -3,12 +3,11 @@ export { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectio
|
|
|
3
3
|
export { BaseEnv, BaseSecrets, CreateEnvReflectionOptions, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from './reflect.cjs';
|
|
4
4
|
export { formatEnvField, removeEnvPrefix } from './source-file-env.cjs';
|
|
5
5
|
export { createTemplateReflection } from './template-helpers.cjs';
|
|
6
|
-
import '../runtime-
|
|
6
|
+
import '../runtime-DRc5I70S.cjs';
|
|
7
7
|
import '@stryke/env/get-env-paths';
|
|
8
8
|
import '@stryke/types/base';
|
|
9
9
|
import '@stryke/types/package-json';
|
|
10
10
|
import 'jiti';
|
|
11
|
-
import 'oxc-parser';
|
|
12
11
|
import 'semver';
|
|
13
12
|
import 'unplugin';
|
|
14
13
|
import '@babel/core';
|
|
@@ -19,12 +18,11 @@ import '@stryke/types/configuration';
|
|
|
19
18
|
import '@stryke/types/file';
|
|
20
19
|
import 'vite';
|
|
21
20
|
import '@babel/helper-plugin-utils';
|
|
21
|
+
import '../fs-B3t0EW52.cjs';
|
|
22
|
+
import 'node:fs';
|
|
22
23
|
import '@stryke/types/array';
|
|
23
24
|
import '@stryke/types/tsconfig';
|
|
24
25
|
import 'typescript';
|
|
25
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
26
|
-
import '@stryke/json/types';
|
|
27
|
-
import 'node:fs';
|
|
28
26
|
import '@stryke/env/types';
|
|
29
27
|
import '../types/plugin.cjs';
|
|
30
28
|
import '@alloy-js/core/jsx-runtime';
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -3,12 +3,11 @@ export { getEnvDefaultTypeDefinition, getEnvReflectionsPath, getEnvTypeReflectio
|
|
|
3
3
|
export { BaseEnv, BaseSecrets, CreateEnvReflectionOptions, __ΩCreateEnvReflectionOptions, createEnvReflection, createSecretsReflection, mergeEnvReflections, mergeSecretsReflections, reflectEnv, reflectSecrets } from './reflect.js';
|
|
4
4
|
export { formatEnvField, removeEnvPrefix } from './source-file-env.js';
|
|
5
5
|
export { createTemplateReflection } from './template-helpers.js';
|
|
6
|
-
import '../runtime-
|
|
6
|
+
import '../runtime-917-zSME.js';
|
|
7
7
|
import '@stryke/env/get-env-paths';
|
|
8
8
|
import '@stryke/types/base';
|
|
9
9
|
import '@stryke/types/package-json';
|
|
10
10
|
import 'jiti';
|
|
11
|
-
import 'oxc-parser';
|
|
12
11
|
import 'semver';
|
|
13
12
|
import 'unplugin';
|
|
14
13
|
import '@babel/core';
|
|
@@ -19,12 +18,11 @@ import '@stryke/types/configuration';
|
|
|
19
18
|
import '@stryke/types/file';
|
|
20
19
|
import 'vite';
|
|
21
20
|
import '@babel/helper-plugin-utils';
|
|
21
|
+
import '../fs-B3t0EW52.js';
|
|
22
|
+
import 'node:fs';
|
|
22
23
|
import '@stryke/types/array';
|
|
23
24
|
import '@stryke/types/tsconfig';
|
|
24
25
|
import 'typescript';
|
|
25
|
-
import '../vfs-BS4ST5TO.js';
|
|
26
|
-
import '@stryke/json/types';
|
|
27
|
-
import 'node:fs';
|
|
28
26
|
import '@stryke/env/types';
|
|
29
27
|
import '../types/plugin.js';
|
|
30
28
|
import '@alloy-js/core/jsx-runtime';
|
package/dist/helpers/load.d.cts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { a as EnvironmentResolvedConfig } from '../runtime-
|
|
1
|
+
import { a as EnvironmentResolvedConfig } from '../runtime-DRc5I70S.cjs';
|
|
2
2
|
import { DotenvParseOutput } from '@stryke/env/types';
|
|
3
3
|
import { EnvPluginContext, EnvPluginOptions } from '../types/plugin.cjs';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/types/base';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
|
-
import 'oxc-parser';
|
|
9
8
|
import 'semver';
|
|
10
9
|
import 'unplugin';
|
|
11
10
|
import '@babel/core';
|
|
@@ -16,12 +15,11 @@ import '@stryke/types/configuration';
|
|
|
16
15
|
import '@stryke/types/file';
|
|
17
16
|
import 'vite';
|
|
18
17
|
import '@babel/helper-plugin-utils';
|
|
18
|
+
import '../fs-B3t0EW52.cjs';
|
|
19
|
+
import 'node:fs';
|
|
19
20
|
import '@stryke/types/array';
|
|
20
21
|
import '@stryke/types/tsconfig';
|
|
21
22
|
import 'typescript';
|
|
22
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
23
|
-
import '@stryke/json/types';
|
|
24
|
-
import 'node:fs';
|
|
25
23
|
import '@alloy-js/core/jsx-runtime';
|
|
26
24
|
import '@deepkit/type';
|
|
27
25
|
import '@stryke/capnp';
|
package/dist/helpers/load.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { a as EnvironmentResolvedConfig } from '../runtime-
|
|
1
|
+
import { a as EnvironmentResolvedConfig } from '../runtime-917-zSME.js';
|
|
2
2
|
import { DotenvParseOutput } from '@stryke/env/types';
|
|
3
3
|
import { EnvPluginContext, EnvPluginOptions } from '../types/plugin.js';
|
|
4
4
|
import '@stryke/env/get-env-paths';
|
|
5
5
|
import '@stryke/types/base';
|
|
6
6
|
import '@stryke/types/package-json';
|
|
7
7
|
import 'jiti';
|
|
8
|
-
import 'oxc-parser';
|
|
9
8
|
import 'semver';
|
|
10
9
|
import 'unplugin';
|
|
11
10
|
import '@babel/core';
|
|
@@ -16,12 +15,11 @@ import '@stryke/types/configuration';
|
|
|
16
15
|
import '@stryke/types/file';
|
|
17
16
|
import 'vite';
|
|
18
17
|
import '@babel/helper-plugin-utils';
|
|
18
|
+
import '../fs-B3t0EW52.js';
|
|
19
|
+
import 'node:fs';
|
|
19
20
|
import '@stryke/types/array';
|
|
20
21
|
import '@stryke/types/tsconfig';
|
|
21
22
|
import 'typescript';
|
|
22
|
-
import '../vfs-BS4ST5TO.js';
|
|
23
|
-
import '@stryke/json/types';
|
|
24
|
-
import 'node:fs';
|
|
25
23
|
import '@alloy-js/core/jsx-runtime';
|
|
26
24
|
import '@deepkit/type';
|
|
27
25
|
import '@stryke/capnp';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ReflectionClass } from '@deepkit/type';
|
|
2
2
|
import { TypeDefinition } from '@stryke/types/configuration';
|
|
3
|
-
import { U as UnresolvedContext, C as Context } from '../runtime-
|
|
3
|
+
import { U as UnresolvedContext, C as Context } from '../runtime-DRc5I70S.cjs';
|
|
4
4
|
import { EnvPluginResolvedConfig, EnvType, EnvPluginContext } from '../types/plugin.cjs';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/base';
|
|
7
7
|
import '@stryke/types/package-json';
|
|
8
8
|
import 'jiti';
|
|
9
|
-
import 'oxc-parser';
|
|
10
9
|
import 'semver';
|
|
11
10
|
import 'unplugin';
|
|
12
11
|
import '@babel/core';
|
|
@@ -16,12 +15,11 @@ import '@storm-software/config/types';
|
|
|
16
15
|
import '@stryke/types/file';
|
|
17
16
|
import 'vite';
|
|
18
17
|
import '@babel/helper-plugin-utils';
|
|
18
|
+
import '../fs-B3t0EW52.cjs';
|
|
19
|
+
import 'node:fs';
|
|
19
20
|
import '@stryke/types/array';
|
|
20
21
|
import '@stryke/types/tsconfig';
|
|
21
22
|
import 'typescript';
|
|
22
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
23
|
-
import '@stryke/json/types';
|
|
24
|
-
import 'node:fs';
|
|
25
23
|
import '@alloy-js/core/jsx-runtime';
|
|
26
24
|
import '@stryke/capnp';
|
|
27
25
|
import '@stryke/env/types';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ReflectionClass } from '@deepkit/type';
|
|
2
2
|
import { TypeDefinition } from '@stryke/types/configuration';
|
|
3
|
-
import { U as UnresolvedContext, C as Context } from '../runtime-
|
|
3
|
+
import { U as UnresolvedContext, C as Context } from '../runtime-917-zSME.js';
|
|
4
4
|
import { EnvPluginResolvedConfig, EnvType, EnvPluginContext } from '../types/plugin.js';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
|
6
6
|
import '@stryke/types/base';
|
|
7
7
|
import '@stryke/types/package-json';
|
|
8
8
|
import 'jiti';
|
|
9
|
-
import 'oxc-parser';
|
|
10
9
|
import 'semver';
|
|
11
10
|
import 'unplugin';
|
|
12
11
|
import '@babel/core';
|
|
@@ -16,12 +15,11 @@ import '@storm-software/config/types';
|
|
|
16
15
|
import '@stryke/types/file';
|
|
17
16
|
import 'vite';
|
|
18
17
|
import '@babel/helper-plugin-utils';
|
|
18
|
+
import '../fs-B3t0EW52.js';
|
|
19
|
+
import 'node:fs';
|
|
19
20
|
import '@stryke/types/array';
|
|
20
21
|
import '@stryke/types/tsconfig';
|
|
21
22
|
import 'typescript';
|
|
22
|
-
import '../vfs-BS4ST5TO.js';
|
|
23
|
-
import '@stryke/json/types';
|
|
24
|
-
import 'node:fs';
|
|
25
23
|
import '@alloy-js/core/jsx-runtime';
|
|
26
24
|
import '@stryke/capnp';
|
|
27
25
|
import '@stryke/env/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReflectionClass, TypeObjectLiteral, TypeClass } from '@deepkit/type';
|
|
2
2
|
import { EnvPluginContext } from '../types/plugin.cjs';
|
|
3
|
-
import { E as EnvInterface, S as SecretsInterface } from '../runtime-
|
|
3
|
+
import { E as EnvInterface, S as SecretsInterface } from '../runtime-DRc5I70S.cjs';
|
|
4
4
|
import '@alloy-js/core/jsx-runtime';
|
|
5
5
|
import '@stryke/capnp';
|
|
6
6
|
import '@stryke/env/types';
|
|
@@ -9,7 +9,6 @@ import '@stryke/env/get-env-paths';
|
|
|
9
9
|
import '@stryke/types/base';
|
|
10
10
|
import '@stryke/types/package-json';
|
|
11
11
|
import 'jiti';
|
|
12
|
-
import 'oxc-parser';
|
|
13
12
|
import 'semver';
|
|
14
13
|
import 'unplugin';
|
|
15
14
|
import '@babel/core';
|
|
@@ -19,12 +18,11 @@ import '@storm-software/config/types';
|
|
|
19
18
|
import '@stryke/types/file';
|
|
20
19
|
import 'vite';
|
|
21
20
|
import '@babel/helper-plugin-utils';
|
|
21
|
+
import '../fs-B3t0EW52.cjs';
|
|
22
|
+
import 'node:fs';
|
|
22
23
|
import '@stryke/types/array';
|
|
23
24
|
import '@stryke/types/tsconfig';
|
|
24
25
|
import 'typescript';
|
|
25
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
26
|
-
import '@stryke/json/types';
|
|
27
|
-
import 'node:fs';
|
|
28
26
|
|
|
29
27
|
declare function mergeEnvReflections(context: EnvPluginContext, reflections: ReflectionClass<any>[]): ReflectionClass<any>;
|
|
30
28
|
declare function mergeSecretsReflections(context: EnvPluginContext, reflections: ReflectionClass<any>[]): ReflectionClass<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReflectionClass, TypeObjectLiteral, TypeClass } from '@deepkit/type';
|
|
2
2
|
import { EnvPluginContext } from '../types/plugin.js';
|
|
3
|
-
import { E as EnvInterface, S as SecretsInterface } from '../runtime-
|
|
3
|
+
import { E as EnvInterface, S as SecretsInterface } from '../runtime-917-zSME.js';
|
|
4
4
|
import '@alloy-js/core/jsx-runtime';
|
|
5
5
|
import '@stryke/capnp';
|
|
6
6
|
import '@stryke/env/types';
|
|
@@ -9,7 +9,6 @@ import '@stryke/env/get-env-paths';
|
|
|
9
9
|
import '@stryke/types/base';
|
|
10
10
|
import '@stryke/types/package-json';
|
|
11
11
|
import 'jiti';
|
|
12
|
-
import 'oxc-parser';
|
|
13
12
|
import 'semver';
|
|
14
13
|
import 'unplugin';
|
|
15
14
|
import '@babel/core';
|
|
@@ -19,12 +18,11 @@ import '@storm-software/config/types';
|
|
|
19
18
|
import '@stryke/types/file';
|
|
20
19
|
import 'vite';
|
|
21
20
|
import '@babel/helper-plugin-utils';
|
|
21
|
+
import '../fs-B3t0EW52.js';
|
|
22
|
+
import 'node:fs';
|
|
22
23
|
import '@stryke/types/array';
|
|
23
24
|
import '@stryke/types/tsconfig';
|
|
24
25
|
import 'typescript';
|
|
25
|
-
import '../vfs-BS4ST5TO.js';
|
|
26
|
-
import '@stryke/json/types';
|
|
27
|
-
import 'node:fs';
|
|
28
26
|
|
|
29
27
|
declare function mergeEnvReflections(context: EnvPluginContext, reflections: ReflectionClass<any>[]): ReflectionClass<any>;
|
|
30
28
|
declare function mergeSecretsReflections(context: EnvPluginContext, reflections: ReflectionClass<any>[]): ReflectionClass<any>;
|
|
@@ -2,12 +2,11 @@ import { ReflectionClass } from '@deepkit/type';
|
|
|
2
2
|
import { EnvPluginContext, EnvType } from '../types/plugin.cjs';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import '@stryke/capnp';
|
|
5
|
-
import '../runtime-
|
|
5
|
+
import '../runtime-DRc5I70S.cjs';
|
|
6
6
|
import '@stryke/env/get-env-paths';
|
|
7
7
|
import '@stryke/types/base';
|
|
8
8
|
import '@stryke/types/package-json';
|
|
9
9
|
import 'jiti';
|
|
10
|
-
import 'oxc-parser';
|
|
11
10
|
import 'semver';
|
|
12
11
|
import 'unplugin';
|
|
13
12
|
import '@babel/core';
|
|
@@ -18,12 +17,11 @@ import '@stryke/types/configuration';
|
|
|
18
17
|
import '@stryke/types/file';
|
|
19
18
|
import 'vite';
|
|
20
19
|
import '@babel/helper-plugin-utils';
|
|
20
|
+
import '../fs-B3t0EW52.cjs';
|
|
21
|
+
import 'node:fs';
|
|
21
22
|
import '@stryke/types/array';
|
|
22
23
|
import '@stryke/types/tsconfig';
|
|
23
24
|
import 'typescript';
|
|
24
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
25
|
-
import '@stryke/json/types';
|
|
26
|
-
import 'node:fs';
|
|
27
25
|
import '@stryke/env/types';
|
|
28
26
|
|
|
29
27
|
/**
|
|
@@ -2,12 +2,11 @@ import { ReflectionClass } from '@deepkit/type';
|
|
|
2
2
|
import { EnvPluginContext, EnvType } from '../types/plugin.js';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import '@stryke/capnp';
|
|
5
|
-
import '../runtime-
|
|
5
|
+
import '../runtime-917-zSME.js';
|
|
6
6
|
import '@stryke/env/get-env-paths';
|
|
7
7
|
import '@stryke/types/base';
|
|
8
8
|
import '@stryke/types/package-json';
|
|
9
9
|
import 'jiti';
|
|
10
|
-
import 'oxc-parser';
|
|
11
10
|
import 'semver';
|
|
12
11
|
import 'unplugin';
|
|
13
12
|
import '@babel/core';
|
|
@@ -18,12 +17,11 @@ import '@stryke/types/configuration';
|
|
|
18
17
|
import '@stryke/types/file';
|
|
19
18
|
import 'vite';
|
|
20
19
|
import '@babel/helper-plugin-utils';
|
|
20
|
+
import '../fs-B3t0EW52.js';
|
|
21
|
+
import 'node:fs';
|
|
21
22
|
import '@stryke/types/array';
|
|
22
23
|
import '@stryke/types/tsconfig';
|
|
23
24
|
import 'typescript';
|
|
24
|
-
import '../vfs-BS4ST5TO.js';
|
|
25
|
-
import '@stryke/json/types';
|
|
26
|
-
import 'node:fs';
|
|
27
25
|
import '@stryke/env/types';
|
|
28
26
|
|
|
29
27
|
/**
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PluginContext, b as Plugin } from './runtime-
|
|
2
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from './runtime-
|
|
1
|
+
import { P as PluginContext, b as Plugin } from './runtime-DRc5I70S.cjs';
|
|
2
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from './runtime-DRc5I70S.cjs';
|
|
3
3
|
import { Children } from '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import { PrintTreeOptions } from '@alloy-js/core';
|
|
5
5
|
import { EnvPluginContext, EnvPluginResolvedConfig } from './types/plugin.cjs';
|
|
@@ -15,7 +15,6 @@ import '@stryke/env/get-env-paths';
|
|
|
15
15
|
import '@stryke/types/base';
|
|
16
16
|
import '@stryke/types/package-json';
|
|
17
17
|
import 'jiti';
|
|
18
|
-
import 'oxc-parser';
|
|
19
18
|
import 'semver';
|
|
20
19
|
import 'unplugin';
|
|
21
20
|
import '@babel/core';
|
|
@@ -26,12 +25,11 @@ import '@stryke/types/configuration';
|
|
|
26
25
|
import '@stryke/types/file';
|
|
27
26
|
import 'vite';
|
|
28
27
|
import '@babel/helper-plugin-utils';
|
|
28
|
+
import './fs-B3t0EW52.cjs';
|
|
29
|
+
import 'node:fs';
|
|
29
30
|
import '@stryke/types/array';
|
|
30
31
|
import '@stryke/types/tsconfig';
|
|
31
32
|
import 'typescript';
|
|
32
|
-
import './vfs-BS4ST5TO.cjs';
|
|
33
|
-
import '@stryke/json/types';
|
|
34
|
-
import 'node:fs';
|
|
35
33
|
import '@deepkit/type';
|
|
36
34
|
import '@stryke/capnp';
|
|
37
35
|
import '@stryke/env/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PluginContext, b as Plugin } from './runtime-
|
|
2
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from './runtime-
|
|
1
|
+
import { P as PluginContext, b as Plugin } from './runtime-917-zSME.js';
|
|
2
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from './runtime-917-zSME.js';
|
|
3
3
|
import { Children } from '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import { PrintTreeOptions } from '@alloy-js/core';
|
|
5
5
|
import { EnvPluginContext, EnvPluginResolvedConfig } from './types/plugin.js';
|
|
@@ -15,7 +15,6 @@ import '@stryke/env/get-env-paths';
|
|
|
15
15
|
import '@stryke/types/base';
|
|
16
16
|
import '@stryke/types/package-json';
|
|
17
17
|
import 'jiti';
|
|
18
|
-
import 'oxc-parser';
|
|
19
18
|
import 'semver';
|
|
20
19
|
import 'unplugin';
|
|
21
20
|
import '@babel/core';
|
|
@@ -26,12 +25,11 @@ import '@stryke/types/configuration';
|
|
|
26
25
|
import '@stryke/types/file';
|
|
27
26
|
import 'vite';
|
|
28
27
|
import '@babel/helper-plugin-utils';
|
|
28
|
+
import './fs-B3t0EW52.js';
|
|
29
|
+
import 'node:fs';
|
|
29
30
|
import '@stryke/types/array';
|
|
30
31
|
import '@stryke/types/tsconfig';
|
|
31
32
|
import 'typescript';
|
|
32
|
-
import './vfs-BS4ST5TO.js';
|
|
33
|
-
import '@stryke/json/types';
|
|
34
|
-
import 'node:fs';
|
|
35
33
|
import '@deepkit/type';
|
|
36
34
|
import '@stryke/capnp';
|
|
37
35
|
import '@stryke/env/types';
|
|
@@ -2,7 +2,6 @@ import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
|
2
2
|
import { NonUndefined, MaybePromise, FunctionLike } from '@stryke/types/base';
|
|
3
3
|
import { PackageJson } from '@stryke/types/package-json';
|
|
4
4
|
import { Jiti } from 'jiti';
|
|
5
|
-
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
6
5
|
import { Range } from 'semver';
|
|
7
6
|
import { TransformResult, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginContext, UnpluginMessage, UnpluginBuildContext } from 'unplugin';
|
|
8
7
|
import { PluginItem, PluginObj, PluginPass, transformAsync } from '@babel/core';
|
|
@@ -13,10 +12,10 @@ import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configura
|
|
|
13
12
|
import { AssetGlob } from '@stryke/types/file';
|
|
14
13
|
import { ResolvedPreviewOptions, PreviewOptions } from 'vite';
|
|
15
14
|
import { BabelAPI } from '@babel/helper-plugin-utils';
|
|
15
|
+
import { O as OutputModeType, V as VirtualFileSystemInterface, a as VirtualFile, P as PowerlinesWriteFileOptions } from './fs-B3t0EW52.js';
|
|
16
16
|
import { ArrayValues } from '@stryke/types/array';
|
|
17
17
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
18
18
|
import ts from 'typescript';
|
|
19
|
-
import { O as OutputModeType, V as VirtualFileSystemInterface, a as VirtualFile, P as PowerlinesWriteFileOptions } from './vfs-BS4ST5TO.js';
|
|
20
19
|
|
|
21
20
|
type BabelPluginPass<TState = unknown> = PluginPass & TState;
|
|
22
21
|
type BabelTransformPluginFilter = (code: string, id: string) => boolean;
|
|
@@ -424,6 +423,12 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
424
423
|
resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
|
|
425
424
|
isEntry: boolean;
|
|
426
425
|
}) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
|
|
426
|
+
/**
|
|
427
|
+
* An API object that can be used for inter-plugin communication.
|
|
428
|
+
*
|
|
429
|
+
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
430
|
+
*/
|
|
431
|
+
api?: Record<string, any>;
|
|
427
432
|
};
|
|
428
433
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
429
434
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
@@ -1032,7 +1037,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1032
1037
|
* @param path - An optional path to write the builtin file to
|
|
1033
1038
|
* @param options - Options for writing the file
|
|
1034
1039
|
*/
|
|
1035
|
-
|
|
1040
|
+
emitBuiltin: (code: string, id: string, path?: string, options?: PowerlinesWriteFileOptions) => Promise<void>;
|
|
1036
1041
|
/**
|
|
1037
1042
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
1038
1043
|
*
|
|
@@ -1040,11 +1045,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1040
1045
|
* @param path - An optional path to write the entry file to
|
|
1041
1046
|
* @param options - Options for writing the file
|
|
1042
1047
|
*/
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* Parses the source code and returns a {@link ParseResult} object.
|
|
1046
|
-
*/
|
|
1047
|
-
parse: (code: string, id: string, options?: ParserOptions | null) => Promise<ParseResult>;
|
|
1048
|
+
emitEntry: (code: string, path: string, options?: PowerlinesWriteFileOptions) => Promise<void>;
|
|
1048
1049
|
/**
|
|
1049
1050
|
* A function to update the context fields using a new user configuration options
|
|
1050
1051
|
*/
|
|
@@ -2,7 +2,6 @@ import { EnvPaths } from '@stryke/env/get-env-paths';
|
|
|
2
2
|
import { NonUndefined, MaybePromise, FunctionLike } from '@stryke/types/base';
|
|
3
3
|
import { PackageJson } from '@stryke/types/package-json';
|
|
4
4
|
import { Jiti } from 'jiti';
|
|
5
|
-
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
6
5
|
import { Range } from 'semver';
|
|
7
6
|
import { TransformResult, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginContext, UnpluginMessage, UnpluginBuildContext } from 'unplugin';
|
|
8
7
|
import { PluginItem, PluginObj, PluginPass, transformAsync } from '@babel/core';
|
|
@@ -13,10 +12,10 @@ import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configura
|
|
|
13
12
|
import { AssetGlob } from '@stryke/types/file';
|
|
14
13
|
import { ResolvedPreviewOptions, PreviewOptions } from 'vite';
|
|
15
14
|
import { BabelAPI } from '@babel/helper-plugin-utils';
|
|
15
|
+
import { O as OutputModeType, V as VirtualFileSystemInterface, a as VirtualFile, P as PowerlinesWriteFileOptions } from './fs-B3t0EW52.cjs';
|
|
16
16
|
import { ArrayValues } from '@stryke/types/array';
|
|
17
17
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
18
18
|
import ts from 'typescript';
|
|
19
|
-
import { O as OutputModeType, V as VirtualFileSystemInterface, a as VirtualFile, P as PowerlinesWriteFileOptions } from './vfs-BS4ST5TO.cjs';
|
|
20
19
|
|
|
21
20
|
type BabelPluginPass<TState = unknown> = PluginPass & TState;
|
|
22
21
|
type BabelTransformPluginFilter = (code: string, id: string) => boolean;
|
|
@@ -424,6 +423,12 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
424
423
|
resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
|
|
425
424
|
isEntry: boolean;
|
|
426
425
|
}) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
|
|
426
|
+
/**
|
|
427
|
+
* An API object that can be used for inter-plugin communication.
|
|
428
|
+
*
|
|
429
|
+
* @see https://rollupjs.org/plugin-development/#direct-plugin-communication
|
|
430
|
+
*/
|
|
431
|
+
api?: Record<string, any>;
|
|
427
432
|
};
|
|
428
433
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
429
434
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
@@ -1032,7 +1037,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1032
1037
|
* @param path - An optional path to write the builtin file to
|
|
1033
1038
|
* @param options - Options for writing the file
|
|
1034
1039
|
*/
|
|
1035
|
-
|
|
1040
|
+
emitBuiltin: (code: string, id: string, path?: string, options?: PowerlinesWriteFileOptions) => Promise<void>;
|
|
1036
1041
|
/**
|
|
1037
1042
|
* Resolves a entry virtual file and writes it to the VFS if it does not already exist
|
|
1038
1043
|
*
|
|
@@ -1040,11 +1045,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
1040
1045
|
* @param path - An optional path to write the entry file to
|
|
1041
1046
|
* @param options - Options for writing the file
|
|
1042
1047
|
*/
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* Parses the source code and returns a {@link ParseResult} object.
|
|
1046
|
-
*/
|
|
1047
|
-
parse: (code: string, id: string, options?: ParserOptions | null) => Promise<ParseResult>;
|
|
1048
|
+
emitEntry: (code: string, path: string, options?: PowerlinesWriteFileOptions) => Promise<void>;
|
|
1048
1049
|
/**
|
|
1049
1050
|
* A function to update the context fields using a new user configuration options
|
|
1050
1051
|
*/
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './plugin.cjs';
|
|
2
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from '../runtime-
|
|
2
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from '../runtime-DRc5I70S.cjs';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import '@deepkit/type';
|
|
5
5
|
import '@stryke/capnp';
|
|
@@ -9,7 +9,6 @@ import '@stryke/env/get-env-paths';
|
|
|
9
9
|
import '@stryke/types/base';
|
|
10
10
|
import '@stryke/types/package-json';
|
|
11
11
|
import 'jiti';
|
|
12
|
-
import 'oxc-parser';
|
|
13
12
|
import 'semver';
|
|
14
13
|
import 'unplugin';
|
|
15
14
|
import '@babel/core';
|
|
@@ -19,9 +18,8 @@ import '@storm-software/config/types';
|
|
|
19
18
|
import '@stryke/types/file';
|
|
20
19
|
import 'vite';
|
|
21
20
|
import '@babel/helper-plugin-utils';
|
|
21
|
+
import '../fs-B3t0EW52.cjs';
|
|
22
|
+
import 'node:fs';
|
|
22
23
|
import '@stryke/types/array';
|
|
23
24
|
import '@stryke/types/tsconfig';
|
|
24
25
|
import 'typescript';
|
|
25
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
26
|
-
import '@stryke/json/types';
|
|
27
|
-
import 'node:fs';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from './plugin.js';
|
|
2
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from '../runtime-
|
|
2
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from '../runtime-917-zSME.js';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import '@deepkit/type';
|
|
5
5
|
import '@stryke/capnp';
|
|
@@ -9,7 +9,6 @@ import '@stryke/env/get-env-paths';
|
|
|
9
9
|
import '@stryke/types/base';
|
|
10
10
|
import '@stryke/types/package-json';
|
|
11
11
|
import 'jiti';
|
|
12
|
-
import 'oxc-parser';
|
|
13
12
|
import 'semver';
|
|
14
13
|
import 'unplugin';
|
|
15
14
|
import '@babel/core';
|
|
@@ -19,9 +18,8 @@ import '@storm-software/config/types';
|
|
|
19
18
|
import '@stryke/types/file';
|
|
20
19
|
import 'vite';
|
|
21
20
|
import '@babel/helper-plugin-utils';
|
|
21
|
+
import '../fs-B3t0EW52.js';
|
|
22
|
+
import 'node:fs';
|
|
22
23
|
import '@stryke/types/array';
|
|
23
24
|
import '@stryke/types/tsconfig';
|
|
24
25
|
import 'typescript';
|
|
25
|
-
import '../vfs-BS4ST5TO.js';
|
|
26
|
-
import '@stryke/json/types';
|
|
27
|
-
import 'node:fs';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Children } from '@alloy-js/core/jsx-runtime';
|
|
2
2
|
import { ReflectionClass } from '@deepkit/type';
|
|
3
3
|
import * as $ from '@stryke/capnp';
|
|
4
|
-
import { B as BabelUserConfig, d as UserConfig, R as ResolvedConfig, e as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-
|
|
4
|
+
import { B as BabelUserConfig, d as UserConfig, R as ResolvedConfig, e as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-DRc5I70S.cjs';
|
|
5
5
|
import { DotenvParseOutput } from '@stryke/env/types';
|
|
6
6
|
import { DotenvConfiguration, TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
|
|
7
7
|
import '@stryke/env/get-env-paths';
|
|
8
8
|
import '@stryke/types/base';
|
|
9
9
|
import '@stryke/types/package-json';
|
|
10
10
|
import 'jiti';
|
|
11
|
-
import 'oxc-parser';
|
|
12
11
|
import 'semver';
|
|
13
12
|
import 'unplugin';
|
|
14
13
|
import '@babel/core';
|
|
@@ -18,12 +17,11 @@ import '@storm-software/config/types';
|
|
|
18
17
|
import '@stryke/types/file';
|
|
19
18
|
import 'vite';
|
|
20
19
|
import '@babel/helper-plugin-utils';
|
|
20
|
+
import '../fs-B3t0EW52.cjs';
|
|
21
|
+
import 'node:fs';
|
|
21
22
|
import '@stryke/types/array';
|
|
22
23
|
import '@stryke/types/tsconfig';
|
|
23
24
|
import 'typescript';
|
|
24
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
25
|
-
import '@stryke/json/types';
|
|
26
|
-
import 'node:fs';
|
|
27
25
|
|
|
28
26
|
declare const ReflectionKind: {
|
|
29
27
|
readonly NEVER: 0;
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Children } from '@alloy-js/core/jsx-runtime';
|
|
2
2
|
import { ReflectionClass } from '@deepkit/type';
|
|
3
3
|
import * as $ from '@stryke/capnp';
|
|
4
|
-
import { B as BabelUserConfig, d as UserConfig, R as ResolvedConfig, e as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-
|
|
4
|
+
import { B as BabelUserConfig, d as UserConfig, R as ResolvedConfig, e as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-917-zSME.js';
|
|
5
5
|
import { DotenvParseOutput } from '@stryke/env/types';
|
|
6
6
|
import { DotenvConfiguration, TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
|
|
7
7
|
import '@stryke/env/get-env-paths';
|
|
8
8
|
import '@stryke/types/base';
|
|
9
9
|
import '@stryke/types/package-json';
|
|
10
10
|
import 'jiti';
|
|
11
|
-
import 'oxc-parser';
|
|
12
11
|
import 'semver';
|
|
13
12
|
import 'unplugin';
|
|
14
13
|
import '@babel/core';
|
|
@@ -18,12 +17,11 @@ import '@storm-software/config/types';
|
|
|
18
17
|
import '@stryke/types/file';
|
|
19
18
|
import 'vite';
|
|
20
19
|
import '@babel/helper-plugin-utils';
|
|
20
|
+
import '../fs-B3t0EW52.js';
|
|
21
|
+
import 'node:fs';
|
|
21
22
|
import '@stryke/types/array';
|
|
22
23
|
import '@stryke/types/tsconfig';
|
|
23
24
|
import 'typescript';
|
|
24
|
-
import '../vfs-BS4ST5TO.js';
|
|
25
|
-
import '@stryke/json/types';
|
|
26
|
-
import 'node:fs';
|
|
27
25
|
|
|
28
26
|
declare const ReflectionKind: {
|
|
29
27
|
readonly NEVER: 0;
|
package/dist/types/runtime.d.cts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from '../runtime-
|
|
1
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from '../runtime-DRc5I70S.cjs';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
5
5
|
import 'jiti';
|
|
6
|
-
import 'oxc-parser';
|
|
7
6
|
import 'semver';
|
|
8
7
|
import 'unplugin';
|
|
9
8
|
import '@babel/core';
|
|
@@ -14,9 +13,8 @@ import '@stryke/types/configuration';
|
|
|
14
13
|
import '@stryke/types/file';
|
|
15
14
|
import 'vite';
|
|
16
15
|
import '@babel/helper-plugin-utils';
|
|
16
|
+
import '../fs-B3t0EW52.cjs';
|
|
17
|
+
import 'node:fs';
|
|
17
18
|
import '@stryke/types/array';
|
|
18
19
|
import '@stryke/types/tsconfig';
|
|
19
20
|
import 'typescript';
|
|
20
|
-
import '../vfs-BS4ST5TO.cjs';
|
|
21
|
-
import '@stryke/json/types';
|
|
22
|
-
import 'node:fs';
|
package/dist/types/runtime.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from '../runtime-
|
|
1
|
+
export { E as EnvInterface, S as SecretsInterface, _ as __ΩEnvInterface, c as __ΩSecretsInterface } from '../runtime-917-zSME.js';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/types/base';
|
|
4
4
|
import '@stryke/types/package-json';
|
|
5
5
|
import 'jiti';
|
|
6
|
-
import 'oxc-parser';
|
|
7
6
|
import 'semver';
|
|
8
7
|
import 'unplugin';
|
|
9
8
|
import '@babel/core';
|
|
@@ -14,9 +13,8 @@ import '@stryke/types/configuration';
|
|
|
14
13
|
import '@stryke/types/file';
|
|
15
14
|
import 'vite';
|
|
16
15
|
import '@babel/helper-plugin-utils';
|
|
16
|
+
import '../fs-B3t0EW52.js';
|
|
17
|
+
import 'node:fs';
|
|
17
18
|
import '@stryke/types/array';
|
|
18
19
|
import '@stryke/types/tsconfig';
|
|
19
20
|
import 'typescript';
|
|
20
|
-
import '../vfs-BS4ST5TO.js';
|
|
21
|
-
import '@stryke/json/types';
|
|
22
|
-
import 'node:fs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-env",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for injecting static .env configuration values to the code so that they're accessible at runtime.",
|
|
6
6
|
"repository": {
|
|
@@ -179,10 +179,10 @@
|
|
|
179
179
|
"@alloy-js/typescript": "^0.20.0",
|
|
180
180
|
"@babel/core": "^7.28.5",
|
|
181
181
|
"@babel/types": "^7.28.5",
|
|
182
|
-
"@powerlines/alloy": "^0.11.
|
|
183
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
184
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
185
|
-
"@storm-software/config-tools": "^1.188.
|
|
182
|
+
"@powerlines/alloy": "^0.11.31",
|
|
183
|
+
"@powerlines/plugin-babel": "^0.12.31",
|
|
184
|
+
"@powerlines/plugin-plugin": "^0.11.30",
|
|
185
|
+
"@storm-software/config-tools": "^1.188.47",
|
|
186
186
|
"@stryke/capnp": "^0.12.21",
|
|
187
187
|
"@stryke/env": "^0.20.14",
|
|
188
188
|
"@stryke/fs": "^0.32.13",
|
|
@@ -190,18 +190,18 @@
|
|
|
190
190
|
"@stryke/string-format": "^0.12.2",
|
|
191
191
|
"@stryke/type-checks": "^0.3.12",
|
|
192
192
|
"@stryke/types": "^0.10.2",
|
|
193
|
-
"powerlines": "^0.23.
|
|
193
|
+
"powerlines": "^0.23.5"
|
|
194
194
|
},
|
|
195
195
|
"devDependencies": {
|
|
196
196
|
"@alloy-js/babel-preset": "^0.2.1",
|
|
197
197
|
"@babel/preset-typescript": "^7.28.5",
|
|
198
|
-
"@powerlines/nx": "^0.10.
|
|
199
|
-
"@storm-software/tsup": "^0.2.
|
|
198
|
+
"@powerlines/nx": "^0.10.22",
|
|
199
|
+
"@storm-software/tsup": "^0.2.45",
|
|
200
200
|
"@types/node": "^24.10.1",
|
|
201
201
|
"tsup": "8.4.0",
|
|
202
202
|
"typescript": "^5.9.3",
|
|
203
|
-
"vite": "^7.2.
|
|
203
|
+
"vite": "^7.2.4"
|
|
204
204
|
},
|
|
205
205
|
"publishConfig": { "access": "public" },
|
|
206
|
-
"gitHead": "
|
|
206
|
+
"gitHead": "50a08b483769a727b5d7c3a2f38e022e21ee915d"
|
|
207
207
|
}
|