🤖 Ajout d'un script pour mettre à jour la version NPM du paquet syso

pull/1299/head
Maxime Quandalle 2020-12-02 15:48:46 +01:00
parent 1f5d1db893
commit 0bdd5d128e
4 changed files with 9 additions and 5 deletions

View File

@ -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"
},

View File

@ -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",

2
systeme-social/.yarnrc Normal file
View File

@ -0,0 +1,2 @@
version-tag-prefix syso-v
version-git-message "⬆ Mise à jour du paquet \"systeme-social\" vers %s"

View File

@ -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"
}
}