Skip to content

Commit

Permalink
build: Updated .vscodeignore (#140)
Browse files Browse the repository at this point in the history
Updated .vscodeignore to use "whitelist" conventions instead of
"blacklist"
  • Loading branch information
bmingles authored Sep 20, 2024
1 parent 74c4026 commit 399399f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 20 deletions.
40 changes: 21 additions & 19 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
_ignore/**
.github/**
.vscode/**
.vscode-test/**
src/**
packages/**
.gitignore
.yarnrc
vsc-extension-quickstart.md
**/tsconfig.json
**/tsconfig.unit.json
**/tsconfig.tsbuildinfo
**/.eslintrc.json
**/*.map
**/*.ts
**/__mocks__/**
e2e/**
test-reports/**
icons/**
### Ignore everything ####
**/*

#### Explicitly add things back ####

!LICENSE
!package.json
!README.md

!assets/**/*
!docs/**/*
!images/**/*
!out/**/*.js
!snippets.code-snippets

!node_modules/**/LICENSE
!node_modules/**/package.json
!node_modules/**/README.md

!node_modules/@deephaven/require-jsapi/**/*.js
!node_modules/ws/**/*.{js,mjs}
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ https://code.visualstudio.com/api/working-with-extensions/publishing-extension#p
1. Set `VSCE_PAT` env variable to personal access token for a user in the https://dev.azure.com/deephaven-oss/ org.
1. Increment the version number in `package.json` (be sure to run `npm i` to update package-lock as well)
> See [versioning strategy](#versioning-strategy) for details on our version number scheme.
1. Package latest `npm run package:latest` (inspect output for any unexpected files included)
1. If new content has been added that needs to be packaged that is not included by `.vscodeignore`, make appropriate changes (this should not be common).
1. Package latest `npm run package:latest` (inspect output to verify included files are as expected)
1. Use `vsce` cli to publish to Visual Studio Marketplace

```sh
Expand Down

0 comments on commit 399399f

Please sign in to comment.