Skip to content

Commit

Permalink
bump to version v1.0.0-beta.1 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
crrashh1542 authored Nov 10, 2023
2 parents e75e928 + 00feb59 commit 949b4e1
Show file tree
Hide file tree
Showing 6 changed files with 395 additions and 231 deletions.
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "win-up-to-date",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"description": "A website project showing the latest status of Windows Insider versions.",
"main": "index.js",
"repository": "https://github.com/crrashh1542/win-up-to-date",
Expand All @@ -14,26 +14,25 @@
},
"dependencies": {
"@fluentui/web-components": "^2.5.16",
"axios": "^1.6.0",
"core-js": "^3.31.0",
"axios": "^1.6.1",
"core-js": "^3.33.2",
"moment": "^2.29.4",
"normalize.css": "^8.0.1",
"vue": "^3.3.7",
"vue-router": "^4.2.4",
"webpack": "^5.89.0"
"vue": "^3.3.8",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/eslint-parser": "^7.12.16",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"autoprefixer": "^10.4.16",
"compression-webpack-plugin": "^10.0.0",
"eslint": "^8.43.0",
"eslint-plugin-vue": "^9.15.0",
"eslint": "^8.53.0",
"eslint-plugin-vue": "^9.18.1",
"less": "^4.1.3",
"less-loader": "^11.1.3",
"postcss": "^8.4.31",
Expand Down
4 changes: 2 additions & 2 deletions prebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function writeInfo() {
const content = ` {
"time": "` + getTime() + `",
"hash": "` + getHash() + `",
"build": "` + getBuild() + `"
"build": ` + getBuild() + `
}`

// 新建 temp 文件夹
Expand All @@ -63,5 +63,5 @@ function writeInfo() {

}

// STEP6 -------- 导出函数
// STEP5 -------- 导出函数
module.exports = writeInfo
7 changes: 3 additions & 4 deletions src/components/BottomNav.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script>
const navSections = [
// 由于伪类的居中问题,故直接放 ../assets/fonts/iconfont/iconfont.less 的 UTF-8 编码
{
"path": "/",
"icon": "icon-home",
Expand All @@ -27,8 +26,8 @@ export default {
<router-link v-for="s in navSections" :to="s.path"
:key="s.value" class="inline text-center basis-1/2 py-2">

<span class="icon block text-2xl p-1.5" :class="s.icon"></span>
<span class="block text-sm p-1">{{ s.text }}</span>
<span class="icon block text-xl pt-1 pb-0.5" :class="s.icon"></span>
<span class="block text-sm py-0.5">{{ s.text }}</span>

</router-link>

Expand All @@ -42,7 +41,7 @@ export default {
display: var(--nav-display);
background-color: @wu-color-nav;
backdrop-filter: blur(3px);
border-top: 1px solid #999;
border-top: 1px solid @wu-color-split-line;
.path-active { // router 活跃状态(处于当前页时)的配置 class
color: @wu-color-theme;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default {
.footer {
--footer-line-height: 1.6;
--footer-margin: .9em 0;
--footer-bottom-spacing: 88px;
--footer-bottom-spacing: 73px;
}
}
Expand Down
4 changes: 1 addition & 3 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// 引入配置及插件
const { defineConfig } = require('@vue/cli-service')
const { resolve } = require('path')
const fs = require('fs')
const Webpack = require('webpack')
const SpeedMeasurePlugin = require('speed-measure-webpack-plugin')
const CompressionWebpackPlugin = require('compression-webpack-plugin')

Expand Down Expand Up @@ -53,7 +51,7 @@ module.exports = defineConfig({
config.module.rule('vue').use('vue-loader').tap(options => ({
...options,
compilerOptions: {
// 不解析所有 fluent- 开头的元素
// 不解析所有 fluent- 开头的元素,作为自定义元素加载
isCustomElement: tag => tag.startsWith('fluent-')
}
}))
Expand Down
Loading

0 comments on commit 949b4e1

Please sign in to comment.