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
|
// /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",
|
"name": "nodemap",
|
||||||
"version": "1.1.256",
|
"version": "1.1.259",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "nodemap",
|
"name": "nodemap",
|
||||||
"version": "1.1.256",
|
"version": "1.1.259",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.13.3",
|
"@emotion/react": "^11.13.3",
|
||||||
"@emotion/styled": "^11.13.0",
|
"@emotion/styled": "^11.13.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nodemap",
|
"name": "nodemap",
|
||||||
"version": "1.1.256",
|
"version": "1.1.259",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.13.3",
|
"@emotion/react": "^11.13.3",
|
||||||
"@emotion/styled": "^11.13.0",
|
"@emotion/styled": "^11.13.0",
|
||||||
|
|||||||
@@ -37,3 +37,10 @@ fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 2), "utf8");
|
|||||||
if (process.env.NEXT_PUBLIC_DEBUG_LOG === "true") {
|
if (process.env.NEXT_PUBLIC_DEBUG_LOG === "true") {
|
||||||
console.log(`✅ Version erhöht auf: ${newVersion}`);
|
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