@forsakringskassan/vite-lib-config 5.1.7 → 5.1.8

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.
@@ -622,6 +622,13 @@ async function run(cwd, argv) {
622
622
  return;
623
623
  }
624
624
  const pkg = await readJsonFile(path3.join(cwd, "package.json"));
625
+ if (!pkg.devDependencies?.["@forsakringskassan/vite-lib-config"]) {
626
+ console.error(
627
+ `The "${pkg.name}" does not use "@forsakringskassan/vite-lib-config".`
628
+ );
629
+ console.error(`Skipping writing configuration.`);
630
+ return;
631
+ }
625
632
  const cypressConfigPath = await findCypressConfigPath(cwd);
626
633
  const testRunner = detectTestRunner(flags);
627
634
  const options = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/vite-lib-config",
3
- "version": "5.1.7",
3
+ "version": "5.1.8",
4
4
  "description": "Försäkringskassan toolchain to build libraries with Vite",
5
5
  "keywords": [
6
6
  "vite"