Skip to content

Commit

Permalink
Merge pull request #99 from zowe/users/jstruga/publish-npm
Browse files Browse the repository at this point in the history
Test npm package
  • Loading branch information
DivergentEuropeans authored Jan 10, 2023
2 parents 0200366 + 3d3b709 commit 28f078a
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
19 changes: 19 additions & 0 deletions build/component/README.md
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]
19 changes: 19 additions & 0 deletions build/component/package.json
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"
}
}
2 changes: 1 addition & 1 deletion manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: angular-sample
id: org.zowe.zlux.sample.angular
# Without the v
version: 2.0.1
version: 2.6.0
# Human readable component name
title: Angular Sample
# Human readable component description
Expand Down
2 changes: 1 addition & 1 deletion webClient/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"webpack-config": "~7.5.0",
"zone.js": "~0.11.4"
}
}
}

0 comments on commit 28f078a

Please sign in to comment.