@widgetic/design-system 0.5.17 → 0.5.19

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.
Files changed (2) hide show
  1. package/README.md +8 -2
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Widgetic Design System (`@widgetic/design-system`)
2
2
 
3
+ > **Internal building block.** This package is part of Widgetic's own apps and is not a supported integration surface. Partners: use [`@widgetic/ui-sdk`](https://www.npmjs.com/package/@widgetic/ui-sdk) instead.
4
+
3
5
  This is the official design system package for the Widgetic platform.
4
6
 
5
7
  Built with SvelteKit and Tailwind CSS (using shadcn-svelte components as a base), it provides reusable UI components, global styles, design tokens, icons, and fonts for building consistent interfaces across Widgetic projects.
@@ -459,9 +461,13 @@ What it cannot see (found by looking at a screen in Arabic, not by the audit, so
459
461
 
460
462
  If you continue to experience issues:
461
463
  1. Check the latest documentation in this README
462
- 2. Review the `__docs/how-to-link-ds.md` guide for setup instructions
464
+ 2. Follow the Setup section in this README
463
465
  3. Check for updates to the design system package
464
466
  4. Report persistent issues to the development team with:
465
467
  - Your project's `package.json` dependencies
466
468
  - Complete error messages
467
- - Steps to reproduce the issue
469
+ - Steps to reproduce the issue
470
+
471
+ ## Publishing
472
+
473
+ GitLab CI on `main` publishes this package. Bump `version` in `package.json` and push `main`. The job is an npm Trusted Publisher (`NPM_ID_TOKEN`) and skips a version that is already on npm. A laptop publish is the fallback when CI minutes are gone. The token stays in `~/.npmrc` and is never committed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widgetic/design-system",
3
- "version": "0.5.17",
3
+ "version": "0.5.19",
4
4
  "type": "module",
5
5
  "svelte": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "build": "rm -rf dist && NODE_ENV=production vite build && npm run package",
32
32
  "build-sv": "vite build",
33
33
  "package:watch:svelte": "NODE_ENV=development svelte-package --watch | grep -v '$app/environment'",
34
- "package:watch:css": "chokidar 'dist/styles/global.css' --debounce 500 -c \"npm run update-config-path\" --initial",
34
+ "package:watch:css": "node scripts/watch-run.mjs dist/styles/global.css \"npm run update-config-path\" --debounce 500",
35
35
  "package:watch": "concurrently \"npm run package:watch:svelte\" \"npm run package:watch:css\"",
36
36
  "package": "NODE_ENV=production svelte-package | grep -v '$app/environment' && npm run update-config-path && node scripts/fix-svelte-dts-props.mjs",
37
37
  "update-config-path": "if [ -f dist/styles/global.css ] && grep -q '@config \"../../../tailwind.config.ts\";' dist/styles/global.css; then echo 'Updating @config path in dist/styles/global.css...'; sed -i.bak 's|@config \"../../../tailwind.config.ts\";|@config \"../../tailwind.config.ts\";|g' dist/styles/global.css && rm -f dist/styles/global.css.bak; else :; fi",
@@ -53,7 +53,8 @@
53
53
  "lint:all": "prettier --check . && eslint .",
54
54
  "clvtch": "rm -rf node_modules/.vite",
55
55
  "prepublishOnly": "npm run package",
56
- "publish-package": "npm run package && npm publish"
56
+ "publish-package": "npm run package && npm publish",
57
+ "publish-to-npm": "node ../dev-tools/bin/publish-package.mjs"
57
58
  },
58
59
  "exports": {
59
60
  ".": {
@@ -156,7 +157,7 @@
156
157
  "@tiptap/starter-kit": "^2.9.1",
157
158
  "@types/node": "^22.10.1",
158
159
  "@widgetic/dev-tools": "^0.2.0",
159
- "chokidar-cli": "^3.0.0",
160
+ "chokidar": "^4.0.3",
160
161
  "concurrently": "^9.1.0",
161
162
  "eslint": "^9.7.0",
162
163
  "eslint-config-prettier": "^9.1.0",
@@ -313,7 +314,7 @@
313
314
  "shell-quote": "^1.12.0"
314
315
  },
315
316
  "volta": {
316
- "node": "22.14.0",
317
+ "node": "22.22.0",
317
318
  "npm": "11.1.0"
318
319
  }
319
320
  }