From 837084335d2706b2dfcd5784b6074766044f7899 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sat, 25 Jul 2020 21:17:01 +0800 Subject: [PATCH] Revert file move Put `index.ts` back to `lib` for a simpler npmignore. --- .npmignore | 3 +-- index.ts | 17 ----------------- lib/index.ts | 17 +++++++++++++++++ 3 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 index.ts create mode 100644 lib/index.ts diff --git a/.npmignore b/.npmignore index 5c5885a..54bdf08 100644 --- a/.npmignore +++ b/.npmignore @@ -16,5 +16,4 @@ rollup.config.js tsconfig.json yarn.lock **/*.test.d.ts -index.ts - +*.log diff --git a/index.ts b/index.ts deleted file mode 100644 index b075169..0000000 --- a/index.ts +++ /dev/null @@ -1,17 +0,0 @@ -import Button from './lib/components/Button/Button' -import Checkbox from './lib/components/Checkbox/Checkbox' -import Icon from './lib/components/Icon/Icon' -import RadioButton from './lib/components/RadioButton/RadioButton' -import Select from './lib/components/Select/Select' -import Slider from './lib/components/Slider/Slider' -import TextInput from './lib/components/TextInput/TextInput' - -export { - Button, - Checkbox, - Icon, - RadioButton, - Select, - Slider, - TextInput, -} diff --git a/lib/index.ts b/lib/index.ts new file mode 100644 index 0000000..43b0c73 --- /dev/null +++ b/lib/index.ts @@ -0,0 +1,17 @@ +import Button from './components/Button/Button' +import Checkbox from './components/Checkbox/Checkbox' +import Icon from './components/Icon/Icon' +import RadioButton from './components/RadioButton/RadioButton' +import Select from './components/Select/Select' +import Slider from './components/Slider/Slider' +import TextInput from './components/TextInput/TextInput' + +export { + Button, + Checkbox, + Icon, + RadioButton, + Select, + Slider, + TextInput, +}