mirror of
https://github.com/microsoft/pyright.git
synced 2024-10-26 19:01:08 +03:00
Removed postinstall script so npm installation is possible.
This commit is contained in:
parent
0563813b9e
commit
c9b18356a4
@ -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:
|
||||
|
2
client/package-lock.json
generated
2
client/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pyright",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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"
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pyright",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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",
|
||||
|
2
server/package-lock.json
generated
2
server/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pyright",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user