瀏覽代碼

Revert file move

Put `index.ts` back to `lib` for a simpler npmignore.
tags/0.3.0
TheoryOfNekomata 4 年之前
父節點
當前提交
837084335d
共有 3 個文件被更改,包括 18 次插入19 次删除
  1. +1
    -2
      .npmignore
  2. +0
    -17
      index.ts
  3. +17
    -0
      lib/index.ts

+ 1
- 2
.npmignore 查看文件

@@ -16,5 +16,4 @@ rollup.config.js
tsconfig.json
yarn.lock
**/*.test.d.ts
index.ts

*.log

+ 0
- 17
index.ts 查看文件

@@ -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,
}

+ 17
- 0
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,
}

Loading…
取消
儲存