Skip to content

Commit ea3d2f4

Browse files
committed
clean up
1 parent 6a33e55 commit ea3d2f4

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

pythonEnvironmentsApi/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
node_modules/
12
src/
23
out/**/*.map
34
out/**/*.tsbuildinfo

pythonEnvironmentsApi/package-lock.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pythonEnvironmentsApi/package.json

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,36 @@
11
{
22
"name": "@vscode/python-environments",
3+
"description": "An API facade for the Python Environments extension in VS Code",
34
"version": "1.0.0",
4-
"description": "An API facade for the Python Environments extension API in VS Code",
55
"author": {
66
"name": "Microsoft Corporation"
77
},
8+
"keywords": [
9+
"Python",
10+
"VSCode",
11+
"API",
12+
"Environments"
13+
],
814
"main": "./out/main.js",
915
"types": "./out/main.d.ts",
16+
"engines": {
17+
"node": ">=22.21.1",
18+
"vscode": "^1.110.0"
19+
},
1020
"license": "MIT",
11-
"publisher": "Microsoft",
21+
"homepage": "https://github.com/microsoft/vscode-python-environments/tree/main/pythonEnvironmentsApi",
1222
"repository": {
1323
"type": "git",
1424
"url": "https://github.com/microsoft/vscode-python-environments"
1525
},
26+
"bugs": {
27+
"url": "https://github.com/microsoft/vscode-python-environments/issues"
28+
},
1629
"scripts": {
17-
"prepublishOnly": "echo \"Please use the CI pipeline to publish this package.\" && exit 1",
30+
"prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node -e \"process.exitCode = 1\"",
1831
"prepack": "npm run all:publish",
19-
"all:publish": "npm run clean && npm run compile",
20-
"compile": "tsc -p tsconfig.json",
32+
"all:publish": "git clean -xfd . && npm install && npm run compile",
33+
"compile": "node ./node_modules/typescript/lib/tsc.js -b ./tsconfig.json",
2134
"clean": "node -e \"const fs = require('fs'); fs.rmSync('./out', { recursive: true, force: true });\""
2235
},
2336
"devDependencies": {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"root":["./src/main.ts"],"version":"5.9.3"}

0 commit comments

Comments
 (0)