Ajout du plugin yarn version

pull/2077/head
Jérémy Rialland 2022-03-29 16:53:39 +02:00 committed by Johan Girod
parent 8a10e75c2d
commit d7afbf5b9b
4 changed files with 561 additions and 3 deletions

File diff suppressed because one or more lines are too long

2
.yarn/versions/3f500af6.yml vendored Normal file
View File

@ -0,0 +1,2 @@
undecided:
- site

View File

@ -1,7 +1,11 @@
nodeLinker: node-modules
enableMessageNames: false
nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
yarnPath: .yarn/releases/yarn-3.2.0.cjs

View File

@ -28,7 +28,9 @@
"start": "onchange 'règles/**/*.yaml' -- yarn run build",
"clean": "rimraf dist node_modules",
"postinstall": "yarn run build",
"up": "yarn version --minor && echo \" N'oubliez pas de poussez le tag git\"",
"upgrade:major": "yarn version major && echo \" N'oubliez pas de poussez le tag git\"",
"upgrade:minor": "yarn version minor && echo \" N'oubliez pas de poussez le tag git\"",
"upgrade:patch": "yarn version patch && echo \" N'oubliez pas de poussez le tag git\"",
"test": "node ../scripts/check-changelog.js"
}
}