fix: fix npmignore, prevent version cache from being published

This commit is contained in:
Evan You
2018-07-13 10:03:22 -04:00
parent 9e0e114c18
commit 30dbad8ff1
23 changed files with 43 additions and 45 deletions

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,3 +1,3 @@
__tests__/
__mocks__/
__tests__
__mocks__
.version

View File

@@ -0,0 +1,2 @@
__tests__
.version

View File

@@ -5,10 +5,6 @@
"bin": {
"vue": "bin/vue.js"
},
"files": [
"bin",
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git"

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -1,2 +1,2 @@
__tests__/
__mocks__/
__tests__
__mocks__

View File

@@ -50,6 +50,6 @@ files.forEach(pkg => {
const npmIgnorePath = path.join(packagesDir, pkg, `.npmignore`)
if (!fs.existsSync(npmIgnorePath)) {
fs.writeFileSync(npmIgnorePath, `__tests__/\n__mocks__/`)
fs.writeFileSync(npmIgnorePath, `__tests__\n__mocks__`)
}
})