Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: v0.15.0 #270

Merged
merged 124 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
73c1c23
refactor(signal): add a global `signalCounter` instead of `Symbol` & …
mohammadhonarvar Aug 21, 2022
36ceb8b
fix(signal): fix some issues of `review`
mohammadhonarvar Aug 21, 2022
b18700d
Merge pull request #217 from AliMD/feature/refactor-signal
alimd Aug 21, 2022
5ebf4a5
refactor: php docker files
alimd Aug 22, 2022
1f0192e
Merge pull request #219 from AliMD/feat/wp
alimd Aug 22, 2022
ed8f5af
refactor(classic/deploy): centralise deploy script
alimd Aug 22, 2022
a7af093
feat(classic/deploy): add logs and up command
alimd Aug 22, 2022
cdabd95
Merge remote-tracking branch 'origin/next' into feat/wp
alimd Aug 22, 2022
7226ee7
Merge pull request #220 from AliMD/feat/wp
alimd Aug 22, 2022
eec4b62
fix: get signal object of `request` signal
mohammadhonarvar Aug 22, 2022
30da28b
chore: update docs
mohammadhonarvar Aug 22, 2022
538192f
feat: update workflow
njfamirm Aug 24, 2022
bc5d4e9
Merge pull request #225 from AliMD/feat/workflow
alimd Aug 24, 2022
535c178
Merge branch 'next' into feature/signal-set-porvider-issue
alimd Aug 24, 2022
4d1237c
refactor(signal): full review for fix all issues
alimd Aug 24, 2022
c74be93
fix(package): eslint command
alimd Aug 24, 2022
24ab392
lint(signal): make prettier happy
alimd Aug 24, 2022
dbe9483
fix(signal): log performance and security issue
alimd Aug 24, 2022
33c3a56
feat(workflows): new eslint workflow
alimd Aug 24, 2022
3e849e5
chore(demo): test the lint workflow
alimd Aug 24, 2022
69aa040
Merge pull request #222 from AliMD/feature/signal-set-porvider-issue
alimd Aug 24, 2022
bcbb06f
Merge branch 'next' into feat/workflows
alimd Aug 24, 2022
2598166
fix(workflows): install deps
alimd Aug 24, 2022
2437ebf
Merge branch 'feat/workflows' of github.com:AliMD/alwatr into feat/wo…
alimd Aug 24, 2022
faaae0e
feat(workflow/lint): add schedule
alimd Aug 24, 2022
00be21c
feat(workflows): CodeQL Analyze
alimd Aug 24, 2022
7088c4a
lint(element): ClassType
alimd Aug 24, 2022
0430660
chore: cleanup
alimd Aug 24, 2022
4b191e8
fix(workflow/lint): task name
alimd Aug 24, 2022
96a0716
refactor(workflow/build): new workflow
alimd Aug 24, 2022
9710fba
fix(workflow/build): name
alimd Aug 24, 2022
59c8f69
chore(element): eslint ban type
alimd Aug 24, 2022
cbb1373
feat(workflows): Dependency Review
alimd Aug 24, 2022
e7e3de5
Merge pull request #228 from AliMD/feat/workflows
alimd Aug 24, 2022
731a5b2
fix(workflow): run issue
alimd Aug 24, 2022
75cb106
Merge pull request #229 from AliMD/feat/workflows
alimd Aug 24, 2022
7853130
chore(workflow): publish npm ci
alimd Aug 27, 2022
e108094
lint(signal): make eslint happy
alimd Aug 27, 2022
eae21f3
chore(workflow): improve and test publish npm ci
alimd Aug 27, 2022
02461e5
chore(workflow): improve and test publish npm ci
alimd Aug 27, 2022
d65c7ff
chore(workflow): improve and test publish npm ci
alimd Aug 27, 2022
67ee2c7
chore(workflow): improve and test publish npm ci
alimd Aug 27, 2022
5d0c3df
chore(eslint): use --ignore-path .gitignore
alimd Aug 27, 2022
2d2c5aa
chore(workflow): improve and test publish npm ci
alimd Aug 27, 2022
72fba9b
chore(workflow): improve and test publish npm ci
alimd Aug 27, 2022
22ccf4e
chore(workflow): improve and test publish npm ci
alimd Aug 27, 2022
9255939
chore(workflow): improve lint
alimd Aug 27, 2022
59a6b6b
chore(workflow): improve and test publish npm ci
alimd Aug 27, 2022
62b54a5
chore: new version test
alimd Aug 27, 2022
3dbc02a
chore(workflow): publish npm final
alimd Aug 27, 2022
bae7cbd
vhore(workflows): review and improve
alimd Aug 27, 2022
1cbc28b
vhore(workflows): review and improve
alimd Aug 27, 2022
8adb584
vhore(workflows): review and improve
alimd Aug 27, 2022
8db517a
Merge pull request #231 from AliMD/feat/deploy-workflows
alimd Aug 27, 2022
f181a48
chore(workflows): review and improve
alimd Aug 27, 2022
63d73ca
Merge branch 'next' into feat/deploy-workflows
alimd Aug 27, 2022
ed8ed61
chore(workflows): review and improve
alimd Aug 27, 2022
b60abc1
Merge branch 'feat/deploy-workflows' of github.com:AliMD/alwatr into …
alimd Aug 27, 2022
ad95a79
Create dependabot.yml
alimd Aug 27, 2022
64fa733
chore(deps-dev): bump eslint-import-resolver-typescript
dependabot[bot] Aug 27, 2022
f8ba5ec
chore(deps): bump lit from 2.2.8 to 2.3.1
dependabot[bot] Aug 27, 2022
9189320
chore(deps-dev): bump lerna from 5.3.0 to 5.4.3
dependabot[bot] Aug 27, 2022
af8d8f5
chore(deps-dev): bump typescript from 4.7.4 to 4.8.2
dependabot[bot] Aug 27, 2022
d096a9b
chore(deps-dev): bump eslint from 8.21.0 to 8.23.0
dependabot[bot] Aug 27, 2022
e63b9ef
feat(container): alpine with CI deploy workflow
alimd Aug 27, 2022
909b145
Merge pull request #237 from AliMD/dependabot/npm_and_yarn/eslint-8.23.0
alimd Aug 27, 2022
7a3be98
Merge branch 'next' into dependabot/npm_and_yarn/typescript-4.8.2
alimd Aug 27, 2022
db91ffe
Merge pull request #236 from AliMD/dependabot/npm_and_yarn/typescript…
alimd Aug 27, 2022
15f85fb
Merge branch 'next' into dependabot/npm_and_yarn/lerna-5.4.3
alimd Aug 27, 2022
4184381
Merge pull request #235 from AliMD/dependabot/npm_and_yarn/lerna-5.4.3
alimd Aug 27, 2022
78cbf55
Merge pull request #234 from AliMD/dependabot/npm_and_yarn/lit-2.3.1
alimd Aug 27, 2022
87d7dbd
Merge branch 'next' into dependabot/npm_and_yarn/eslint-import-resolv…
alimd Aug 27, 2022
1c35c06
Merge pull request #233 from AliMD/dependabot/npm_and_yarn/eslint-imp…
alimd Aug 27, 2022
be18821
chore(workflows): cache container build
alimd Aug 27, 2022
ac7f361
fix(workflows): final test publish container
alimd Aug 27, 2022
584471f
Merge branch 'next' into feat/deploy-workflows
alimd Aug 27, 2022
a14b835
Merge pull request #232 from AliMD/feat/deploy-workflows
alimd Aug 27, 2022
a752b90
fix(workflows): custom version tags for containers
alimd Aug 27, 2022
9fc7db7
fix(workflows): add workflow_dispatch
alimd Aug 27, 2022
902264a
Merge branch 'next' into feat/deploy-workflows
alimd Aug 27, 2022
dd8f414
fix(workflows): name
alimd Aug 27, 2022
96c60a7
Merge branch 'feat/deploy-workflows' of github.com:AliMD/alwatr into …
alimd Aug 27, 2022
e404ce4
chore(workflows): add publish-container.yml tp change paths!
alimd Aug 27, 2022
7bca6e7
fix(workflows): change paths!
alimd Aug 27, 2022
1db6600
fix(workflows): image custom versions
alimd Aug 27, 2022
ccd80e8
fix(workflows): image custom versions
alimd Aug 27, 2022
e407049
feat(container): tdlib!
alimd Aug 27, 2022
cd75466
merge
alimd Aug 27, 2022
e0ac726
fix(tdlib): dockerfile
alimd Aug 27, 2022
286de83
Merge pull request #238 from AliMD/feat/deploy-workflows
alimd Aug 27, 2022
861b70f
fix(tdlib): build issue
alimd Aug 28, 2022
5d8e4f2
Merge remote-tracking branch 'origin/next' into feat/deploy-workflows
alimd Aug 28, 2022
9b204d4
Merge pull request #240 from AliMD/feat/deploy-workflows
alimd Aug 28, 2022
21f01cd
fix: remove npm token from install dependencies
njfamirm Aug 28, 2022
627aeca
Merge pull request #242 from AliMD/fix/workflow
alimd Aug 28, 2022
92fb96e
{text check} grammar check
adltalab Aug 28, 2022
366e073
{text check} just grammar check.
adltalab Aug 28, 2022
9e098a7
Fix(core/router/readme) : spelling mistake
amiresp Aug 29, 2022
81cb86a
chore(deps-dev): bump @web/dev-server from 0.1.33 to 0.1.34
dependabot[bot] Aug 29, 2022
b731b5d
chore(deps-dev): bump @types/node from 18.6.4 to 18.7.14
dependabot[bot] Aug 30, 2022
0ffc6f0
chore(deps-dev): bump @typescript-eslint/parser from 5.32.0 to 5.36.1
dependabot[bot] Aug 31, 2022
ec6b7b5
chore(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot[bot] Aug 31, 2022
23ef725
chore(deps-dev): bump lerna from 5.4.3 to 5.5.0
dependabot[bot] Sep 1, 2022
d2a4cf1
refactor(classic-cloud): refactor up script and cleanup
alimd Sep 1, 2022
8059d84
feat(classic-cloud): new deployment
alimd Sep 1, 2022
8d9eaef
feat(classic-cloud): child deploy script
alimd Sep 1, 2022
8f7d4f4
Merge pull request #257 from AliMD/feat/deploy
alimd Sep 1, 2022
e543904
feat(rnnoise-model): ffmpge rnnoise models
alimd Sep 1, 2022
eac4685
Merge pull request #258 from AliMD/feat/rnnn
alimd Sep 1, 2022
2ce6a82
Merge branch 'next' into dependabot/npm_and_yarn/lerna-5.5.0
alimd Sep 1, 2022
943ca8e
Merge pull request #256 from AliMD/dependabot/npm_and_yarn/lerna-5.5.0
alimd Sep 1, 2022
551d264
Merge pull request #253 from AliMD/dependabot/npm_and_yarn/typescript…
alimd Sep 1, 2022
69f96a4
Merge branch 'next' into dependabot/npm_and_yarn/typescript-eslint/pa…
alimd Sep 1, 2022
0eaed4c
Merge pull request #252 from AliMD/dependabot/npm_and_yarn/typescript…
alimd Sep 1, 2022
a1d484b
Merge branch 'next' into dependabot/npm_and_yarn/types/node-18.7.14
alimd Sep 1, 2022
56f5762
Merge pull request #250 from AliMD/dependabot/npm_and_yarn/types/node…
alimd Sep 1, 2022
dff39c8
Merge branch 'next' into dependabot/npm_and_yarn/web/dev-server-0.1.34
alimd Sep 1, 2022
3b01d48
Merge pull request #245 from AliMD/dependabot/npm_and_yarn/web/dev-se…
alimd Sep 1, 2022
b38d3a0
Merge pull request #244 from amiresp/next
alimd Sep 1, 2022
2c614d3
Merge branch 'next' into next
alimd Sep 1, 2022
0e81fdb
Merge pull request #243 from adltalab/next
alimd Sep 1, 2022
ab91a08
chore(yarn): upgrade
alimd Sep 1, 2022
785516d
release: v0.15.0
alimd Sep 1, 2022
404512f
Merge branch 'main' into release/v0.15
alimd Sep 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .eslintignore

This file was deleted.

3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
deploy.sh filter=crypt diff=crypt merge=crypt
_up.sh filter=crypt diff=crypt merge=crypt
*.env filter=crypt diff=crypt merge=crypt
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
31 changes: 24 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,44 @@
name: Build

on:
workflow_dispatch:

pull_request:
branches:
- next*
- main
- release/*

push:
branches:
- next
- next*
- main
- release/*

env:
NODE_VERSION: '16.x'
NODE_VERSION: latest

jobs:
build-ts:
name: Build Typescript
runs-on: ubuntu-latest

permissions:
contents: read
security-events: write

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- uses: actions/setup-node@v3
- name: Setup nodejs
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

- run: yarn install --frozen-lockfile
- run: yarn build:ts
- name: Build Typescript
run: yarn build:ts
67 changes: 67 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: CodeQL

on:
workflow_dispatch:

pull_request:
paths:
- '**.ts'
- '**.js'
branches:
- next*
- main
- release/*

push:
paths:
- '**.ts'
- '**.js'
branches:
- next*
- main
- release/*

schedule:
- cron: '0 7 * * 1'
# * * * * *
# │ │ │ │ │
# │ │ │ │ └───── day of the week (0 - 6 or SUN-SAT)
# │ │ │ └─────── month (1 - 12 or JAN-DEC)
# │ │ └───────── day of the month (1 - 31)
# │ └─────────── hour (0 - 23)
# └───────────── minute (0 - 59)

jobs:
analyze-code-ql:
name: CodeQL Analyze
runs-on: ubuntu-latest

permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'TypeScript' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

- name: Auto build
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
21 changes: 21 additions & 0 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: Dependency Review

on:
pull_request:

jobs:
dependency-review:
name: Dependency Review
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3

- name: 'Dependency Review'
uses: actions/dependency-review-action@v2
52 changes: 44 additions & 8 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,63 @@
name: Lint

on:
workflow_dispatch:

pull_request:
branches:
- next*
- main
- release/*

push:
branches:
- next
- next*
- main
- release/*

schedule:
- cron: '0 7 * * 4'
# * * * * *
# │ │ │ │ │
# │ │ │ │ └───── day of the week (0 - 6 or SUN-SAT)
# │ │ │ └─────── month (1 - 12 or JAN-DEC)
# │ │ └───────── day of the month (1 - 31)
# │ └─────────── hour (0 - 23)
# └───────────── minute (0 - 59)

env:
NODE_VERSION: '16.x'
NODE_VERSION: latest

jobs:
lint:
lint-ts:
name: ESLint Scanning
runs-on: ubuntu-latest

permissions:
contents: read
security-events: write

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- uses: actions/setup-node@v3
- name: Setup nodejs
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

- run: yarn install --frozen-lockfile
- run: yarn lint
- name: Run ESLint
run: yarn lint:ts
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
98 changes: 98 additions & 0 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: Publish Containers

on:
workflow_dispatch:

push:
branches:
- next
tags:
- 'v*.*.*'

pull_request:
paths:
- 'packages/container/**'
- '.github/workflows/publish-container.yml'
branches:
- next

env:
REGISTRY: ghcr.io

jobs:
build:
if: github.repository_owner == 'AliMD'

name: Build & Publish Containers
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
include:
- image: alpine
version:
short: 3
full: 3.16
- image: tdlib
version:
short: 1
full: 1.8

permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: ${{env.REGISTRY}}/${{github.repository_owner}}/${{matrix.image}}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}},prefix=alwatr-
type=semver,pattern={{major}}.{{minor}},prefix=alwatr-
type=raw,value=${{matrix.version.short}}
type=raw,value=${{matrix.version.full}}

- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@main

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log into registry ${{env.REGISTRY}}
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ${{env.REGISTRY}}
username: ${{github.repository_owner}}
password: ${{secrets.GITHUB_TOKEN}}

- name: Build and push container image
id: build-and-push
uses: docker/build-push-action@v3
with:
context: packages/container/${{matrix.image}}
push: ${{github.event_name != 'pull_request'}}
tags: ${{steps.meta.outputs.tags}}
labels: ${{steps.meta.outputs.labels}}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Sign the published container image
if: ${{github.event_name != 'pull_request'}}
env:
COSIGN_EXPERIMENTAL: "true"
run: echo "${{steps.meta.outputs.tags}}" | xargs -I {} cosign sign {}@${{steps.build-and-push.outputs.digest}}
53 changes: 53 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: Publish NPM

on:
workflow_dispatch:

release:
types:
- created

push:
tags:
- 'v*.*.*'

env:
NODE_VERSION: latest

jobs:
publish-npm:
if: github.repository_owner == 'AliMD'

name: Publish NPM
runs-on: ubuntu-latest

permissions:
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup nodejs
uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_VERSION}}
registry-url: https://registry.npmjs.org/
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build Typescript
run: yarn build:ts

- name: Run ESLint
run: yarn lint:ts

- name: Publish
run: yarn run publish --yes
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Loading