mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-05 14:00:17 -06:00
fix: fix npmignore, prevent version cache from being published
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
.version
|
||||
|
||||
2
packages/@vue/cli/lib/util/.npmignore
Normal file
2
packages/@vue/cli/lib/util/.npmignore
Normal file
@@ -0,0 +1,2 @@
|
||||
__tests__
|
||||
.version
|
||||
@@ -5,10 +5,6 @@
|
||||
"bin": {
|
||||
"vue": "bin/vue.js"
|
||||
},
|
||||
"files": [
|
||||
"bin",
|
||||
"lib"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/vue-cli.git"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
__tests__/
|
||||
__mocks__/
|
||||
__tests__
|
||||
__mocks__
|
||||
|
||||
2
scripts/bootstrap.js
vendored
2
scripts/bootstrap.js
vendored
@@ -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__`)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user