-
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
Showing
23 changed files
with
23,921 additions
and
21,495 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,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["github>taiga-family/renovate-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,46 @@ | ||
name: 🤖 Auto approve validation | ||
on: pull_request | ||
|
||
env: | ||
JOBS_NAME: '[ "Build" ]' | ||
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
matrix: ${{ steps.matrix.outputs.value }} | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- id: matrix | ||
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' | ||
run: echo "value=$JOBS_NAME" >> $GITHUB_OUTPUT | ||
|
||
wait: | ||
needs: [setup] | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
value: ${{ fromJSON(needs.setup.outputs.matrix) }} | ||
steps: | ||
- uses: taiga-family/ci/actions/run/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
job: ${{ matrix.value }} | ||
|
||
approve: | ||
needs: [wait] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/auto/approve/[email protected] | ||
with: | ||
token1: ${{ secrets.GITHUB_TOKEN }} | ||
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} | ||
- uses: taiga-family/ci/actions/run/[email protected] | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
concurrency: | ||
group: auto-approve-${{ github.head_ref }} | ||
cancel-in-progress: 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,16 @@ | ||
name: 🤖 Auto assign | ||
on: | ||
pull_request: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
assign-author: | ||
name: PR author as an assignee | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: toshimaru/[email protected] | ||
if: env.IS_OWNER_MODE == 'true' | ||
with: | ||
repo-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} |
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: ⚙️ CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- run: | | ||
if [[ "${{ env.SUPPORT_AUTO_PUSH }}" == "true" ]]; then | ||
npx stylelint '**/*.{less,css}' --fix | ||
npx prettier '**/*.*' --write | ||
npx eslint . --fix | ||
else | ||
npx stylelint '**/*.{less,css}' | ||
npx prettier '**/*.*' --check | ||
npx eslint . | ||
fi | ||
- uses: taiga-family/ci/actions/auto/[email protected] | ||
with: | ||
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | ||
|
||
concurrency: | ||
group: build-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: 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,6 @@ | ||
.nx | ||
.idea | ||
.angular | ||
.gitignore | ||
.prettierignore | ||
package-lock.json |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# taiga-playground | ||
# Taiga UI playground | ||
|
||
[Edit in StackBlitz next generation editor ⚡️](https://stackblitz.com/~/github.com/taiga-family/taiga-playground) |
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 |
---|---|---|
@@ -1,74 +1,68 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"cli": { | ||
"analytics": "1e1de97b-a744-405a-8b5a-0397bb3d01ce" | ||
}, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"demo": { | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:application", | ||
"configurations": { | ||
"development": { | ||
"extractLicenses": false, | ||
"namedChunks": true, | ||
"optimization": false, | ||
"sourceMap": true | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"demo": { | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:application", | ||
"configurations": { | ||
"development": { | ||
"extractLicenses": false, | ||
"namedChunks": true, | ||
"optimization": false, | ||
"sourceMap": true | ||
}, | ||
"production": { | ||
"aot": true, | ||
"extractLicenses": true, | ||
"namedChunks": false, | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false | ||
} | ||
}, | ||
"options": { | ||
"assets": [ | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@taiga-ui/icons/src", | ||
"output": "assets/taiga-ui/icons" | ||
} | ||
], | ||
"index": "src/index.html", | ||
"browser": "src/main.ts", | ||
"outputPath": "dist/demo", | ||
"polyfills": ["zone.js"], | ||
"scripts": [], | ||
"styles": ["src/styles.less"], | ||
"tsConfig": "tsconfig.app.json", | ||
"server": "src/main.server.ts", | ||
"prerender": true, | ||
"ssr": { | ||
"entry": "server.ts" | ||
} | ||
} | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"configurations": { | ||
"development": { | ||
"buildTarget": "demo:build:development" | ||
}, | ||
"production": { | ||
"buildTarget": "demo:build:production" | ||
} | ||
}, | ||
"defaultConfiguration": "development" | ||
} | ||
}, | ||
"production": { | ||
"aot": true, | ||
"extractLicenses": true, | ||
"namedChunks": false, | ||
"optimization": true, | ||
"outputHashing": "all", | ||
"sourceMap": false | ||
} | ||
}, | ||
"options": { | ||
"assets": [ | ||
{ | ||
"glob": "**/*", | ||
"input": "node_modules/@taiga-ui/icons/src", | ||
"output": "assets/taiga-ui/icons" | ||
} | ||
], | ||
"index": "src/index.html", | ||
"browser": "src/main.ts", | ||
"outputPath": "dist/demo", | ||
"polyfills": ["zone.js"], | ||
"scripts": [], | ||
"styles": [ | ||
"@taiga-ui/core/styles/taiga-ui-theme.less", | ||
"@taiga-ui/core/styles/taiga-ui-fonts.less" | ||
], | ||
"tsConfig": "tsconfig.app.json", | ||
"server": "src/main.server.ts", | ||
"prerender": true, | ||
"ssr": { | ||
"entry": "server.ts" | ||
} | ||
} | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"configurations": { | ||
"development": { | ||
"buildTarget": "demo:build:development" | ||
}, | ||
"production": { | ||
"buildTarget": "demo:build:production" | ||
} | ||
}, | ||
"defaultConfiguration": "development" | ||
"prefix": "app", | ||
"projectType": "application", | ||
"root": "", | ||
"schematics": {}, | ||
"sourceRoot": "src" | ||
} | ||
}, | ||
"prefix": "app", | ||
"projectType": "application", | ||
"root": "", | ||
"schematics": {}, | ||
"sourceRoot": "src" | ||
} | ||
}, | ||
"version": 1 | ||
}, | ||
"version": 1 | ||
} |
Oops, something went wrong.