Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
cc71cdc
Highlight new arch changes for 0.68
Feb 7, 2022
8b13678
Rephrase warning for new files
ShikaSD Feb 8, 2022
d357f3d
Remove obsolete package.json warnings and add playbook link
Feb 25, 2022
d7fd7cb
Update RN CHANGELOG link to the new location
wzs Mar 31, 2022
7bded56
Remove troubleshooting guides
Apr 10, 2022
7045bbd
extract the section links to its own component
kelset May 6, 2022
b87ded5
minor style tweak
kelset May 6, 2022
7c959f0
change logic to always show some sections
kelset May 6, 2022
acb9cd4
add a dep-check alert
kelset May 6, 2022
7971229
Update src/components/common/DepCheckAlert.js
kelset May 6, 2022
386b319
Update src/components/common/DepCheckAlert.js
kelset May 9, 2022
28fe40c
change copy a bit more
kelset May 9, 2022
7fff490
feat: highlight bundled Hermes for version 0.69
Jun 14, 2022
e1a722d
fix: use number instead of strings for lineNumber
Jun 14, 2022
5f79632
fix: direct link typo
passerbyloo Jun 16, 2022
98b5a01
fix changelog links in useful content section
iduuck Jun 24, 2022
cead984
Bump terser from 4.4.3 to 4.8.1
dependabot[bot] Jul 20, 2022
cde7ab9
migrate from dep-check to align-deps (#331)
kelset Dec 5, 2022
b8a4e65
bump CI
kelset Feb 28, 2023
a9be443
bump JamesIves action to fixed version
kelset Feb 28, 2023
457b9e3
was missing the v in front of the version
kelset Feb 28, 2023
a1c608c
downgrade to Node 16
kelset Feb 28, 2023
8dec38b
Updated React to 18, testing-library to 14
CraigRamey Feb 28, 2023
1db2f60
Add node-version file with current LTS
CraigRamey Feb 28, 2023
7e49dd4
Change node version to 16
CraigRamey Feb 28, 2023
07c0a3a
Bump ws from 5.2.2 to 5.2.3 (#308)
dependabot[bot] Mar 1, 2023
6660264
Bump qs from 6.5.2 to 6.5.3 (#334)
dependabot[bot] Mar 1, 2023
1c5081d
Bump async from 2.6.3 to 2.6.4 (#310)
dependabot[bot] Mar 1, 2023
8f73d23
Bump eventsource from 1.0.7 to 1.1.2 (#342)
dependabot[bot] Mar 1, 2023
ec02321
Bump ajv from 6.10.2 to 6.12.6 (#299)
dependabot[bot] Mar 1, 2023
ed92344
Bump moment from 2.24.0 to 2.29.4 (#319)
dependabot[bot] Mar 1, 2023
a66a322
Bump url-parse from 1.4.7 to 1.5.10 (#303)
dependabot[bot] Mar 1, 2023
ae99ed7
Bump express from 4.17.1 to 4.18.2 (#335)
dependabot[bot] Mar 1, 2023
c1997c6
Bump json5 from 1.0.1 to 1.0.2 (#337)
dependabot[bot] Mar 1, 2023
cb34ddc
Bump decode-uri-component from 0.2.0 to 0.2.2 (#332)
dependabot[bot] Mar 1, 2023
afcf433
Bump ua-parser-js from 0.7.28 to 0.7.33 (#338)
dependabot[bot] Mar 1, 2023
f94aa2f
Bump follow-redirects from 1.9.0 to 1.15.2 (#343)
dependabot[bot] Mar 1, 2023
93619eb
Bump @hapi/hoek from 8.5.0 to 8.5.1 (#344)
dependabot[bot] Mar 1, 2023
81c2399
Create CODE_OF_CONDUCT.md
kelset Mar 1, 2023
d641f72
add mention of CoC in readme
kelset Mar 1, 2023
b1659b9
bump deps
kelset Mar 1, 2023
ad86d34
prettier changes
kelset Mar 1, 2023
d05462a
adding the prep
kelset Mar 1, 2023
f3e6e50
bump a few more packages (no majors)
kelset Mar 1, 2023
bd0fff8
fix config
kelset Mar 1, 2023
de42e9f
bump a few more
kelset Mar 1, 2023
a3c31ab
reorder entries in package.json for mind clarity
kelset Mar 1, 2023
29b7f0f
attempting fixes
kelset Mar 1, 2023
b11074e
bump a few more packages
kelset Mar 1, 2023
9550739
upgrade `emotion` and `antd`
Mar 1, 2023
aa85d56
revert `react-diff-view` version upgrade
Mar 1, 2023
32e649e
Bump ini from 1.3.5 to 1.3.8 (#346)
dependabot[bot] Mar 3, 2023
b6af6b0
Bump kind-of from 6.0.2 to 6.0.3 (#347)
dependabot[bot] Mar 3, 2023
dfbf926
feat: Add support for anchor links
blakef Mar 6, 2023
8a2440d
Allow copying the whole file with replaced appName
zoontek Apr 1, 2023
30712dd
Rename view file button to fit Github naming
zoontek Apr 1, 2023
1cfaace
Delete AppNameWarning
zoontek Apr 1, 2023
49720ba
Remove unused import
zoontek Apr 1, 2023
533936f
Always show the appName input
zoontek Apr 1, 2023
3d8cc33
Add a bit of spacing
zoontek Apr 1, 2023
3d6d534
Don't update everything on each keystroke
zoontek Apr 1, 2023
b025d02
Remove unused import
zoontek Apr 1, 2023
2a243f3
0.72: Add guidance on new metro.config.js setup
huntie Apr 6, 2023
4c25931
Fix copy on Safari
zoontek Apr 10, 2023
7b3165f
replace content appName
ukcasso Apr 7, 2023
d33c977
update 0.72 file in releases folder.
ukcasso Apr 7, 2023
288c9f8
Update 0.72.js
ukcasso Apr 7, 2023
b9908ce
prettier
Apr 8, 2023
8a79b6e
feat: Add changelog link
blakef Apr 26, 2023
12fc4a0
Fix encoding issues when using Copy button
Menardi Jul 6, 2023
395b255
Adding functionality to let users specify their own package name (for…
smallsaucepan Jul 22, 2023
6151391
feat: add search option select from version and to version
fxamauri Sep 3, 2023
00d0b7f
Fix replaceAppDetails
zoontek Sep 8, 2023
243dd77
Theme switcher in place
markrickert Nov 30, 2023
fbc74c8
Add antd config provider for automated darkm mode in lots of components
markrickert Dec 1, 2023
f9946cc
Dark mode the diffs
markrickert Dec 1, 2023
9bd7389
Fix yellow backgrounds for darkmode
markrickert Dec 1, 2023
ea49948
Fix darkmode DiffComment colors
markrickert Dec 1, 2023
d0ab9b6
Fix darkmode completed files popover colors
markrickert Dec 1, 2023
f035994
Persist the darkmode state
markrickert Dec 1, 2023
52b05a9
Fix the content loader.
markrickert Dec 1, 2023
336b18b
refactor: tweak the dark mode colors
Dec 2, 2023
0af7139
Move dark mode button to tip level settings instead of hiding it in t…
markrickert Dec 3, 2023
7f87716
Convert the project to typescript
markrickert Feb 4, 2024
2ce8d0e
Start fixing typescript issues with themeing.
markrickert Feb 4, 2024
463612a
Update framer-motion to the latest version.
markrickert Feb 4, 2024
af64a43
More typescript updates.
markrickert Feb 4, 2024
8709e10
Move the releases files over to typescript and type them.
markrickert Feb 4, 2024
d58b088
Updates to the Diff component
markrickert Feb 4, 2024
f79bbe0
Fix some style issues after the update of react-diff-view
markrickert Feb 4, 2024
1cb5e44
Lots of typescript improvements.
markrickert Feb 4, 2024
232d669
Move jest and eslint configs to their own files.
markrickert Feb 4, 2024
4b903df
Update antd and @ant-design/icons
markrickert Feb 4, 2024
f291fe6
More typescript fixes. typecheck passes.
markrickert Feb 4, 2024
08305f7
Add yarn lint typecheck to the github workflow
markrickert Feb 5, 2024
677f6a1
Add more type annotations
markrickert Feb 8, 2024
7cc3b4b
Silence source map warnings
markrickert Feb 8, 2024
7fd8351
Fix issues with ghost buttons not showing after the antd update.
markrickert Feb 8, 2024
8db8c94
Fix duplicate hunks when using updated hunks list
blakef Feb 26, 2024
de72353
feat: add package and name to URL params
frankcalise Apr 11, 2024
7887416
feat: useful content apple privacy
fxamauri Apr 24, 2024
cc85960
feat: add comments to diff for React Native 0.74
szymonrybczak Apr 25, 2024
9d9fb28
fix: show comment in `package.json` file
szymonrybczak Apr 25, 2024
9f707b3
fix: ui improvements
shubh73 Aug 9, 2024
4d00885
fix: making it to work after rebase
Sarabadu Jan 5, 2025
a05f20c
fix: lint and test
Sarabadu Jan 5, 2025
aa4f3bd
add hidden files
Sarabadu Jan 5, 2025
51bc5cf
fix: update types
Sarabadu Jan 7, 2025
1da07a9
fix: json import should be default import
Sarabadu Jan 7, 2025
c8dd6be
fix: lint issues
Sarabadu Jan 7, 2025
5d7b427
feat: add changelog Viewer
Sarabadu Jan 8, 2025
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
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['react-app'],
plugins: ['prettier', '@emotion'],
rules: {
'prettier/prettier': 'error',
'jsx-a11y/accessible-emoji': 'off',
'import/no-anonymous-default-export': 'off',
'react-hooks/exhaustive-deps': 'off',
},
overrides: [
{
files: ['src/__tests__/**/*'],
env: {
jest: true,
},
},
],
}
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

/.yarn/releases/** binary
/.yarn/plugins/** binary
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,30 @@ on:
push:
branches:
- master
- changelog

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: ⬇️ Checkout repository code
uses: actions/checkout@v2.3.1
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: 🛠 Install dependencies
uses: bahmutov/npm-install@v1
run: yarn install --immutable

- name: 🔥 Build
run: yarn build

- name: 🚀 Deploy
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@v4

with:
branch: gh-pages
folder: build
40 changes: 24 additions & 16 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,56 +7,64 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repository code
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '20'

- name: ⬆️ Upload output
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
path: ./**
path: |
./**
!${{ github.workspace }}/.eslint*
!${{ github.workspace }}/.dockerignore

install:
needs: setup
runs-on: ubuntu-latest
steps:
- name: ⬇️ Restore output
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ github.sha }}

- uses: actions/setup-node@v3
with:
node-version: '20'

- name: 🛠 Install dependencies
uses: bahmutov/npm-install@v1
run: yarn install --immutable

lint:
needs: [setup, install]
runs-on: ubuntu-latest
steps:
- name: ⬇️ Restore output
uses: actions/download-artifact@v2
with:
name: ${{ github.sha }}
- name: ⬇️ Checkout repository code
uses: actions/checkout@v3

- name: 🛠 Install dependencies
uses: bahmutov/npm-install@v1
run: yarn install --immutable

- name: Run lint
run: yarn lint

- name: Run typecheck
run: yarn typecheck

test:
needs: [setup, install]
runs-on: ubuntu-latest
steps:
- name: ⬇️ Restore output
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ github.sha }}

- name: 🛠 Install dependencies
uses: bahmutov/npm-install@v1
run: yarn install --immutable

- name: Run tests
run: yarn test --runInBand
Expand All @@ -67,15 +75,15 @@ jobs:
if: ${{ !always() }}
steps:
- name: ⬇️ Restore output
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ github.sha }}

- name: Run e2e tests
run: yarn test-e2e

- name: ⬆️ Upload output
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: image-comparisons
Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,12 @@ yarn-error.log*
.vscode

# testing
/.jest
/.jest

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.19.1
Binary file added .yarn/install-state.gz
Binary file not shown.
934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.6.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.6.0.cjs
9 changes: 9 additions & 0 deletions @types/emotion.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import '@emotion/react'

import { Theme as EmotionTheme } from '../src/theme'

export {}

declare module '@emotion/react' {
export interface Theme extends EmotionTheme {}
}
8 changes: 8 additions & 0 deletions @types/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
interface Window {}

interface Process {
env: {
PUBLIC_URL: string
NODE_ENV: 'development' | 'production'
}
}
128 changes: 128 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

- The use of sexualized language or imagery, and sexual attention or
advances of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series
of actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
the community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ This project is a fork of [React Native Upgrade Helper](https://github.com/react

This project proudly uses [`rn-diff-purge`](https://github.com/react-native-community/rn-diff-purge), [`react-diff-view`](https://github.com/otakustay/react-diff-view) and [`create-react-app`](https://github.com/facebook/create-react-app).

## 📝 License
## 📝 License & CoC

This project is released under the MIT license (check the LICENSE and NOTICE files for details).
10 changes: 8 additions & 2 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
const { override, addBabelPreset } = require('customize-cra')
const { addReactRefresh } = require('customize-cra-react-refresh')

const ignoreWarnings = (value) => (config) => {
config.ignoreWarnings = value
return config
}

module.exports = override(
addBabelPreset('@emotion/babel-preset-css-prop'),
addReactRefresh({ disableRefreshCheck: true })

// Ignore warnings about the react-diff-view sourcemap files.
ignoreWarnings([/Failed to parse source map/])
)
10 changes: 10 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\\.(js|jsx|ts|tsx)?$': 'ts-jest',
},
transformIgnorePatterns: ['<rootDir>/node_modules/'],
testMatch: ['<rootDir>>/__tests__/**/*.spec.(js|jsx|ts|tsx)'],
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
}
Loading