Skip to content

Commit 6ae701e

Browse files
authored
chore(git): sync ionic-modular with next (#30826)
Syncing with next
2 parents 81024ab + ba04e4d commit 6ae701e

File tree

727 files changed

+4940
-5496
lines changed

Some content is hidden

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

727 files changed

+4940
-5496
lines changed

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

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,48 +8,53 @@ inputs:
88
tag:
99
description: 'The tag to publish to on NPM.'
1010
preid:
11-
description: 'The prerelease identifier used when doing a prerelease.'
11+
description: "Prerelease identifier such as 'alpha', 'beta', 'rc', or 'next'. Leave blank to skip prerelease tagging."
1212
working-directory:
1313
description: 'The directory of the package.'
1414
folder:
1515
default: './'
1616
description: 'A folder containing a package.json file.'
17-
token:
18-
description: 'The NPM authentication token required to publish.'
17+
node-version:
18+
description: 'Node.js version to use when publishing.'
19+
required: false
20+
default: '24.x'
1921
runs:
2022
using: 'composite'
2123
steps:
22-
- uses: actions/setup-node@v5
24+
- name: 🟢 Configure Node for Publish
25+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2326
with:
24-
node-version: 22.x
27+
node-version: ${{ inputs.node-version }}
28+
registry-url: 'https://registry.npmjs.org'
29+
scope: '@ionic'
2530
# Provenance requires npm 9.5.0+
26-
- name: Install latest npm
31+
- name: 📦 Install latest npm
2732
run: npm install -g npm@latest
2833
shell: bash
2934
# This ensures the local version of Lerna is installed
3035
# and that we do not use the global Lerna version
31-
- name: Install root dependencies
36+
- name: 🕸️ Install root dependencies
3237
run: npm ci
3338
shell: bash
34-
- name: Install Dependencies
39+
- name: 📦 Install Dependencies
3540
run: npx lerna@5 bootstrap --include-dependencies --scope ${{ inputs.scope }} --ignore-scripts -- --legacy-peer-deps
3641
shell: bash
3742
working-directory: ${{ inputs.working-directory }}
38-
- name: Update Version
39-
run: npx lerna@5 version ${{ inputs.version }} --yes --exact --no-changelog --no-push --no-git-tag-version --preid=${{ inputs.preid }}
43+
- name: 🏷️ Set Version
44+
run: |
45+
if [ -z "${{ inputs.preid }}" ]; then
46+
npx lerna@5 version ${{ inputs.version }} --yes --exact --no-changelog --no-push --no-git-tag-version
47+
else
48+
npx lerna@5 version ${{ inputs.version }} --yes --exact --no-changelog --no-push --no-git-tag-version --preid=${{ inputs.preid }}
49+
fi
4050
shell: bash
4151
working-directory: ${{ inputs.working-directory }}
42-
- name: Run Build
52+
- name: 🏗️ Run Build
4353
run: npm run build
4454
shell: bash
4555
working-directory: ${{ inputs.working-directory }}
46-
- name: Prepare NPM Token
47-
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
48-
working-directory: ${{ inputs.working-directory }}
49-
shell: bash
50-
env:
51-
NPM_TOKEN: ${{ inputs.token }}
52-
- name: Publish to NPM
56+
- name: 🚀 Publish to NPM
5357
run: npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }} --provenance
5458
shell: bash
5559
working-directory: ${{ inputs.working-directory }}
60+

.github/workflows/actions/build-angular-server/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ description: 'Build Ionic Angular Server'
33
runs:
44
using: 'composite'
55
steps:
6-
- uses: actions/setup-node@v5
6+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
77
with:
8-
node-version: 22.x
8+
node-version: 24.x
99
- uses: ./.github/workflows/actions/download-archive
1010
with:
1111
name: ionic-core
1212
path: ./core
1313
filename: CoreBuild.zip
14-
- name: Install Angular Server Dependencies
14+
- name: 🕸️ Install Angular Server Dependencies
1515
run: npm ci
1616
shell: bash
1717
working-directory: ./packages/angular-server
18-
- name: Sync
18+
- name: 🔄 Sync
1919
run: npm run sync
2020
shell: bash
2121
working-directory: ./packages/angular-server
22-
- name: Build
22+
- name: 🏗️ Build
2323
run: npm run build.prod
2424
shell: bash
2525
working-directory: ./packages/angular-server

