mirror of
https://github.com/teoxoy/factorio-blueprint-editor.git
synced 2025-09-04 17:09:30 +00:00
remove yarn
This commit is contained in:
@@ -15,7 +15,6 @@ You can file new issues by selecting from our [new issue templates](https://gith
|
||||
## Prerequisites
|
||||
|
||||
- [git](https://git-scm.com/)
|
||||
- [yarn](https://yarnpkg.com)
|
||||
- [node](https://nodejs.org/en/)
|
||||
- [vscode](https://code.visualstudio.com/)
|
||||
- [rust](https://rust-lang.org)
|
||||
@@ -33,8 +32,8 @@ This project uses `eslint` and `prettier` to lint and format code. I would recom
|
||||
1. Download the recommended workspace extensions in vscode
|
||||
1. Create a new git branch (`git checkout -b my-fix-branch master`)
|
||||
1. Create a new file at the path `packages/exporter/.env` and add your `FACTORIO_USERNAME` and `FACTORIO_TOKEN` (you can get those [here](https://factorio.com/profile))
|
||||
1. Run `yarn`
|
||||
1. Run `yarn start:website` and `yarn start:exporter`
|
||||
1. Run `npm i`
|
||||
1. Run `npm run start:website` and `npm run start:exporter`
|
||||
1. Open the link in a browser or use the vscode debugger
|
||||
1. Make changes
|
||||
1. Commit your changes using a descriptive commit message
|
||||
|
4978
package-lock.json
generated
Normal file
4978
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,13 @@
|
||||
{
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
"packages/editor",
|
||||
"packages/website"
|
||||
],
|
||||
"scripts": {
|
||||
"start:website": "yarn workspace @fbe/website run start",
|
||||
"start:website": "npm --workspace=@fbe/website run start",
|
||||
"start:exporter": "cd ./packages/exporter && systemfd --no-pid -s http::8888 -- cargo watch -w ./src -x \"run --features dev\"",
|
||||
"build:website": "yarn workspace @fbe/website run build",
|
||||
"build:website": "npm --workspace=@fbe/website run build",
|
||||
"lint": "eslint **/*.ts --config .eslintrc.yml --ignore-path .gitignore",
|
||||
"lint:fix": "eslint **/*.ts --fix --config .eslintrc.yml --ignore-path .gitignore",
|
||||
"format": "prettier **/*.{js,ts,html,json,yml,md} --check --config .prettierrc.yml --ignore-path .gitignore",
|
||||
@@ -22,4 +23,4 @@
|
||||
"prettier": "^2.5.1",
|
||||
"typescript": "^4.5.4"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user