@pure-ds/core 0.4.32 → 0.4.34

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.4.32",
4
+ "version": "0.4.34",
5
5
  "description": "Pure Design System - Why develop a Design System when you can generate one?",
6
6
  "repository": {
7
7
  "type": "git",
@@ -394,7 +394,7 @@ async function copyPdsAssets() {
394
394
  console.error('\n❌ ERROR: @pure-ds/core requires ES modules.\n');
395
395
  console.error('Add this to your package.json:\n');
396
396
  console.error(' "type": "module"\n');
397
- console.error('Then run: npm install\n');
397
+ console.error('Then run: npm install @pure-ds/core\n');
398
398
  process.exit(1);
399
399
  }
400
400
  } catch (e) {
@@ -525,6 +525,20 @@ async function copyPdsAssets() {
525
525
  } catch (e) {
526
526
  console.warn('⚠️ Could not write tracking file:', e?.message || e);
527
527
  }
528
+
529
+ // Success summary
530
+ console.log('\n✅ PDS installation complete!\n');
531
+ try {
532
+ const webRoot = await discoverWebRoot(consumerRoot);
533
+ console.log(`📁 Assets installed to: ${webRoot.relative}/assets/pds/`);
534
+ console.log('⚙️ Configuration file: pds.config.js');
535
+ console.log('📋 Copilot instructions: .github/copilot-instructions.md');
536
+ console.log('➤ Cursor instructions: .cursorrules');
537
+ console.log('📚 Get your own PDS Storybook via \'npm install @pure-ds/storybook\'');
538
+ console.log('📖 See readme.md\n');
539
+ } catch {
540
+ console.log('📦 Run "npm run pds:export" to generate assets\n');
541
+ }
528
542
  } catch (error) {
529
543
  console.error('❌ PDS postinstall failed (non-fatal):', error.message);
530
544
  console.log('💡 Static export still available via: npm run pds:export');