@claudebernard/therapeutic-alternative-element 2.0.0 → 2.1.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudebernard/therapeutic-alternative-element",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "main": "dist/therapeutic-alternative.es.js",
5
5
  "module": "dist/therapeutic-alternative.es.js",
6
6
  "types": "dist/therapeutic-alternative.d.ts",
@@ -91,7 +91,7 @@
91
91
  }
92
92
  },
93
93
  "peerDependencies": {
94
- "@claudebernard/design-system": "^2.28.2",
94
+ "@claudebernard/design-system": "^2.36.0",
95
95
  "@claudebernard/types": "^0.35.0 || ^0.36.0",
96
96
  "@claudebernard/web-component-fhir-utils": "^2.1.0"
97
97
  },
@@ -124,13 +124,6 @@
124
124
  "hasChanged": true
125
125
  }
126
126
  ]
127
- },
128
- {
129
- "files": [
130
- "antora.yml"
131
- ],
132
- "from": "version: .*",
133
- "to": "version: ${nextRelease.version.replace(/(\\d+\\.\\d+)\\.\\d+/, '$1')}.x"
134
127
  }
135
128
  ]
136
129
  }
@@ -141,7 +134,6 @@
141
134
  "message": "chore(release): ${nextRelease.version} [skip ci on prod]",
142
135
  "assets": [
143
136
  "package.json",
144
- "antora.yml*",
145
137
  "CHANGELOG.md"
146
138
  ]
147
139
  }
@@ -149,7 +141,7 @@
149
141
  [
150
142
  "@semantic-release/exec",
151
143
  {
152
- "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'"
144
+ "publishCmd": "sh -c 'set -e; V=$(echo ${nextRelease.version} | cut -d. -f1,2); sed -i \"s/^version: .*/version: $V.x/\" antora.yml; git add antora.yml; git commit -m \"docs(antora): set version to $V.x\"; git tag -f v$V-latest; git push https://gitlab-ci-token:$GITLAB_TOKEN@gitlab.cegedim-sante.com/resip/pim/web-components/therapeutic-alternative.git -f v$V-latest; git reset --hard HEAD~1'"
153
145
  }
154
146
  ],
155
147
  "@semantic-release/gitlab"