-
Notifications
You must be signed in to change notification settings - Fork 1
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 017ee72
Showing
399 changed files
with
38,128 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,17 @@ | ||
# https://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = tab | ||
max_line_length = 160 | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
indent_style = space | ||
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 @@ | ||
**/assets/** |
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,52 @@ | ||
# Next | ||
.next | ||
|
||
# GraphQL | ||
src/__generated__ | ||
|
||
# IDE's | ||
.idea | ||
.project | ||
*.sublime-* | ||
*.code-* | ||
|
||
|
||
# Node.js | ||
node_modules | ||
npm-debug.log | ||
|
||
|
||
# Build and test tools | ||
*.zip | ||
dist/* | ||
|
||
# Cache | ||
.sass-cache | ||
.cache | ||
|
||
|
||
# Operating system | ||
.DS_Store | ||
Thumbs.db | ||
|
||
|
||
# Other | ||
/.husky | ||
/.reports | ||
.env | ||
.eslintcache | ||
*~ | ||
*.log | ||
*.tgz | ||
|
||
assets/bundes/ | ||
assets/codicons/ | ||
assets/fontawesome-free/ | ||
assets/icofont/ | ||
assets/kreon/ | ||
assets/material-icons/ | ||
assets/material-symbols/ | ||
assets/noto-sans/ | ||
assets/roboto/ | ||
assets/tabler-icons/ | ||
assets/kolibri.ico |
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 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@5/schema.json", | ||
"entry": ["src/index.ts"], | ||
"project": ["src/**/*.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,7 @@ | ||
# - npm | ||
legacy-peer-deps=true | ||
save-exact=true | ||
|
||
# - pnpm | ||
auto-install-peers=true | ||
strict-peer-dependencies=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 @@ | ||
**/assets/** |
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 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.renderWhitespace": "all", | ||
// Configure glob patterns for excluding files and folders. | ||
// For example, the files explorer decides which files and folders to show | ||
// or hide based on this setting. | ||
// Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options). | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true | ||
}, | ||
// Configure glob patterns of file paths to exclude from file watching. | ||
// Patterns must match on absolute paths | ||
// (i.e. prefix with ** or the full path to match properly). | ||
// Changing this setting requires a restart. | ||
// When you experience Code consuming lots of cpu time on startup, | ||
// you can exclude large folders to reduce the initial load. | ||
"files.watcherExclude": { | ||
"**/.git/objects/**": true, | ||
"**/.git/subtree-cache/**": true, | ||
"**/node_modules/**": true, | ||
"**/tmp/**": true, | ||
"**/bower_components/**": true, | ||
"**/dist/**": true | ||
}, | ||
// Configure glob patterns for excluding files and folders in searches. | ||
// Inherits all glob patterns from the `files.exclude` setting. | ||
// Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options). | ||
"search.exclude": { | ||
"**/node_modules": true, | ||
"**/bower_components": true | ||
}, | ||
"javascript.preferences.importModuleSpecifier": "relative", | ||
"javascript.updateImportsOnFileMove.enabled": "always", | ||
"typescript.preferences.importModuleSpecifier": "relative", | ||
"typescript.updateImportsOnFileMove.enabled": "always" | ||
} |
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 @@ | ||
module.exports = { | ||
printWidth: 160, | ||
singleQuote: true, | ||
useTabs: true, | ||
}; |
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,3 @@ | ||
RewriteEngine On | ||
RewriteCond %{HTTPS} !=on | ||
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
User-agent: * | ||
Disallow: / |
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 @@ | ||
# https://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = tab | ||
max_line_length = 160 | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
indent_style = space | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_style = space |
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,86 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: daily | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/angular-webpack/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/astro/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/next.js/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/preact-webpack/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/react-vite/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/react-webpack/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/solid-webpack/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/static-page/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/svg2font/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/vue-vite/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "npm" | ||
directory: "/templates/vue-webpack/" | ||
labels: | ||
- dependabot | ||
schedule: | ||
interval: "daily" |
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 @@ | ||
dod: | ||
- Meaningful title for the release notes | ||
- Pull request is linked to an issue | ||
- All changes relate to the issue | ||
- A11y tests performed successfully | ||
- Code review carried out successfully | ||
- Manual test performed successfully |
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,74 @@ | ||
name: CI-Pipeline | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- 'develop' | ||
- 'main' | ||
- 'release/*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
# - uses: pnpm/action-setup@v3 | ||
# with: | ||
# run_install: false | ||
# version: 8 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# cache: pnpm | ||
# node-version: 20 | ||
|
||
# https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time | ||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
# cache: pnpm | ||
node-version: 20 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v3 | ||
id: pnpm-install | ||
with: | ||
version: 8 | ||
run_install: false | ||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
- uses: actions/cache@v4 | ||
name: Setup pnpm cache | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store | ||
- name: Install | ||
run: pnpm i --no-frozen-lockfile | ||
# - name: Unused | ||
# run: pnpm -r unused | ||
- name: Format | ||
run: pnpm -r format | ||
- name: Build | ||
run: pnpm -r build | ||
- name: Lint | ||
run: pnpm -r lint | ||
# - name: Test | ||
# run: pnpm -r --workspace-concurrency=1 test # https://pnpm.io/configuring | ||
|
||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
name: Upload theme test reports | ||
with: | ||
name: reports | ||
path: | | ||
packages/themes/**/test-results/**/*.png | ||
!**/node_modules |
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: 'CLA Assistant' | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened, closed, synchronize] | ||
|
||
jobs: | ||
cla: | ||
if: github.repository == 'public-ui/create-kolibri-templates' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'CLA Assistant' | ||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | ||
# Beta Release | ||
uses: contributor-assistant/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# the below token should have repo scope and must be manually added by you in the repository's secret | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
with: | ||
path-to-signatures: 'cla/kolibri/signatures-v1.0.json' | ||
path-to-document: 'https://github.com/public-ui/kolibri/blob/main/docs/CLA.md' # e.g. a CLA or a DCO document | ||
remote-organization-name: 'public-ui' | ||
remote-repository-name: '.github-private' | ||
# branch should not be protected | ||
branch: 'main' | ||
allowlist: actions-user,bot* | ||
|
||
#below are the optional inputs - If the optional inputs are not given, then default values will be taken | ||
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository) | ||
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository) | ||
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures' | ||
#signed-commit-message: 'For example: $contributorName has signed the CLA in #$pullRequestNo' | ||
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign' | ||
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA' | ||
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.' | ||
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true) | ||
#use-dco-flag: true - If you are using DCO instead of CLA |
Oops, something went wrong.