@atomicsmash/init-testing 1.1.0-beta.0 → 1.1.0-beta.1
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/cli.js
CHANGED
|
@@ -125,12 +125,21 @@ await Promise.all([
|
|
|
125
125
|
type: "dev",
|
|
126
126
|
})
|
|
127
127
|
: false,
|
|
128
|
-
])
|
|
128
|
+
])
|
|
129
|
+
.then((results) => {
|
|
129
130
|
if (results.some((result) => {
|
|
130
131
|
return result.status === "fulfilled" && result.value === true;
|
|
131
132
|
})) {
|
|
132
133
|
packageManager.runCommands();
|
|
133
134
|
}
|
|
135
|
+
return results[1].status === "fulfilled" && results[1].value === true;
|
|
136
|
+
})
|
|
137
|
+
.then((shouldInstallPlaywright) => {
|
|
138
|
+
if (shouldInstallPlaywright) {
|
|
139
|
+
// Run Playwright installer after package install
|
|
140
|
+
packageManager.commands.basic.push("npx playwright install");
|
|
141
|
+
packageManager.runCommands();
|
|
142
|
+
}
|
|
134
143
|
}),
|
|
135
144
|
Promise.allSettled(fileCopies).then((results) => {
|
|
136
145
|
results.forEach((result) => {
|
package/package.json
CHANGED
|
File without changes
|