Skip to content

Commit

Permalink
revert: 修复类型和按需引入 0.6.3-alpha.3 (2022-09-03) 🌵🌵🌵
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Sep 3, 2022
1 parent f846940 commit 24266b5
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 112 deletions.
17 changes: 11 additions & 6 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,34 @@
English | [Chinese](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.md)

## 0.6.3-alpha.2 (2022-08-02)
## 0.6.3-alpha.3 (2022-09-03)

- 修复了部分组件类型
- 修复了按需引入仍然全部打包的问题

## 0.6.3-alpha.2 (2022-09-02)

- Fix config file
- A bug fixed in `vitepress`

## 0.6.3-alpha.1 (2022-08-02)
## 0.6.3-alpha.1 (2022-09-02)

- Fixed issues related to package import
- However, there are still problems in `vitepress`, which can be used normally in normal projects

## 0.6.2-alpha.10 (2022-08-02)
## 0.6.2-alpha.10 (2022-09-02)

- Test and repair problems introduced by build

## 0.6.2-alpha.9 (2022-08-02)
## 0.6.2-alpha.9 (2022-09-02)

- Test and repair problems introduced by build

## 0.6.2-alpha.8 (2022-08-02)
## 0.6.2-alpha.8 (2022-09-02)

- Test and repair problems introduced by build

## 0.6.2-alpha.7 (2022-08-02)
## 0.6.2-alpha.7 (2022-09-02)

- Test and repair problems introduced by build

Expand Down
17 changes: 11 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,34 @@

中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md)

## 0.6.3-alpha.2 (2022-08-02)
## 0.6.3-alpha.3 (2022-09-03)

- 修复了部分组件类型
- 修复了按需引入仍然全部打包的问题

## 0.6.3-alpha.2 (2022-09-02)

- 修复的配置文件
- 一件修复在 `vitepress` 的错误

## 0.6.3-alpha.1 (2022-08-02)
## 0.6.3-alpha.1 (2022-09-02)

- 已修复打包引入相关的问题
- 但是在 `vitepress` 中仍存在问题,在正常项目中可以正常使用

## 0.6.2-alpha.10 (2022-08-02)
## 0.6.2-alpha.10 (2022-09-02)

- 测试修复打包引入问题

## 0.6.2-alpha.9 (2022-08-02)
## 0.6.2-alpha.9 (2022-09-02)

- 测试修复打包引入问题

## 0.6.2-alpha.8 (2022-08-02)
## 0.6.2-alpha.8 (2022-09-02)

- 测试修复打包引入问题

## 0.6.2-alpha.7 (2022-08-02)
## 0.6.2-alpha.7 (2022-09-02)

- 测试修复打包引入问题

Expand Down
17 changes: 11 additions & 6 deletions docs/docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,34 @@

中文 | [英文](https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.en-US.md)

## 0.6.3-alpha.2 (2022-08-02)
## 0.6.3-alpha.3 (2022-09-03)

- 修复了部分组件类型
- 修复了按需引入仍然全部打包的问题

## 0.6.3-alpha.2 (2022-09-02)

- 修复的配置文件
- 一件修复在 `vitepress` 的错误

## 0.6.3-alpha.1 (2022-08-02)
## 0.6.3-alpha.1 (2022-09-02)

- 已修复打包引入相关的问题
- 但是在 `vitepress` 中仍存在问题,在正常项目中可以正常使用

## 0.6.2-alpha.10 (2022-08-02)
## 0.6.2-alpha.10 (2022-09-02)

- 测试修复打包引入问题

## 0.6.2-alpha.9 (2022-08-02)
## 0.6.2-alpha.9 (2022-09-02)

- 测试修复打包引入问题

## 0.6.2-alpha.8 (2022-08-02)
## 0.6.2-alpha.8 (2022-09-02)

- 测试修复打包引入问题

## 0.6.2-alpha.7 (2022-08-02)
## 0.6.2-alpha.7 (2022-09-02)

- 测试修复打包引入问题

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"rollup-plugin-visualizer": "^5.8.0",
"sass": "^1.50.1",
"typescript": "^4.7.4",
"unplugin-vue-components": "^0.22.0",
"unplugin-vue-setup-extend-plus": "^0.3.2",
"vite": "^3.0.9",
"vite-plugin-dts": "^1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/fighting-design/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fighting-design",
"version": "0.6.3-alpha.2",
"version": "0.6.3-alpha.3",
"description": "Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.",
"keywords": [
"fighting",
Expand Down
75 changes: 7 additions & 68 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packages:
- 'packages/*'
- 'docs'
- 'start'
- 'docs'
8 changes: 3 additions & 5 deletions start/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@ import { createApp } from 'vue'
import App from './src/App.vue'

// 开发阶段引入
import { FButton } from '../packages/fighting-design/components'
// import FightingDesign from '../packages/fighting-design/index'
import FightingDesign from '../packages/fighting-design/index'
import '@fighting-design/fighting-theme'

// 打包阶段引入
// import FightingDesign from '../dist'
// import '../dist/dist/index.css'

// console.log(FightingDesign)
console.log(FightingDesign)

createApp(App)
// .use(FightingDesign)
.use(FButton)
.use(FightingDesign)
.mount('#start')
5 changes: 1 addition & 4 deletions start/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<script lang="ts" setup></script>

<template>
<!-- <f-alert>123</f-alert> -->
<f-button>123</f-button>
</template>
<template />

<style lang="scss" scoped></style>
7 changes: 0 additions & 7 deletions vite.config.lib.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import Components from 'unplugin-vue-components/vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
import dts from 'vite-plugin-dts'
Expand All @@ -16,12 +15,6 @@ export default (): UserConfigExport => {
include: ['./packages/fighting-design']
}),
vueSetupExtend()
// Components({
// dts: resolve(
// __dirname,
// '/packages/fighting-design/global-components.d.ts'
// )
// })
],
mode: 'production',
build: {
Expand Down
7 changes: 0 additions & 7 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import Components from 'unplugin-vue-components/vite'
import type { UserConfigExport } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueSetupExtend from 'unplugin-vue-setup-extend-plus/vite'
Expand All @@ -20,12 +19,6 @@ export default (): UserConfigExport => {
include: ['./packages/fighting-design'] // 手动设置包含路径的 glob
}),
vueSetupExtend(),
// Components({
// dts: resolve(
// __dirname,
// '/packages/fighting-design/global-components.d.ts'
// )
// }),
visualizer()
],
mode: 'production',
Expand Down

0 comments on commit 24266b5

Please sign in to comment.