Skip to content

Commit

Permalink
🔧 disable yarn pnp
Browse files Browse the repository at this point in the history
- it just causes problems man
  • Loading branch information
TheAfroOfDoom committed Oct 31, 2024
1 parent b90f18f commit 2ab5954
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 16 deletions.
5 changes: 0 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated

datapacks/gu/** linguist-vendored

*.ajblueprint linguist-language=JSON
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# yarn dependencies
.yarn
.pnp*
node_modules

# auto-ajexport related
**/last_exported_hashes.json
Expand Down
7 changes: 2 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
},
"eslint.nodePath": ".yarn/sdks",
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs"
"**/.yarn": true
}
}
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# save exact npm package by default when running `yarn add`
defaultSemverRangePrefix: ''
nodeLinker: node-modules
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ Since then I've gained a lot of skills both in Minecraft map development and in
1. Install [`Node.js >= 16.10`](https://nodejs.org/en/download)
2. Install [`Yarn 3.6.3`](https://v3.yarnpkg.com/getting-started/install) by running `corepack enable`
3. Initialize the repo by running `yarn`
4. Enable Yarn's Plug'n'Play with VSCode by running `yarn dlx @yarnpkg/sdks vscode`
5. Copy-paste `.env.EXAMPLE` and rename it to `.env`
4. Copy-paste `.env.EXAMPLE` and rename it to `.env`

1. Replace all the paths in your new `.env` with paths on your local machine -- e.g. replacing `afro` with `<YOUR_USERNAME>`.

Expand All @@ -48,7 +47,7 @@ Since then I've gained a lot of skills both in Minecraft map development and in

1. **Make sure to point to the doubly nested folder** -- e.g. `.../versions/1.21/1.21`

6. Run `yarn down` to extract the Minecraft world to your local Minecraft's `saves` directory (so you can open the world in-game)
5. Run `yarn down` to extract the Minecraft world to your local Minecraft's `saves` directory (so you can open the world in-game)

</details>

Expand Down
4 changes: 3 additions & 1 deletion omegaflowey.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@
],
"gitmoji.showEmojiCode": true,

"terminal.integrated.cwd": "."
"terminal.integrated.cwd": ".",

"typescript.enablePromptUseWorkspaceTsdk": true
}
}
2 changes: 1 addition & 1 deletion telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "MIT",
"scripts": {
"build": "node scripts/esbuild.cjs",
"start": "NODE_OPTIONS='--require ./.pnp.cjs' electron ./dist/main.js"
"start": "electron ./dist/main.js"
},
"devDependencies": {
"electron": "33.0.2",
Expand Down

0 comments on commit 2ab5954

Please sign in to comment.