@pure-ds/core 0.4.29 → 0.4.31
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 +1 -1
- package/packages/pds-cli/bin/generate-css-data.mjs +1 -1
- package/packages/pds-cli/bin/generate-manifest.mjs +1 -1
- package/packages/pds-cli/bin/pds-build-icons.mjs +1 -1
- package/packages/pds-cli/bin/pds-static.mjs +1 -1
- package/packages/pds-cli/bin/postinstall.mjs +1 -1
- package/readme.md +2 -2
package/package.json
CHANGED
|
@@ -555,7 +555,7 @@ async function generateCSSData(targetDir) {
|
|
|
555
555
|
export { generateCSSData };
|
|
556
556
|
|
|
557
557
|
// Run if called directly
|
|
558
|
-
if (process.argv[1] && process.argv[1].endsWith('generate-css-data.js')) {
|
|
558
|
+
if (process.argv[1] && (process.argv[1].endsWith('generate-css-data.mjs') || process.argv[1].endsWith('generate-css-data.js'))) {
|
|
559
559
|
const targetDir = process.argv[2] || null;
|
|
560
560
|
generateCSSData(targetDir).then(success => {
|
|
561
561
|
process.exit(success ? 0 : 1);
|
|
@@ -344,7 +344,7 @@ async function generateManifest(targetDir) {
|
|
|
344
344
|
export { generateManifest };
|
|
345
345
|
|
|
346
346
|
// Run if called directly
|
|
347
|
-
if (process.argv[1] && process.argv[1].endsWith('generate-manifest.js')) {
|
|
347
|
+
if (process.argv[1] && (process.argv[1].endsWith('generate-manifest.mjs') || process.argv[1].endsWith('generate-manifest.js'))) {
|
|
348
348
|
const targetDir = process.argv[2] || null;
|
|
349
349
|
generateManifest(targetDir).then(success => {
|
|
350
350
|
process.exit(success ? 0 : 1);
|
|
@@ -144,7 +144,7 @@ if (process.argv[1]) {
|
|
|
144
144
|
const scriptPath = fileURLToPath(import.meta.url);
|
|
145
145
|
const argPath = process.argv[1];
|
|
146
146
|
// Check if this is the main module being executed
|
|
147
|
-
if (argPath === scriptPath || argPath.endsWith('pds-build-icons.js') || argPath.endsWith('pds-build-icons')) {
|
|
147
|
+
if (argPath === scriptPath || argPath.endsWith('pds-build-icons.mjs') || argPath.endsWith('pds-build-icons.js') || argPath.endsWith('pds-build-icons')) {
|
|
148
148
|
main();
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -573,7 +573,7 @@ if (process.argv[1]) {
|
|
|
573
573
|
const scriptPath = fileURLToPath(import.meta.url);
|
|
574
574
|
const argPath = process.argv[1];
|
|
575
575
|
// Check if this is the main module being executed
|
|
576
|
-
if (argPath === scriptPath || argPath.endsWith('pds-static.js') || argPath.endsWith('pds-export')) {
|
|
576
|
+
if (argPath === scriptPath || argPath.endsWith('pds-static.mjs') || argPath.endsWith('pds-static.js') || argPath.endsWith('pds-export')) {
|
|
577
577
|
main();
|
|
578
578
|
}
|
|
579
579
|
}
|
|
@@ -452,7 +452,7 @@ async function copyPdsAssets() {
|
|
|
452
452
|
console.log('📦 To generate static assets run: npm run pds:export');
|
|
453
453
|
} else {
|
|
454
454
|
console.log('🚀 Running pds:export automatically...');
|
|
455
|
-
const staticModuleUrl = pathToFileURL(path.join(__dirname, 'pds-static.
|
|
455
|
+
const staticModuleUrl = pathToFileURL(path.join(__dirname, 'pds-static.mjs')).href;
|
|
456
456
|
const previousEnv = {
|
|
457
457
|
PDS_POSTINSTALL: process.env.PDS_POSTINSTALL,
|
|
458
458
|
PDS_LOG_STREAM: process.env.PDS_LOG_STREAM,
|
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Pure Design System (PDS)
|
|
2
2
|
|
|
3
|
-
> ⚠️ **Beta Software** - APIs are stabilizing but may still change. Pin versions in production: `"@pure-ds/core": "~0.
|
|
3
|
+
> ⚠️ **Beta Software** - APIs are stabilizing but may still change. Pin versions in production: `"@pure-ds/core": "~0.4.30"`
|
|
4
4
|
|
|
5
5
|
[](https://github.com/mvneerven/pure-ds/actions/workflows/ci.yml)
|
|
6
6
|
[](#license)
|
|
@@ -1889,7 +1889,7 @@ export default {
|
|
|
1889
1889
|
|
|
1890
1890
|
1. Verify components directory exists
|
|
1891
1891
|
2. Check import map for `#pds/lit` (required for Lit components - see below)
|
|
1892
|
-
3. Manually sync: `node node_modules/pure-ds/packages/pds-cli/bin/postinstall.
|
|
1892
|
+
3. Manually sync: `node node_modules/pure-ds/packages/pds-cli/bin/postinstall.mjs`
|
|
1893
1893
|
4. Check browser console for errors
|
|
1894
1894
|
|
|
1895
1895
|
### Lit Components Not Working
|