Skip to content

Commit

Permalink
Merge pull request #1306 from Availity/fixing-import
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-a-young authored Aug 17, 2023
2 parents 9b2ecdb + a316697 commit 2710fd0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/typography/index.js

This file was deleted.

14 changes: 11 additions & 3 deletions packages/typography/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@
},
"license": "MIT",
"author": "Tyson Warner <[email protected]>",
"main": "index.js",
"types": "index.d.ts",
"browser": "./dist/index.js",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts",
"dev": "tsup src/index.ts --format esm,cjs --watch --dts",
"clean": "rm -rf dist",
"clean:nm": "rm -rf node_modules",
"bundlesize": "bundlesize",
"publish": "yarn npm publish --tolerate-republish --access public",
"publish:canary": "yarn npm publish --access public --tag canary"
},
Expand All @@ -30,7 +37,8 @@
},
"devDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react-dom": "^17.0.2",
"tsup": "^5.12.7"
},
"peerDependencies": {
"react": ">=16.3.0"
Expand Down
2 changes: 2 additions & 0 deletions packages/typography/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default as Agreement } from './Agreement';
export { default as Disclaimer } from './Disclaimer';
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,7 @@ __metadata:
prop-types: ^15.8.1
react: ^17.0.2
react-dom: ^17.0.2
tsup: ^5.12.7
peerDependencies:
react: ">=16.3.0"
languageName: unknown
Expand Down

0 comments on commit 2710fd0

Please sign in to comment.