@powerlines/plugin-react 0.1.85 → 0.1.86

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,4 +1,3 @@
1
- import "../../../powerlines/src/types/build.mjs";
2
1
  import "../../../powerlines/src/types/context.mjs";
3
2
  import "../../../powerlines/src/types/config.mjs";
4
3
  import "../../../powerlines/src/types/resolved.mjs";
@@ -1 +1 @@
1
- const e=require(`../../../../_virtual/rolldown_runtime.cjs`),t=require(`../build/esbuild.cjs`);let n=require(`@storm-software/config-tools/types`),r=require(`esbuild`);async function i(e,i,a={}){let o=await e.fs.resolve(i);if(!o||!e.fs.existsSync(o))throw Error(`Module not found: "${i}". Please check the path and try again.`);let s=await(0,r.build)({...t.extractESBuildConfig(e),entry:[o],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...a});if(s.errors.length>0)throw Error(`Failed to transpile ${i}: ${s.errors.map(e=>e.text).join(`, `)}`);if(s.warnings.length>0&&e.log(n.LogLevelLabel.WARN,`Warnings while transpiling ${i}: ${s.warnings.map(e=>e.text).join(`, `)}`),!s.outputFiles||s.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${i}. Please check the configuration and try again.`);return s.outputFiles.filter(Boolean)[0]}exports.bundle=i;
1
+ const e=require(`../../../../_virtual/rolldown_runtime.cjs`),t=require(`../build/esbuild.cjs`);let n=require(`@storm-software/config-tools/types`),r=require(`esbuild`);async function i(e,i,a={}){let o=await e.fs.resolve(i);if(!o||!e.fs.existsSync(o))throw Error(`Module not found: "${i}". Please check the path and try again.`);let s=await(0,r.build)({...t.extractESBuildConfig(e),entryPoints:[o],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...a});if(s.errors.length>0)throw Error(`Failed to transpile ${i}: ${s.errors.map(e=>e.text).join(`, `)}`);if(s.warnings.length>0&&e.log(n.LogLevelLabel.WARN,`Warnings while transpiling ${i}: ${s.warnings.map(e=>e.text).join(`, `)}`),!s.outputFiles||s.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${i}. Please check the configuration and try again.`);return s.outputFiles.filter(Boolean)[0]}exports.bundle=i;
@@ -1 +1 @@
1
- import{extractESBuildConfig as e}from"../build/esbuild.mjs";import{LogLevelLabel as t}from"@storm-software/config-tools/types";import{build as n}from"esbuild";async function r(r,i,a={}){let o=await r.fs.resolve(i);if(!o||!r.fs.existsSync(o))throw Error(`Module not found: "${i}". Please check the path and try again.`);let s=await n({...e(r),entry:[o],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...a});if(s.errors.length>0)throw Error(`Failed to transpile ${i}: ${s.errors.map(e=>e.text).join(`, `)}`);if(s.warnings.length>0&&r.log(t.WARN,`Warnings while transpiling ${i}: ${s.warnings.map(e=>e.text).join(`, `)}`),!s.outputFiles||s.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${i}. Please check the configuration and try again.`);return s.outputFiles.filter(Boolean)[0]}export{r as bundle};
1
+ import{extractESBuildConfig as e}from"../build/esbuild.mjs";import{LogLevelLabel as t}from"@storm-software/config-tools/types";import{build as n}from"esbuild";async function r(r,i,a={}){let o=await r.fs.resolve(i);if(!o||!r.fs.existsSync(o))throw Error(`Module not found: "${i}". Please check the path and try again.`);let s=await n({...e(r),entryPoints:[o],write:!1,sourcemap:!1,splitting:!1,treeShaking:!1,bundle:!0,...a});if(s.errors.length>0)throw Error(`Failed to transpile ${i}: ${s.errors.map(e=>e.text).join(`, `)}`);if(s.warnings.length>0&&r.log(t.WARN,`Warnings while transpiling ${i}: ${s.warnings.map(e=>e.text).join(`, `)}`),!s.outputFiles||s.outputFiles.filter(Boolean).length===0)throw Error(`No output files generated for ${i}. Please check the configuration and try again.`);return s.outputFiles.filter(Boolean)[0]}export{r as bundle};
@@ -1,5 +1,3 @@
1
- import "esbuild";
2
-
3
1
  //#region ../powerlines/src/types/build.d.ts
4
2
 
5
3
  type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
@@ -1,4 +1,3 @@
1
- import "./build.mjs";
2
1
  import { BabelUserConfig, EnvironmentConfig, InlineConfig, OutputConfig, UserConfig } from "./config.mjs";
3
2
  import { NonUndefined } from "@stryke/types/base";
4
3
  import { AssetGlob } from "@stryke/types/file";
@@ -1,4 +1,3 @@
1
- import "./build.mjs";
2
1
  import "./plugin.mjs";
3
2
  import "./context.mjs";
4
3
  import "./config.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-react",
3
- "version": "0.1.85",
3
+ "version": "0.1.86",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for building a React application.",
6
6
  "repository": {
@@ -142,18 +142,18 @@
142
142
  "@stryke/fs": "^0.33.26",
143
143
  "@stryke/path": "^0.23.2",
144
144
  "babel-plugin-react-compiler": "^1.0.0",
145
- "@powerlines/alloy": "^0.11.94",
146
- "@powerlines/plugin-babel": "^0.12.94",
147
- "@powerlines/plugin-env": "^0.13.91",
148
- "@powerlines/plugin-plugin": "^0.12.37",
145
+ "@powerlines/alloy": "^0.11.95",
146
+ "@powerlines/plugin-babel": "^0.12.95",
147
+ "@powerlines/plugin-env": "^0.13.92",
148
+ "@powerlines/plugin-plugin": "^0.12.38",
149
149
  "@vitejs/plugin-react": "^5.1.2",
150
150
  "defu": "^6.1.4",
151
- "powerlines": "^0.34.3"
151
+ "powerlines": "^0.34.4"
152
152
  },
153
153
  "devDependencies": {
154
- "@powerlines/nx": "^0.11.16",
154
+ "@powerlines/nx": "^0.11.17",
155
155
  "@types/node": "^24.10.4"
156
156
  },
157
157
  "publishConfig": { "access": "public" },
158
- "gitHead": "a75893be4fb4ef6337d56d53890e22f0c5de95ce"
158
+ "gitHead": "65adada341ab6f4ea32ec364c1bd5eec876ee5ba"
159
159
  }