mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-06 07:29:30 +02:00
Merge 0e4d924433
into 375587213e
This commit is contained in:
commit
dac2f416ae
23
.devcontainer/devcontainer.json
Normal file
23
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,23 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
|
||||
{
|
||||
"name": "Node.js & TypeScript",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {
|
||||
"installDirectlyFromGitHubRelease": true,
|
||||
"version": "latest"
|
||||
},
|
||||
"ghcr.io/devcontainers-extra/features/pnpm:2": {
|
||||
"version": "latest"
|
||||
}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["aaron-bond.better-comments", ""]
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "pnpm install && pnpm postinstall",
|
||||
"forwardPorts": [8000]
|
||||
}
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,7 +13,6 @@ dist-ssr
|
||||
*.local
|
||||
|
||||
# Editor directories and files
|
||||
.vscode
|
||||
*.code-workspace
|
||||
.idea
|
||||
.DS_Store
|
||||
|
@ -26,3 +26,4 @@ ignore:
|
||||
- .git
|
||||
- public
|
||||
- dist
|
||||
- .devcontainer
|
||||
|
11
.vscode/extensions.json
vendored
Normal file
11
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"biomejs.biome",
|
||||
"YoavBls.pretty-ts-errors",
|
||||
"vitest.explorer",
|
||||
|
||||
// This stuff isn't mandatory - it's just nice to have ;)
|
||||
"adpyke.codesnap",
|
||||
"aaron-bond.better-comments"
|
||||
]
|
||||
}
|
31
.vscode/launch.json
vendored
Normal file
31
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Debug Vitest",
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
"program": "${workspaceFolder}/node_modules/vitest/vitest.mjs",
|
||||
"args": ["--inspectBrk", "--no-file-parallelism", "${input:testfile}", "-t", "${input:testcase}"],
|
||||
"autoAttachChildProcesses": true
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "testfile",
|
||||
"type": "promptString",
|
||||
"description": "Enter test file to run.",
|
||||
"default": "${fileBasename}"
|
||||
},
|
||||
{
|
||||
"id": "testcase",
|
||||
"type": "promptString",
|
||||
"description": "Enter test case to run.",
|
||||
"default": ""
|
||||
}
|
||||
]
|
||||
}
|
34
.vscode/settings.json
vendored
Normal file
34
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
// # Formatter configs
|
||||
"editor.defaultFormatter": "biomejs.biome",
|
||||
"editor.tabSize": 2,
|
||||
"editor.insertSpaces": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.addMissingImports.ts": "always",
|
||||
"source.removeUnusedImports": "always",
|
||||
"source.fixAll.biome": "always",
|
||||
"source.organizeImports.biome": "always"
|
||||
},
|
||||
"biome.suggestInstallingGlobally": false,
|
||||
|
||||
// # JS/TS setting overrides
|
||||
"javascript.preferences.importModuleSpecifier": "non-relative",
|
||||
"javascript.preferences.importModuleSpecifierEnding": "index",
|
||||
"javascript.preferGoToSourceDefinition": true,
|
||||
"javascript.updateImportsOnFileMove.enabled": "always",
|
||||
|
||||
"typescript.preferences.importModuleSpecifier": "non-relative",
|
||||
"typescript.preferences.importModuleSpecifierEnding": "index",
|
||||
"typescript.preferGoToSourceDefinition": true,
|
||||
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||
|
||||
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
|
||||
// Note: You may want to adjust the max server memory depending on your PC's specs:
|
||||
// "typescript.tsserver.maxTsServerMemory": 1536, // 1.5 GB by default
|
||||
"typescript.autoClosingTags": false,
|
||||
|
||||
// # Miscellaneous
|
||||
"npm.packageManager": "pnpm",
|
||||
"npm.scriptRunner": "pnpm",
|
||||
"vitest.cliArguments": "--no-isolate",
|
||||
}
|
70
.vscode/tasks.json
vendored
Normal file
70
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"presentation": {
|
||||
"reveal": "never",
|
||||
"focus": false
|
||||
},
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Update Submodules",
|
||||
"type": "shell",
|
||||
"command": "git submodule update --init --recursive",
|
||||
"icon": {
|
||||
"color": "terminal.ansiRed",
|
||||
"id": "git-branch"
|
||||
},
|
||||
},
|
||||
{
|
||||
"label": "Clear Submodules",
|
||||
"type": "shell",
|
||||
"command": "rm -rf public/locales; git checkout upstream/beta -- public/locales",
|
||||
"icon": {
|
||||
"color": "terminal.ansiRed",
|
||||
"id": "trash"
|
||||
},
|
||||
},
|
||||
{
|
||||
"label": "Biome - Write All",
|
||||
"type": "shell",
|
||||
"command": {
|
||||
"value": "pnpm",
|
||||
"quoting": "weak"
|
||||
},
|
||||
"args": [
|
||||
"run",
|
||||
"biome",
|
||||
"--diagnostic-level=${input:error-level}"
|
||||
],
|
||||
"icon": {
|
||||
"color": "terminal.ansiBlue",
|
||||
"id": "json"
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Start Local Dev",
|
||||
"type": "npm",
|
||||
"script": "start:dev",
|
||||
"icon": {
|
||||
"color": "terminal.ansiGreen",
|
||||
"id": "debug-start"
|
||||
},
|
||||
"problemMatcher": []
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "error-level",
|
||||
"description": "Select the level of errors to report from Biome.",
|
||||
"type": "pickString",
|
||||
"options": [
|
||||
"error",
|
||||
"warning",
|
||||
"info"
|
||||
],
|
||||
"default": "error"
|
||||
}
|
||||
]
|
||||
}
|
@ -36,7 +36,6 @@
|
||||
"!**/src/data/balance/tms.ts"
|
||||
]
|
||||
},
|
||||
|
||||
"assist": {
|
||||
"actions": {
|
||||
"source": {
|
||||
|
Loading…
Reference in New Issue
Block a user