Skip to content

Commit d8af96e

Browse files
[MOO-908] Update React Native and Widgets tools (#25)
2 parents e19655a + dbf848a commit d8af96e

File tree

331 files changed

+10073
-9627
lines changed

Some content is hidden

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

331 files changed

+10073
-9627
lines changed

.github/workflows/Build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: "Checking changed files"
1919
id: files
20-
uses: softprops/diffset@3aeca0719d5043522e155012d3c9f7470fdd2dc6 # v1
20+
uses: softprops/diffset@d5947696689a571f7a984a52505e2649eead5c22 # v1
2121
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
2222
with:
2323
base: main
@@ -26,7 +26,7 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
- name: "Checking-out code"
29-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
29+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
3030
with:
3131
fetch-depth: 0
3232
- name: "Fetching main to compare"
@@ -35,25 +35,25 @@ jobs:
3535
- name: "Defining environment variables"
3636
if: startsWith(matrix.os, 'ubuntu')
3737
id: variablesLinux
38-
run: echo "::set-output name=arg::$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '--since'; else echo ''; fi)"
38+
run: echo "arg=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '--since'; else echo ''; fi)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
3939
- name: "Defining environment variables"
4040
if: startsWith(matrix.os, 'windows')
4141
id: variablesWindows
42-
run: echo "::set-output name=arg::$(If ('${{ steps.files.outputs.global_files }}' -eq '' -AND '${{ github.event_name == 'pull_request' }}' -eq 'true'){ echo '--since' } Else { echo '' })"
42+
run: echo "arg=$(If ('${{ steps.files.outputs.global_files }}' -eq '' -AND '${{ github.event_name == 'pull_request' }}' -eq 'true'){ echo '--since' } Else { echo '' })" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
4343
- name: "Defining node version"
44-
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2
44+
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
4545
with:
4646
node-version-file: ".nvmrc"
4747
cache: "yarn"
4848
- name: "Get yarn cache directory path"
4949
id: yarn-cache-dir-path
50-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
50+
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
5151
- name: "Defining cache"
5252
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
5353
env:
5454
cache-name: cache-node-modules
5555
with:
56-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
56+
path: ${{ env.dir }}
5757
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
5858
- name: "Installing dependencies"
5959
run: yarn install

.github/workflows/MarketplaceRelease.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212

1313
steps:
1414
- name: "Checking-out code"
15-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
15+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
1616
with:
1717
submodules: false
1818
- name: "Defining Environment Variables"
1919
id: variables
20-
run: echo "::set-output name=tag::$(git tag --points-at HEAD)"
20+
run: echo "tag=$(git tag --points-at HEAD)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
2121
- name: "Defining scope"
2222
uses: jungwinter/split@c185fe95439c136a8788b7f700bd5275920d7109 # v1
2323
id: scope
2424
with:
2525
msg: "${{ steps.variables.outputs.tag }}"
2626
seperator: "-v"
2727
- name: "Defining node version"
28-
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2
28+
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
2929
with:
3030
node-version-file: ".nvmrc"
3131
- name: "Installing dependencies"

.github/workflows/NativeAutomatedTestsAndroid.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# env:
3434
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3535
- name: "Checking-out code"
36-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
36+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
3737
with:
3838
submodules: false
3939
- name: "Fetching main to compare"
@@ -47,16 +47,16 @@ jobs:
4747
# ''; fi)
4848
- name: "Get yarn cache directory path"
4949
id: yarn-cache-dir-path
50-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
50+
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
5151
- name: "Defining cache"
5252
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
5353
env:
5454
cache-name: cache-node-modules
5555
with:
56-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
56+
path: ${{ env.dir }}
5757
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
5858
- name: "Defining node version"
59-
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2
59+
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
6060
with:
6161
node-version-file: ".nvmrc"
6262
- name: "Installing dependencies"

.github/workflows/PublishDockerImage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
contents: read
2121

2222
steps:
23-
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
23+
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
2424
- name: Getting variables
2525
id: variables
2626
run: |
27-
echo "::set-output name=mx9::$(sed -n 's/.*"latest": "\([^"]*\)",/\1/p' $JSON_PATH)"
28-
echo "::set-output name=mx8::$(sed -n 's/.*"8": "\([^"]*\)"/\1/p' $JSON_PATH)"
27+
echo "mx9=$(sed -n 's/.*"latest": "\([^"]*\)",/\1/p' $JSON_PATH)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
28+
echo "mx8=$(sed -n 's/.*"8": "\([^"]*\)"/\1/p' $JSON_PATH)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
2929
3030
- name: Building Mx Build 8 docker image
3131
run: docker build . --file $PWT_PATH/scripts/mxbuild.Dockerfile --build-arg MENDIX_VERSION=${{steps.variables.outputs.mx8}} --tag $MXBUILD:${{steps.variables.outputs.mx8}} --label "runnumber=${GITHUB_RUN_ID}"

.github/workflows/Release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- name: "Checking changed files"
1919
id: files
20-
uses: softprops/diffset@3aeca0719d5043522e155012d3c9f7470fdd2dc6 # v1
20+
uses: softprops/diffset@d5947696689a571f7a984a52505e2649eead5c22 # v1
2121
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
2222
with:
2323
base: main
@@ -26,7 +26,7 @@ jobs:
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
- name: "Checking-out code"
29-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
29+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
3030
with:
3131
fetch-depth: 0
3232
- name: "Fetching main to compare"
@@ -35,25 +35,25 @@ jobs:
3535
- name: "Defining environment variables"
3636
if: startsWith(matrix.os, 'ubuntu')
3737
id: variablesLinux
38-
run: echo "::set-output name=arg::$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '--since'; else echo ''; fi)"
38+
run: echo "arg=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '--since'; else echo ''; fi)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
3939
- name: "Defining environment variables"
4040
if: startsWith(matrix.os, 'windows')
4141
id: variablesWindows
42-
run: echo "::set-output name=arg::$(If ('${{ steps.files.outputs.global_files }}' -eq '' -AND '${{ github.event_name == 'pull_request' }}' -eq 'true'){ echo '--since' } Else { echo '' })"
42+
run: echo "arg=$(If ('${{ steps.files.outputs.global_files }}' -eq '' -AND '${{ github.event_name == 'pull_request' }}' -eq 'true'){ echo '--since' } Else { echo '' })" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
4343
- name: "Defining node version"
44-
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2
44+
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
4545
with:
4646
node-version-file: ".nvmrc"
4747
cache: "yarn"
4848
- name: "Get yarn cache directory path"
4949
id: yarn-cache-dir-path
50-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
50+
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
5151
- name: "Defining cache"
5252
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
5353
env:
5454
cache-name: cache-node-modules
5555
with:
56-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
56+
path: ${{ env.dir }}
5757
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
5858
- name: "Installing dependencies"
5959
run: yarn install

.github/workflows/ShaCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: "Checking-out code"
19-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
19+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
2020
with:
2121
submodules: false
2222
- name: "Ensure SHA pinned actions"

.github/workflows/UnitTests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: "Checking changed files"
1616
id: files
17-
uses: softprops/diffset@3aeca0719d5043522e155012d3c9f7470fdd2dc6 # v1
17+
uses: softprops/diffset@d5947696689a571f7a984a52505e2649eead5c22 # v1
1818
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
1919
with:
2020
base: main
@@ -23,29 +23,29 @@ jobs:
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
- name: "Checking-out code"
26-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2
26+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
2727
with:
2828
fetch-depth: 0
2929
- name: "Fetching main to compare"
3030
if: github.event_name == 'pull_request' && steps.files.outputs.global_files == ''
3131
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}
3232
- name: "Defining environment variables"
3333
id: variables
34-
run: echo "::set-output name=arg::$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '--since'; else echo ''; fi)"
34+
run: echo "arg=$(if [ "${{ steps.files.outputs.global_files }}" = "" ] && ${{ github.event_name == 'pull_request' }}; then echo '--since'; else echo ''; fi)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
3535
- name: "Defining node version"
36-
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # v2
36+
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
3737
with:
3838
node-version-file: ".nvmrc"
3939
cache: "yarn"
4040
- name: "Get yarn cache directory path"
4141
id: yarn-cache-dir-path
42-
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
42+
run: echo "dir=$(yarn config get cacheFolder)" >> ${{ runner.os == 'Windows' && '$env:GITHUB_ENV' || '$GITHUB_ENV' }}
4343
- name: "Defining cache"
4444
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2
4545
env:
4646
cache-name: cache-node-modules
4747
with:
48-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
48+
path: ${{ env.dir }}
4949
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
5050
- name: "Installing dependencies"
5151
run: yarn install

.gitignore

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,13 @@ detox/apps
1414
detox/*.log
1515
**/results
1616
mendixProject
17-
**/e2e/diffs
17+
**/e2e/images/diffs
18+
**/e2e/images/actual
1819
**/screenshot
1920
**/screenshot-results
2021
**/tests/testProject
2122
**/pluggableWidgets/**/artifacts
2223

23-
**/cypress/videos
24-
**/cypress/screenshots
25-
**/cypress-visual-report
26-
**/cypress-visual-screenshots/comparison
27-
**/cypress-visual-screenshots/diff
28-
29-
tests
3024
.yarn/*
3125
!.yarn/patches
3226
!.yarn/plugins

0 commit comments

Comments
 (0)