@claudebernard/therapeutic-alternative-element 0.1.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/README.md +10 -0
- package/dist/therapeutic-alternative.d.ts +535 -0
- package/dist/therapeutic-alternative.es.js +1166 -0
- package/package.json +147 -0
package/package.json
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@claudebernard/therapeutic-alternative-element",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"main": "dist/therapeutic-alternative.es.js",
|
|
5
|
+
"module": "dist/therapeutic-alternative.es.js",
|
|
6
|
+
"types": "dist/therapeutic-alternative.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/*.js",
|
|
10
|
+
"dist/*.d.ts",
|
|
11
|
+
"dist/*.map",
|
|
12
|
+
"dist/*.json"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"dev": "vite",
|
|
16
|
+
"build": "tsc && vite build && npm run analyze",
|
|
17
|
+
"preview": "vite preview",
|
|
18
|
+
"lint": "npm run lint:lit-analyzer && npm run lint:eslint",
|
|
19
|
+
"lint:eslint": "eslint .",
|
|
20
|
+
"lint:lit-analyzer": "lit-analyzer",
|
|
21
|
+
"analyze": "cem analyze",
|
|
22
|
+
"analyze:watch": "cem analyze --watch",
|
|
23
|
+
"generate": "openapi-ts --file src/shared/api/search/search.openapi-config.ts && openapi-ts --file src/shared/api/info/info.openapi-config.ts",
|
|
24
|
+
"storybook": "storybook dev -p 6006",
|
|
25
|
+
"build-storybook": "storybook build",
|
|
26
|
+
"write-test": "npx playwright codegen",
|
|
27
|
+
"test": "npx vitest",
|
|
28
|
+
"e2e-test": "npx playwright test",
|
|
29
|
+
"e2e-test:ui": "npx playwright test --ui"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"claude-bernard",
|
|
33
|
+
"web-components",
|
|
34
|
+
"typescript",
|
|
35
|
+
"fhir"
|
|
36
|
+
],
|
|
37
|
+
"author": "Claude Bernard",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@lit-labs/signals": "^0.1.3",
|
|
40
|
+
"@lit/localize": "^0.12.2",
|
|
41
|
+
"@hey-api/client-fetch": "^0.8.3",
|
|
42
|
+
"lit": "^3.3.1",
|
|
43
|
+
"tctx": "^0.2.5",
|
|
44
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@chromatic-com/storybook": "^5.0.1",
|
|
48
|
+
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
49
|
+
"@hey-api/openapi-ts": "0.93.0",
|
|
50
|
+
"@lit/localize-tools": "^0.8.1",
|
|
51
|
+
"@playwright/test": "^1.58.2",
|
|
52
|
+
"@storybook/addon-a11y": "^10.2.11",
|
|
53
|
+
"@storybook/addon-links": "^10.2.11",
|
|
54
|
+
"@storybook/addon-vitest": "^10.2.11",
|
|
55
|
+
"@storybook/web-components": "^10.2.11",
|
|
56
|
+
"@storybook/web-components-vite": "^10.2.11",
|
|
57
|
+
"@claudebernard/storybook-addon-theme-switcher": "0.1.0",
|
|
58
|
+
"@stylistic/eslint-plugin": "^5.9.0",
|
|
59
|
+
"@types/fhir": "^0.0.41",
|
|
60
|
+
"@types/node": "^25.3.0",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
62
|
+
"@typescript-eslint/parser": "8.56.1",
|
|
63
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
64
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
65
|
+
"@webcomponents/webcomponentsjs": "^2.8.0",
|
|
66
|
+
"eslint": "^9.38.0",
|
|
67
|
+
"eslint-plugin-import": "2.32.0",
|
|
68
|
+
"eslint-plugin-lit": "^2.2.1",
|
|
69
|
+
"eslint-plugin-storybook": "^10.2.11",
|
|
70
|
+
"lit-analyzer": "^2.0.3",
|
|
71
|
+
"playwright": "^1.58.2",
|
|
72
|
+
"sass": "^1.97.3",
|
|
73
|
+
"storybook": "^10.2.11",
|
|
74
|
+
"ts-lit-plugin": "^2.0.2",
|
|
75
|
+
"ts-node": "^10.9.2",
|
|
76
|
+
"tslib": "^2.8.1",
|
|
77
|
+
"typescript": "~5.9.3",
|
|
78
|
+
"vite": "^7.3.1",
|
|
79
|
+
"vite-plugin-dts": "4.5.4",
|
|
80
|
+
"vite-svg-sprite-wrapper": "1.5.0",
|
|
81
|
+
"vitest": "^4.0.18"
|
|
82
|
+
},
|
|
83
|
+
"peerDependencies": {
|
|
84
|
+
"@claudebernard/design-system": "^2.28.2",
|
|
85
|
+
"@claudebernard/types": "^0.34.0"
|
|
86
|
+
},
|
|
87
|
+
"customElements": "custom-elements.json",
|
|
88
|
+
"publishConfig": {
|
|
89
|
+
"access": "public"
|
|
90
|
+
},
|
|
91
|
+
"release": {
|
|
92
|
+
"tagFormat": "v${version}",
|
|
93
|
+
"branches": [
|
|
94
|
+
"master"
|
|
95
|
+
],
|
|
96
|
+
"plugins": [
|
|
97
|
+
"@semantic-release/commit-analyzer",
|
|
98
|
+
"@semantic-release/release-notes-generator",
|
|
99
|
+
"@semantic-release/changelog",
|
|
100
|
+
[
|
|
101
|
+
"semantic-release-replace-plugin",
|
|
102
|
+
{
|
|
103
|
+
"replacements": [
|
|
104
|
+
{
|
|
105
|
+
"files": [
|
|
106
|
+
"package.json"
|
|
107
|
+
],
|
|
108
|
+
"from": "\"version\": \"\\d+\\.\\d+\\.\\d+\"",
|
|
109
|
+
"to": "\"version\": \"${nextRelease.version}\"",
|
|
110
|
+
"results": [
|
|
111
|
+
{
|
|
112
|
+
"file": "package.json",
|
|
113
|
+
"hasChanged": true
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"files": [
|
|
119
|
+
"antora.yml"
|
|
120
|
+
],
|
|
121
|
+
"from": "version: .*",
|
|
122
|
+
"to": "version: ${nextRelease.version.replace(/(\\d+\\.\\d+)\\.\\d+/, '$1')}.x"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
[
|
|
128
|
+
"@semantic-release/git",
|
|
129
|
+
{
|
|
130
|
+
"message": "chore(release): ${nextRelease.version} [skip ci on prod]",
|
|
131
|
+
"assets": [
|
|
132
|
+
"package.json",
|
|
133
|
+
"antora.yml*",
|
|
134
|
+
"CHANGELOG.md"
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
[
|
|
139
|
+
"@semantic-release/exec",
|
|
140
|
+
{
|
|
141
|
+
"publishCmd": "sh -c 'git tag -f $(echo v${nextRelease.version} | cut -d. -f1,2)-latest && git push https://gitlab-ci-token:$GITLAB_TOKEN@gitlab.cegedim-sante.com/resip/pim/web-components/therapeutic-alternative.git -f v$(echo ${nextRelease.version} | cut -d. -f1,2)-latest'"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"@semantic-release/gitlab"
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
}
|