chore(versioning): Versionsnummer automatisch in package.json, appVersion.js und package-lock.json synchronisiert
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
// /config/appVersion
|
||||
export const APP_VERSION = "1.1.259";
|
||||
export const APP_VERSION = "1.1.260";
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "nodemap",
|
||||
"version": "1.1.256",
|
||||
"version": "1.1.259",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "nodemap",
|
||||
"version": "1.1.256",
|
||||
"version": "1.1.259",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.13.3",
|
||||
"@emotion/styled": "^11.13.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nodemap",
|
||||
"version": "1.1.256",
|
||||
"version": "1.1.259",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.13.3",
|
||||
"@emotion/styled": "^11.13.0",
|
||||
@@ -59,4 +59,4 @@
|
||||
"node-mocks-http": "^1.16.2",
|
||||
"raw-loader": "^4.0.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -37,3 +37,10 @@ fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2), "utf8");
|
||||
if (process.env.NEXT_PUBLIC_DEBUG_LOG === "true") {
|
||||
console.log(`✅ Version erhöht auf: ${newVersion}`);
|
||||
}
|
||||
const { execSync } = require("child_process");
|
||||
|
||||
try {
|
||||
execSync("npm install --package-lock-only", { stdio: "inherit" });
|
||||
} catch (error) {
|
||||
console.error("❌ Fehler beim Aktualisieren der package-lock.json:", error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user