forked from team-innovation/vue-sfc-rollup
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from FEMessage/dev
- Loading branch information
Showing
7 changed files
with
172 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const mri = require('mri') | ||
|
||
module.exports = (_args = process.argv) => { | ||
const parsed = mri(_args, { | ||
alias: { | ||
u: 'upgrade' | ||
}, | ||
string: ['files'] | ||
}) | ||
|
||
const args = parsed._ | ||
delete parsed._ | ||
|
||
return { | ||
has(name) { | ||
return parsed[name] !== undefined | ||
}, | ||
get(name) { | ||
return parsed[name] | ||
}, | ||
options: parsed, | ||
args | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
module.exports = { | ||
"dataSource": "prs", | ||
"prefix": "", | ||
"ignoreLabels": ["duplicate", "help wanted", "invalid", "question", "wontfix"], | ||
"ignoreIssuesWith": ["duplicate", "help wanted", "invalid", "question", "wontfix"], | ||
"onlyMilestones": false, | ||
"changelogFilename": "CHANGELOG.md", | ||
"template": { | ||
"issue": "- {{name}} [{{text}}]({{url}})" | ||
}, | ||
"groupBy": { | ||
"✨ New Features:": ["enhancement"], | ||
"🐛 Bug Fixes:": ["bug"] | ||
} | ||
dataSource: 'prs', | ||
prefix: '', | ||
ignoreLabels: ['duplicate', 'help wanted', 'invalid', 'question', 'wontfix'], | ||
ignoreIssuesWith: [ | ||
'duplicate', | ||
'help wanted', | ||
'invalid', | ||
'question', | ||
'wontfix' | ||
], | ||
onlyMilestones: false, | ||
changelogFilename: 'CHANGELOG.md', | ||
template: { | ||
issue: '- {{name}} [{{text}}]({{url}})' | ||
}, | ||
groupBy: { | ||
'✨ New Features:': ['enhancement'], | ||
'🐛 Bug Fixes:': ['bug'] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -685,7 +685,7 @@ debug@^3.1.0: | |
dependencies: | ||
ms "^2.1.1" | ||
|
||
debuglog@*, debuglog@^1.0.1: | ||
debuglog@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.npm.taobao.org/debuglog/download/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" | ||
|
||
|
@@ -1298,7 +1298,7 @@ import-lazy@^2.1.0: | |
version "2.1.0" | ||
resolved "https://registry.npm.taobao.org/import-lazy/download/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" | ||
|
||
imurmurhash@*, imurmurhash@^0.1.4: | ||
imurmurhash@^0.1.4: | ||
version "0.1.4" | ||
resolved "https://registry.npm.taobao.org/imurmurhash/download/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" | ||
|
||
|
@@ -1619,7 +1619,7 @@ libnpm@^2.0.1: | |
read-package-json "^2.0.13" | ||
stringify-package "^1.0.0" | ||
|
||
libnpmaccess@*, libnpmaccess@^3.0.1: | ||
libnpmaccess@^3.0.1: | ||
version "3.0.1" | ||
resolved "https://registry.npm.taobao.org/libnpmaccess/download/libnpmaccess-3.0.1.tgz#5b3a9de621f293d425191aa2e779102f84167fa8" | ||
dependencies: | ||
|
@@ -1645,7 +1645,7 @@ libnpmhook@^5.0.2: | |
get-stream "^4.0.0" | ||
npm-registry-fetch "^3.8.0" | ||
|
||
libnpmorg@*, libnpmorg@^1.0.0: | ||
libnpmorg@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.npm.taobao.org/libnpmorg/download/libnpmorg-1.0.0.tgz#979b868c48ba28c5820e3bb9d9e73c883c16a232" | ||
dependencies: | ||
|
@@ -1668,15 +1668,15 @@ libnpmpublish@^1.1.0: | |
semver "^5.5.1" | ||
ssri "^6.0.1" | ||
|
||
libnpmsearch@*, libnpmsearch@^2.0.0: | ||
libnpmsearch@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.npm.taobao.org/libnpmsearch/download/libnpmsearch-2.0.0.tgz#de05af47ada81554a5f64276a69599070d4a5685" | ||
dependencies: | ||
figgy-pudding "^3.5.1" | ||
get-stream "^4.0.0" | ||
npm-registry-fetch "^3.8.0" | ||
|
||
libnpmteam@*, libnpmteam@^1.0.1: | ||
libnpmteam@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.npm.taobao.org/libnpmteam/download/libnpmteam-1.0.1.tgz#ff704b1b6c06ea674b3b1101ac3e305f5114f213" | ||
dependencies: | ||
|
@@ -1744,39 +1744,17 @@ lockfile@^1.0.4: | |
dependencies: | ||
signal-exit "^3.0.2" | ||
|
||
lodash._baseindexof@*: | ||
version "3.1.0" | ||
resolved "https://registry.npm.taobao.org/lodash._baseindexof/download/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" | ||
|
||
lodash._baseuniq@~4.6.0: | ||
version "4.6.0" | ||
resolved "https://registry.npm.taobao.org/lodash._baseuniq/download/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" | ||
dependencies: | ||
lodash._createset "~4.0.0" | ||
lodash._root "~3.0.0" | ||
|
||
lodash._bindcallback@*: | ||
version "3.0.1" | ||
resolved "https://registry.npm.taobao.org/lodash._bindcallback/download/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" | ||
|
||
lodash._cacheindexof@*: | ||
version "3.0.2" | ||
resolved "https://registry.npm.taobao.org/lodash._cacheindexof/download/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" | ||
|
||
lodash._createcache@*: | ||
version "3.1.2" | ||
resolved "https://registry.npm.taobao.org/lodash._createcache/download/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" | ||
dependencies: | ||
lodash._getnative "^3.0.0" | ||
|
||
lodash._createset@~4.0.0: | ||
version "4.0.3" | ||
resolved "https://registry.npm.taobao.org/lodash._createset/download/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" | ||
|
||
lodash._getnative@*, lodash._getnative@^3.0.0: | ||
version "3.9.1" | ||
resolved "https://registry.npm.taobao.org/lodash._getnative/download/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" | ||
|
||
lodash._reinterpolate@~3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.npm.taobao.org/lodash._reinterpolate/download/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" | ||
|
@@ -1793,10 +1771,6 @@ lodash.ismatch@^4.4.0: | |
version "4.4.0" | ||
resolved "https://registry.npm.taobao.org/lodash.ismatch/download/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" | ||
|
||
lodash.restparam@*: | ||
version "3.6.1" | ||
resolved "https://registry.npm.taobao.org/lodash.restparam/download/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" | ||
|
||
lodash.template@^4.0.2: | ||
version "4.4.0" | ||
resolved "https://registry.npm.taobao.org/lodash.template/download/lodash.template-4.4.0.tgz#e73a0385c8355591746e020b99679c690e68fba0" | ||
|
@@ -2031,6 +2005,11 @@ move-concurrently@^1.0.1: | |
rimraf "^2.5.4" | ||
run-queue "^1.0.3" | ||
|
||
mri@^1.1.4: | ||
version "1.1.4" | ||
resolved "https://registry.npmjs.org/mri/-/mri-1.1.4.tgz#7cb1dd1b9b40905f1fac053abe25b6720f44744a" | ||
integrity sha512-6y7IjGPm8AzlvoUrwAaw1tLnUBudaS3752vcd8JtrpGGQn+rXIe63LFVHm/YMwtqAuh+LJPCFdlLYPWM1nYn6w== | ||
|
||
[email protected]: | ||
version "2.0.0" | ||
resolved "https://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" | ||
|
@@ -2187,7 +2166,7 @@ npm-pick-manifest@^2.2.3: | |
npm-package-arg "^6.0.0" | ||
semver "^5.4.1" | ||
|
||
npm-profile@*, npm-profile@^4.0.1: | ||
npm-profile@^4.0.1: | ||
version "4.0.1" | ||
resolved "https://registry.npm.taobao.org/npm-profile/download/npm-profile-4.0.1.tgz#d350f7a5e6b60691c7168fbb8392c3603583f5aa" | ||
dependencies: | ||
|
@@ -2812,7 +2791,7 @@ readable-stream@~1.1.10: | |
isarray "0.0.1" | ||
string_decoder "~0.10.x" | ||
|
||
readdir-scoped-modules@*, readdir-scoped-modules@^1.0.0: | ||
readdir-scoped-modules@^1.0.0: | ||
version "1.0.2" | ||
resolved "https://registry.npm.taobao.org/readdir-scoped-modules/download/readdir-scoped-modules-1.0.2.tgz#9fafa37d286be5d92cbaebdee030dc9b5f406747" | ||
dependencies: | ||
|