diff --git a/README.md b/README.md index cdbda97d6..484e3b18a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -# Visual Studio App Center CodePush Standalone Version +# Archiving this repository + +Visual Studio App Center was retired on March 31, 2025, except for its Analytics and Diagnostics features. You can learn more about the retirement and the Analytics and Diagnostics extension [here](https://aka.ms/appcenter/retire). CodePush, along with other App Center features, was also retired on March 31, 2025. Consequently, we are archiving this repository. + +--- + +## Visual Studio App Center CodePush Standalone Version [CodePush](https://learn.microsoft.com/en-us/appcenter/distribution/codepush/) is an App Center feature that enables React Native developers to deploy mobile app updates directly to their users’ devices. It consists of two parts: CodePush Server where developers can publish app updates to (e.g. JS, HTML, CSS or image changes), and [CodePush React Native Client SDK](https://github.com/Microsoft/react-native-code-push) that enables querying for updates from within an app. diff --git a/api/script/default-server.ts b/api/script/default-server.ts index 1c9234584..d6b0e6f0d 100644 --- a/api/script/default-server.ts +++ b/api/script/default-server.ts @@ -90,7 +90,7 @@ export function start(done: (err?: any, server?: express.Express, storage?: Stor next(); }); - if (process.env.LOGGING) { + if (process.env.LOGGING === "true") { app.use((req: express.Request, res: express.Response, next: (err?: any) => void): any => { console.log(); // Newline to mark new request console.log(`[REST] Received ${req.method} request at ${req.originalUrl}`); diff --git a/cli/package-lock.json b/cli/package-lock.json index be476f1bf..7dcf49a0d 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -16,7 +16,7 @@ "jsonwebtoken": "^9.0.2", "moment": "^2.29.4", "opener": "^1.5.2", - "parse-duration": "1.1.0", + "parse-duration": "^1.1.0", "plist": "^3.0.6", "progress": "^2.0.3", "prompt": "^1.3.0", @@ -2945,9 +2945,10 @@ } }, "node_modules/parse-duration": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-1.1.0.tgz", - "integrity": "sha512-z6t9dvSJYaPoQq7quMzdEagSFtpGu+utzHqqxmpVWNNZRIXnvqyCvn9XsTdh7c/w0Bqmdz3RB3YnRaKtpRtEXQ==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-1.1.2.tgz", + "integrity": "sha512-p8EIONG8L0u7f8GFgfVlL4n8rnChTt8O5FSxgxMz2tjc9FMP199wxVKVB6IbKx11uTbKHACSvaLVIKNnoeNR/A==", + "license": "MIT" }, "node_modules/parseurl": { "version": "1.3.3", diff --git a/cli/package.json b/cli/package.json index ef15ad5e3..2c0acd2c7 100644 --- a/cli/package.json +++ b/cli/package.json @@ -27,7 +27,7 @@ "jsonwebtoken": "^9.0.2", "moment": "^2.29.4", "opener": "^1.5.2", - "parse-duration": "1.1.0", + "parse-duration": "^1.1.0", "plist": "^3.0.6", "progress": "^2.0.3", "prompt": "^1.3.0",