Skip to content

Commit

Permalink
chore(global): change lib name
Browse files Browse the repository at this point in the history
  • Loading branch information
leoarmelin committed Aug 7, 2021
1 parent bffd1d2 commit 79e07ec
Show file tree
Hide file tree
Showing 9 changed files with 236 additions and 22 deletions.
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This example was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

It is linked to the react-typography package in the parent directory for development purposes.
It is linked to the react-easy-typography package in the parent directory for development purposes.

You can run `yarn install` and then `yarn start` to test your package.
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "react-typography-example",
"name": "react-easy-typography-example",
"homepage": ".",
"version": "0.0.0",
"private": true,
Expand All @@ -21,7 +21,7 @@
"react-dom": "link:../node_modules/react-dom",
"react-scripts": "link:../node_modules/react-scripts",
"typescript": "link:../node_modules/typescript",
"react-typography": "link:.."
"react-easy-typography": "link:.."
},
"devDependencies": {
"@babel/plugin-syntax-object-rest-spread": "^7.8.3"
Expand Down
5 changes: 1 addition & 4 deletions example/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>react-typography</title>
</head>

<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<noscript> You need to enable JavaScript to run this app. </noscript>

<div id="root"></div>

Expand Down
4 changes: 2 additions & 2 deletions example/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "react-typography",
"name": "react-typography",
"short_name": "react-easy-typography",
"name": "react-easy-typography",
"icons": [
{
"src": "favicon.ico",
Expand Down
4 changes: 2 additions & 2 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';

import { Typography } from 'react-typography';
import { Typography } from 'react-easy-typography';

import { Container, ExamplesContainer, Button } from './styles/App';
import GlobalStyle from './styles/global';
Expand All @@ -15,7 +15,7 @@ const App = () => {
<Container>
<GlobalStyle />
<Typography type='TitleOne' className='title'>
Welcome to react-typography!
Welcome to react-easy-typography!
</Typography>
<Typography type='TitleThree'>
Choose one of the examples to run:
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/Classname.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import { Typography } from 'react-typography';
import { Typography } from 'react-easy-typography';

import { Container } from '../styles/Classname';

Expand Down
2 changes: 1 addition & 1 deletion example/src/styles/Styled.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled from 'styled-components';

import { TypographyStyle } from 'react-typography';
import { TypographyStyle } from 'react-easy-typography';

export const Caption = styled(TypographyStyle)``;

Expand Down
233 changes: 225 additions & 8 deletions example/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "An easy-to-use lib to create typography components with styled-components",
"author": "leoarmelin",
"license": "MIT",
"repository": "leoarmelin/react-typography",
"repository": "leoarmelin/react-easy-typography",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.tsx",
Expand Down

0 comments on commit 79e07ec

Please sign in to comment.