@powerlines/plugin-react 0.1.15 → 0.1.19

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.
@@ -1,6 +1,6 @@
1
1
  export { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps } from './react-optimized.cjs';
2
2
  import '@alloy-js/core';
3
3
  import '@alloy-js/core/jsx-runtime';
4
- import '../vfs-BGmsy47f.cjs';
4
+ import '../vfs-BS4ST5TO.cjs';
5
5
  import '@stryke/json/types';
6
6
  import 'node:fs';
@@ -1,6 +1,6 @@
1
1
  export { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps } from './react-optimized.js';
2
2
  import '@alloy-js/core';
3
3
  import '@alloy-js/core/jsx-runtime';
4
- import '../vfs-BGmsy47f.js';
4
+ import '../vfs-BS4ST5TO.js';
5
5
  import '@stryke/json/types';
6
6
  import 'node:fs';
@@ -1,7 +1,7 @@
1
1
  import * as _alloy_js_core from '@alloy-js/core';
2
2
  import { Children as Children$1, SourceFileProps as SourceFileProps$1 } from '@alloy-js/core';
3
3
  import { Children } from '@alloy-js/core/jsx-runtime';
4
- import { O as OutputModeType } from '../vfs-BGmsy47f.cjs';
4
+ import { O as OutputModeType } from '../vfs-BS4ST5TO.cjs';
5
5
  import '@stryke/json/types';
6
6
  import 'node:fs';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import * as _alloy_js_core from '@alloy-js/core';
2
2
  import { Children as Children$1, SourceFileProps as SourceFileProps$1 } from '@alloy-js/core';
3
3
  import { Children } from '@alloy-js/core/jsx-runtime';
4
- import { O as OutputModeType } from '../vfs-BGmsy47f.js';
4
+ import { O as OutputModeType } from '../vfs-BS4ST5TO.js';
5
5
  import '@stryke/json/types';
6
6
  import 'node:fs';
7
7
 
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PluginContext, a as Plugin } from './runtime-BKpao7nk.cjs';
1
+ import { P as PluginContext, a as Plugin } from './runtime-BcuCkovn.cjs';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { PrintTreeOptions } from '@alloy-js/core';
4
4
  import { ReactPluginContext } from './types/plugin.cjs';
@@ -23,7 +23,7 @@ import '@babel/helper-plugin-utils';
23
23
  import '@stryke/types/array';
24
24
  import '@stryke/types/tsconfig';
25
25
  import 'typescript';
26
- import './vfs-BGmsy47f.cjs';
26
+ import './vfs-BS4ST5TO.cjs';
27
27
  import '@stryke/json/types';
28
28
  import 'node:fs';
29
29
  import '@deepkit/type';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PluginContext, a as Plugin } from './runtime-DNQO2Zr2.js';
1
+ import { P as PluginContext, a as Plugin } from './runtime-B0BMR6tw.js';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { PrintTreeOptions } from '@alloy-js/core';
4
4
  import { ReactPluginContext } from './types/plugin.js';
@@ -23,7 +23,7 @@ import '@babel/helper-plugin-utils';
23
23
  import '@stryke/types/array';
24
24
  import '@stryke/types/tsconfig';
25
25
  import 'typescript';
26
- import './vfs-BGmsy47f.js';
26
+ import './vfs-BS4ST5TO.js';
27
27
  import '@stryke/json/types';
28
28
  import 'node:fs';
29
29
  import '@deepkit/type';
@@ -16,7 +16,7 @@ import { BabelAPI } from '@babel/helper-plugin-utils';
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-BGmsy47f.cjs';
19
+ import { O as OutputModeType, V as VirtualFileSystemInterface, a as VirtualFile, P as PowerlinesWriteFileOptions } from './vfs-BS4ST5TO.js';
20
20
 
21
21
  type BabelPluginPass<TState = unknown> = PluginPass & TState;
22
22
  type BabelTransformPluginFilter = (code: string, id: string) => boolean;
