@powerlines/plugin-react 0.1.201 → 0.1.203
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/components/index.cjs +3 -0
- package/dist/{packages/plugin-react/src/components → components}/react-optimized.cjs +1 -1
- package/dist/{packages/plugin-react/src/components → components}/react-optimized.d.cts +1 -1
- package/dist/{packages/plugin-react/src/components → components}/react-optimized.d.mts +1 -1
- package/dist/{src/index.cjs → index.cjs} +5 -5
- package/dist/{src/index.d.cts → index.d.cts} +6 -6
- package/dist/{src/index.d.mts → index.d.mts} +6 -6
- package/dist/{src/index.mjs → index.mjs} +2 -2
- package/dist/{packages/plugin-react/src/types → types}/plugin.d.cts +2 -2
- package/dist/{packages/plugin-react/src/types → types}/plugin.d.mts +2 -2
- package/dist/{packages/plugin-react/src/types → types}/runtime.d.cts +1 -1
- package/dist/{packages/plugin-react/src/types → types}/runtime.d.mts +1 -1
- package/package.json +7 -7
- package/dist/packages/plugin-react/src/components/index.cjs +0 -3
- /package/dist/{packages/plugin-react/src/components → components}/index.d.cts +0 -0
- /package/dist/{packages/plugin-react/src/components → components}/index.d.mts +0 -0
- /package/dist/{packages/plugin-react/src/components → components}/index.mjs +0 -0
- /package/dist/{packages/plugin-react/src/components → components}/react-optimized.mjs +0 -0
- /package/dist/{packages/plugin-react/src/types → types}/index.cjs +0 -0
- /package/dist/{packages/plugin-react/src/types → types}/index.d.cts +0 -0
- /package/dist/{packages/plugin-react/src/types → types}/index.d.mts +0 -0
- /package/dist/{packages/plugin-react/src/types → types}/index.mjs +0 -0
- /package/dist/{packages/plugin-react/src/types → types}/plugin.cjs +0 -0
- /package/dist/{packages/plugin-react/src/types → types}/plugin.mjs +0 -0
- /package/dist/{packages/plugin-react/src/types → types}/runtime.cjs +0 -0
- /package/dist/{packages/plugin-react/src/types → types}/runtime.mjs +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
3
3
|
let defu = require("defu");
|
|
4
4
|
defu = require_rolldown_runtime.__toESM(defu);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuiltinFileProps } from "
|
|
1
|
+
import { BuiltinFileProps } from "../plugin-alloy/src/typescript/components/builtin-file.cjs";
|
|
2
2
|
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/components/react-optimized.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuiltinFileProps } from "
|
|
1
|
+
import { BuiltinFileProps } from "../plugin-alloy/src/typescript/components/builtin-file.mjs";
|
|
2
2
|
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/components/react-optimized.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const require_rolldown_runtime = require('
|
|
3
|
-
const
|
|
4
|
-
require('
|
|
2
|
+
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
|
+
const require_components_react_optimized = require('./components/react-optimized.cjs');
|
|
4
|
+
require('./components/index.cjs');
|
|
5
5
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
6
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
7
7
|
let __powerlines_plugin_babel = require("@powerlines/plugin-babel");
|
|
@@ -91,7 +91,7 @@ const plugin = (options = {}) => {
|
|
|
91
91
|
},
|
|
92
92
|
async prepare() {
|
|
93
93
|
const _self$ = this;
|
|
94
|
-
return this.render((0, __alloy_js_core_jsx_runtime.createComponent)(
|
|
94
|
+
return this.render((0, __alloy_js_core_jsx_runtime.createComponent)(require_components_react_optimized.ReactOptimizedBuiltin, { get override() {
|
|
95
95
|
return _self$.config.react.compiler === false ? false : void 0;
|
|
96
96
|
} }));
|
|
97
97
|
}
|
|
@@ -101,6 +101,6 @@ const plugin = (options = {}) => {
|
|
|
101
101
|
var src_default = plugin;
|
|
102
102
|
|
|
103
103
|
//#endregion
|
|
104
|
-
exports.ReactOptimizedBuiltin =
|
|
104
|
+
exports.ReactOptimizedBuiltin = require_components_react_optimized.ReactOptimizedBuiltin;
|
|
105
105
|
exports.default = src_default;
|
|
106
106
|
exports.plugin = plugin;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Plugin } from "
|
|
2
|
-
import { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps } from "
|
|
3
|
-
import "
|
|
4
|
-
import { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig } from "
|
|
5
|
-
import { ReactEnvInterface, __ΩReactEnvInterface } from "
|
|
6
|
-
import "
|
|
1
|
+
import { Plugin } from "./powerlines/src/types/plugin.cjs";
|
|
2
|
+
import { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps } from "./components/react-optimized.cjs";
|
|
3
|
+
import "./components/index.cjs";
|
|
4
|
+
import { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig } from "./types/plugin.cjs";
|
|
5
|
+
import { ReactEnvInterface, __ΩReactEnvInterface } from "./types/runtime.cjs";
|
|
6
|
+
import "./types/index.cjs";
|
|
7
7
|
|
|
8
8
|
//#region src/index.d.ts
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Plugin } from "
|
|
2
|
-
import { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps } from "
|
|
3
|
-
import "
|
|
4
|
-
import { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig } from "
|
|
5
|
-
import { ReactEnvInterface, __ΩReactEnvInterface } from "
|
|
6
|
-
import "
|
|
1
|
+
import { Plugin } from "./powerlines/src/types/plugin.mjs";
|
|
2
|
+
import { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps } from "./components/react-optimized.mjs";
|
|
3
|
+
import "./components/index.mjs";
|
|
4
|
+
import { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig } from "./types/plugin.mjs";
|
|
5
|
+
import { ReactEnvInterface, __ΩReactEnvInterface } from "./types/runtime.mjs";
|
|
6
|
+
import "./types/index.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/index.d.ts
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactOptimizedBuiltin } from "
|
|
2
|
-
import "
|
|
1
|
+
import { ReactOptimizedBuiltin } from "./components/react-optimized.mjs";
|
|
2
|
+
import "./components/index.mjs";
|
|
3
3
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import { ReflectionKind, ReflectionVisibility } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
import babel from "@powerlines/plugin-babel";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BabelPluginOptions } from "
|
|
2
|
-
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "
|
|
1
|
+
import { BabelPluginOptions } from "../plugin-babel/src/types/plugin.cjs";
|
|
2
|
+
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "../plugin-env/src/types/plugin.cjs";
|
|
3
3
|
import { PluginOptions } from "babel-plugin-react-compiler";
|
|
4
4
|
|
|
5
5
|
//#region src/types/plugin.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BabelPluginOptions } from "
|
|
2
|
-
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "
|
|
1
|
+
import { BabelPluginOptions } from "../plugin-babel/src/types/plugin.mjs";
|
|
2
|
+
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "../plugin-env/src/types/plugin.mjs";
|
|
3
3
|
import { PluginOptions } from "babel-plugin-react-compiler";
|
|
4
4
|
|
|
5
5
|
//#region src/types/plugin.d.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.203",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a React application.",
|
|
6
6
|
"repository": {
|
|
@@ -141,9 +141,9 @@
|
|
|
141
141
|
"@alloy-js/markdown": "^0.22.0",
|
|
142
142
|
"@alloy-js/typescript": "^0.22.0",
|
|
143
143
|
"@babel/core": "^7.28.6",
|
|
144
|
-
"@powerlines/plugin-alloy": "^0.18.
|
|
145
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
146
|
-
"@powerlines/plugin-env": "^0.15.
|
|
144
|
+
"@powerlines/plugin-alloy": "^0.18.71",
|
|
145
|
+
"@powerlines/plugin-babel": "^0.12.191",
|
|
146
|
+
"@powerlines/plugin-env": "^0.15.74",
|
|
147
147
|
"@storm-software/config-tools": "^1.188.80",
|
|
148
148
|
"@stryke/cli": "^0.13.7",
|
|
149
149
|
"@stryke/convert": "^0.6.34",
|
|
@@ -152,14 +152,14 @@
|
|
|
152
152
|
"@vitejs/plugin-react": "^5.1.2",
|
|
153
153
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
154
154
|
"defu": "^6.1.4",
|
|
155
|
-
"powerlines": "^0.37.
|
|
155
|
+
"powerlines": "^0.37.56"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
158
|
+
"@powerlines/plugin-plugin": "^0.12.134",
|
|
159
159
|
"@types/node": "^24.10.9",
|
|
160
160
|
"@types/react": "^19.2.8",
|
|
161
161
|
"@types/react-dom": "^19.2.3"
|
|
162
162
|
},
|
|
163
163
|
"publishConfig": { "access": "public" },
|
|
164
|
-
"gitHead": "
|
|
164
|
+
"gitHead": "7af3632002c069b20d1ce8fc08866a8c52cb7256"
|
|
165
165
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|