From 37d8e185f31c69fd315f0b39dc323ee0264aca26 Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Wed, 23 Apr 2025 14:10:50 +0800 Subject: [PATCH] use latest preview package --- examples/express-app/README.md | 9 +-------- examples/express-app/package.json | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/examples/express-app/README.md b/examples/express-app/README.md index 318a6dc..a8ba572 100644 --- a/examples/express-app/README.md +++ b/examples/express-app/README.md @@ -8,14 +8,7 @@ The examples are compatible with [LTS versions of Node.js](https://github.com/no ## Setup & Run -1. Go to `src/feature-management` under the root folder and run: - - ```bash - npm run install - npm run build - ``` - -1. Go back to `examples/express-app` and install the dependencies using `npm`: +1. Install the dependencies using `npm`: ```bash npm install diff --git a/examples/express-app/package.json b/examples/express-app/package.json index 6833583..e1086a2 100644 --- a/examples/express-app/package.json +++ b/examples/express-app/package.json @@ -3,7 +3,7 @@ "start": "node server.mjs" }, "dependencies": { - "@microsoft/feature-management": "../../src/feature-management", + "@microsoft/feature-management": "2.1.0-preview.1", "express": "^4.21.2" } } \ No newline at end of file