Skip to content

Commit

Permalink
Merge pull request strapi#1206 from strapi/fix-publish-build
Browse files Browse the repository at this point in the history
Fix fail build on publish npm release
  • Loading branch information
lauriejim authored May 16, 2018
2 parents eeaba81 + 4069a3b commit 7ff50b9
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/strapi-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"generate": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/plop --plopfile ./node_modules/strapi-helper-plugin/lib/internals/generators/index.js",
"prettier": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/prettier --single-quote --trailing-comma es5 --write \"{admin,__{tests,mocks}__}/**/*.js\"",
"test": "echo \"Error: no test specified\"",
"prepublishOnly": "npm run build",
"prepublishOnly": "IS_MONOREPO=true npm run build",
"setup": "node ./scripts/setup.js",
"presetup": "node ./scripts/preSetup.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-bookshelf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-ejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-generate-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-generate-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-generate-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-generate-new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-generate-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-generate-policy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-generate-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}
2 changes: 1 addition & 1 deletion packages/strapi-plugin-content-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"generate": "node ./node_modules/plop/plop.js --plopfile ./node_modules/strapi-helper-plugin/lib/internals/generators/index.js",
"prettier": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/prettier --single-quote --trailing-comma es5 --write \"{admin,__{tests,mocks}__}/**/*.js\"",
"test": "echo \"Error: no test specified\"",
"prepublishOnly": "npm run build"
"prepublishOnly": "IS_MONOREPO=true npm run build"
},
"devDependencies": {
"react-select": "^1.0.0-rc.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-content-type-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"generate": "node ./node_modules/plop/plop.js --plopfile node_modules/strapi-helper-plugin/lib/internals/generators/index.js",
"prettier": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/prettier --single-quote --trailing-comma es5 --write \"{admin,__{tests,mocks}__}/**/*.js\"",
"test": "echo \"Error: no test specified\"",
"prepublishOnly": "npm run build"
"prepublishOnly": "IS_MONOREPO=true npm run build"
},
"dependencies": {
"pluralize": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-settings-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lint": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/eslint --ignore-path .gitignore --ignore-pattern '/admin/build/' --config ./node_modules/strapi-helper-plugin/lib/internals/eslint/.eslintrc.json admin",
"prettier": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/prettier --single-quote --trailing-comma es5 --write \"{admin,__{tests,mocks}__}/**/*.js\"",
"test": "npm run lint",
"prepublishOnly": "npm run build"
"prepublishOnly": "IS_MONOREPO=true npm run build"
},
"devDependencies": {
"flag-icon-css": "^2.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"generate": "node ./node_modules/plop/plop.js --plopfile node_modules/strapi-helper-plugin/lib/internals/generators/index.js",
"prettier": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/prettier --single-quote --trailing-comma es5 --write \"{admin,__{tests,mocks}__}/**/*.js\"",
"test": "echo \"Error: no test specified\"",
"prepublishOnly": "npm run build"
"prepublishOnly": "IS_MONOREPO=true npm run build"
},
"dependencies": {
"react-copy-to-clipboard": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/strapi-plugin-users-permissions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"generate": "node ./node_modules/plop/plop.js --plopfile node_modules/strapi-helper-plugin/lib/internals/generators/index.js",
"prettier": "node ./node_modules/strapi-helper-plugin/node_modules/.bin/prettier --single-quote --trailing-comma es5 --write \"{admin,__{tests,mocks}__}/**/*.js\"",
"test": "echo \"Error: no test specified\"",
"prepublishOnly": "npm run build"
"prepublishOnly": "IS_MONOREPO=true npm run build"
},
"dependencies": {
"bcryptjs": "^2.4.3",
Expand Down

0 comments on commit 7ff50b9

Please sign in to comment.