@mochabug/adaptkit 1.0.0-rc.19 → 1.0.0-rc.20
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/bin/index.js +7 -7
- package/bin/index.js.map +2 -2
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// <define:__PACKAGE_JSON__>
|
|
4
|
-
var define_PACKAGE_JSON_default = { name: "@mochabug/adaptkit", version: "1.0.0-rc.
|
|
4
|
+
var define_PACKAGE_JSON_default = { name: "@mochabug/adaptkit", version: "1.0.0-rc.20" };
|
|
5
5
|
|
|
6
6
|
// node_modules/@bufbuild/protobuf/dist/esm/is-message.js
|
|
7
7
|
function isMessage(arg, schema) {
|
|
@@ -4791,12 +4791,12 @@ async function addVertex(cwd, name, folder, capabilities, frontendLib) {
|
|
|
4791
4791
|
metadata: "metadata.json"
|
|
4792
4792
|
};
|
|
4793
4793
|
if (frontendLib === "react") {
|
|
4794
|
-
await execPromise(
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
);
|
|
4794
|
+
await execPromise("npm install react react-dom", {
|
|
4795
|
+
cwd
|
|
4796
|
+
});
|
|
4797
|
+
await execPromise("npm install --save-dev @types/react @types/react-dom", {
|
|
4798
|
+
cwd
|
|
4799
|
+
});
|
|
4800
4800
|
const uiPath = path2.join(folder, "ui");
|
|
4801
4801
|
if (capabilities.includes("CAPABILITY_CONFIGURATOR")) {
|
|
4802
4802
|
writeFile(
|