Skip to content

Commit 5942242

Browse files
committed
feat: rename package react-native-render-html to @native-html/render
1 parent 0036e10 commit 5942242

207 files changed

Lines changed: 171 additions & 176 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will do a clean install of node dependencies, run JS and Typescript tests.
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

4-
name: render-html
4+
name: render
55

66
on:
77
push:
@@ -29,16 +29,16 @@ jobs:
2929
name: Build dependencies (css-processor)
3030
- run: yarn build:transient-render-engine
3131
name: Build dependencies (transient-render-engine)
32-
- run: yarn test:render-html:ts
32+
- run: yarn test:render:ts
3333
name: Typescript Tests
34-
- run: yarn run test:render-html:lint
34+
- run: yarn run test:render:lint
3535
name: Linting Tests
36-
- run: yarn run test:render-html:jest --coverage
36+
- run: yarn run test:render:jest --coverage
3737
name: Behavior Tests
38-
- run: yarn build:render-html
38+
- run: yarn build:render
3939
name: Build
4040
- uses: codecov/codecov-action@v4
4141
with:
42-
flags: render-html
42+
flags: render
4343
fail_ci_if_error: true
4444
token: ${{ secrets.CODECOV_TOKEN }}

apps/benchmarking/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import html from './source';
66
import {
77
TRenderEngineProvider,
88
RenderHTMLConfigProvider
9-
} from 'react-native-render-html';
9+
} from '@native-html/render';
1010

1111
import Benchmark from './Benchmark';
1212

apps/benchmarking/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ config.resolver = {
2929
'react-dom': path.resolve(projectRoot, 'node_modules/react-dom'),
3030
'react-native': path.resolve(projectRoot, 'node_modules/react-native'),
3131
// Map workspace packages to their source directories
32-
'react-native-render-html': path.resolve(packagesRoot, 'render-html/src'),
32+
'@native-html/render': path.resolve(packagesRoot, 'render/src'),
3333
'@native-html/transient-render-engine': path.resolve(packagesRoot, 'transient-render-engine/src'),
3434
'@native-html/css-processor': path.resolve(packagesRoot, 'css-processor/src'),
3535
// Map dependencies from workspace root

apps/benchmarking/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"dependencies": {
1212
"@jsamr/counter-style": "^2.0.2",
1313
"@jsamr/react-native-li": "^2.3.1",
14+
"@native-html/render": "workspace:*",
1415
"css-to-react-native": "^3.2.0",
1516
"expo": "^54.0.15",
1617
"expo-keep-awake": "~15.0.7",
@@ -19,7 +20,6 @@
1920
"react": "19.1.0",
2021
"react-dom": "19.1.0",
2122
"react-native": "0.81.5",
22-
"react-native-render-html": "workspace:*",
2323
"react-native-render-html-v5": "npm:react-native-render-html@^5.0.0",
2424
"react-native-safe-area-context": "^5.6.1",
2525
"react-native-web": "^0.21.2",

apps/benchmarking/profiles/ProfileV6Source.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React from 'react';
22
import { useWindowDimensions } from 'react-native';
3-
import { RenderHTMLSource, TRenderEngineProvider } from 'react-native-render-html';
3+
import { RenderHTMLSource, TRenderEngineProvider } from '@native-html/render';
44

55
export default function ProfileV6Source({ running, html, ignoredDomTags, ...otherProps }) {
66
const { width } = useWindowDimensions();
7-
7+
88
if (!html || !running) {
99
return null;
1010
}

apps/discovery/app.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
expo: {
33
name: 'RNRH Discovery',
4-
slug: 'react-native-render-html-discovery',
4+
slug: '@native-html/render-discovery',
55
description:
66
'An App to discover React Native Render HTML features and API!',
77
version: require('./version').demo,

apps/discovery/assets/svg/data-flow.svg

Lines changed: 2 additions & 2 deletions
Loading

apps/discovery/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@jsamr/counter-style": "^2.0.2",
2727
"@jsamr/react-native-li": "^2.3.1",
2828
"@mobily/stacks": "^2.2.2",
29+
"@native-html/render": "workspace:*",
2930
"@react-native-community/masked-view": "0.1.11",
3031
"@react-native-community/slider": "5.0.1",
3132
"@react-native-picker/picker": "2.11.1",
@@ -55,7 +56,6 @@
5556
"react-native-pager-view": "^6.9.1",
5657
"react-native-paper": "^5.14.5",
5758
"react-native-reanimated": "~4.1.1",
58-
"react-native-render-html": "workspace:*",
5959
"react-native-safe-area-context": "^5.6.1",
6060
"react-native-screens": "~4.16.0",
6161
"react-native-svg": "~15.12.0",

apps/discovery/src/components/RenderHtmlCardOrganism.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import IconNucleon, { IconNucleonProps } from './nucleons/IconNucleon';
88
import { useColorRoles } from '../theme/colorSystem';
99
import { useNuclearContentWidth } from './nucleons/useContentWidthContext';
1010
import { PropsWithStyle } from './nucleons/types';
11-
import { RenderHTMLProps, HTMLSourceInline } from 'react-native-render-html';
11+
import { RenderHTMLProps, HTMLSourceInline } from '@native-html/render';
1212
import { TouchableWithoutFeedbackProps } from 'react-native';
1313
import GestureHandlerAdapterNucleon from './nucleons/GestureHandlerAdapterNucleon';
1414
import { Card, TouchableRipple } from 'react-native-paper';

apps/discovery/src/components/UIHtmlDisplayMolecule.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { View, StyleProp, ViewStyle } from 'react-native';
33
import RenderHTML, {
44
AElementConfig,
55
RenderHTMLProps
6-
} from 'react-native-render-html';
6+
} from '@native-html/render';
77
import UIDisplayLoadingAtom from './UIDisplayLoadingAtom';
88
import useOnLinkPress from '../hooks/useOnLinkPress';
99
import { useColorRoles } from '../theme/colorSystem';

0 commit comments

Comments
 (0)