Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3 from jaredpalmer/add-zop-component
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer authored Sep 23, 2020
2 parents 6993d57 + a27e073 commit 3558596
Show file tree
Hide file tree
Showing 4 changed files with 2,332 additions and 114 deletions.
9 changes: 9 additions & 0 deletions .changeset/fresh-zoos-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@thefakeorg/react': patch
---

This adds a brand new Zop component. This is a test
of a multiline changeset

- And a list
- How about another bullet
24 changes: 22 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"devDependencies": {
"@changesets/changelog-github": "^0.2.7",
"@changesets/cli": "^2.10.3",
"@size-limit/preset-small-lib": "^4.6.0",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"cypress": "^5.2.0",
"lerna": "^3.15.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"size-limit": "^4.6.0",
"tsdx": "^0.13.2",
"typescript": "^3.9.7"
},
Expand All @@ -19,14 +21,32 @@
"scripts": {
"lerna": "lerna",
"start": "lerna run start --stream --parallel",
"size": "yarn build && size-limit",
"test": "lerna run test --",
"lint": "lerna run lint -- --fix",
"build": "lerna run build",
"start:app": "yarn run build && yarn --cwd example && yarn --cwd example start",
"prepublish": "lerna run prepublish",
"cypress": "cypress run",
"cypress:open": "cypress open",
"changeset": "changeset",
"release": "changeset publish"
}
},
"size-limit": [
{
"path": "packages/react/dist/*.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "packages/react/dist/*.esm.js",
"limit": "10 KB"
},
{
"path": "packages/utils/dist/*.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "packages/utils/dist/*.esm.js",
"limit": "10 KB"
}
]
}
4 changes: 4 additions & 0 deletions packages/react/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ export function Slug(props: SlugProps) {
export function Bold({ message }: { message: string }) {
return <b>{message}</b>;
}

export function Zop({ message }: { message: string }) {
return <i>{message}</i>;
}
Loading

0 comments on commit 3558596

Please sign in to comment.