@tmorrow/cre8-wc 2.0.8 → 2.1.1

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,13 +1,15 @@
1
1
  {
2
2
  "name": "@tmorrow/cre8-wc",
3
- "version": "2.0.8",
3
+ "version": "2.1.1",
4
4
  "description": "cre8 Web Components is a library of presentational UI web components to be consumed by # web applications.",
5
5
  "license": "BSD-3-Clause",
6
6
  "scripts": {
7
7
  "start": "pnpm run build:custom-elements.json && pnpm run storybook",
8
8
  "compile-styles": "npx tsx scripts/convert-scss-to-ts.ts",
9
9
  "build": "rm -rf lib && pnpm run compile-styles && pnpm build:cdn && vite build && tsc && cp .storybook/custom-elements.json custom-elements.json && pnpm run build:react && pnpm run build:mcp-manifest && pnpm run build:react-manifest",
10
- "build:mcp-manifest": "npx web-component-analyzer analyze \"components/*/*.ts\" --format json --outFile /tmp/wca-raw.json && npx tsx scripts/generate-mcp-manifest.ts",
10
+ "prepack": "node a2ui/check-layer-parity.mjs",
11
+ "prepublishOnly": "node a2ui/check-layer-parity.mjs",
12
+ "build:mcp-manifest": "npx web-component-analyzer analyze \"components/**/*.ts\" --format json --outFile /tmp/wca-raw.json && npx tsx scripts/generate-mcp-manifest.ts",
11
13
  "build:react-manifest": "npx tsx scripts/generate-react-manifest.ts",
12
14
  "build:cdn": "rm -rf cdn && vite build --config vite.config.cdn.ts",
13
15
  "build:react": "rm -rf react-wrappers/components react-wrappers/dist react-wrappers/index.ts && npx tsx scripts/generate-react-wrappers.ts && cd react-wrappers && npx tsc",
@@ -34,9 +36,10 @@
34
36
  "publish:react": "cd react-wrappers && npm publish --access public",
35
37
  "release:publish": "node scripts/release.cjs --skip-lint --skip-tests --publish",
36
38
  "version:bump": "node scripts/version-bump.cjs",
37
- "test:a2ui": "npx tsx a2ui/smoke-test.mjs && npx tsx a2ui/stream/stream-test.mjs && npx tsx a2ui/stream/diff-test.mjs && node a2ui/render-audit.mjs --check",
39
+ "test:a2ui": "npx tsx a2ui/smoke-test.mjs && npx tsx a2ui/stream/stream-test.mjs && npx tsx a2ui/stream/diff-test.mjs && node a2ui/render-audit.mjs --check && node a2ui/check-layer-parity.mjs",
38
40
  "audit:render": "node a2ui/render-audit.mjs",
39
- "audit:render:check": "node a2ui/render-audit.mjs --check"
41
+ "audit:render:check": "node a2ui/render-audit.mjs --check",
42
+ "check:parity": "node a2ui/check-layer-parity.mjs"
40
43
  },
41
44
  "type": "module",
42
45
  "module": "lib/index.js",
@@ -94,6 +97,7 @@
94
97
  "types": "./a2ui/index.d.ts"
95
98
  },
96
99
  "./a2ui/catalog.json": "./a2ui/catalog.json",
100
+ "./a2ui/catalog.compact.json": "./a2ui/catalog.compact.json",
97
101
  "./a2ui/catalog-kg.json": "./a2ui/catalog-kg.json",
98
102
  "./a2ui/*": {
99
103
  "import": "./a2ui/*",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.8",
2
+ "version": "2.1.1",
3
3
  "library": "@tmorrow/cre8-react",
4
4
  "componentPrefix": "Cre8",
5
5
  "description": "React wrappers for cre8 Web Components (@tmorrow/cre8-wc)",
@@ -3693,7 +3693,7 @@
3693
3693
  },
3694
3694
  "dependencies": {
3695
3695
  "@lit/react": "^1.0.8",
3696
- "@tmorrow/cre8-wc": "^2.0.8",
3696
+ "@tmorrow/cre8-wc": "^2.1.1",
3697
3697
  "react": ">=18",
3698
3698
  "react-dom": ">=18"
3699
3699
  }