.github/workflows/actions/build-angular/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@ description: 'Build Ionic Angular'
33
runs:
44
using: 'composite'
55
steps:
6-
- uses: actions/setup-node@v5
6+
- uses: actions/setup-node@v6
77
with:
8-
node-version: 22.x
8+
node-version: 24.x
99
- uses: ./.github/workflows/actions/download-archive
1010
with:
1111
name: ionic-core
1212
path: ./core
1313
filename: CoreBuild.zip
14-
- name: Install Angular Dependencies
14+
- name: 🕸️ Install Angular Dependencies
1515
run: npm ci
1616
shell: bash
1717
working-directory: ./packages/angular
18-
- name: Sync
18+
- name: 🔄 Sync
1919
run: npm run sync
2020
shell: bash
2121
working-directory: ./packages/angular
22-
- name: Lint
22+
- name: 🖌️ Lint
2323
run: npm run lint
2424
shell: bash
2525
working-directory: ./packages/angular
26-
- name: Build
26+
- name: 🏗️ Build
2727
run: npm run build
2828
shell: bash
2929
working-directory: ./packages/angular
30-
- name: Check Diff
30+
- name: 🔍 Check Diff
3131
run: git diff --exit-code
3232
shell: bash
3333
working-directory: ./packages/angular

.github/workflows/actions/build-core-stencil-prerelease/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ inputs:
88
runs:
99
using: 'composite'
1010
steps:
11-
- uses: actions/checkout@v5
12-
- uses: actions/setup-node@v5
11+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
12+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
1313
with:
14-
node-version: 22.x
14+
node-version: 24.x
1515

16-
- name: Install Dependencies
16+
- name: 🕸️ Install Dependencies
1717
run: npm ci
1818
working-directory: ./core
1919
shell: bash
20-
- name: Install Stencil ${{ inputs.stencil-version }}
20+
- name: 📦 Install Stencil ${{ inputs.stencil-version }}
2121
working-directory: ./core
2222
run: npm i @stencil/core@${{ inputs.stencil-version }}
2323
shell: bash
24-
- name: Build Core
24+
- name: 🏗️ Build Core
2525
run: npm run build -- --ci --debug --verbose
2626
working-directory: ./core
2727
shell: bash

.github/workflows/actions/build-core/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ inputs:
88
runs:
99
using: 'composite'
1010
steps:
11-
- uses: actions/checkout@v5
12-
- uses: actions/setup-node@v5
11+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
12+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
1313
with:
14-
node-version: 22.x
15-
- name: Install Dependencies
14+
node-version: 24.x
15+
- name: 🕸️ Install Dependencies
1616
run: npm install
1717
working-directory: ./core
1818
shell: bash
1919
# If an Ionicons version was specified install that.
2020
# Otherwise just use the version defined in the package.json.
21-
- name: Install Ionicons Version
21+
- name: 📦 Install Ionicons Version
2222
if: inputs.ionicons-version != ''
2323
run: npm install ionicons@${{ inputs.ionicons-version }}
2424
working-directory: ./core
2525
shell: bash
26-
- name: Build Core
26+
- name: 🏗️ Build Core
2727
run: npm run build -- --ci
2828
working-directory: ./core
2929
shell: bash

.github/workflows/actions/build-react-router/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ description: 'Build Ionic React Router'
33
runs:
44
using: 'composite'
55
steps:
6-
- uses: actions/setup-node@v5
6+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
77
with:
8-
node-version: 22.x
8+
node-version: 24.x
99
- uses: ./.github/workflows/actions/download-archive
1010
with:
1111
name: ionic-core
@@ -16,19 +16,19 @@ runs:
1616
name: ionic-react
1717
path: ./packages/react
1818
filename: ReactBuild.zip
19-
- name: Install Dependencies
19+
- name: 🕸️ Install Dependencies
2020
run: npm ci
2121
shell: bash
2222
working-directory: ./packages/react-router
23-
- name: Sync
23+
- name: 🔄 Sync
2424
run: npm run sync
2525
shell: bash
2626
working-directory: ./packages/react-router
27-
- name: Lint
27+
- name: 🖌️ Lint
2828
run: npm run lint
2929
shell: bash
3030
working-directory: ./packages/react-router
31-
- name: Build
31+
- name: 🏗️ Build
3232
run: npm run build
3333
shell: bash
3434
working-directory: ./packages/react-router

