Skip to content

Commit a6de413

Browse files
authored
v1.0.11
2 parents bc16f14 + 18d7f18 commit a6de413

File tree

192 files changed

+21725
-2201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+21725
-2201
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## [vue](./README.md) version `changelog`
22

3+
##### `v1.0.11`
4+
- refactor: project directory structure
5+
- update: vuejs-templates/webpack to `1.3.1`
6+
- update: vue to `2.5.13`
7+
- chore: dependencies update
8+
39
##### `v1.0.10`
410
- fix: `className` -> `class`
511
- refactor: `<b-input-group-prepend>`
@@ -33,7 +39,7 @@
3339
- refactor: Modal's ok-button variants
3440
- refactor: forms with validation feedback
3541
- update: bootstrap-vue to `1.1.0`
36-
- update: to vue: `2.5.6`
42+
- update: vue to `2.5.6`
3743

3844
###### `v1.0.5`
3945
- update: bootstrap-vue to `1.0.x`

Vue_Full_Project/.babelrc

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
22
"presets": [
3-
["env", { "modules": false }],
3+
["env", {
4+
"modules": false,
5+
"targets": {
6+
"browsers": ["> 1%", "last 2 versions", "not ie <= 9"]
7+
}
8+
}],
49
"stage-2"
510
],
6-
"plugins": ["transform-runtime"],
7-
"comments": false,
11+
"plugins": ["transform-vue-jsx", "transform-runtime"],
812
"env": {
913
"test": {
1014
"presets": ["env", "stage-2"],
11-
"plugins": [ "istanbul" ]
15+
"plugins": ["transform-vue-jsx", "istanbul"]
1216
}
1317
}
1418
}

