Skip to content

Commit

Permalink
Simplify development workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
undyingwraith committed Feb 7, 2025
1 parent ba71db2 commit 40acab5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ The documentation can be found [here](./docs/README.md)
### Clone the repository

```shell
git clone https://github.com/mfts/papermark.git
cd papermark
git clone https://github.com/undyingwraith/ipmc.git
cd ipmc
```

### Installing dependencies
Expand All @@ -38,16 +38,8 @@ yarn install

### Running it in dev mode

Run the following commands in paralell:

```shell
yarn workspace watch
yarn workspace ipmc-desktop run dev
```

*NOTE: for first time install you might need to run a build first*
```shell
yarn build
yarn dev
```

## Packages
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"watch": "yarn workspaces foreach -Api run watch",
"dev": "yarn workspaces foreach -Api run dev",
"build": "yarn workspaces foreach -At run build",
"test": "yarn workspaces foreach -At run test",
"cli": "yarn workspace ipmc-tools run cli"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "./dist/index.js",
"type": "module",
"scripts": {
"watch": "tsc --watch",
"dev": "tsc --watch",
"build": "tsc",
"test": "vitest run"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "./dist/index.js",
"type": "module",
"scripts": {
"watch": "tsc --watch",
"dev": "tsc --watch",
"build": "tsc"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"./style.css": "./dist/style.css"
},
"scripts": {
"watch": "vite build --watch --mode dev",
"dev": "vite build --watch --mode dev",
"build": "vite build",
"test": "vitest run"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ipmc-webui",
"type": "module",
"scripts": {
"watch": "vite",
"dev": "vite",
"build": "vite build"
},
"dependencies": {
Expand Down

0 comments on commit 40acab5

Please sign in to comment.