@sesamy/sesamy-components 2.30.0 → 2.31.0

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": "@sesamy/sesamy-components",
3
3
  "description": "Shareable web components library built with Vite + Svelte",
4
- "version": "2.30.0",
4
+ "version": "2.31.0",
5
5
  "type": "module",
6
6
  "module": "dist/lib/sesamy-components.es.js",
7
7
  "main": "dist/lib/sesamy-components.umd.js",
@@ -25,6 +25,8 @@
25
25
  "build:demo": "vite build --config vite.demo.config.ts",
26
26
  "preview": "vite preview --config vite.demo.config.ts",
27
27
  "check": "svelte-check --tsconfig ./tsconfig.json",
28
+ "format": "prettier --write .",
29
+ "format:check": "prettier --check .",
28
30
  "prepublishOnly": "yarn run build:lib",
29
31
  "semantic-release": "semantic-release",
30
32
  "storybook:serve": "http-server storybook-static",
@@ -38,7 +40,8 @@
38
40
  "push-translations": "i18nexus import ./packages/lib/src/locales/en/default.json -k UqoFFUDIqHedrUA4OlDXwg -ns default --overwrite",
39
41
  "sort-translations": "sort-json ./packages/lib/src/locales/**/*.json",
40
42
  "e2e": "docker run --rm --network host -v $(pwd):/work/ -v /work/node_modules -w /work/ mcr.microsoft.com/playwright:v1.62.1-noble@sha256:dcc5531e97840b9b5e794f2814476b21571c5124a3fca2267d73041f56e7580e sh -c 'yarn install && yarn build:storybook && yarn playwright test'",
41
- "e2e:snapshots": "docker run --rm --network host -v $(pwd):/work/ -v /work/node_modules -w /work/ mcr.microsoft.com/playwright:v1.62.1-noble@sha256:dcc5531e97840b9b5e794f2814476b21571c5124a3fca2267d73041f56e7580e sh -c 'yarn install && yarn build:storybook && yarn playwright test --update-snapshots'"
43
+ "e2e:snapshots": "docker run --rm --network host -v $(pwd):/work/ -v /work/node_modules -w /work/ mcr.microsoft.com/playwright:v1.62.1-noble@sha256:dcc5531e97840b9b5e794f2814476b21571c5124a3fca2267d73041f56e7580e sh -c 'yarn install && yarn build:storybook && yarn playwright test --update-snapshots'",
44
+ "prepare": "simple-git-hooks"
42
45
  },
43
46
  "release": {
44
47
  "branches": [
@@ -74,7 +77,7 @@
74
77
  "@playwright/test": "1.62.1",
75
78
  "@semantic-release/changelog": "^6.0.3",
76
79
  "@semantic-release/git": "^10.0.1",
77
- "@sesamy/sesamy-js": "1.126.0",
80
+ "@sesamy/sesamy-js": "1.137.1",
78
81
  "@storybook/addon-controls": "^8.5.3",
79
82
  "@storybook/addon-essentials": "^8.5.3",
80
83
  "@storybook/addon-interactions": "^8.5.3",
@@ -104,7 +107,9 @@
104
107
  "postcss-value-parser": "^4.2.0",
105
108
  "prettier": "^3.5.3",
106
109
  "prettier-plugin-svelte": "^3.4.0",
110
+ "pretty-quick": "4.2.2",
107
111
  "semantic-release": "^25.0.9",
112
+ "simple-git-hooks": "2.14.0",
108
113
  "sort-json": "^2.0.1",
109
114
  "storybook": "^8.4.7",
110
115
  "svelte": "5.57.0",
@@ -119,11 +124,14 @@
119
124
  "vite-plugin-static-copy": "^3.2.0",
120
125
  "vitest": "^3.2.3"
121
126
  },
127
+ "simple-git-hooks": {
128
+ "pre-commit": "yarn pretty-quick --staged"
129
+ },
122
130
  "files": [
123
131
  "dist/lib"
124
132
  ],
125
133
  "peerDependencies": {
126
- "@sesamy/sesamy-js": "1.126.0"
134
+ "@sesamy/sesamy-js": "1.137.1"
127
135
  },
128
136
  "dependencies": {
129
137
  "@zootools/email-spell-checker": "^1.12.0",