@progressive-development/pd-contact 0.5.10 → 0.6.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,11 +1,12 @@
1
1
  {
2
2
  "name": "@progressive-development/pd-contact",
3
+ "version": "0.6.1",
3
4
  "description": "Progressive Development Contact component",
4
5
  "author": "PD Progressive Development",
5
6
  "license": "SEE LICENSE IN LICENSE",
6
- "version": "0.5.10",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
9
10
  "exports": {
10
11
  ".": "./dist/index.js",
11
12
  "./pd-contact": "./dist/pd-contact.js",
@@ -20,70 +21,53 @@
20
21
  "LICENSE"
21
22
  ],
22
23
  "scripts": {
23
- "analyze": "cem analyze --litelement",
24
+ "analyze": "cem analyze --litelement --exclude dist,demo",
24
25
  "start": "vite",
25
26
  "build": "vite build",
26
27
  "preview": "vite preview",
27
- "lint": "eslint --ext .js,.html . --ignore-path .gitignore && prettier \"**/*.{js,html}\" --check --ignore-path .gitignore",
28
- "format": "eslint --ext .js,.html . --fix --ignore-path .gitignore && prettier \"**/*.{js,html}\" --write --ignore-path .gitignore",
28
+ "clean": "rm -rf dist",
29
+ "lint": "eslint --ext .ts,.html src --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
30
+ "format": "eslint --ext .ts,.html src --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
29
31
  "test": "vitest run --coverage",
30
32
  "test:watch": "vitest --watch",
33
+ "check": "npm run lint && npm run build",
34
+ "prepublishOnly": "npm run clean && npm run check",
31
35
  "localizeExtract": "lit-localize extract",
32
36
  "localizeBuild": "lit-localize build",
33
37
  "storybook": "storybook dev -p 6006",
34
38
  "build-storybook": "storybook build"
35
39
  },
36
40
  "dependencies": {
37
- "@lit/localize": "^0.11.4",
38
- "@progressive-development/pd-forms": "^0.5.7",
39
- "@progressive-development/pd-icon": "^0.5.0",
40
- "@progressive-development/pd-shared-styles": "^0.1.1",
41
- "lit": "^2.8.0"
41
+ "@lit/localize": "^0.12.2",
42
+ "@progressive-development/pd-forms": "^0.6.0",
43
+ "@progressive-development/pd-icon": "^0.6.1",
44
+ "@progressive-development/pd-shared-styles": "^0.2.1",
45
+ "lit": "^3.3.0"
42
46
  },
43
47
  "devDependencies": {
44
- "@chromatic-com/storybook": "^1.3.4",
48
+ "@chromatic-com/storybook": "^1.9.0",
45
49
  "@custom-elements-manifest/analyzer": "^0.4.17",
46
50
  "@lit/localize-tools": "^0.6.10",
47
- "@storybook/addon-essentials": "^8.0.10",
48
- "@storybook/addon-links": "^8.0.10",
51
+ "@storybook/addon-essentials": "^8.6.14",
52
+ "@storybook/addon-links": "^8.6.14",
49
53
  "@storybook/blocks": "^8.0.10",
50
- "@storybook/test": "^8.0.10",
54
+ "@storybook/test": "^8.6.14",
51
55
  "@storybook/web-components": "^8.0.10",
52
- "@storybook/web-components-vite": "^8.0.10",
53
- "eslint": "^7.32.0",
54
- "eslint-config-prettier": "^8.10.0",
56
+ "@storybook/web-components-vite": "^8.6.14",
57
+ "@typescript-eslint/eslint-plugin": "^8.32.1",
58
+ "@typescript-eslint/parser": "^8.32.1",
59
+ "eslint": "^8.57.1",
60
+ "eslint-config-prettier": "^9.1.0",
55
61
  "eslint-plugin-storybook": "^0.8.0",
56
- "husky": "^4.3.8",
57
- "lint-staged": "^10.5.4",
58
- "prettier": "^2.8.8",
59
- "rollup-plugin-visualizer": "^5.13.1",
60
- "storybook": "^8.0.10",
61
- "vite": "^5.4.11",
62
- "vitest": "^2.1.8"
62
+ "prettier": "^3.5.3",
63
+ "rollup-plugin-visualizer": "^5.14.0",
64
+ "storybook": "^8.6.14",
65
+ "typescript": "^5.8.3",
66
+ "vite": "^5.4.19",
67
+ "vite-plugin-dts": "^4.5.4",
68
+ "vitest": "^2.1.9"
63
69
  },
64
70
  "customElements": "custom-elements.json",
65
- "eslintConfig": {
66
- "extends": [
67
- "@open-wc",
68
- "prettier",
69
- "plugin:storybook/recommended"
70
- ]
71
- },
72
- "prettier": {
73
- "singleQuote": true,
74
- "arrowParens": "avoid"
75
- },
76
- "husky": {
77
- "hooks": {
78
- "pre-commit": "lint-staged"
79
- }
80
- },
81
- "lint-staged": {
82
- "*.js": [
83
- "eslint --fix",
84
- "prettier --write"
85
- ]
86
- },
87
71
  "keywords": [
88
72
  "pd",
89
73
  "progressive",