@@ -583,6 +583,15 @@ interface OutputConfig {
583
583
  * @defaultValue "dist/\{projectRoot\}"
584
584
  */
585
585
  outputPath?: string;
586
+ /**
587
+ * The output directory path for the project build.
588
+ *
589
+ * @remarks
590
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
591
+ *
592
+ * @defaultValue "\{projectRoot\}/dist"
593
+ */
594
+ distPath?: string;
586
595
  /**
587
596
  * The format of the output files
588
597
  *
@@ -16,7 +16,7 @@ import { BabelAPI } from '@babel/helper-plugin-utils';
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-BGmsy47f.js';
19
+ import { O as OutputModeType, V as VirtualFileSystemInterface, a as VirtualFile, P as PowerlinesWriteFileOptions } from './vfs-BS4ST5TO.cjs';
20
20
 
21
21
  type BabelPluginPass<TState = unknown> = PluginPass & TState;
22
22
  type BabelTransformPluginFilter = (code: string, id: string) => boolean;
@@ -583,6 +583,15 @@ interface OutputConfig {
583
583
  * @defaultValue "dist/\{projectRoot\}"
584
584
  */
585
585
  outputPath?: string;
586
+ /**
587
+ * The output directory path for the project build.
588
+ *
589
+ * @remarks
590
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
591
+ *
592
+ * @defaultValue "\{projectRoot\}/dist"
593
+ */
594
+ distPath?: string;
586
595
  /**
587
596
  * The format of the output files
588
597
  *
@@ -1,6 +1,6 @@
1
1
  export { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig } from './plugin.cjs';
2
2
  export { ReactEnvInterface } from './runtime.cjs';
3
- import '../runtime-BKpao7nk.cjs';
3
+ import '../runtime-BcuCkovn.cjs';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -19,7 +19,7 @@ import '@babel/helper-plugin-utils';
19
19
  import '@stryke/types/array';
20
20
  import '@stryke/types/tsconfig';
21
21
  import 'typescript';
22
- import '../vfs-BGmsy47f.cjs';
22
+ import '../vfs-BS4ST5TO.cjs';
23
23
  import '@stryke/json/types';
24
24
  import 'node:fs';
25
25
  import '@alloy-js/core/jsx-runtime';
@@ -1,6 +1,6 @@
1
1
  export { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig } from './plugin.js';
2
2
  export { ReactEnvInterface } from './runtime.js';
3
- import '../runtime-DNQO2Zr2.js';
3
+ import '../runtime-B0BMR6tw.js';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -19,7 +19,7 @@ import '@babel/helper-plugin-utils';
19
19
  import '@stryke/types/array';
20
20
  import '@stryke/types/tsconfig';
21
21
  import 'typescript';
22
- import '../vfs-BGmsy47f.js';
22
+ import '../vfs-BS4ST5TO.js';
23
23
  import '@stryke/json/types';
24
24
  import 'node:fs';
25
25
  import '@alloy-js/core/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { B as BabelUserConfig, U as UserConfig, R as ResolvedConfig, b as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-BKpao7nk.cjs';
1
+ import { B as BabelUserConfig, U as UserConfig, R as ResolvedConfig, b as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-BcuCkovn.cjs';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { ReflectionClass } from '@deepkit/type';
4
4
  import * as $ from '@stryke/capnp';
@@ -22,7 +22,7 @@ import '@babel/helper-plugin-utils';
22
22
  import '@stryke/types/array';
23
23
  import '@stryke/types/tsconfig';
24
24
  import 'typescript';
25
- import '../vfs-BGmsy47f.cjs';
25
+ import '../vfs-BS4ST5TO.cjs';
26
26
  import '@stryke/json/types';
27
27
  import 'node:fs';
28
28
 
@@ -1,4 +1,4 @@
1
- import { B as BabelUserConfig, U as UserConfig, R as ResolvedConfig, b as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-DNQO2Zr2.js';
1
+ import { B as BabelUserConfig, U as UserConfig, R as ResolvedConfig, b as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-B0BMR6tw.js';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { ReflectionClass } from '@deepkit/type';
4
4
  import * as $ from '@stryke/capnp';
@@ -22,7 +22,7 @@ import '@babel/helper-plugin-utils';
22
22
  import '@stryke/types/array';
23
23
  import '@stryke/types/tsconfig';
24
24
  import 'typescript';
25
- import '../vfs-BGmsy47f.js';
25
+ import '../vfs-BS4ST5TO.js';
26
26
  import '@stryke/json/types';
27
27
  import 'node:fs';
28
28
 
@@ -1,4 +1,4 @@
1
- import { E as EnvInterface } from '../runtime-BKpao7nk.cjs';
1
+ import { E as EnvInterface } from '../runtime-BcuCkovn.cjs';
2
2
  import '@stryke/env/get-env-paths';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/package-json';
@@ -17,7 +17,7 @@ import '@babel/helper-plugin-utils';
17
17
  import '@stryke/types/array';
18
18
  import '@stryke/types/tsconfig';
19
19
  import 'typescript';
20
- import '../vfs-BGmsy47f.cjs';
20
+ import '../vfs-BS4ST5TO.cjs';
21
21
  import '@stryke/json/types';
22
22
  import 'node:fs';
23
23
 
@@ -1,4 +1,4 @@
1
- import { E as EnvInterface } from '../runtime-DNQO2Zr2.js';
1
+ import { E as EnvInterface } from '../runtime-B0BMR6tw.js';
2
2
  import '@stryke/env/get-env-paths';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/package-json';
@@ -17,7 +17,7 @@ import '@babel/helper-plugin-utils';
17
17
  import '@stryke/types/array';
18
18
  import '@stryke/types/tsconfig';
19
19
  import 'typescript';
20
- import '../vfs-BGmsy47f.js';
20
+ import '../vfs-BS4ST5TO.js';
21
21
  import '@stryke/json/types';
22
22
  import 'node:fs';
23
23
 
@@ -1,8 +1,8 @@
1
1
  import { PrimitiveJsonValue } from '@stryke/json/types';
2
2
  import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDirectoryOptions as MakeDirectoryOptions$1, PathOrFileDescriptor, WriteFileOptions as WriteFileOptions$1 } from 'node:fs';
3
3
 
4
- declare const __VFS_PATCH__: unique symbol;
5
- declare const __VFS_REVERT__: unique symbol;
4
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
5
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
6
6
  type OutputModeType = "fs" | "virtual";
7
7
  interface VirtualFile {
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  import { PrimitiveJsonValue } from '@stryke/json/types';
2
2
  import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDirectoryOptions as MakeDirectoryOptions$1, PathOrFileDescriptor, WriteFileOptions as WriteFileOptions$1 } from 'node:fs';
3
3
 
4
- declare const __VFS_PATCH__: unique symbol;
5
- declare const __VFS_REVERT__: unique symbol;
4
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
5
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
6
6
  type OutputModeType = "fs" | "virtual";
7
7
  interface VirtualFile {
8
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-react",
3
- "version": "0.1.15",
3
+ "version": "0.1.19",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for building a React application.",
6
6
  "repository": {
@@ -130,19 +130,19 @@
130
130
  "@stryke/fs": "^0.32.13",
131
131
  "@stryke/path": "^0.19.2",
132
132
  "babel-plugin-react-compiler": "^1.0.0",
133
- "@powerlines/alloy": "^0.11.24",
134
- "@powerlines/plugin-babel": "^0.12.24",
135
- "@powerlines/plugin-env": "^0.13.21",
136
- "@powerlines/plugin-plugin": "^0.11.23",
133
+ "@powerlines/alloy": "^0.11.28",
134
+ "@powerlines/plugin-babel": "^0.12.28",
135
+ "@powerlines/plugin-env": "^0.13.25",
136
+ "@powerlines/plugin-plugin": "^0.11.27",
137
137
  "@vitejs/plugin-react": "^5.1.1",
138
138
  "defu": "^6.1.4",
139
- "powerlines": "^0.22.1"
139
+ "powerlines": "^0.23.2"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.15",
142
+ "@powerlines/nx": "^0.10.19",
143
143
  "@storm-software/tsup": "^0.2.38",
144
144
  "@types/node": "^22.19.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "79514f9dda337550c9e4064a7a6e3938bd9aca08"
147
+ "gitHead": "628334bf5e96fa739c6a2b0a325f133ea928b530"
148
148
  }