Vue_Full_Project/.eslintignore

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
build/*.js
2-
config/*.js
1+
/build/
2+
/config/
3+
/dist/
4+
/*.js
5+
/test/unit/coverage/
6+
/test/e2e/specs

Vue_Full_Project/.eslintrc.js

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
// http://eslint.org/docs/user-guide/configuring
1+
// https://eslint.org/docs/user-guide/configuring
22

33
module.exports = {
44
root: true,
5-
parser: 'babel-eslint',
65
parserOptions: {
7-
sourceType: 'module'
6+
parser: 'babel-eslint'
87
},
98
env: {
109
browser: true,
1110
},
12-
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
13-
extends: 'standard',
11+
extends: [
12+
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
13+
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
14+
'plugin:vue/essential',
15+
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
16+
'standard'
17+
],
1418
// required to lint *.vue files
1519
plugins: [
16-
'html'
20+
'vue'
1721
],
1822
// add your custom rules here
19-
'rules': {
20-
// allow paren-less arrow functions
21-
'arrow-parens': 0,
23+
rules: {
2224
// allow async-await
23-
'generator-star-spacing': 0,
25+
'generator-star-spacing': 'off',
2426
// allow debugger during development
25-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
27+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
2628
}
2729
}

Vue_Full_Project/.gitignore

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
.DS_Store
22
node_modules/
3-
dist/
3+
/dist/
44
npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
7-
test/unit/coverage
8-
test/e2e/reports
7+
/test/unit/coverage/
8+
/test/e2e/reports/
99
selenium-debug.log
10+
11+
# Editor directories and files
12+
.idea
13+
.vscode
14+
*.suo
15+
*.ntvs*
16+
*.njsproj
17+
*.sln

Vue_Full_Project/.postcssrc.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
module.exports = {
44
"plugins": {
5-
// to edit target browsers: use "browserlist" field in package.json
5+
"postcss-import": {},
6+
"postcss-url": {},
7+
// to edit target browsers: use "browserslist" field in package.json
68
"autoprefixer": {}
79
}
810
}

Vue_Full_Project/CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## [vue](./README.md) version `changelog`
22

3+
##### `v1.0.11`
4+
- refactor: project directory structure
5+
- update: vuejs-templates/webpack to `1.3.1`
6+
- update: vue to `2.5.13`
7+
- chore: dependencies update
8+
39
##### `v1.0.10`
410
- fix: `className` -> `class`
511
- refactor: `<b-input-group-prepend>`
@@ -33,7 +39,7 @@
3339
- refactor: Modal's ok-button variants
3440
- refactor: forms with validation feedback
3541
- update: bootstrap-vue to `1.1.0`
36-
- update: to vue: `2.5.6`
42+
- update: vue to `2.5.6`
3743

3844
###### `v1.0.5`
3945
- update: bootstrap-vue to `1.0.x`

Vue_Full_Project/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# core-ui
1+
# CoreUI Vue
22

3-
> Open Source Admin Template
3+
> CoreUI Vue Open Source Bootsrtap 4 Admin Template
44
55
## Build Setup
66

@@ -27,4 +27,4 @@ npm run e2e
2727
npm test
2828
```
2929

30-
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
30+
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

Vue_Full_Project/build/build.js

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,37 @@
1+
'use strict'
12
require('./check-versions')()
23

34
process.env.NODE_ENV = 'production'
45

5-
var ora = require('ora')
6-
var rm = require('rimraf')
7-
var path = require('path')
8-
var chalk = require('chalk')
9-
var webpack = require('webpack')
10-
var config = require('../config')
11-
var webpackConfig = require('./webpack.prod.conf')
6+
const ora = require('ora')
7+
const rm = require('rimraf')
8+
const path = require('path')
9+
const chalk = require('chalk')
10+
const webpack = require('webpack')
11+
const config = require('../config')
12+
const webpackConfig = require('./webpack.prod.conf')
1213

13-
var spinner = ora('building for production...')
14+
const spinner = ora('building for production...')
1415
spinner.start()
1516

1617
rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {
1718
if (err) throw err
18-
webpack(webpackConfig, function (err, stats) {
19+
webpack(webpackConfig, (err, stats) => {
1920
spinner.stop()
2021
if (err) throw err
2122
process.stdout.write(stats.toString({
2223
colors: true,
2324
modules: false,
24-
children: false,
25+
children: false, // If you are using ts-loader, setting this to true will make TypeScript errors show up during build.
2526
chunks: false,
2627
chunkModules: false
2728
}) + '\n\n')
2829

30+
if (stats.hasErrors()) {
31+
console.log(chalk.red(' Build failed with errors.\n'))
32+
process.exit(1)
33+
}
34+
2935
console.log(chalk.cyan(' Build complete.\n'))
3036
console.log(chalk.yellow(
3137
' Tip: built files are meant to be served over an HTTP server.\n' +

Vue_Full_Project/build/check-versions.js

+17-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
var chalk = require('chalk')
2-
var semver = require('semver')
3-
var packageConfig = require('../package.json')
4-
var shell = require('shelljs')
1+
'use strict'
2+
const chalk = require('chalk')
3+
const semver = require('semver')
4+
const packageConfig = require('../package.json')
5+
const shell = require('shelljs')
6+
57
function exec (cmd) {
68
return require('child_process').execSync(cmd).toString().trim()
79
}
810

9-
var versionRequirements = [
11+
const versionRequirements = [
1012
{
1113
name: 'node',
1214
currentVersion: semver.clean(process.version),
1315
versionRequirement: packageConfig.engines.node
14-
},
16+
}
1517
]
1618

1719
if (shell.which('npm')) {
@@ -23,9 +25,11 @@ if (shell.which('npm')) {
2325
}
2426

2527
module.exports = function () {
26-
var warnings = []
27-
for (var i = 0; i < versionRequirements.length; i++) {
28-
var mod = versionRequirements[i]
28+
const warnings = []
29+
30+
for (let i = 0; i < versionRequirements.length; i++) {
31+
const mod = versionRequirements[i]
32+
2933
if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {
3034
warnings.push(mod.name + ': ' +
3135
chalk.red(mod.currentVersion) + ' should be ' +
@@ -38,10 +42,12 @@ module.exports = function () {
3842
console.log('')
3943
console.log(chalk.yellow('To use this template, you must update following to modules:'))
4044
console.log()
41-
for (var i = 0; i < warnings.length; i++) {
42-
var warning = warnings[i]
45+
46+
for (let i = 0; i < warnings.length; i++) {
47+
const warning = warnings[i]
4348
console.log(' ' + warning)
4449
}
50+
4551
console.log()
4652
process.exit(1)
4753
}

Vue_Full_Project/build/dev-client.js

-9
This file was deleted.

Vue_Full_Project/build/dev-server.js

-91
This file was deleted.

0 commit comments

Comments
 (0)