diff --git a/mon-entreprise/package.json b/mon-entreprise/package.json index 85e2812e0..a1c05c565 100644 --- a/mon-entreprise/package.json +++ b/mon-entreprise/package.json @@ -99,7 +99,7 @@ "reselect": "^4.0.0", "styled-components": "^5.1.0", "swr": "^0.1.16", - "systeme-social": "^1.0.0", + "systeme-social": "^0.1.0", "whatwg-fetch": "^3.0.0", "yaml": "^1.9.2" }, diff --git a/package.json b/package.json index 59593154b..4dfe8d45a 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,8 @@ "test:type": "yarn workspace publicodes run tsc && yarn workspace mon-entreprise run tsc", "test:regressions": "jest", "clean": "yarn workspaces run clean", - "start": "yarn workspace publicodes build --watch & yarn workspace mon-entreprise start" + "start": "yarn workspace publicodes build --watch & yarn workspace mon-entreprise start", + "syso:up": "yarn workspace systeme-social run up" }, "workspaces": [ "publicodes", diff --git a/systeme-social/.yarnrc b/systeme-social/.yarnrc new file mode 100644 index 000000000..8094fc503 --- /dev/null +++ b/systeme-social/.yarnrc @@ -0,0 +1,2 @@ +version-tag-prefix syso-v +version-git-message "⬆ Mise à jour du paquet \"systeme-social\" vers %s" diff --git a/systeme-social/package.json b/systeme-social/package.json index 13157fb6b..121a54a43 100644 --- a/systeme-social/package.json +++ b/systeme-social/package.json @@ -1,6 +1,6 @@ { "name": "systeme-social", - "version": "1.0.0", + "version": "0.1.0", "description": "Les règles publicodes du système social français", "main": "./dist/index.js", "types": "./index.d.ts", @@ -16,8 +16,8 @@ "dist/index.js" ], "devDependencies": { - "yaml": "^1.10.0", - "publicodes": "^1.0.0-beta.4" + "publicodes": "^1.0.0-beta.4", + "yaml": "^1.10.0" }, "dependencies": {}, "peerDependencies": { @@ -26,6 +26,7 @@ "scripts": { "build": "node build.js", "prepare": "yarn run build", + "up": "yarn version --minor && echo \"ℹ N'oubliez pas de poussez le tag git\"", "test": "echo 1" } }