Skip to content

Commit

Permalink
fix vsix dist for npm workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
51ngul4r1ty committed Jan 31, 2024
1 parent d76a159 commit 0163526
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 2 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Many code standards and conventions can be picked up from existing patterns in
the code but it is advisable to use this resource as well:
[Code Standards](docs/Code-Standards.md)

If you're looking for specific "Getting Started" instructions for any of the
sub-projects in this monorepo (like the VS Code extension) then look at those
specific README.md files.

Requirements
------------

Expand Down Expand Up @@ -111,6 +115,10 @@ Working with the Monorepo
Adding Dependencies
-------------------

This monorepo uses npm workspaces. If you're unfamiliar with using workspaces
we recommend you read the npm documentation first. Some tips are provided
below, but it is best that you understand how they work fully.

Please make sure to add the dependency at the right level.

You have 2 choices:
Expand All @@ -123,6 +131,9 @@ You have 2 choices:

In general, if you're not sure, you should pick option 2.

If you wish to refresh packages for a specific workspace you can use something
like: `npm i -w=packages/vscode-extension`

Document Index
==============

Expand Down
122 changes: 120 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build-pkg:web-app": "npm run build -w packages/web-app",
"build-pkg:shared": "npm run build -w packages/shared",
"build-pkg:extension": "npm run build -w packages/vscode-extension",
"dist-pkg:extension": "npm run build-vsix -w packages/vscode-extension",
"check-prereqs-pkg:web-app": "npm run check:prereqs -w packages/web-app",
"docker-pkg:web-app": "npm run build-pkg:web-app && npm run -w packages/web-app build:docker",
"clean-node-modules": "npx rimraf node_modules",
Expand Down
2 changes: 2 additions & 0 deletions packages/vscode-extension/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ vsc-extension-quickstart.md
**/*.ts
.DS_Store
node_modules
../../**
../**

0 comments on commit 0163526

Please sign in to comment.