courthive-components 6.8.2 → 6.9.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,7 +1,7 @@
1
1
  {
2
2
  "name": "courthive-components",
3
3
  "packageManager": "pnpm@12.10.1",
4
- "version": "6.8.2",
4
+ "version": "6.9.1",
5
5
  "engines": {
6
6
  "node": ">=22"
7
7
  },
@@ -18,7 +18,16 @@
18
18
  "import": "./dist/courthive-components.es.js",
19
19
  "require": "./dist/courthive-components.umd.js"
20
20
  },
21
- "./dist/*": "./dist/*"
21
+ "./dist/*": "./dist/*",
22
+ "./courts": {
23
+ "types": "./dist/features-types/courts/index.d.ts",
24
+ "import": "./dist/courts.mjs"
25
+ },
26
+ "./segmented-bar": {
27
+ "types": "./dist/features-types/segmentedBar/index.d.ts",
28
+ "import": "./dist/segmented-bar.mjs"
29
+ },
30
+ "./features.css": "./dist/features.css"
22
31
  },
23
32
  "repository": {
24
33
  "type": "git",
@@ -45,7 +54,7 @@
45
54
  "test:watch": "vitest --project unit",
46
55
  "test:ui": "vitest --ui --project unit",
47
56
  "dev": "vite",
48
- "build": "tsc && vite build",
57
+ "build": "tsc && vite build && vite build --config vite.features.config.mts && node scripts/buildFeatureTypes.mjs",
49
58
  "check-types": "tsc --noEmit",
50
59
  "prepublishOnly": "pnpm build",
51
60
  "preview": "vite preview",
@@ -54,7 +63,7 @@
54
63
  "deploy-storybook": "gh-pages -d storybook-static",
55
64
  "pre-commit": "lint-staged",
56
65
  "predeploy": "pnpm build-storybook",
57
- "lint": "eslint src --cache --max-warnings 0",
66
+ "lint": "eslint src scripts/buildFeatureTypes.mjs scripts/verify/consumerBundle.mjs --cache --max-warnings 0",
58
67
  "lint:fix": "eslint src --fix --cache",
59
68
  "lint:report": "eslint src & eslint --cache src -f json > eslint-report.json",
60
69
  "format": "prettier --write src",
@@ -62,7 +71,8 @@
62
71
  "release:minor": "npm run commits && npm version $(semver $npm_package_version -i minor) && git push && git push --tags",
63
72
  "release:patch": "npm run commits && npm version $(semver $npm_package_version -i patch) && git push && git push --tags",
64
73
  "release:beta": "npm run commits && npm version $(semver $npm_package_version -i prerelease --preid beta) && git push && git push --tags",
65
- "patch:beta": "npm run commits && npm version $(semver $npm_package_version -i prerelease --preid beta) && npm publish --tag beta"
74
+ "patch:beta": "npm run commits && npm version $(semver $npm_package_version -i prerelease --preid beta) && npm publish --tag beta",
75
+ "verify:consumer-bundle": "node scripts/verify/consumerBundle.mjs --self-test && node scripts/verify/consumerBundle.mjs"
66
76
  },
67
77
  "lint-staged": {
68
78
  "*.{js,ts}": "eslint --cache --fix",
@@ -100,7 +110,7 @@
100
110
  "semver": "7.8.5",
101
111
  "storybook": "^10.2.17",
102
112
  "tabulator-tables": "6.6.1",
103
- "tods-competition-factory": "7.14.1",
113
+ "tods-competition-factory": "7.15.0",
104
114
  "typescript": "^6.0.2",
105
115
  "vite": "8.3.4",
106
116
  "vite-plugin-dts": "^5.0.0",