Skip to content

Commit 98b9596

Browse files
authored
Merge pull request #193 from WatchItDev/chore/vite/mui
chore: replacing webpack -> vite, replace css -> mui
2 parents 75ee122 + 78bd3be commit 98b9596

File tree

312 files changed

+15379
-77604
lines changed

Some content is hidden

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

312 files changed

+15379
-77604
lines changed

.babelrc.js

-21
This file was deleted.

.env.example

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
WATCHIT_DEFAULT_PDM_KEY=
2+
WATCHIT_DEFAULT_PDM_LABEL=
3+
WATCHIT_PUBSUB_PEER_DISCOVERY=

.eslintignore

-5
This file was deleted.

.eslintrc

-11
This file was deleted.

.gitattributes

-1
This file was deleted.

.github/workflows/cd.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CD
2+
on:
3+
push:
4+
branches:
5+
- "master"
6+
- "v1.0.0"
7+
8+
concurrency:
9+
group: ${{ inputs.os }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build-app:
14+
# if we add in the commit [no android] android build is ignored
15+
strategy:
16+
matrix:
17+
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
18+
include:
19+
- os: ubuntu-latest
20+
command: packagelinux
21+
- os: macos-latest
22+
command: packagemac
23+
- os: windows-latest
24+
command: packagewin
25+
26+
runs-on: ${{ matrix.os }}
27+
steps:
28+
- name: Check out Git repository
29+
uses: actions/checkout@v4
30+
31+
- name: Install Node.js in linux
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: 20.x
35+
36+
- name: Install
37+
run: npm ci
38+
39+
- name: Build/release
40+
run: make ${{ matrix.command }}
41+
env:
42+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
43+

.github/workflows/ci.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
workflow_call:
5+
# https://github.com/marketplace/actions/jest-coverage-report#forks-with-no-write-permission
6+
pull_request:
7+
8+
jobs:
9+
ci:
10+
name: Static Analysis and Test | Node ${{matrix.node}}
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node: ["18", "20"]
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Node.js v${{matrix.node}}
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ matrix.node }}
23+
cache: "npm"
24+
25+
- name: Install dependencies
26+
run: npm ci
27+
28+
- name: Run static analysis
29+
run: make lint
30+
31+
- name: Test
32+
run: make test
33+
34+
- name: Generate report
35+
run: make testcov

.github/workflows/publish.yml

-61
This file was deleted.

.github/workflows/test.yml

-36
This file was deleted.

.gitignore

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

3-
# dependencies
43
/node_modules
54
/.pnp
65
.pnp.js
76

8-
# testing
97
/coverage
8+
dist/
9+
src/dist/
1010

11-
# production
12-
/build
13-
14-
# misc
1511
abis/
16-
orbitdb/
12+
out/
1713
.DS_Store
1814
.env.local
1915
.env.development.local
2016
.env.test.local
2117
.env.production.local
2218
release
23-
build
2419
.env
2520
.idea
2621
__snapshots__

.gitpod.yml

-11
This file was deleted.

.jest/setupEnzyme.js

-3
This file was deleted.

.releaserc

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"repository": {
3+
"type": "git",
4+
"url": "https://github.com/WatchitDev/watchit-app.git"
5+
},
6+
"publishConfig": {
7+
"access": "restricted"
8+
},
9+
"branches": [
10+
"1.0.0"
11+
],
12+
"plugins": [
13+
"@semantic-release/release-notes-generator",
14+
[
15+
"@semantic-release/changelog",
16+
{
17+
"changelogFile": "CHANGELOG.md"
18+
}
19+
],
20+
[
21+
"@semantic-release/npm",
22+
{
23+
"npmPublish": false
24+
}
25+
],
26+
[
27+
"@semantic-release/commit-analyzer",
28+
{
29+
"releaseRules": [
30+
{
31+
"type": "feat",
32+
"release": "minor"
33+
},
34+
{
35+
"type": "fix",
36+
"release": "patch"
37+
},
38+
{
39+
"type": "perf",
40+
"release": "patch"
41+
}
42+
]
43+
}
44+
],
45+
[
46+
"@semantic-release/git",
47+
{
48+
"assets": [
49+
"CHANGELOG.md",
50+
"package.json"
51+
],
52+
"message": "chore(release): ${nextRelease.version} [skip ci]"
53+
}
54+
]
55+
]
56+
}

.vscode/settings.json

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"IPFS",
55
"ipns",
66
"linvodb",
7-
"logplease",
87
"WATCHIT"
98
]
109
}

Dockerfile.gitpod

-3
This file was deleted.

0 commit comments

Comments
 (0)