diff --git a/README.md b/README.md index 3a1b543f9..992d08941 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ You can install the latest-published version of the Pyright VS Code extension di To build the project: 1. Install [nodejs](https://nodejs.org/en/) 2. Open terminal window in main directory of cloned source -3. Execute `npm install` to download dependencies +3. Execute `npm run install:all` to install dependencies 4. Execute `npm run build` To build the VS Code extension package: diff --git a/client/package-lock.json b/client/package-lock.json index dc09916e2..b3ce319a9 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,6 +1,6 @@ { "name": "pyright", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/client/package.json b/client/package.json index 53951368a..dc67c8fb7 100644 --- a/client/package.json +++ b/client/package.json @@ -2,7 +2,7 @@ "name": "pyright", "displayName": "Pyright", "description": "VS Code language support and type checking for Python", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "author": { "name": "Microsoft Corporation" diff --git a/package-lock.json b/package-lock.json index 4fdc3c31e..e53d8454e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "pyright", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7a666fbbd..8b48d4ff8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "pyright", "displayName": "Pyright", "description": "Type checker for the Python language", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "author": { "name": "Microsoft Corporation" @@ -13,13 +13,13 @@ "url": "https://github.com/Microsoft/pyright" }, "scripts": { - "postinstall": "cd server && npm install && cd ../client && npm install && cd ..", + "install:all": "npm install && cd server && npm install && cd ../client && npm install && cd ..", "build": "npm run build:client && npm run build:server", "build:client": "cd client && npm run build && cd ..", "build:server": "cd server && npm run build && cd ..", "build:analyzer": "cd server && npm run build:analyzer && cd ..", "build:pyright": "cd server && npm run build:pyright && cd ..", - "package": "npm run build && cd client && npx vsce package && cd .." + "package": "npm run install:all && npm run build && cd client && npx vsce package && cd .." }, "devDependencies": { "@types/mocha": "^5.2.5", diff --git a/server/package-lock.json b/server/package-lock.json index d3ff7d112..db16dd417 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -1,6 +1,6 @@ { "name": "pyright", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/server/package.json b/server/package.json index bf52eec13..2ecf42770 100644 --- a/server/package.json +++ b/server/package.json @@ -2,7 +2,7 @@ "name": "pyright", "displayName": "pyright", "description": "Type checker for the Python language", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "scripts": { "start": "npm run start:analyzer && npm run start:server",