Skip to content

Commit

Permalink
ELEMENTS-1764: update package.json and workflows with lts 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Nov 5, 2024
1 parent 719f4f8 commit e2181e8
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 18 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'Version to promote'
description: 'Version to promote (format: 2025.x.0-rc.y)'
required: true
referenceBranch:
description: 'Branch to be updated after the promotion'
Expand Down Expand Up @@ -34,7 +34,8 @@ jobs:

- run: git config user.name "nuxeo-webui-jx-bot" && git config user.email "[email protected]"

- run: echo "VERSION=$(echo '${{ github.event.inputs.version }}' | sed -e 's/-rc.[0-9]*//')" >> $GITHUB_ENV
# Extract VERSION from the new format 2025.x.0-rc.y to get 2025.x.0
- run: echo "VERSION=$(echo '${{ github.event.inputs.version }}' | sed -E 's/-rc\.[0-9]+//')" >> $GITHUB_ENV

- name: Update Nuxeo Elements version to ${{ env.VERSION }}
run: |
Expand Down Expand Up @@ -81,7 +82,7 @@ jobs:
run: echo "NEW_VERSION=$(npx semver -i minor $VERSION)-SNAPSHOT" >> $GITHUB_ENV

- if: ${{ github.event.inputs.referenceBranch != 'master' }}
run: echo "NEW_VERSION=$(npx semver -i patch $VERSION)-SNAPSHOT" >> $GITHUB_ENV
run: echo "NEW_VERSION=$(npx semver -i minor $VERSION)-SNAPSHOT" >> $GITHUB_ENV

- name: Align ${{ github.event.inputs.referenceBranch }} branch on next version ${{ env.NEW_VERSION }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"repository": "nuxeo/nuxeo-elements.git",
"name": "@nuxeo/nuxeo-elements",
"version": "3.2.0-SNAPSHOT",
"version": "2025.0.0-SNAPSHOT",
"author": "Nuxeo",
"license": "Apache-2.0",
"scripts": {
Expand All @@ -21,7 +21,7 @@
},
"devDependencies": {
"@nuxeo/moment": "^2.24.0-nx.0",
"@nuxeo/testing-helpers": "^3.2.0-SNAPSHOT",
"@nuxeo/testing-helpers": "^2025.0.0-SNAPSHOT",
"@polymer/iron-component-page": "^4.0.0",
"polymer-cli": "^1.8.0"
},
Expand Down
6 changes: 3 additions & 3 deletions dataviz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
],
"repository": "nuxeo/nuxeo-elements.git",
"name": "@nuxeo/nuxeo-dataviz-elements",
"version": "3.2.0-SNAPSHOT",
"version": "2025.0.0-SNAPSHOT",
"author": "Nuxeo",
"license": "Apache-2.0",
"scripts": {
"docs": "polymer analyze . > analysis.json && npm run serve",
"serve": "polymer serve --npm -c ../node_modules"
},
"devDependencies": {
"@nuxeo/testing-helpers": "^3.2.0-SNAPSHOT",
"@nuxeo/testing-helpers": "^2025.0.0-SNAPSHOT",
"@polymer/iron-component-page": "^4.0.0",
"@polymer/test-fixture": "^4.0.2",
"@webcomponents/webcomponentsjs": "^2.0.0",
Expand All @@ -32,7 +32,7 @@
"main": "nuxeo-dataviz-elements.js",
"dependencies": {
"@nuxeo/moment": "^2.24.0-nx.0",
"@nuxeo/nuxeo-elements": "^3.2.0-SNAPSHOT",
"@nuxeo/nuxeo-elements": "^2025.0.0-SNAPSHOT",
"@polymer/polymer": "^3.0.0",
"moment": "2.30.1"
}
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"packages": [
"*"
],
"version": "3.2.0-SNAPSHOT",
"version": "2025.0.0-SNAPSHOT",
"hoist": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"repository": "nuxeo/nuxeo-elements.git",
"name": "nuxeo-elements",
"private": true,
"version": "3.2.0-SNAPSHOT",
"version": "2025.0.0-SNAPSHOT",
"author": "Nuxeo",
"license": "Apache-2.0",
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"description": "Nuxeo Web Components Storybook",
"repository": "nuxeo/nuxeo-elements.git",
"name": "@nuxeo/nuxeo-elements-storybook",
"version": "3.2.0-SNAPSHOT",
"version": "2025.0.0-SNAPSHOT",
"author": "Nuxeo",
"license": "Apache-2.0",
"private": true,
"dependencies": {
"@babel/core": "^7.3.4",
"@nuxeo/nuxeo-elements": "^3.2.0-SNAPSHOT",
"@nuxeo/nuxeo-ui-elements": "^3.2.0-SNAPSHOT",
"@nuxeo/testing-helpers": "^3.2.0-SNAPSHOT",
"@nuxeo/nuxeo-elements": "^2025.0.0-SNAPSHOT",
"@nuxeo/nuxeo-ui-elements": "^2025.0.0-SNAPSHOT",
"@nuxeo/testing-helpers": "^2025.0.0-SNAPSHOT",
"@polymer/iron-icon": "^3.0.0",
"@polymer/iron-meta": "^3.0.1",
"@polymer/polymer": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion testing-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxeo/testing-helpers",
"version": "3.2.0-SNAPSHOT",
"version": "2025.0.0-SNAPSHOT",
"description": "Nuxeo Web Components Testing Helpers",
"keywords": [
"nuxeo",
Expand Down
6 changes: 3 additions & 3 deletions ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxeo/nuxeo-ui-elements",
"version": "3.2.0-SNAPSHOT",
"version": "2025.0.0-SNAPSHOT",
"description": "Nuxeo UI Web Components.",
"keywords": [
"nuxeo",
Expand All @@ -18,15 +18,15 @@
"serve": "polymer serve --npm -c ../node_modules"
},
"devDependencies": {
"@nuxeo/testing-helpers": "^3.2.0-SNAPSHOT",
"@nuxeo/testing-helpers": "^2025.0.0-SNAPSHOT",
"@polymer/iron-component-page": "^4.0.0",
"@webcomponents/webcomponentsjs": "^2.0.0",
"polymer-cli": "^1.8.0"
},
"main": "nuxeo-ui-elements.js",
"dependencies": {
"@nuxeo/moment": "^2.24.0-nx.0",
"@nuxeo/nuxeo-elements": "^3.2.0-SNAPSHOT",
"@nuxeo/nuxeo-elements": "^2025.0.0-SNAPSHOT",
"@nuxeo/paper-typeahead": "^0.6.0-nx.0",
"@nuxeo/quill": "^2.0.0-dev.3-nx.3",
"@polymer/iron-autogrow-textarea": "^3.0.1",
Expand Down

0 comments on commit e2181e8

Please sign in to comment.