-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* minor fixups to fields in package.json * add missing `@types/*` packages * update to latest yarn * update yarn.lock to match updated yarn, remove redundant package-lock.json * refactor all uses of `require` => `import` * fix typo * fix rpm/deb build for linux * use better fix for rpm/deb build on linux * add some build/yarn/vscode stuff to .gitignore * add `yarn clean` and `yarn clean:slate` commands * add basic README * add lint:fix command to package.json
- Loading branch information
1 parent
48de128
commit 0343541
Showing
8 changed files
with
7,430 additions
and
14,446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# comfyui-electron | ||
|
||
## Install | ||
|
||
This project uses `yarn` as its package manager. If you do not already have a `yarn` binary available on your PATH, run: | ||
|
||
```bash | ||
# corepack is a set of utilities included with all recent distributions of node | ||
corepack enable | ||
``` | ||
|
||
This will install a usable `yarn` binary. Then, in the root directory of this repo (ie adjacent to the top-level package.json file), run: | ||
|
||
```bash | ||
yarn install | ||
``` | ||
|
||
## Utility scripts | ||
|
||
A number of utility scripts are defined under the "scripts" field of package.json. For example, to build the project, run: | ||
|
||
```bash | ||
yarn make | ||
``` | ||
|
||
Then, to clean up the build artifacts you can run: | ||
|
||
```bash | ||
yarn clean | ||
|
||
# clean:slate also removes node_modules | ||
yarn clean:slate | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.