-
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
0 parents
commit 77ebb7c
Showing
324 changed files
with
23,318 additions
and
0 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,5 @@ | ||
{ | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
} |
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,15 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false |
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,6 @@ | ||
src/components.d.ts | ||
**/*.spec.ts | ||
**/*.spec.tsx | ||
**/*.e2e.ts | ||
**/*.d.ts | ||
stencil.config.ts |
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,10 @@ | ||
{ | ||
"extends": ["plugin:@typescript-eslint/recommended", "prettier"], | ||
"parserOptions": { | ||
"project": ["./tsconfig.json"] | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "warn" | ||
} | ||
} |
Validating CODEOWNERS rules …
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 @@ | ||
# read more about codeowners file here | ||
|
||
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
|
||
# Global owners | ||
|
||
- @Kajabi/dss-devs |
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: Accessibility Issue | ||
about: Report an accessibility or usability issue | ||
title: '[a11y] ' | ||
labels: 'a11y' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Environment | ||
|
||
- OS: | ||
- Browser: | ||
- Testing tool used: | ||
- Assistive technology used to verify: | ||
|
||
## Detailed description | ||
|
||
- What did you expect to happen? | ||
- What happened instead? | ||
- What WCAG 2.1 success criteria does the issue violate? | ||
|
||
## Steps to reproduce the issue | ||
|
||
1. Go to '...' | ||
2. Click on '...' | ||
3. Scroll down to '... | ||
|
||
## Additional Information | ||
|
||
- Screenshots or code | ||
- Notes |
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,42 @@ | ||
--- | ||
name: Bug Report 🐛 | ||
about: Something isn't working as expected? Here is the right place to report. | ||
title: "[BUG] " | ||
labels: "bug" | ||
assignees: "" | ||
--- | ||
|
||
## Detailed description | ||
|
||
A clear and concise description of what the bug is | ||
|
||
## Steps to reproduce | ||
|
||
Describe the steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
2. Click on '...' | ||
3. Scroll down to '... | ||
|
||
## Expected behavior | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
## Actual behavior | ||
|
||
A clear and concise description of what actually happens. | ||
|
||
## Screenshots | ||
|
||
If applicable, provide screenshots, videos, or gifs of issue. | ||
|
||
## Details about device, OS, browser (including versions) | ||
|
||
- Device: | ||
- OS: | ||
- Browser: | ||
- Version: | ||
|
||
## 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 @@ | ||
blank_issues_enabled: false |
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' | ||
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,50 @@ | ||
# Description | ||
|
||
Please include a summary of the change and which issue is fixed. | ||
Please also include relevant motivation and context. | ||
List any new dependencies or updates that are required for this change. | ||
|
||
Fixes #(issue) | ||
|
||
## Type of change | ||
|
||
Please delete options that are not relevant. | ||
If your type of change is not present, add that option. | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
# How Has This Been Tested? | ||
|
||
Please describe the tests you've added and run to verify your changes. | ||
Provide instructions so that we can reproduce. | ||
Please also list any relevant details for your test configuration. | ||
|
||
- [ ] unit tests | ||
- [ ] e2e tests | ||
- [ ] accessibility tests | ||
- [ ] tested manually | ||
- [ ] other: | ||
|
||
**Test Configuration**: | ||
|
||
- Pine versions: | ||
- OS: | ||
- Browsers: | ||
- Screen readers: | ||
- Misc: | ||
|
||
# Checklist: | ||
|
||
If not applicable, leave options unchecked. | ||
|
||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my code | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] My changes generate no new warnings | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] New and existing tests pass locally with my changes | ||
- [ ] Design has QA'ed and approved this PR |
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,66 @@ | ||
name: 'Build Pine Icons' | ||
description: 'Build Pine Icon library' | ||
|
||
inputs: | ||
node-version: | ||
description: 'The version of node to use' | ||
required: true | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Check out latest | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
|
||
- name: Verify NPM Cache | ||
shell: bash | ||
run: npm cache verify | ||
|
||
- name: Get NPM cache directory | ||
id: npm-cache-dir | ||
shell: bash | ||
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v3 | ||
id: cache-node-modules | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ${{ steps.npm-cache-dir.outputs.dir }} | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}- | ||
- name: Set SHA | ||
uses: nrwl/nx-set-shas@v3 | ||
|
||
- name: Install Dependencies | ||
if: steps.cache-node-modules.ouputs.cache-hit != true | ||
run: npm ci | ||
shell: bash | ||
|
||
- name: Build Icons | ||
run: npx nx run icons:build | ||
shell: bash | ||
|
||
- name: Upload Icons Build Archive | ||
uses: ./.github/workflows/actions/upload-archive | ||
with: | ||
name: icons-build | ||
output: IconsBuild.zip | ||
paths: dist components icons www | ||
|
||
- name: Upload Icons Source | ||
uses: ./.github/workflows/actions/upload-archive | ||
with: | ||
name: icons-src | ||
output: IconsSrc.zip | ||
paths: src |
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,22 @@ | ||
name: 'Download Archive' | ||
description: 'Downloads and unzips an archive that was uploaded' | ||
|
||
inputs: | ||
path: | ||
description: 'Input archive name' | ||
filename: | ||
description: 'Input the name of the file' | ||
name: | ||
description: 'Zip file name' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ inputs.name }} | ||
path: ${{ inputs. path }} | ||
|
||
- name: Extract the Archive | ||
run: unzip -q -o ${{ inputs.path }}/${{ inputs.filename }} | ||
shel: bash |
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,59 @@ | ||
name: Publish | ||
description: Publishes a package | ||
|
||
inputs: | ||
folder: | ||
default: './' | ||
description: 'A folder containing a package.json file.' | ||
|
||
preid: | ||
default: '' | ||
description: 'The prerelease id used when doing a prerelease.' | ||
|
||
project: | ||
description: 'The name of the project based on Nx naming.' | ||
|
||
tag: | ||
description: 'The tag to publish on NPM.' | ||
|
||
token: | ||
description: The NPM authentication token required to publish. | ||
|
||
version: | ||
description: The type of version to release. | ||
|
||
working-directory: | ||
description: 'The directory of the package.' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20.x | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install Dependencies | ||
run: npm ci --ignore-scripts | ||
shell: bash | ||
|
||
- name: Update Version | ||
run: npm version ${{ inputs.version }} --git-tag-version false --preid=${{ inputs.preid }} | ||
shell: bash | ||
working-directory: ${{ inputs.working-directory }} | ||
|
||
- name: Run Build | ||
run: npx nx run ${{ inputs.project }}:build | ||
shell: bash | ||
|
||
- name: Prepare NPM Token | ||
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc | ||
shell: bash | ||
env: | ||
NPM_TOKEN: ${{ inputs.token }} | ||
|
||
- name: Publish to NPM | ||
run: npm publish ${{ inputs.folder }} --tag ${{ inputs.tag }} --provenance --access public | ||
shell: bash | ||
working-directory: ${{ inputs.working-directory }} |
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,40 @@ | ||
name: 'Test Lint' | ||
descriptions: 'Runs lint for affected projects' | ||
|
||
inputs: | ||
node-version: | ||
description: 'The version of node to use' | ||
required: true | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Check out latest | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
|
||
- name: Cache node_modules | ||
uses: actions/cache@v3 | ||
id: cache-node-modules | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ${{ steps.npm-cache-dir.outputs.dir }} | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}- | ||
- name: Install Dependencies | ||
if: steps.cache-node-modules.ouputs.cache-hit != true | ||
run: npm ci | ||
shell: bash | ||
|
||
- name: Lint | ||
run : npx nx affected --target=lint --parallel=3 | ||
shell: bash |
Oops, something went wrong.