Skip to content

Commit

Permalink
Fixed: clean up the project configuration for RN0.71, aligning some p…
Browse files Browse the repository at this point in the history
…ackages to the right version (#271)

* first pass: align deps to fix the 71 versioning

bump RNTA to latest

clean up root config too

now everything works

a bit more cleanup

rnta should only be in the example folder

* dedupe `yarn.lock`

* import `.ts`

* add changelog entry

---------

Co-authored-by: Tommy Nguyen <[email protected]>
  • Loading branch information
kelset and tido64 authored Aug 18, 2023
1 parent 9610aac commit 21ec133
Show file tree
Hide file tree
Showing 12 changed files with 1,385 additions and 2,960 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Next

- Fixed: clean up the project configuration for RN0.71, aligning some packages to the right version [#271](https://github.com/Shopify/restyle/pull/271) by [kelset](https://github.com/kelset) & [tido64](https://github.com/tido64)

## 2.4.2 - 2023-03-30

- Fixed: Variant with breakpoints memoizing separate values into the same hash key by deconstructing breakpoint objects into strings [#241](https://github.com/Shopify/restyle/pull/241) by [mattfrances](https://github.com/mattfrances)
Expand Down
8 changes: 4 additions & 4 deletions fixture/App.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React, {useState} from 'react';
import {SafeAreaView, Switch} from 'react-native';

import type {VariantProps} from './restyle';
import {
ThemeProvider,
createBox,
createText,
createRestyleComponent,
createVariant,
VariantProps,
} from '@shopify/restyle';
import {SafeAreaView, Switch} from 'react-native';

} from './restyle';
import {theme, darkTheme, Theme} from './theme';

const Box = createBox<Theme>();
Expand Down
2 changes: 1 addition & 1 deletion fixture/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_relative '../../node_modules/react-native-test-app/test_app'
require_relative '../node_modules/react-native-test-app/test_app'

use_flipper! false if ENV['USE_FLIPPER'] == '0'

Expand Down
Loading

0 comments on commit 21ec133

Please sign in to comment.