@hortiview/default-components 0.0.12167 → 1.0.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.
Files changed (1) hide show
  1. package/package.json +52 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hortiview/default-components",
3
3
  "description": "This is a component library that should be used in the HortiView platform and its modules. The components provided here have default translation strings.",
4
- "version": "0.0.12167",
4
+ "version": "1.0.1",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -22,30 +22,75 @@
22
22
  "ComponentLibrary"
23
23
  ],
24
24
  "scripts": {
25
- "dev": "vite",
25
+ "dev": "tsc --p ./tsconfig-build.json && vite",
26
26
  "build": "tsc --p ./tsconfig-build.json && vite build",
27
+ "release": "npx -p semantic-release -p semantic-release-ado semantic-release",
27
28
  "lint": "eslint .",
28
29
  "preview": "vite preview",
29
30
  "test": "vitest",
30
31
  "test:ci": "vitest run --coverage",
31
32
  "test:ui": "vitest --ui",
32
33
  "storybook": "storybook dev -p 6006",
33
- "build-storybook": "storybook build"
34
+ "build:storybook": "storybook build"
35
+ },
36
+ "commitlint": {
37
+ "extends": [
38
+ "./node_modules/@commitlint/config-conventional"
39
+ ]
40
+ },
41
+ "husky": {
42
+ "hooks": {
43
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
44
+ }
45
+ },
46
+ "release": {
47
+ "plugins": [
48
+ "@semantic-release/commit-analyzer",
49
+ "@semantic-release/release-notes-generator",
50
+ "semantic-release-ado",
51
+ [
52
+ "@semantic-release/npm",
53
+ {
54
+ "npmPublish": false
55
+ }
56
+ ],
57
+ [
58
+ "@semantic-release/changelog",
59
+ {
60
+ "changelogFile": "CHANGELOG.md"
61
+ }
62
+ ],
63
+ [
64
+ "@semantic-release/git",
65
+ {
66
+ "assets": [
67
+ "package.json",
68
+ "CHANGELOG.md"
69
+ ],
70
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
71
+ }
72
+ ]
73
+ ]
34
74
  },
35
75
  "peerDependencies": {
76
+ "@hortiview/shared-components": "^0.0.11881",
36
77
  "react": "^18.3.1",
37
78
  "react-dom": "^18.3.1",
38
79
  "react-hook-form": "^7.51.2",
39
- "react-router-dom": "^6.22.3",
40
- "@hortiview/shared-components": "^0.0.11881"
80
+ "react-router-dom": "^6.22.3"
41
81
  },
42
82
  "devDependencies": {
83
+ "@commitlint/cli": "^19.8.0",
84
+ "@commitlint/config-conventional": "^19.8.0",
43
85
  "@element-public/react-components": "2.0.0-alpha.1",
44
86
  "@element-public/themes": "^2.0.0",
45
87
  "@eslint/js": "^9.17.0",
46
88
  "@hortiview/shared-components": "^0.0.11881",
47
89
  "@rollup/plugin-json": "^6.1.0",
48
90
  "@rollup/plugin-node-resolve": "^16.0.0",
91
+ "@semantic-release/changelog": "^6.0.3",
92
+ "@semantic-release/exec": "^7.0.3",
93
+ "@semantic-release/git": "^10.0.1",
49
94
  "@storybook/addon-essentials": "8.5.3",
50
95
  "@storybook/addon-interactions": "8.5.3",
51
96
  "@storybook/addon-links": "8.5.3",
@@ -73,6 +118,7 @@
73
118
  "eslint-plugin-storybook": "^0.11.2",
74
119
  "glob": "^10.3.10",
75
120
  "globals": "^15.14.0",
121
+ "husky": "^9.1.7",
76
122
  "i18next": "^24.2.2",
77
123
  "i18next-browser-languagedetector": "^8.0.3",
78
124
  "i18next-http-backend": "^3.0.2",
@@ -85,6 +131,7 @@
85
131
  "react-number-format": "^5.4.3",
86
132
  "react-router-dom": "^6.22.3",
87
133
  "rollup-plugin-copy": "^3.5.0",
134
+ "semantic-release-ado": "^1.4.0",
88
135
  "storybook": "8.5.3",
89
136
  "typescript": "~5.6.2",
90
137
  "typescript-eslint": "^8.18.2",