Loading api/.version +1 −1 Changes for api/.version: 1 added line, 1 removed line. Original line number Diff line number Diff line 0.0.9 0.0.10 frontend/package-lock.json +2 −2 Changes for frontend/package-lock.json: 2 added lines, 2 removed lines. Original line number Diff line number Diff line { "name": "@unicaen/authentification", "version": "0.0.9", "version": "0.0.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@unicaen/authentification", "version": "0.0.9", "version": "0.0.10", "devDependencies": { "@quasar/vite-plugin": "^1.9.0", "@vitejs/plugin-vue": "^5.2.3", Loading frontend/package.json +1 −1 Changes for frontend/package.json: 1 added line, 1 removed line. Original line number Diff line number Diff line { "name": "@unicaen/authentification", "version": "0.0.9", "version": "0.0.10", "main": "dist/unicaen-authentification.umd.js", "module": "dist/unicaen-authentification.es.js", "publishConfig": { Loading frontend/scripts/release.js 0 → 100644 +32 −0 Changes for frontend/scripts/release.js: 32 added lines, 0 removed lines. Original line number Diff line number Diff line const { execSync } = require('child_process'); const fs = require('fs'); function run(cmd) { console.log(`> ${cmd}`); return execSync(cmd, { stdio: 'inherit' }); } // Lire la version actuelle const pkg = JSON.parse(fs.readFileSync('./package.json', 'utf8')); const currentVersion = pkg.version; // Incrémenter la version (patch / minor / major) const newVersion = process.argv[2] || 'patch'; run(`npm version ${newVersion} --no-git-tag-version`); // Récupérer la nouvelle version const updatedPkg = JSON.parse(fs.readFileSync('./package.json', 'utf8')); const version = updatedPkg.version; console.log(`📦 Releasing version: v${version}`); // Commit propre run('git add package.json package-lock.json'); run(`git commit -m "release: v${version}"`); // Créer un tag annoté run(`git tag -a v${version} -m "Release v${version}"`); // Push code + tag run('git push origin HEAD'); run('git push origin --tags'); Loading
api/.version +1 −1 Changes for api/.version: 1 added line, 1 removed line. Original line number Diff line number Diff line 0.0.9 0.0.10
frontend/package-lock.json +2 −2 Changes for frontend/package-lock.json: 2 added lines, 2 removed lines. Original line number Diff line number Diff line { "name": "@unicaen/authentification", "version": "0.0.9", "version": "0.0.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@unicaen/authentification", "version": "0.0.9", "version": "0.0.10", "devDependencies": { "@quasar/vite-plugin": "^1.9.0", "@vitejs/plugin-vue": "^5.2.3", Loading
frontend/package.json +1 −1 Changes for frontend/package.json: 1 added line, 1 removed line. Original line number Diff line number Diff line { "name": "@unicaen/authentification", "version": "0.0.9", "version": "0.0.10", "main": "dist/unicaen-authentification.umd.js", "module": "dist/unicaen-authentification.es.js", "publishConfig": { Loading
frontend/scripts/release.js 0 → 100644 +32 −0 Changes for frontend/scripts/release.js: 32 added lines, 0 removed lines. Original line number Diff line number Diff line const { execSync } = require('child_process'); const fs = require('fs'); function run(cmd) { console.log(`> ${cmd}`); return execSync(cmd, { stdio: 'inherit' }); } // Lire la version actuelle const pkg = JSON.parse(fs.readFileSync('./package.json', 'utf8')); const currentVersion = pkg.version; // Incrémenter la version (patch / minor / major) const newVersion = process.argv[2] || 'patch'; run(`npm version ${newVersion} --no-git-tag-version`); // Récupérer la nouvelle version const updatedPkg = JSON.parse(fs.readFileSync('./package.json', 'utf8')); const version = updatedPkg.version; console.log(`📦 Releasing version: v${version}`); // Commit propre run('git add package.json package-lock.json'); run(`git commit -m "release: v${version}"`); // Créer un tag annoté run(`git tag -a v${version} -m "Release v${version}"`); // Push code + tag run('git push origin HEAD'); run('git push origin --tags');