@atomicsmash/init-testing 1.1.0-beta.1 → 1.1.0-beta.3

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.
Files changed (2) hide show
  1. package/dist/cli.js +8 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -130,15 +130,22 @@ await Promise.all([
130
130
  if (results.some((result) => {
131
131
  return result.status === "fulfilled" && result.value === true;
132
132
  })) {
133
+ const installedPackages = [
134
+ ...packageManager.commands.install,
135
+ ...packageManager.commands.devInstall,
136
+ ];
133
137
  packageManager.runCommands();
138
+ console.log(`Packages installed: ${installedPackages.join(",")}.`);
134
139
  }
135
140
  return results[1].status === "fulfilled" && results[1].value === true;
136
141
  })
137
142
  .then((shouldInstallPlaywright) => {
138
143
  if (shouldInstallPlaywright) {
144
+ console.log("Running playwright installer...");
139
145
  // Run Playwright installer after package install
140
146
  packageManager.commands.basic.push("npx playwright install");
141
147
  packageManager.runCommands();
148
+ console.log("Playwright installer finished.");
142
149
  }
143
150
  }),
144
151
  Promise.allSettled(fileCopies).then((results) => {
@@ -156,6 +163,7 @@ await Promise.all([
156
163
  "/playwright-report/",
157
164
  "/blob-report/",
158
165
  "/playwright/.cache/",
166
+ "/lighthouse/",
159
167
  ];
160
168
  const linesToAddToGitignore = [];
161
169
  for (const line of linesToCheck) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomicsmash/init-testing",
3
3
  "type": "module",
4
- "version": "1.1.0-beta.1",
4
+ "version": "1.1.0-beta.3",
5
5
  "description": "Allow us to easily add automated testing setup to any npm setup.",
6
6
  "keywords": [
7
7
  "atomic",