Skip to content

Commit

Permalink
formatted rest of the files
Browse files Browse the repository at this point in the history
  • Loading branch information
alduzy committed Jul 17, 2024
1 parent 85b7b26 commit 1e45811
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Example/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
1 change: 0 additions & 1 deletion Example/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
"name": "ScreensExample",
"displayName": "ScreensExample"
}

1 change: 1 addition & 0 deletions FabricExample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Installing & running application

Before running application you need to install all dependencies. To do that:

- In project's root directory run `yarn install`
- In FabricExample directory run `yarn install`

Expand Down
2 changes: 1 addition & 1 deletion FabricExample/__tests__/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import React from 'react';
import App from '../App';

// Note: import explicitly to use the types shipped with jest.
import {it} from '@jest/globals';
import { it } from '@jest/globals';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
Expand Down
10 changes: 5 additions & 5 deletions FabricExample/metro.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');

const fs = require('fs');
const path = require('path');
Expand Down Expand Up @@ -34,8 +34,8 @@ const config = {
blockList: exclusionList(
modules.map(
m =>
new RegExp(`^${escape(path.join(rnsRoot, 'node_modules', m))}\\/.*$`),
),
new RegExp(`^${escape(path.join(rnsRoot, 'node_modules', m))}\\/.*$`)
)
),

extraNodeModules: modules.reduce((acc, name) => {
Expand Down Expand Up @@ -64,15 +64,15 @@ const config = {
__dirname,
'node_modules',
moduleName,
`index${ext}`,
`index${ext}`
);

const possibleSrcPath = path.join(
__dirname,
'node_modules',
moduleName,
'src',
`index${ext}`,
`index${ext}`
);

if (fs.existsSync(possiblePath)) {
Expand Down
1 change: 0 additions & 1 deletion TVOSExample/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{}

2 changes: 1 addition & 1 deletion TVOSExample/__tests__/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import React from 'react';
import App from '../App';

// Note: import explicitly to use the types shipped with jest.
import {it} from '@jest/globals';
import { it } from '@jest/globals';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
Expand Down

0 comments on commit 1e45811

Please sign in to comment.