codeplay-common 3.1.1 → 3.1.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.
@@ -1323,8 +1323,12 @@ const baseName = oldFileName.replace(/-\d+\.\d+.*$/, '').replace(/\.(js|less)$/,
1323
1323
  // version lookup key
1324
1324
  let pluginKey = baseName;
1325
1325
 
1326
- if (ext === ".js") pluginKey = `${baseName}-js`;
1327
- if (ext === ".less") pluginKey = `${baseName}-less`;
1326
+
1327
+ // Only common plugin has js and less variants
1328
+ if (baseName === "common") {
1329
+ if (ext === ".js") pluginKey = "common-js";
1330
+ if (ext === ".less") pluginKey = "common-less";
1331
+ }
1328
1332
 
1329
1333
  const latestVersion = versions[pluginKey];
1330
1334
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeplay-common",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Common build scripts and files",
5
5
  "scripts": {
6
6
  "postinstall": "node scripts/sync-files.js",