-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51d28f9
commit 59418a2
Showing
60 changed files
with
30,867 additions
and
1 deletion.
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,2 @@ | ||
PUBLIC_URL=/etc.clientlibs/core-components-examples/wcm-react/clientlibs/react-webcomponents/resources/ | ||
NODE_PATH=./ |
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,2 @@ | ||
dist/ | ||
config/ |
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,7 @@ | ||
{ | ||
"extends": ["plugin:@typescript-eslint/recommended"], | ||
"rules": { | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"@typescript-eslint/no-empty-interface": "off" | ||
} | ||
} |
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 improve | ||
title: "[bug]" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Package version** | ||
Provide a package version where the bug occurs. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See 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. |
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 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[feature] " | ||
labels: feature-request | ||
assignees: '' | ||
|
||
--- | ||
|
||
**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. |
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,36 @@ | ||
{ | ||
"timezone": "Europe/Zurich", | ||
"masterIssue": true, | ||
"packageRules": [ | ||
{ | ||
"groupName": "@adobe fixes", | ||
"updateTypes": ["patch", "pin", "digest", "minor"], | ||
"automerge": true, | ||
"packagePatterns": ["^@adobe/"], | ||
"schedule": ["at any time"] | ||
}, | ||
{ | ||
"groupName": "@adobe major", | ||
"updateTypes": ["major"], | ||
"packagePatterns": ["^@adobe/"], | ||
"automerge": false, | ||
"schedule": ["at any time"] | ||
}, | ||
{ | ||
"groupName": "external fixes", | ||
"updateTypes": ["patch", "pin", "digest", "minor"], | ||
"automerge": false, | ||
"schedule": ["after 1pm on Monday"], | ||
"packagePatterns": ["^.+"], | ||
"excludePackagePatterns": ["^@adobe/"] | ||
}, | ||
{ | ||
"groupName": "external major", | ||
"updateTypes": ["major"], | ||
"automerge": false, | ||
"packagePatterns": ["^.+"], | ||
"excludePackagePatterns": ["^@adobe/"], | ||
"schedule": ["after 1pm on Monday"] | ||
} | ||
] | ||
} |
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,32 @@ | ||
name: Continuous Integration | ||
on: pull_request_target | ||
|
||
jobs: | ||
test-react-spa-components: | ||
name: test react-spa-components | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12' | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build the project | ||
run: npm run build:production | ||
- name: Run tests and do code coverage check | ||
run: npm run test:coverage | ||
- name: Run code linter | ||
uses: hallee/[email protected] | ||
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }} | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Upload code coverage report to workflow as an artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: spa-coverage.zip | ||
path: coverage | ||
- name: Upload code coverage report to codecov.io and comment in pull request | ||
uses: codecov/codecov-action@v1 |
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: Release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
release: | ||
name: Release and publish module | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12 | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Build the project | ||
run: npm run build:production | ||
- name: Run tests and do code coverage check | ||
run: npm run test:coverage | ||
- name: Release module and publish it in github.com and npmjs.com | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} | ||
run: npm run semantic-release | ||
|
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: Vulnerability check | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request_target: | ||
|
||
jobs: | ||
security: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@master | ||
- name: Run Snyk to check for vulnerabilities | ||
uses: snyk/actions/node@master | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
with: | ||
command: monitor --all-projects --exclude=examples,pom.xml |
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 @@ | ||
target | ||
.idea | ||
.classpath | ||
.metadata | ||
.project | ||
.settings | ||
.externalToolBuilders | ||
maven-eclipse.xml | ||
*.swp | ||
*.iml | ||
*.ipr | ||
*.iws | ||
*.bak | ||
.vlt | ||
.DS_Store | ||
jcr.log | ||
atlassian-ide-plugin.xml | ||
.vlt-sync.log | ||
.vlt-sync-config.properties | ||
node | ||
node_modules | ||
|
||
|
||
src/tsconfig.types.tsbuildinfo | ||
dist | ||
coverage |
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,11 @@ | ||
config | ||
node | ||
node_modules | ||
.eslintignore | ||
.gitignore | ||
.babelrc | ||
*.iml | ||
jest.config.js | ||
pom.xml | ||
tsconfig.json | ||
src |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.