Skip to content

Commit f56c87a

Browse files
authored
Merge pull request #177 from akd-io/release/0.2.2
Release v0.2.2
2 parents e303c09 + 1609ac1 commit f56c87a

File tree

188 files changed

+9292
-3180
lines changed

Some content is hidden

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

188 files changed

+9292
-3180
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Global - CI"
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
name: "Check formatting"
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: "Checkout repo"
13+
uses: actions/checkout@v3
14+
15+
- name: "Set up pnpm"
16+
uses: pnpm/action-setup@v2
17+
with:
18+
version: 8
19+
20+
- name: "Set up latest Node LTS"
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: "lts/*"
24+
cache: pnpm
25+
26+
- name: "Install dependencies"
27+
run: pnpm install
28+
29+
- name: "Check formatting"
30+
run: pnpm format:check

.github/workflows/cli-ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "CLI - CI"
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
name: "Build, lint, test - ${{ matrix.os }}"
8+
9+
strategy:
10+
matrix:
11+
node: ["18"]
12+
os: [ubuntu-latest, windows-latest, macOS-latest]
13+
14+
runs-on: ${{ matrix.os }}
15+
16+
steps:
17+
- name: "Checkout repo"
18+
uses: actions/checkout@v3
19+
20+
- name: "Set up pnpm"
21+
uses: pnpm/action-setup@v2
22+
with:
23+
version: 8
24+
25+
- name: "Set up Node ${{ matrix.node }}"
26+
uses: actions/setup-node@v3
27+
with:
28+
node-version: ${{ matrix.node }}
29+
cache: pnpm
30+
31+
- name: "Install dependencies"
32+
run: pnpm install
33+
34+
- name: "Build"
35+
run: pnpm build:cli
36+
37+
- name: "Lint"
38+
run: pnpm lint:cli
39+
40+
- name: "Test"
41+
run: pnpm test:cli

.github/workflows/main.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
name: "Publish"
1+
name: "Global - Publish"
2+
3+
# Publishes all packages in the monorepo.
4+
# Packages should specify `private: true` in their `package.json` files, if they shouldn't be published.
5+
# This workflow just installs and runs `pnpm publish`. Each package should add build scripts and similar to its `prepack` script in its `package.json` file.
26

37
on:
48
push:
@@ -9,27 +13,24 @@ jobs:
913
publish:
1014
name: Publish
1115
runs-on: ubuntu-latest
16+
1217
steps:
1318
- name: "Checkout repo"
14-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
20+
21+
- name: "Set up pnpm"
22+
uses: pnpm/action-setup@v2
23+
with:
24+
version: 8
1525

16-
- name: "Use latest Node LTS"
17-
uses: actions/setup-node@v2
26+
- name: "Set up latest Node LTS"
27+
uses: actions/setup-node@v3
1828
with:
1929
node-version: "lts/*"
20-
cache: yarn
30+
cache: pnpm
2131

2232
- name: "Install dependencies"
23-
run: yarn install
24-
25-
- name: "Publish to npm"
26-
id: npmPublish
27-
uses: JS-DevTools/npm-publish@v1
28-
with:
29-
token: ${{ secrets.NPM_AUTH_TOKEN }}
33+
run: pnpm install
3034

31-
- name: "Add version tag"
32-
if: steps.npmPublish.outputs.type != 'none'
33-
run: |
34-
git tag v${{ steps.npmPublish.outputs.version }}
35-
git push origin v${{ steps.npmPublish.outputs.version }}
35+
- name: "Publish packages"
36+
run: pnpm publish -r

.github/workflows/web-ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Web - CI"
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
name: Build & Lint
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: "Checkout repo"
13+
uses: actions/checkout@v3
14+
15+
- name: "Set up pnpm"
16+
uses: pnpm/action-setup@v2
17+
with:
18+
version: 8
19+
20+
- name: "Set up latest Node LTS"
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: "lts/*"
24+
cache: pnpm
25+
26+
- name: "Install dependencies"
27+
run: pnpm install
28+
29+
- name: "Build"
30+
run: pnpm build:web
31+
32+
- name: "Lint"
33+
run: pnpm lint:web

.gitignore

Lines changed: 61 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,61 @@
1-
*-debug.log
2-
*-error.log
3-
/.nyc_output
4-
/dist
5-
/lib
6-
/package-lock.json
7-
/tmp
8-
node_modules
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
**/node_modules
5+
.pnp
6+
.pnp.js
7+
8+
# testing
9+
**/coverage
10+
11+
# next.js
12+
**/.next/
13+
**/out/
14+
15+
# production
16+
**/build
17+
**/dist
18+
**/lib
19+
**/tmp
20+
21+
22+
# misc
23+
.DS_Store
24+
**/*.pem
25+
26+
# debug
27+
**/*-debug.log*
28+
**/*-error.log*
29+
30+
# local env files
31+
.env.local
32+
.env.development.local
33+
.env.test.local
34+
.env.production.local
35+
36+
# vercel
37+
**/.vercel
38+
39+
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode
40+
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode
41+
42+
### VisualStudioCode ###
43+
.vscode/*
44+
!.vscode/settings.json
45+
!.vscode/tasks.json
46+
!.vscode/launch.json
47+
!.vscode/extensions.json
48+
!.vscode/*.code-snippets
49+
50+
# Local History for Visual Studio Code
51+
.history/
52+
53+
# Built Visual Studio Code Extensions
54+
*.vsix
55+
56+
### VisualStudioCode Patch ###
57+
# Ignore all local history of files
58+
.history
59+
.ionide
60+
61+
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode

.husky/.gitignore

100644100755
File mode changed.

.prettierignore

Lines changed: 66 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,66 @@
1-
*-debug.log
2-
*-error.log
3-
/.nyc_output
4-
/dist
5-
/lib
6-
/package-lock.json
7-
/tmp
8-
node_modules
9-
/prod-assets
1+
# Prettier
2+
**/prod-assets
3+
4+
##############################################
5+
### REST SHOULD BE IDENTICAL TO .gitignore ###
6+
##############################################
7+
8+
# dependencies
9+
**/node_modules
10+
.pnp
11+
.pnp.js
12+
13+
# testing
14+
**/coverage
15+
16+
# next.js
17+
**/.next/
18+
**/out/
19+
20+
# production
21+
**/build
22+
**/dist
23+
**/lib
24+
**/tmp
25+
26+
27+
# misc
28+
.DS_Store
29+
**/*.pem
30+
31+
# debug
32+
**/*-debug.log*
33+
**/*-error.log*
34+
35+
# local env files
36+
.env.local
37+
.env.development.local
38+
.env.test.local
39+
.env.production.local
40+
41+
# vercel
42+
**/.vercel
43+
44+
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode
45+
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode
46+
47+
### VisualStudioCode ###
48+
.vscode/*
49+
!.vscode/settings.json
50+
!.vscode/tasks.json
51+
!.vscode/launch.json
52+
!.vscode/extensions.json
53+
!.vscode/*.code-snippets
54+
55+
# Local History for Visual Studio Code
56+
.history/
57+
58+
# Built Visual Studio Code Extensions
59+
*.vsix
60+
61+
### VisualStudioCode Patch ###
62+
# Ignore all local history of files
63+
.history
64+
.ionide
65+
66+
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2+
"typescript.tsdk": "node_modules/typescript/lib",
23
"files.exclude": {}
34
}

bin-test/run-prod

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)