Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
name: Tests

on:
- push
- pull_request
workflow_dispatch:
inputs:
all_versions:
description: Run tests against all versions
type: boolean
push:
pull_request:

permissions:
# AWS
Expand All @@ -21,13 +26,14 @@ jobs:
fail-fast: false
matrix:
api-level: [35]
rn-version: ["0.78", "0.77", "0.76", "0.75", "0.74", "0.73"]
rn-version: ${{ github.event.inputs.all_versions && fromJSON('["0.80", "0.79", "0.78", "0.77", "0.76", "0.75", "0.74", "0.73"]') || fromJSON('["0.80", "0.79", "0.77"]') }}
arch: ["new", "old"]

steps:
- uses: actions/checkout@v4

- uses: aws-actions/configure-aws-credentials@v4
if: always() # it fails for non maintainer PRs
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::119243932312:role/RNVI-S3-Buckert
Expand Down Expand Up @@ -101,6 +107,12 @@ jobs:
run: |
cd packages/icon-explorer
mv .owl/baseline-${{ matrix.arch }} .owl/baseline

# something strange where the owl build isn't generating the jni files
if [ "${{ matrix.rn-version }}" == "0.80" -a "${{ matrix.arch }}" == "new" ]; then
pnpm run android || true
fi

pnpm run test:android:build

- name: Run test
Expand All @@ -123,7 +135,7 @@ jobs:
sed -i.bak -e "s/Report/Report (RN: ${{ matrix.arch }} Arch: ${{ matrix.rn-version }}) $(date)/" .owl/report/index.html || true

ID="${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }}-${{ matrix.arch }}-${{ matrix.rn-version }}"
aws --region us-east-2 s3 sync .owl "s3://react-native-vector-icons/$ID"
aws --region us-east-2 s3 sync .owl "s3://react-native-vector-icons/$ID" || true

if [ "${{ steps.tests.outcome }}" == "failure" ]; then
echo -n "* ❌ " >> $GITHUB_STEP_SUMMARY
Expand All @@ -148,13 +160,14 @@ jobs:
strategy:
fail-fast: false
matrix:
rn-version: ["0.78", "0.77", "0.76", "0.75", "0.74", "0.73"]
rn-version: ${{ github.event.inputs.all_versions && fromJSON('["0.80", "0.79", "0.78", "0.77", "0.76", "0.75", "0.74", "0.73"]') || fromJSON('["0.80", "0.79", "0.77"]') }}
arch: ["new", "old"]

steps:
- uses: actions/checkout@v4

- uses: aws-actions/configure-aws-credentials@v4
if: always() # it fails for non maintainer PRs
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::119243932312:role/RNVI-S3-Buckert
Expand Down Expand Up @@ -220,7 +233,7 @@ jobs:
sed -i.bak -e "s/Report/Report (RN: ${{ matrix.arch }} Arch: ${{ matrix.rn-version }}) $(date)/" .owl/report/index.html || true

ID="${{ github.run_id }}-${{ github.run_attempt }}-${{ github.job }}-${{ matrix.arch }}-${{ matrix.rn-version }}"
aws --region us-east-2 s3 sync .owl "s3://react-native-vector-icons/$ID"
aws --region us-east-2 s3 sync .owl "s3://react-native-vector-icons/$ID" || true

