Skip to content

Commit 7864a21

Browse files
authored
chore(): merge feature-7.0 into main
chore(): merge feature-7.0 into main
2 parents 4b822ea + df186bb commit 7864a21

File tree

4,270 files changed

+47038
-119174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,270 files changed

+47038
-119174
lines changed

.github/workflows/actions/publish-npm/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ inputs:
77
description: 'The type of version to release.'
88
tag:
99
description: 'The tag to publish to on NPM.'
10+
preid:
11+
description: 'The prerelease identifier used when doing a prerelease.'
1012
working-directory:
1113
description: 'The directory of the package.'
1214
folder:
@@ -25,7 +27,7 @@ runs:
2527
shell: bash
2628
working-directory: ${{ inputs.working-directory }}
2729
- name: Update Version
28-
run: lerna version ${{ inputs.version }} --yes --exact --no-changelog --no-push --no-git-tag-version
30+
run: lerna version ${{ inputs.version }} --yes --exact --no-changelog --no-push --no-git-tag-version --preid=${{ inputs.preid }}
2931
shell: bash
3032
working-directory: ${{ inputs.working-directory }}
3133
- name: Run Build

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
strategy:
136136
fail-fast: false
137137
matrix:
138-
apps: [ng12, ng13, ng14, ng15]
138+
apps: [ng14, ng15]
139139
needs: [build-angular, build-angular-server]
140140
runs-on: ubuntu-latest
141141
steps:

.github/workflows/release-ionic.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
description: 'The tag to publish to NPM.'
1212
type: string
1313
required: true
14+
preid:
15+
description: 'The prerelease identifier used when doing a prerelease.'
16+
type: string
1417
secrets:
1518
NPM_TOKEN:
1619
required: true
@@ -25,6 +28,7 @@ jobs:
2528
scope: '@ionic/core'
2629
tag: ${{ inputs.tag }}
2730
version: ${{ inputs.version }}
31+
preid: ${{ inputs.preid }}
2832
working-directory: 'core'
2933
token: ${{ secrets.NPM_TOKEN }}
3034
- name: Cache Built @ionic/core
@@ -56,6 +60,7 @@ jobs:
5660
scope: '@ionic/docs'
5761
tag: ${{ inputs.tag }}
5862
version: ${{ inputs.version }}
63+
preid: ${{ inputs.preid }}
5964
working-directory: 'docs'
6065
token: ${{ secrets.NPM_TOKEN }}
6166

@@ -75,6 +80,7 @@ jobs:
7580
scope: '@ionic/angular'
7681
tag: ${{ inputs.tag }}
7782
version: ${{ inputs.version }}
83+
preid: ${{ inputs.preid }}
7884
working-directory: 'angular'
7985
folder: './dist'
8086
token: ${{ secrets.NPM_TOKEN }}
@@ -101,6 +107,7 @@ jobs:
101107
scope: '@ionic/react'
102108
tag: ${{ inputs.tag }}
103109
version: ${{ inputs.version }}
110+
preid: ${{ inputs.preid }}
104111
working-directory: 'packages/react'
105112
token: ${{ secrets.NPM_TOKEN }}
106113
- name: Cache Built @ionic/react
@@ -126,6 +133,7 @@ jobs:
126133
scope: '@ionic/vue'
127134
tag: ${{ inputs.tag }}
128135
version: ${{ inputs.version }}
136+
preid: ${{ inputs.preid }}
129137
working-directory: 'packages/vue'
130138
token: ${{ secrets.NPM_TOKEN }}
131139
- name: Cache Built @ionic/vue
@@ -157,6 +165,7 @@ jobs:
157165
scope: '@ionic/angular-server'
158166
tag: ${{ inputs.tag }}
159167
version: ${{ inputs.version }}
168+
preid: ${{ inputs.preid }}
160169
working-directory: 'packages/angular-server'
161170
folder: './dist'
162171
token: ${{ secrets.NPM_TOKEN }}
@@ -183,6 +192,7 @@ jobs:
183192
scope: '@ionic/react-router'
184193
tag: ${{ inputs.tag }}
185194
version: ${{ inputs.version }}
195+
preid: ${{ inputs.preid }}
186196
working-directory: 'packages/react-router'
187197
token: ${{ secrets.NPM_TOKEN }}
188198

@@ -208,5 +218,6 @@ jobs:
208218
scope: '@ionic/vue-router'
209219
tag: ${{ inputs.tag }}
210220
version: ${{ inputs.version }}
221+
preid: ${{ inputs.preid }}
211222
working-directory: 'packages/vue-router'
212223
token: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,36 @@ on:
1111
- patch
1212
- minor
1313
- major
14+
- prepatch
15+
- preminor
16+
- premajor
17+
- prerelease
1418
tag:
1519
required: true
1620
type: choice
1721
description: Which npm tag should this be published to?
1822
options:
1923
- latest
24+
- next
2025
- v5-lts
2126
- v4-lts
27+
preid:
28+
type: choice
29+
description: Which prerelease identifier should be used? This is only needed when version is "prepatch", "preminor", "premajor", or "prerelease".
30+
options:
31+
- ''
32+
- alpha
33+
- beta
34+
- rc
35+
- next
2236

2337
jobs:
2438
release-ionic:
2539
uses: ./.github/workflows/release-ionic.yml
2640
with:
2741
tag: ${{ inputs.tag }}
2842
version: ${{ inputs.version }}
43+
preid: ${{ inputs.preid }}
2944
secrets:
3045
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3146

@@ -48,7 +63,7 @@ jobs:
4863
git config user.email [email protected]
4964
shell: bash
5065
- name: Create GitHub Release
51-
run: lerna version ${{ inputs.version }} --yes --force-publish='*' --conventional-commits --create-release github
66+
run: lerna version ${{ inputs.version }} --yes --force-publish='*' --conventional-commits --create-release github --preid=${{ inputs.preid }}
5267
env:
5368
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5469
shell: bash

0 commit comments

Comments
 (0)