From b9db7834e8c0e9cb3af5ec13a4df9c622cd28028 Mon Sep 17 00:00:00 2001 From: jamesleeksc Date: Mon, 13 Jan 2025 10:09:54 +0900 Subject: [PATCH] Add files via upload --- .vscode/launch.template.json | 25 +++++++++++++++++++++++ .vscode/settings.template.json | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 .vscode/launch.template.json create mode 100644 .vscode/settings.template.json diff --git a/.vscode/launch.template.json b/.vscode/launch.template.json new file mode 100644 index 0000000..4a1a7fe --- /dev/null +++ b/.vscode/launch.template.json @@ -0,0 +1,25 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Run Dev", + "type": "node-terminal", + "request": "launch", + "command": "yarn run dev" + }, + { + "name": "Run Dev Locally", + "type": "node-terminal", + "request": "launch", + "command": "yarn run dev:local" + }, + { + "name": "Launch solus Cloud", + "type": "node", + "request": "launch", + "runtimeExecutable": "yarn", + "cwd": "${workspaceFolder}", + "runtimeArgs": ["workspace", "@solus/server", "dev"] + } + ] +} diff --git a/.vscode/settings.template.json b/.vscode/settings.template.json new file mode 100644 index 0000000..25a0f47 --- /dev/null +++ b/.vscode/settings.template.json @@ -0,0 +1,36 @@ +{ + "eslint.packageManager": "yarn", + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.formatOnSaveMode": "file", + "cSpell.words": [ + "blocksuite", + "livedemo", + "yarn", + "jwst", + "testid", + "octobase", + "selfhosted", + "testid", + "schemars" + ], + "explorer.fileNesting.patterns": { + "*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts, ${capture}.d.ts.map", + "package.json": ".browserslist*, .circleci*, .codecov, .commitlint*, .cz-config.js, .czrc, .dlint.json, .dprint.json, .editorconfig, .eslint*, .firebase*, .flowconfig, .github*, .gitlab*, .gitpod*, .huskyrc*, .jslint*, .lighthouserc.*, .lintstagedrc*, .markdownlint*, .mocha*, .node-version, .nodemon*, .npm*, .nvmrc, .pm2*, .pnp.*, .pnpm*, .prettier*, .releaserc*, .sentry*, .stackblitz*, .styleci*, .stylelint*, .tazerc*, .textlint*, .tool-versions, .travis*, .versionrc*, .vscode*, .watchman*, .xo-config*, .yamllint*, .yarnrc*, Procfile, api-extractor.json, apollo.config.*, appveyor*, ava.config.*, azure-pipelines*, bower.json, build.config.*, commitlint*, crowdin*, cypress.*, dangerfile*, dlint.json, dprint.json, firebase.json, grunt*, gulp*, histoire.config.*, jasmine.*, jenkins*, jest.config.*, jsconfig.*, karma*, lerna*, lighthouserc.*, lint-staged*, nest-cli.*, netlify*, nodemon*, nx.*, package-lock.json, package.nls*.json, phpcs.xml, playwright.config.*, pm2.*, pnpm*, prettier*, pullapprove*, puppeteer.config.*, pyrightconfig.json, release-tasks.sh, renovate*, rollup.config.*, stylelint*, tsconfig.*, tsdoc.*, tslint*, tsup.config.*, turbo*, typedoc*, unlighthouse*, vercel*, vetur.config.*, vitest.config.*, webpack*, workspace.json, xo.config.*, yarn*, babel.*, .babelrc, project.json", + "Cargo.toml": "Cargo.lock", + "README.md": "LICENSE, CHANGELOG.md, CODE_OF_CONDUCT.md, CONTRIBUTING.md" + }, + "[rust]": { + "editor.defaultFormatter": "rust-lang.rust-analyzer" + }, + "[toml]": { + "editor.defaultFormatter": "tamasfe.even-better-toml" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "vitest.include": ["packages/**/*.spec.ts", "packages/**/*.spec.tsx"], + "rust-analyzer.check.extraEnv": { + "DATABASE_URL": "sqlite:solus.db" + } +}