@fishawack/lab-env 4.39.1-beta.1 → 4.39.1-beta.2

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/.prettierignore CHANGED
@@ -23,4 +23,8 @@ composer.lock
23
23
  CHANGELOG.md
24
24
  fastlane
25
25
  resources/symbol
26
- **/*.hbs
26
+ **/*.hbs
27
+ _Test/**/*fixture*/**
28
+ _Test/**/*expected*/**
29
+ _Test/**/_Build-syntax-error/**
30
+ _Tasks/helpers/htmlEmail/**/*
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  ## Changelog
2
2
 
3
+ ### 4.39.1-beta.2 (2025-06-26)
4
+
5
+ #### Bug Fixes
6
+
7
+ * added $ and _ as globally allowed js variables for jquery and lodash legacy sites ([b77b2c9](https://bitbucket.org/fishawackdigital/lab-env/commits/b77b2c9d200c49ac45491601b5bf32052a35c0ef))
8
+ * better check for js files in handlebars helpers ([56cf754](https://bitbucket.org/fishawackdigital/lab-env/commits/56cf754597f3d956e5866eca75ca8d78f08f5e1a))
9
+ * eslint no longer checks props for reassign ([d341abe](https://bitbucket.org/fishawackdigital/lab-env/commits/d341abeaebc038252ac9adbee86263669c6e0257))
10
+ * ignore expected dirs in test directories ([3fbbf4f](https://bitbucket.org/fishawackdigital/lab-env/commits/3fbbf4f6a4ddb455b27fcaf29becef215406df1f))
11
+ * ignore fixures in stylelint ([e24426a](https://bitbucket.org/fishawackdigital/lab-env/commits/e24426a0681e1b34cb521b79e6d5f7cc694b7ce5))
12
+ * ignore htmlemail files in core tasks ([d7aeb4c](https://bitbucket.org/fishawackdigital/lab-env/commits/d7aeb4c784ee09db06d5447650bdbe45623b044e))
13
+ * ignore purposefully incorrect syntax in test suites ([c609e91](https://bitbucket.org/fishawackdigital/lab-env/commits/c609e917c4278e2568c00010e58f6e0ca5e82ae3))
14
+ * ignore stream non authored files in eslint ([343bde5](https://bitbucket.org/fishawackdigital/lab-env/commits/343bde55ec0615fb9f03744669f953bea2ddedf7))
15
+ * ignore test fixtures from eslint ([8745c05](https://bitbucket.org/fishawackdigital/lab-env/commits/8745c05739c9c7e72ed5d6988751b1bb38699f04))
16
+ * use double quotes on credential replace in cloudfront functions ([e0c6abc](https://bitbucket.org/fishawackdigital/lab-env/commits/e0c6abc70e0b9095a15e62a8bd9d20811354edae))
17
+
3
18
  ### 4.39.1-beta.1 (2025-05-23)
4
19
 
5
20
  #### Bug Fixes
@@ -79,7 +79,6 @@ module.exports.globalModules = [
79
79
  { package: "@commitlint/config-conventional", version: "19" },
80
80
  // PRETTIER
81
81
  { package: "prettier", version: "3" },
82
- { package: "@prettier/plugin-php", version: "0" },
83
82
  // ESLINT
84
83
  { package: "@eslint/js", version: "9" },
85
84
  { package: "eslint-config-prettier", version: "10" },
@@ -92,6 +91,8 @@ module.exports.globalModules = [
92
91
  { package: "stylelint", version: "16" },
93
92
  { package: "stylelint-config-standard-scss", version: "15" },
94
93
  { package: "stylelint-prettier", version: "5" },
94
+ // PHPLINT
95
+ { package: "@prettier/plugin-php", version: "0" },
95
96
  ];
96
97
 
97
98
  // User presets
@@ -228,7 +228,7 @@ module.exports.createCloudFrontFunction = async (name, account, fn, config) => {
228
228
  let processedFn = fs
229
229
  .readFileSync(`${__dirname}/../../libs/${fn}.js`)
230
230
  .toString();
231
- processedFn = processedFn.replace(/'<%=.*%>'/g, (el) =>
231
+ processedFn = processedFn.replace(/"<%=.*%>"/g, (el) =>
232
232
  JSON.stringify(config[el.slice(4, el.length - 3).trim()], null, 4),
233
233
  );
234
234
 
package/eslint.config.js CHANGED
@@ -35,7 +35,11 @@ module.exports = defineConfig([
35
35
  "_Zips",
36
36
  "_Pdfs",
37
37
  "_Build/content",
38
- "_Build/handlebars/helpers",
38
+ "_Build/handlebars/**/*.js",
39
+ "_Test/**/*fixture*/**",
40
+ "_Test/**/*expected*/**",
41
+ "_Test/**/_Build-syntax-error/**",
42
+ "**/js/level-*/**/libs/**", // STREAM specific to ignore non-authored files
39
43
  ]),
40
44
  {
41
45
  plugins: {
@@ -53,14 +57,15 @@ module.exports = defineConfig([
53
57
  browser: "readonly",
54
58
  fixture: "readonly",
55
59
  expect: "readonly",
60
+ $: "readonly",
61
+ _: "readonly",
56
62
  },
57
63
  },
58
64
  rules: {
59
65
  "no-param-reassign": [
60
66
  "error",
61
67
  {
62
- props: true,
63
- ignorePropertyModificationsFor: ["state", "accu"],
68
+ props: false,
64
69
  },
65
70
  ],
66
71
  camelcase: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-env",
3
- "version": "4.39.1-beta.1",
3
+ "version": "4.39.1-beta.2",
4
4
  "description": "Docker manager for FW",
5
5
  "main": "cli.js",
6
6
  "scripts": {
@@ -36,5 +36,8 @@ module.exports = {
36
36
  "_Zips/**/*",
37
37
  "_Pdfs/**/*",
38
38
  "_Build/content/**/*",
39
+ "_Test/**/*fixture*/**",
40
+ "_Test/**/*expected*/**",
41
+ "_Test/**/_Build-syntax-error/**",
39
42
  ],
40
43
  };