remove yarn

This commit is contained in:
teoxoy
2024-12-07 12:24:49 +01:00
parent e0b5c2e1b6
commit 0d9eca6244
5 changed files with 4986 additions and 2642 deletions

2
.nvmrc
View File

@@ -1 +1 @@
v14.17.0
v23.3.0

View File

@@ -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

File diff suppressed because it is too large Load Diff

View File

@@ -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"
}
}
}

2634
yarn.lock

File diff suppressed because it is too large Load Diff