generator-vue-boilerplate
Advanced tools
Comparing version 1.0.2 to 2.1.0
@@ -58,26 +58,42 @@ 'use strict'; | ||
this.fs.copyTpl( | ||
this.templatePath('vue-boilerplate/src'), | ||
this.templatePath('src'), | ||
this.destinationPath(`${this.options.name}/src`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('vue-boilerplate/test'), | ||
this.templatePath('test'), | ||
this.destinationPath(`${this.options.name}/test`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('vue-boilerplate/config'), | ||
this.templatePath('test/unit/.*'), | ||
this.destinationPath(`${this.options.name}/test/unit`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('static/.*'), | ||
this.destinationPath(`${this.options.name}/static`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('config'), | ||
this.destinationPath(`${this.options.name}/config`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('vue-boilerplate/build'), | ||
this.templatePath('build'), | ||
this.destinationPath(`${this.options.name}/build`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('vue-boilerplate/.*'), | ||
this.templatePath('.*'), | ||
this.destinationPath(`${this.options.name}`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('vue-boilerplate/README.md'), | ||
this.templatePath('index.html'), | ||
this.destinationPath(`${this.options.name}/index.html`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('yarn.lock'), | ||
this.destinationPath(`${this.options.name}/yarn.lock`) | ||
); | ||
this.fs.copyTpl( | ||
this.templatePath('README.md'), | ||
this.destinationPath(`${this.options.name}/README.md`) | ||
); | ||
const pkg = this.fs.readJSON(this.templatePath('vue-boilerplate/package.json'), {}); | ||
const pkg = this.fs.readJSON(this.templatePath('package.json'), {}); | ||
pkg.name = this.options.name; | ||
@@ -84,0 +100,0 @@ pkg.author = this.options.author; |
{ | ||
"name": "generator-vue-boilerplate", | ||
"version": "1.0.2", | ||
"version": "2.1.0", | ||
"description": "yeoman generator for creating vue2.0 single-page web-app", | ||
"author": { | ||
"name": "Raymond", | ||
"email": "gushuangchi@gmail.com" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Raymond", | ||
"email": "gushuangchi@gmail.com" | ||
}, | ||
{ | ||
"name": "hugojing", | ||
"email": "toloric@163.com" | ||
} | ||
], | ||
"files": [ | ||
@@ -10,0 +16,0 @@ "generators" |
@@ -45,3 +45,3 @@ # generator-vue-boilerplate [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] | ||
[npm-url]: https://npmjs.org/package/generator-vue-boilerplate | ||
[travis-image]: https://travis-ci.org/Cody2333/generator-vue-boilerplate.svg?branch=master | ||
[travis-url]: https://travis-ci.org/Cody2333/generator-vue-boilerplate | ||
[travis-image]: https://travis-ci.org/RaymondGsc/generator-vue-boilerplate.svg?branch=master | ||
[travis-url]: https://travis-ci.org/RaymondGsc/generator-vue-boilerplate |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
242497
45
777
3
14
3