@pure-ds/core 0.5.55 → 0.5.56

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pure-ds/core",
3
3
  "shortname": "pds",
4
- "version": "0.5.55",
4
+ "version": "0.5.56",
5
5
  "description": "Pure Design System - Why develop a Design System when you can generate one?",
6
6
  "repository": {
7
7
  "type": "git",
@@ -449,7 +449,10 @@ async function main(options = {}) {
449
449
 
450
450
  // 4c) Copy Lit bundle into target/external for #pds/lit import map
451
451
  try {
452
- const litSource = path.join(repoRoot, 'public/assets/js/lit.js');
452
+ const litSourceNew = path.join(repoRoot, 'public/assets/pds/external/lit.js');
453
+ const litSourceLegacy = path.join(repoRoot, 'public/assets/js/lit.js');
454
+ const litSource = existsSync(litSourceNew) ? litSourceNew : litSourceLegacy;
455
+
453
456
  if (!existsSync(litSource)) {
454
457
  log('⚠️ lit.js not found in package assets; skipping copy', 'yellow');
455
458
  } else {