if [ "${{ steps.tests.outcome }}" == "failure" ]; then
echo -n "* ❌ " >> $GITHUB_STEP_SUMMARY
Expand Down
2 changes: 1 addition & 1 deletion packages/ant-design/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
7 changes: 7 additions & 0 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,12 @@
"create-react-native-library": {
"type": "library",
"version": "0.41.2"
},
"nx": {
"targets": {
"build": {
"dependsOn": ["@react-native-vector-icons/get-image:build"]
}
}
}
}
8 changes: 4 additions & 4 deletions packages/directory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^20.17.11",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"glob": "^11.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-scripts": "5.0.1",
"typescript": "^5.7.2",
"web-vitals": "^4.2.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/entypo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/evil-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/feather/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fontawesome/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fontawesome5-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@react-native-vector-icons/fontawesome-common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fontawesome5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fontawesome6-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@react-native-vector-icons/fontawesome-common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fontawesome6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fontello/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/fontisto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/foundation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/get-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react": "19.0.0",
"react-native": "0.79.0",
"react": "19.1.0",
"react-native": "0.80.0",
"react-native-builder-bob": "^0.35.2",
"turbo": "^1.13.4",
"typescript": "^5.7.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/icomoon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@react-native-vector-icons/common": "workspace:^"
},
"devDependencies": {
"@types/react": "^19.0.12",
"@types/react": "^19.1.0",
"del-cli": "^6.0.0",
"onchange": "^7.1.0",
"react-native-builder-bob": "^0.35.2",
Expand Down
Binary file modified packages/icon-explorer/android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 2 additions & 2 deletions packages/icon-explorer/android/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
CLASSPATH="\\\"\\\""


# Determine the Java command to use to start the JVM.
Expand Down Expand Up @@ -211,7 +211,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"

# Stop when "xargs" is not available.
Expand Down
9 changes: 7 additions & 2 deletions packages/icon-explorer/android/gradlew.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@REM Copyright (c) Meta Platforms, Inc. and affiliates.
@REM
@REM This source code is licensed under the MIT license found in the
@REM LICENSE file in the root directory of this source tree.

@rem
@rem Copyright 2015 the original author or authors.
@rem
Expand Down Expand Up @@ -68,11 +73,11 @@ goto fail
:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
set CLASSPATH=


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*

:end
@rem End local scope for the variables with windows NT shell
Expand Down
30 changes: 15 additions & 15 deletions packages/icon-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@react-native-vector-icons/octicons": "workspace:*",
"@react-native-vector-icons/simple-line-icons": "workspace:*",
"@react-native-vector-icons/zocial": "workspace:*",
"react": "19.0.0",
"react-native": "0.79.0",
"react": "19.1.0",
"react-native": "0.80.0",
"react-native-animatable": "^1.4.0"
},
"devDependencies": {
Expand All @@ -56,26 +56,26 @@
"@expo/config-plugins": "^8.0.11",
"@jest/types": "^29.6.3",
"@johnf/react-native-owl": "^1.4.10",
"@react-native-community/cli": "18.0.0",
"@react-native-community/cli-platform-android": "18.0.0",
"@react-native-community/cli-platform-ios": "18.0.0",
"@react-native/babel-preset": "0.79.0",
"@react-native/eslint-config": "0.79.0",
"@react-native/metro-config": "0.79.0",
"@react-native/typescript-config": "0.79.0",
"@rnx-kit/align-deps": "^3.0.5",
"@react-native-community/cli": "19.0.0",
"@react-native-community/cli-platform-android": "19.0.0",
"@react-native-community/cli-platform-ios": "19.0.0",
"@react-native/babel-preset": "0.80.0",
"@react-native/eslint-config": "0.80.0",
"@react-native/metro-config": "0.80.0",
"@react-native/typescript-config": "0.80.0",
"@rnx-kit/align-deps": "^3.0.8",
"@rnx-kit/babel-preset-metro-react-native": "^2.0.0",
"@rnx-kit/metro-config": "^2.0.1",
"@rnx-kit/metro-config": "^2.1.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.11",
"@types/react": "^19.0.12",
"@types/react-test-renderer": "^19.0.0",
"@types/react": "^19.1.0",
"@types/react-test-renderer": "^19.1.0",
"babel-jest": "^29.7.0",
"eslint": "^8.57.1",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"react-native-test-app": "^4.3.4",
"react-test-renderer": "19.0.0",
"react-native-test-app": "^4.4.0",
"react-test-renderer": "19.1.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
},
Expand Down
35 changes: 0 additions & 35 deletions packages/icon-explorer/set-rn-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,6 @@ fi

echo "Switching to $VERSION (arch: $ARCH)"

case $VERSION in
0.73)
GRADLE_VERSION=8.3-bin
;;

0.74)
GRADLE_VERSION=8.6-bin
;;

0.75)
GRADLE_VERSION=8.8-bin
;;

0.7[67])
GRADLE_VERSION=8.10.2-all
;;

0.78)
GRADLE_VERSION=8.12-all
;;

0.79)
GRADLE_VERSION=8.13-bin
;;

*)
echo "Unsupported version $VERSION"
exit 1
;;
esac

echo "Setting gradle version to $GRADLE_VERSION"
sed -i.bak "s/gradle-.*.zip/gradle-$GRADLE_VERSION.zip/" android/gradle/wrapper/gradle-wrapper.properties
rm android/gradle/wrapper/gradle-wrapper.properties.bak

pnpm rnx-align-deps --requirements react-native@"$VERSION" --write

pnpm add --ignore-scripts react-native@"^$VERSION.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/icon-explorer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "@react-native/typescript-config/tsconfig.json"
"extends": "@react-native/typescript-config"
}
Loading
Loading