mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
commit
2a654349d4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
node_modules
|
||||
dist
|
||||
docDist
|
||||
build-doc/deploy-doc.sh
|
||||
build-doc/dist
|
||||
test-size
|
||||
test-bundle
|
||||
|
@ -1,5 +1,11 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 1.5.0 (2020-07-09)
|
||||
### Breaking Changes
|
||||
- Refactor experimental setting primary color feature.
|
||||
### Fixes
|
||||
- Fix some style glitches.
|
||||
|
||||
## 1.4.1 (2020-06-23)
|
||||
### Features
|
||||
- Add `autofocus` for `n-select`.
|
||||
|
@ -1,5 +1,11 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 1.5.0 (2020-07-09)
|
||||
### Breaking Changes
|
||||
- 重构了试验性的设定主色功能
|
||||
### Fixes
|
||||
- 修正了一些零碎的样式错误
|
||||
|
||||
## 1.4.1 (2020-06-23)
|
||||
### Features
|
||||
- 为 `n-select` 增加了 `autofocus` 属性.
|
||||
|
13
build-doc/generate-deploy-sh.js
Normal file
13
build-doc/generate-deploy-sh.js
Normal file
@ -0,0 +1,13 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
||||
const tpl = fs.readFileSync(
|
||||
path.resolve(__dirname, 'deploy-doc.sh.tpl')
|
||||
).toString()
|
||||
|
||||
const script = tpl.replace(/\$VERSION/g, require('../package.json').version)
|
||||
|
||||
fs.writeFileSync(
|
||||
path.resolve(__dirname, 'deploy-doc.sh'),
|
||||
script
|
||||
)
|
@ -3,7 +3,7 @@ import hljs from './hljs'
|
||||
import demoRouterView from './demoRouterView'
|
||||
import naive from '../lib/index'
|
||||
import '../lib/styles/index.css'
|
||||
import './styles/test-customize-style-scheme.scss' // test
|
||||
// import './styles/test-customize-style-scheme.scss' // test
|
||||
import '../lib/styles/fonts/Lato.css'
|
||||
import '../lib/styles/fonts/FiraCode.css'
|
||||
import createRouter from './routes/router'
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "1.4.1",
|
||||
"version": "1.5.0",
|
||||
"description": "A Vue UI Framework. Caring About Styles, Themed, Batteries Included, Not Rather Slow.",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
@ -18,8 +18,8 @@
|
||||
"lint": "eslint --no-error-on-unmatched-pattern --fix \"src/**/*.{js,vue}\" \"test/**/*.{js,vue}\" \"build/**/*.{js,vue}\" \"demo/**/*.{js,vue}\" && stylelint \"src/_styles/**/*.scss\"",
|
||||
"lint:js": "eslint --no-error-on-unmatched-pattern --fix \"src/**/*.{js,vue}\" \"test/**/*.{js,vue}\" \"build/**/*.{js,vue}\" \"demo/**/*.{js,vue}\"",
|
||||
"lint:style": "stylelint \"src/_styles/**/*.scss\"",
|
||||
"release:doc": "npm run build:doc && sudo bash build-doc/deploy-doc.sh",
|
||||
"release:doc:no-build": "sudo bash build-doc/deploy-doc.sh",
|
||||
"release:doc": "npm run build:doc && node build-doc/generate-deploy-sh.js &&sudo bash build-doc/deploy-doc.sh",
|
||||
"release:doc:no-build": "node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh",
|
||||
"release:package": "npm run build && npm publish",
|
||||
"test": "cross-env NODE_ENV=test jest"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user