-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace diaas-api by halstack-client
- Loading branch information
Showing
16 changed files
with
724 additions
and
145 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us fixing breaking things | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Include steps to reproduce the behavior. | ||
|
||
Example: | ||
|
||
1. Create a new React App using `create-react-app`. | ||
2. Install the `@dxc-technology\halstack-react` dependencies and run the app. | ||
3. Click on '...'. | ||
4. Scroll down to '...'. | ||
5. See the error. | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. | ||
|
||
**Add labels** | ||
Add any applicable label like the concerned components or the target version of the Design System where the bug has been found. |
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: Feature request | ||
about: Suggest an idea for this project | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
|
||
**Add Labels** | ||
Add any applicable labels like related components, services, team or project reporting this new feature... etc |
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,20 @@ | ||
**Checklist** | ||
_(Check off all the items before submitting)_ | ||
- [ ] Build process is done without errors and all tests pass in `/lib` directory. | ||
- [ ] Self-reviewed the code prior to submitting. | ||
- [ ] Added/updated documentation to `/README` as needed. | ||
- [ ] Added/updated tests as needed. | ||
|
||
**Purpose** | ||
A clear description of the purpose of the change. Applicable in case this change is not linked to an issue. | ||
|
||
**Description** | ||
A clear and concise description of the change. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your change. | ||
|
||
**Additional context** | ||
Add any other context about the change here. | ||
|
||
**Closes #`issue-number`** |
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,39 @@ | ||
name: Publish Next Version | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- "lib/**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js 16.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16.x | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install lib dependencies | ||
run: cd lib && npm install --omit=dev | ||
|
||
- name: Build library | ||
run: cd lib && npm run build | ||
|
||
- name: Test library | ||
run: cd lib && npm run test | ||
|
||
- name: Publish NEXT version to npm | ||
run: | | ||
sed -i "s#\"version\": \"0.0.0\"#\"version\": \"0.0.0-${GITHUB_SHA:0:7}\"#" ./dist/package.json | ||
cd dist | ||
npm publish --tag next --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} |
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,41 @@ | ||
name: Publish Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js 16.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16.x | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install lib dependencies | ||
run: cd lib && npm install --omit=dev | ||
|
||
- name: Build library | ||
run: cd lib && npm run build | ||
|
||
- name: Test library | ||
run: cd lib && npm run test | ||
|
||
- name: Publish RELEASE to npm | ||
run: | | ||
sed -i "s#\"version\": \"0.0.0\"#\"version\": \"${TAG_NAME}\"#" ./dist/package.json | ||
cd dist | ||
npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} | ||
TAG_NAME: ${{ github.event.release.tag_name }} | ||
|
||
- name: Install scripts dependencies | ||
run: cd scripts && npm install | ||
|
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,26 @@ | ||
name: Build and test | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node.js 16.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16.x | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install lib dependencies | ||
run: cd lib && npm install | ||
|
||
- name: Build library | ||
run: cd lib && npm run build | ||
|
||
- name: Test library | ||
run: cd lib && npm run test |
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 @@ | ||
/example/src/hal |
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
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
Oops, something went wrong.