Skip to content

Commit

Permalink
Replace references to pnpm with npm
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Oct 3, 2024
1 parent db1eb1c commit d8d852e
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/vscode-extension-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: vscode-extension-samples/${{ matrix.sample }}-sample
working-directory: vscode-extension-samples/${{ matrix.sample }}

strategy:
fail-fast: false
matrix:
sample: ['menu-item', 'tree-view', 'uss-profile', 'vue-webview']
sample: ['menu-item-sample', 'tree-view-sample', 'uss-profile-sample', 'vue-webview-sample']

steps:
- name: Checkout
Expand All @@ -42,4 +42,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.sample }}-sample
path: vscode-extension-samples/${{ matrix.sample }}-sample/*.vsix
path: vscode-extension-samples/${{ matrix.sample }}/*.vsix
4 changes: 2 additions & 2 deletions vscode-extension-samples/menu-item-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ In "extension.ts" a command is registered which runs when the menu item is click
## Running the sample

- Open this sample in VS Code
- `pnpm i`
- `pnpm run compile`
- `npm install`
- `npm run compile`
- `F5` to start debugging
2 changes: 1 addition & 1 deletion vscode-extension-samples/menu-item-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"Zowe.vscode-extension-for-zowe"
],
"scripts": {
"vscode:prepublish": "pnpm run compile",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
Expand Down
4 changes: 2 additions & 2 deletions vscode-extension-samples/tree-view-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ In "extension.ts" the tree view is configured to use [`ProfilesTreeProvider`](/s
## Running the sample

- Open this sample in VS Code
- `pnpm i`
- `pnpm run compile`
- `npm install`
- `npm run compile`
- `F5` to start debugging
2 changes: 1 addition & 1 deletion vscode-extension-samples/tree-view-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"Zowe.vscode-extension-for-zowe"
],
"scripts": {
"vscode:prepublish": "pnpm run compile",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
Expand Down
4 changes: 2 additions & 2 deletions vscode-extension-samples/uss-profile-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ In "extension.ts" the Zowe Explorer API is used to load SSH profiles, and [`SshU
## Running the sample

- Open this sample in VS Code
- `pnpm`
- `pnpm run compile`
- `npm install`
- `npm run compile`
- `F5` to start debugging
2 changes: 1 addition & 1 deletion vscode-extension-samples/uss-profile-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"Zowe.vscode-extension-for-zowe"
],
"scripts": {
"vscode:prepublish": "pnpm run compile",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
Expand Down
1 change: 1 addition & 0 deletions vscode-extension-samples/vue-webview-sample/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
out
node_modules
.vscode-test/
Expand Down
10 changes: 10 additions & 0 deletions vscode-extension-samples/vue-webview-sample/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Vue Webview Sample

Demonstrates the use of the `WebView` class from Zowe Explorer API to create a webview panel, powered by the Vite bundler and Vue JavaScript framework.

## Running the sample

- Open this sample in VS Code
- `npm install`
- `npm run compile`
- `F5` to start debugging
6 changes: 3 additions & 3 deletions vscode-extension-samples/vue-webview-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
]
},
"scripts": {
"vscode:prepublish": "pnpm run compile",
"compile": "pnpm --package=typescript dlx tsc -p ./ && cd webviews/vue-sample && pnpm --ignore-workspace i && pnpm build",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && cd webviews/vue-sample && npm install && npm run build",
"lint": "eslint \"src/**/*.ts\"",
"watch": "pnpm --package=typescript dlx tsc -watch -p ./"
"watch": "tsc -watch -p ./"
},
"dependencies": {
"@zowe/zowe-explorer-api": "^3.0.0"
Expand Down

0 comments on commit d8d852e

Please sign in to comment.