Skip to content

Commit 5ed300b

Browse files
authored
Merge pull request #36 from ralphschuler/devel
Devel
2 parents 76def9a + 36d950d commit 5ed300b

File tree

642 files changed

+20455
-1500
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

642 files changed

+20455
-1500
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ updates:
66
schedule:
77
interval: "daily"
88
- package-ecosystem: "github-actions"
9-
directory: ".github/workflows"
9+
directory: "/"
1010
schedule:
1111
interval: "daily"
1212

.github/workflows/build-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
steps:
2626
- uses: actions/checkout@v4
27-
- uses: actions/setup-node@v4.0.0
27+
- uses: actions/setup-node@v4
28+
name: Setup Node
2829
with:
29-
node-version: 20
30-
- run: corepack enable
31-
- run: yarn
30+
cache: 'yarn'
31+
- run: yarn install
3232
- name: Run build docs
3333
run: yarn docs:build
3434
continue-on-error: true
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: License check
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
license_check:
9+
runs-on: ubuntu-latest
10+
env:
11+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
13+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
18+
name: Setup Node
19+
- run: corepack enable
20+
- run: yarn install
21+
- run: yarn license:report
22+
- name: Check licenses
23+
id: license_check_report
24+
uses: pilosus/action-pip-license-checker@5b5956a1093c68ebac6ff53c8427790d04ee5c26
25+
with:
26+
external: 'licenses.csv'
27+
external-format: 'csv'
28+
external-options: '{:skip-header false :package-column-index 0 :license-column-index 2}'
29+
report-format: 'json-pretty'
30+
formatter: '%-65s %-65s %-20s %-40s'
31+
totals: true
32+
headers: true
33+
fail: 'StrongCopyleft,NetworkCopyleft,Other,Error'
34+
verbose: 1
35+
- name: Save report
36+
if: ${{ always() }}
37+
run: echo "${{ steps.license_check_report.outputs.report }}" > license-report.json
38+
- name: Upload artifact
39+
if: ${{ always() }}
40+
uses: actions/upload-artifact@v3
41+
with:
42+
name: license-report
43+
path: license-report.json

.github/workflows/pull-request.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ jobs:
2727
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
steps:
2929
- uses: actions/checkout@v4
30-
- uses: actions/setup-node@v4.0.0
31-
with:
32-
node-version: 20
30+
- uses: actions/setup-node@v4
31+
name: Setup Node
3332
- run: corepack enable
34-
- run: yarn
33+
- run: yarn install
3534
- run: yarn lint:report
3635
continue-on-error: true
3736
- run: mkdir -p eslint_reports
@@ -62,9 +61,7 @@ jobs:
6261
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6362
steps:
6463
- uses: actions/checkout@v4
65-
- uses: actions/setup-node@v4.0.0
66-
with:
67-
node-version: 20
64+
- uses: actions/setup-node@v4
6865
- run: corepack enable
6966
- run: yarn
7067
- run: yarn test
@@ -111,9 +108,8 @@ jobs:
111108
permissions: write-all
112109
steps:
113110
- name: Setup Node.js Environment
114-
uses: actions/setup-node@v2
115-
with:
116-
node-version: '16'
111+
uses: actions/setup-node@v4
112+
- run: corepack enable
117113
- uses: actions/checkout@v3
118114
with:
119115
fetch-depth: 0

.github/workflows/release.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,11 @@ jobs:
3636
scope: '@${{ github.repository_owner }}'
3737
steps:
3838
- uses: actions/checkout@v4
39-
- uses: actions/setup-node@v4.0.0
40-
with:
41-
node-version: 20
42-
registry-url: "${{ matrix.registry-url }}"
43-
scope: "${{ matrix.scope }}"
44-
always-auth: true
39+
- uses: actions/setup-node@v4
40+
name: Setup Node
4541
- run: corepack enable
46-
- run: yarn
47-
- run: yarn publish --access public
42+
- run: yarn install
43+
- run: yarn publish --public
4844
env:
4945
NODE_AUTH_TOKEN: ${{ matrix.registry == 'npm' && env.NPM_TOKEN || env.GITHUB_TOKEN }}
5046

@@ -68,14 +64,10 @@ jobs:
6864
scope: '@${{ github.repository_owner }}'
6965
steps:
7066
- uses: actions/checkout@v4
71-
- uses: actions/setup-node@v4.0.0
72-
with:
73-
node-version: 20
74-
registry-url: "${{ matrix.registry-url }}"
75-
scope: "${{ matrix.scope }}"
76-
always-auth: true
67+
- uses: actions/setup-node@v4
68+
name: Setup Node
7769
- run: corepack enable
78-
- run: yarn
70+
- run: yarn install
7971
- run: yarn unpublish --force
8072
env:
8173
NODE_AUTH_TOKEN: ${{ matrix.registry == 'npm' && env.NPM_TOKEN || env.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ dist
164164
.yarn/unplugged
165165
.yarn/build-state.yml
166166
.yarn/install-state.gz
167-
.pnp.*
167+
# .pnp.*
168168

169169
### Node Patch ###
170170
# Serverless Webpack directories
@@ -206,7 +206,7 @@ dist
206206

207207
# if you are NOT using Zero-installs, then:
208208
# comment the following lines
209-
#!.yarn/cache
209+
!.yarn/cache
210210

211211
**/src/**/*.js
212212
**/src/**/*.js.map

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npx --no -- commitlint --edit ${1}
4+
yarn dlx commitlint --edit ${1}

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
# yarn fixpack
5-
# yarn readme
4+
#yarn fixpack
5+
#yarn readme
66
git add -A .

0 commit comments

Comments
 (0)