@powerlines/plugin-react 0.1.123 → 0.1.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.
@@ -78,7 +78,7 @@ const plugin = (options = {}) => {
78
78
  storage: metadata.storage,
79
79
  ...metadata.typeDefinition ?? {}
80
80
  });
81
- else this.emitSync(file.path, file.contents, metadata);
81
+ else this.emitSync(file.contents, file.path, metadata);
82
82
  } else this.fs.copySync(file.sourcePath, file.path);
83
83
  }
84
84
  });
@@ -76,7 +76,7 @@ const plugin = (options = {}) => {
76
76
  storage: metadata.storage,
77
77
  ...metadata.typeDefinition ?? {}
78
78
  });
79
- else this.emitSync(file.path, file.contents, metadata);
79
+ else this.emitSync(file.contents, file.path, metadata);
80
80
  } else this.fs.copySync(file.sourcePath, file.path);
81
81
  }
82
82
  });
@@ -1,3 +1,5 @@
1
+ import "esbuild";
2
+
1
3
  //#region ../powerlines/src/types/build.d.ts
2
4
 
3
5
  type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
@@ -1,3 +1,4 @@
1
+ import "./build.mjs";
1
2
  import { BabelUserConfig, EnvironmentConfig, InlineConfig, OutputConfig, UserConfig } from "./config.mjs";
2
3
  import { NonUndefined } from "@stryke/types/base";
3
4
  import { ResolvedPreviewOptions } from "vite";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-react",
3
- "version": "0.1.123",
3
+ "version": "0.1.124",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for building a React application.",
6
6
  "repository": {
@@ -140,10 +140,10 @@
140
140
  "@alloy-js/json": "^0.22.0",
141
141
  "@alloy-js/markdown": "^0.22.0",
142
142
  "@alloy-js/typescript": "^0.22.0",
143
- "@powerlines/plugin-alloy": "^0.17.1",
144
- "@powerlines/plugin-babel": "^0.12.127",
145
- "@powerlines/plugin-env": "^0.14.22",
146
- "@storm-software/config-tools": "^1.188.74",
143
+ "@powerlines/plugin-alloy": "^0.17.2",
144
+ "@powerlines/plugin-babel": "^0.12.128",
145
+ "@powerlines/plugin-env": "^0.14.23",
146
+ "@storm-software/config-tools": "^1.188.75",
147
147
  "@stryke/cli": "^0.12.37",
148
148
  "@stryke/convert": "^0.6.30",
149
149
  "@stryke/fs": "^0.33.27",
@@ -151,7 +151,7 @@
151
151
  "@vitejs/plugin-react": "^5.1.2",
152
152
  "babel-plugin-react-compiler": "^1.0.0",
153
153
  "defu": "^6.1.4",
154
- "powerlines": "^0.36.23"
154
+ "powerlines": "^0.36.24"
155
155
  },
156
156
  "devDependencies": {
157
157
  "@babel/core": "^7.28.5",
@@ -162,5 +162,5 @@
162
162
  "react-dom": "^19.2.3"
163
163
  },
164
164
  "publishConfig": { "access": "public" },
165
- "gitHead": "be47e546b48b9a82e460b5c5d4f02fb66e821f18"
165
+ "gitHead": "4b695d4b3476fd9dd79521f92258d52dab2b8d72"
166
166
  }