@ably/ui 14.6.9 → 14.7.0-dev.151bbd8

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ably/ui",
3
- "version": "14.6.9",
3
+ "version": "14.7.0-dev.151bbd8",
4
4
  "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,6 +31,7 @@
31
31
  "@types/js-cookie": "^3.0.6",
32
32
  "@types/lodash.throttle": "^4.1.9",
33
33
  "@types/react-dom": "^18.3.0",
34
+ "@types/svg-sprite": "^0.0.39",
34
35
  "@typescript-eslint/eslint-plugin": "^7.0.0",
35
36
  "@typescript-eslint/parser": "^6.21.0",
36
37
  "@vitejs/plugin-react": "^4.2.1",
@@ -52,12 +53,13 @@
52
53
  "vite": "^5.2.12"
53
54
  },
54
55
  "scripts": {
55
- "build:prebuild": "rm -rf core reset",
56
+ "build:prebuild": "rm -rf core reset && mkdir -p dist/core",
56
57
  "build:swc": "swc src/core src/reset -d dist --copy-files --include-dotfiles --strip-leading-paths --config-file .swc --ignore **/*.stories.tsx,**/*.snap",
57
58
  "build:tsc": "tsc && node tsc.js && rm -r types",
58
59
  "build:cleanup": "mv dist/* . && rm -r dist",
59
60
  "build:colors": "ts-node scripts/compute-colors.ts",
60
- "build": "yarn build:prebuild && yarn build:colors && yarn build:swc && node sprites.js && yarn build:tsc && yarn build:cleanup",
61
+ "build:sprites": "ts-node scripts/generate-sprites.ts",
62
+ "build": "yarn build:prebuild && yarn build:colors && yarn build:sprites && yarn build:swc && yarn build:tsc && yarn build:cleanup",
61
63
  "watch": "yarn build:swc -w",
62
64
  "format:check": "prettier -c *.{js,ts} src/**/*.{js,ts,tsx}",
63
65
  "format:write": "prettier -w *.{js,ts} src/**/*.{js,ts,tsx}",