🤖 Ajout de script pour faciliter la MAJ des paquets

C'est pas encore parfait, mais les commandes fournies par yarn
workspaces ne me semble pas aussi sophistiquées que dans lerna.
pull/1317/head
Maxime Quandalle 2020-12-16 15:01:53 +01:00
parent 5543532337
commit 037e37599e
1 changed files with 4 additions and 3 deletions

View File

@ -101,9 +101,9 @@
"yaml-loader": "^0.5.0"
},
"optionalDependencies": {
"bundlesize": "^0.18.0",
"cypress": "^3.6.1",
"prerender-spa-plugin": "^3.4.0",
"bundlesize": "^0.18.0"
"prerender-spa-plugin": "^3.4.0"
},
"scripts": {
"lint:eslintrc": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
@ -119,7 +119,8 @@
"test:regressions": "jest",
"clean": "yarn workspaces run clean",
"start": "yarn workspace publicodes build --watch & yarn workspace publicodes-react build --watch & yarn workspace mon-entreprise start",
"moso:up": "yarn workspace modele-social run up"
"moso:up": "yarn workspace modele-social run up && yarn workspace mon-entreprise upgrade modele-social",
"publicodes:up": "yarn workspace publicodes-react upgrade publicodes && yarn workspace mon-entreprise upgrade publicodes publicodes-react"
},
"workspaces": [
"publicodes/core",