Skip to content

Commit

Permalink
Merge pull request #193 from WatchItDev/chore/vite/mui
Browse files Browse the repository at this point in the history
chore: replacing webpack -> vite, replace css -> mui
  • Loading branch information
geolffreym committed Jun 29, 2024
2 parents 75ee122 + 78bd3be commit 98b9596
Show file tree
Hide file tree
Showing 312 changed files with 15,379 additions and 77,604 deletions.
21 changes: 0 additions & 21 deletions .babelrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
WATCHIT_DEFAULT_PDM_KEY=
WATCHIT_DEFAULT_PDM_LABEL=
WATCHIT_PUBSUB_PEER_DISCOVERY=
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CD
on:
push:
branches:
- "master"
- "v1.0.0"

concurrency:
group: ${{ inputs.os }}
cancel-in-progress: true

jobs:
build-app:
# if we add in the commit [no android] android build is ignored
strategy:
matrix:
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
include:
- os: ubuntu-latest
command: packagelinux
- os: macos-latest
command: packagemac
- os: windows-latest
command: packagewin

runs-on: ${{ matrix.os }}
steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Install Node.js in linux
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install
run: npm ci

- name: Build/release
run: make ${{ matrix.command }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
workflow_call:
# https://github.com/marketplace/actions/jest-coverage-report#forks-with-no-write-permission
pull_request:

jobs:
ci:
name: Static Analysis and Test | Node ${{matrix.node}}
runs-on: ubuntu-latest
strategy:
matrix:
node: ["18", "20"]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js v${{matrix.node}}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Run static analysis
run: make lint

- name: Test
run: make test

- name: Generate report
run: make testcov
61 changes: 0 additions & 61 deletions .github/workflows/publish.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/test.yml

This file was deleted.

11 changes: 3 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage
dist/
src/dist/

# production
/build

# misc
abis/
orbitdb/
out/
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
release
build
.env
.idea
__snapshots__
Expand Down
11 changes: 0 additions & 11 deletions .gitpod.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .jest/setupEnzyme.js

This file was deleted.

56 changes: 56 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"repository": {
"type": "git",
"url": "https://github.com/WatchitDev/watchit-app.git"
},
"publishConfig": {
"access": "restricted"
},
"branches": [
"1.0.0"
],
"plugins": [
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
}
]
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}
]
]
}
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"IPFS",
"ipns",
"linvodb",
"logplease",
"WATCHIT"
]
}
3 changes: 0 additions & 3 deletions Dockerfile.gitpod

This file was deleted.

Loading

0 comments on commit 98b9596

Please sign in to comment.