@fishawack/lab-env 4.44.0 → 4.44.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  ## Changelog
2
2
 
3
+ ### 4.44.1 (2025-08-18)
4
+
5
+ #### Bug Fixes
6
+
7
+ * added apply to paths for vue and laravel ai files ([a06fea2](https://bitbucket.org/fishawackdigital/lab-env/commits/a06fea251a77120fe157147cfe15c58552330e84))
8
+ * only copy webdriver on core projects and rename capture ai script for consistency ([64a8c5e](https://bitbucket.org/fishawackdigital/lab-env/commits/64a8c5e58c35578a24597b3a90ad31fa6386ccba))
9
+
10
+ ### 4.44.1-beta.1 (2025-08-18)
11
+
12
+ #### Bug Fixes
13
+
14
+ * added apply to paths for vue and laravel ai files ([a06fea2](https://bitbucket.org/fishawackdigital/lab-env/commits/a06fea251a77120fe157147cfe15c58552330e84))
15
+ * only copy webdriver on core projects and rename capture ai script for consistency ([64a8c5e](https://bitbucket.org/fishawackdigital/lab-env/commits/64a8c5e58c35578a24597b3a90ad31fa6386ccba))
16
+
3
17
  ### 4.44.0 (2025-08-17)
4
18
 
5
19
  #### Features
package/_Ai/laravel-12.md CHANGED
@@ -1,3 +1,7 @@
1
+ ---
2
+ applyTo: "app/**/*,bootstrap/**/*,config/**/*,database/**/*,resources/**/*,routes/**/*,tests/**/*,composer.json,phpunit.xml"
3
+ ---
4
+
1
5
  # GitHub Copilot Instructions for Laravel Containerized Project
2
6
 
3
7
  ## Project Overview
package/_Ai/vue-3.md CHANGED
@@ -1,3 +1,7 @@
1
+ ---
2
+ applyTo: "**/*.vue"
3
+ ---
4
+
1
5
  # GitHub Copilot Instructions for Vue.js SPA Containerized Project
2
6
 
3
7
  ## Project Overview
package/globals.js CHANGED
@@ -557,10 +557,21 @@ if (!existsSync(path.join(cwd, "stylelint.config.js"))) {
557
557
  );
558
558
  }
559
559
 
560
- // Copy AI instructions file
561
- const destDir = path.join(cwd, ".github/instructions");
562
- if (!existsSync(destDir)) {
563
- mkdirSync(destDir, { recursive: true });
560
+ function copyAIInstructionsFile(source) {
561
+ // Create directory if it doesn't exist
562
+ const destDir = path.join(cwd, ".github/instructions");
563
+ if (!existsSync(destDir)) {
564
+ mkdirSync(destDir, { recursive: true });
565
+ }
566
+
567
+ // Remove version suffix from source so version is not included in filename
568
+ let dest = source.split("-");
569
+ dest.pop();
570
+
571
+ copyFileSync(
572
+ path.join(__dirname, `_Ai/${source}.md`),
573
+ path.join(destDir, `${dest.join("-")}.instructions.md`),
574
+ );
564
575
  }
565
576
 
566
577
  // Copy AI instructions file
@@ -568,10 +579,7 @@ if (
568
579
  (platform === "laravel" && process.env.VERSION_LARAVEL === "10") ||
569
580
  platform === "php"
570
581
  ) {
571
- copyFileSync(
572
- path.join(__dirname, "_Ai/laravel-12.md"),
573
- path.join(destDir, "laravel.instructions.md"),
574
- );
582
+ copyAIInstructionsFile("laravel-12");
575
583
  }
576
584
 
577
585
  // Copy AI instructions file
@@ -579,16 +587,12 @@ if (
579
587
  pkg?.dependencies?.["vue"] &&
580
588
  semver.satisfies(semver.coerce(pkg.dependencies["vue"]), "3.x")
581
589
  ) {
582
- copyFileSync(
583
- path.join(__dirname, "_Ai/vue-3.md"),
584
- path.join(destDir, "vue.instructions.md"),
585
- );
590
+ copyAIInstructionsFile("vue-3");
586
591
  }
587
592
 
588
- copyFileSync(
589
- path.join(__dirname, "_Ai/webdriveriov9-capture.md"),
590
- path.join(destDir, "webdriverio-capture.instructions.md"),
591
- );
593
+ if (version) {
594
+ copyAIInstructionsFile("webdriverio-capture-v9");
595
+ }
592
596
 
593
597
  // If docker-compose.yml exists in project _Docker folder append to end
594
598
  let localOverride = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "4.44.0",
3
+ "version": "4.44.1",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {