-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from zowe/users/jstruga/publish-npm
Test npm package
- Loading branch information
Showing
5 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,3 +84,20 @@ jobs: | |
|
||
- name: '[Prep 8] deploy ' | ||
uses: zowe-actions/zlux-builds/plugins/[email protected]/main | ||
|
||
- name: '[Prep 9] NodeJS project setup' | ||
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }} | ||
uses: zowe-actions/zlux-builds/plugins/[email protected]/main | ||
with: | ||
package-name: 'org.zowe.zlux-angular-file-tree' | ||
install-registry-url: ${{ env.DEFAULT_NPM_PRIVATE_INSTALL_REGISTRY }} | ||
install-registry-email: ${{ secrets.NPM_PRIVATE_REGISTRY_EMAIL }} | ||
install-registry-username: ${{ secrets.NPM_PRIVATE_REGISTRY_USERNAME }} | ||
install-registry-password: ${{ secrets.NPM_PRIVATE_REGISTRY_PASSWORD }} | ||
publish-registry-email: ${{ secrets.NPM_PRIVATE_REGISTRY_EMAIL }} | ||
publish-registry-username: ${{ secrets.NPM_PRIVATE_REGISTRY_USERNAME }} | ||
publish-registry-password: ${{ secrets.NPM_PRIVATE_REGISTRY_PASSWORD }} | ||
|
||
- name: '[Prep 10] Publish NPM Package ' | ||
if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' && env.RELEASE == 'true' }} | ||
uses: zowe-actions/zlux-builds/plugins/[email protected]/main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
his program and the accompanying materials are | ||
made available under the terms of the Eclipse Public License v2.0 which accompanies | ||
this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html | ||
|
||
SPDX-License-Identifier: EPL-2.0 | ||
|
||
Copyright Contributors to the Zowe Project. | ||
# Sample Angular App | ||
|
||
This is an angular component that can be included in applications to be able to locate & browse the hierarchy of files and datasets on z/OS through the Zowe ZSS server APIs. Using the Zowe context menu, there is also a growing support of CRUD & other actions. | ||
|
||
**NOTE: Because this relies upon ZSS APIs, it must be used in an environment which handles session lifecycles, as you must log in to ZSS prior to using those APIs. One way to utilize this is to use this within a Zowe App, within the Zowe Desktop** | ||
|
||
## Installing | ||
You must set the @zowe registry scope to get this library, as it is not yet on npmjs.org | ||
|
||
``` | ||
npm config set @zowe:registry https://zowe.jfrog.io/zowe/api/npm/npm-release/ | ||
zwe components install -c zowe.yaml --component (path or query) [--handler npm] [--registry https//localhost:1234/] [--dry-run] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "angular-sample", | ||
"version": "2.6.0", | ||
"description": "Sample App Showcasing Angular Adapter", | ||
"main": "angular-sample.pax", | ||
"homepgae": "https://zowe.org", | ||
"keywords": [ | ||
"zlux", | ||
"appfw", | ||
"app", | ||
"angular", | ||
"sample" | ||
], | ||
"license": "EPL-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/zowe/sample-angular-app.git" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,4 +43,4 @@ | |
"webpack-config": "~7.5.0", | ||
"zone.js": "~0.11.4" | ||
} | ||
} | ||
} |