Skip to content

Commit dceb8f5

Browse files
authored
chore: update DEVELOPMENT.md, remove mention of Material (#9228)
1 parent 1641049 commit dceb8f5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

DEVELOPMENT.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,13 @@ git checkout main && git pull
187187
Create a new branch from main:
188188

189189
```sh
190-
git checkout -b 24.0
190+
git checkout -b 25.0
191191
```
192192

193193
Push a newly created branch:
194194

195195
```sh
196-
git push origin 24.0
196+
git push origin 25.0
197197
```
198198

199199
The newly created branch for the current major is protected by default.
@@ -202,23 +202,23 @@ The rest of the changes to that branch should happen the usual way, through a PR
202202
Create another branch:
203203

204204
```sh
205-
git checkout -b update-v24.0
205+
git checkout -b update-v25.0
206206
```
207207

208208
Update [`wtr-utils.js`](https://github.com/vaadin/web-components/blob/main/wtr-utils.js) as follows:
209209

210210
```diff
211211
const isLockfileChanged = () => {
212212
- const log = execSync('git diff --name-only origin/main HEAD').toString();
213-
+ const log = execSync('git diff --name-only origin/24.0 HEAD').toString();
213+
+ const log = execSync('git diff --name-only origin/25.0 HEAD').toString();
214214
return log.split('\n').some((line) => line.includes('yarn.lock'));
215215
};
216216
```
217217

218218
```diff
219219
const getChangedPackages = () => {
220220
- const output = execSync('./node_modules/.bin/lerna ls --since origin/main --json --loglevel silent');
221-
+ const output = execSync('./node_modules/.bin/lerna ls --since origin/24.0 --json --loglevel silent');
221+
+ const output = execSync('./node_modules/.bin/lerna ls --since origin/25.0 --json --loglevel silent');
222222
return JSON.parse(output.toString());
223223
};
224224
```
@@ -230,16 +230,16 @@ Create a PR to the version branch ([example](https://github.com/vaadin/web-compo
230230
Create a new branch from main:
231231

232232
```sh
233-
git checkout main && git checkout -b bump-v24.1
233+
git checkout main && git checkout -b bump-v25.1
234234
```
235235

236236
Prepare a new version for the `updateVersion` script by running the following command:
237237

238238
```sh
239-
export npm_config_bump=24.1.0-alpha0
239+
export npm_config_bump=25.1.0-alpha0
240240
```
241241

242-
Run the script to bump static version getters in `ElementMixin`, `Lumo` and `Material`:
242+
Run the script to bump version in `packages/component-base/define.js`:
243243

244244
```sh
245245
node scripts/updateVersion.js
@@ -254,7 +254,7 @@ lerna version 24.1.0-alpha0 --no-push --no-git-tag-version --force-publish --exa
254254
Commit all the changes:
255255

256256
```sh
257-
git commit -a -m "chore: update main branch to Vaadin 24.1"
257+
git commit -a -m "chore: update main branch to Vaadin 25.1"
258258
```
259259

260260
Create a PR to the `main` branch ([example](https://github.com/vaadin/web-components/pull/4433)).

0 commit comments

Comments
 (0)