.github/workflows/actions/build-react/action.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@ description: 'Build Ionic React'
33
runs:
44
using: 'composite'
55
steps:
6-
- uses: actions/setup-node@v5
6+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
77
with:
8-
node-version: 22.x
8+
node-version: 24.x
99
- uses: ./.github/workflows/actions/download-archive
1010
with:
1111
name: ionic-core
1212
path: ./core
1313
filename: CoreBuild.zip
14-
- name: Install React Dependencies
14+
- name: 🕸️ Install React Dependencies
1515
run: npm ci
1616
shell: bash
1717
working-directory: ./packages/react
18-
- name: Sync
18+
- name: 🔄 Sync
1919
run: npm run sync
2020
shell: bash
2121
working-directory: ./packages/react
22-
- name: Lint
22+
- name: 🖌️ Lint
2323
run: npm run lint
2424
shell: bash
2525
working-directory: ./packages/react
26-
- name: Build
26+
- name: 🏗️ Build
2727
run: npm run build
2828
shell: bash
2929
working-directory: ./packages/react
30-
- name: Test Spec
30+
- name: 🧪 Test Spec
3131
run: npm run test.spec
3232
shell: bash
3333
working-directory: ./packages/react
34-
- name: Check Diff
34+
- name: 🔍 Check Diff
3535
run: git diff --exit-code
3636
shell: bash
3737
working-directory: ./packages/react

.github/workflows/actions/build-vue-router/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ description: 'Builds Ionic Vue Router'
33
runs:
44
using: 'composite'
55
steps:
6-
- uses: actions/setup-node@v5
6+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
77
with:
8-
node-version: 22.x
8+
node-version: 24.x
99
- uses: ./.github/workflows/actions/download-archive
1010
with:
1111
name: ionic-core
@@ -16,23 +16,23 @@ runs:
1616
name: ionic-vue
1717
path: ./packages/vue
1818
filename: VueBuild.zip
19-
- name: Install Vue Router Dependencies
19+
- name: 🕸️ Install Vue Router Dependencies
2020
run: npm ci
2121
shell: bash
2222
working-directory: ./packages/vue-router
23-
- name: Sync
23+
- name: 🔄 Sync
2424
run: npm run sync
2525
shell: bash
2626
working-directory: ./packages/vue-router
27-
- name: Lint
27+
- name: 🖌️ Lint
2828
run: npm run lint
2929
shell: bash
3030
working-directory: ./packages/vue-router
31-
- name: Build
31+
- name: 🏗️ Build
3232
run: npm run build
3333
shell: bash
3434
working-directory: ./packages/vue-router
35-
- name: Test Spec
35+
- name: 🧪 Test Spec
3636
run: npm run test.spec
3737
shell: bash
3838
working-directory: ./packages/vue-router

.github/workflows/actions/build-vue/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@ description: 'Build Ionic Vue'
33
runs:
44
using: 'composite'
55
steps:
6-
- uses: actions/setup-node@v5
6+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
77
with:
8-
node-version: 22.x
8+
node-version: 24.x
99
- uses: ./.github/workflows/actions/download-archive
1010
with:
1111
name: ionic-core
1212
path: ./core
1313
filename: CoreBuild.zip
14-
- name: Install Vue Dependencies
14+
- name: 🕸️ Install Vue Dependencies
1515
run: npm ci
1616
shell: bash
1717
working-directory: ./packages/vue
18-
- name: Sync
18+
- name: 🔄 Sync
1919
run: npm run sync
2020
shell: bash
2121
working-directory: ./packages/vue
22-
- name: Lint
22+
- name: 🖌️ Lint
2323
run: npm run lint
2424
shell: bash
2525
working-directory: ./packages/vue
26-
- name: Build
26+
- name: 🏗️ Build
2727
run: npm run build
2828
shell: bash
2929
working-directory: ./packages/vue
30-
- name: Check Diff
30+
- name: 🔍 Check Diff
3131
run: git diff --exit-code
3232
shell: bash
3333
working-directory: ./packages/vue

.github/workflows/actions/download-archive/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ inputs:
1010
runs:
1111
using: 'composite'
1212
steps:
13-
- uses: actions/download-artifact@v5
13+
- uses: actions/download-artifact@v6
1414
with:
1515
name: ${{ inputs.name }}
1616
path: ${{ inputs.path }}
17-
- name: Extract Archive
17+
- name: 🔎 Extract Archive
1818
run: unzip -q -o ${{ inputs.path }}/${{ inputs.filename }}
1919
shell: bash

0 commit comments

Comments
 (0)