Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d9dfb6f1fd |
@@ -14,7 +14,7 @@
|
|||||||
},
|
},
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"extensions": ["esbenp.prettier-vscode", "vue.volar"],
|
"extensions": ["prettier.prettier-vscode", "vue.volar"],
|
||||||
"settings": {
|
"settings": {
|
||||||
// "tasks": { "version": "2.0.0", "tasks": [] },
|
// "tasks": { "version": "2.0.0", "tasks": [] },
|
||||||
"github.copilot.chat.codeGeneration.instructions": [
|
"github.copilot.chat.codeGeneration.instructions": [
|
||||||
@@ -26,13 +26,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mounts": [
|
"mounts": [
|
||||||
"source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume"
|
"source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume",
|
||||||
|
"source=${localWorkspaceFolder}/.devcontainer/lifecycle-scripts.d,target=/usr/local/etc/lifecycle-scripts.d,type=bind,consistency=delegated"
|
||||||
],
|
],
|
||||||
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=delegated",
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=delegated",
|
||||||
// "initializeCommand": "docker pull ghcr.io/yanhao98/h-devcontainer:main;",
|
"initializeCommand": "docker pull ghcr.io/yanhao98/h-devcontainer:main;",
|
||||||
"onCreateCommand": "/devcontainer/run-lifecycle-scripts.sh onCreateCommand",
|
"onCreateCommand": "/usr/local/bin/run-lifecycle-scripts.sh onCreateCommand",
|
||||||
"updateContentCommand": "/devcontainer/run-lifecycle-scripts.sh updateContentCommand",
|
"updateContentCommand": "/usr/local/bin/run-lifecycle-scripts.sh updateContentCommand",
|
||||||
"postCreateCommand": "/devcontainer/run-lifecycle-scripts.sh postCreateCommand",
|
"postCreateCommand": "/usr/local/bin/run-lifecycle-scripts.sh postCreateCommand",
|
||||||
"postStartCommand": "/devcontainer/run-lifecycle-scripts.sh postStartCommand",
|
"postStartCommand": "/usr/local/bin/run-lifecycle-scripts.sh postStartCommand",
|
||||||
"postAttachCommand": "/devcontainer/run-lifecycle-scripts.sh postAttachCommand"
|
"postAttachCommand": "/usr/local/bin/run-lifecycle-scripts.sh postAttachCommand"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
#!/bin/zsh -eu
|
#!/bin/zsh -eu
|
||||||
h-setup-zh-locale
|
h-setup-zh-locale
|
||||||
|
|
||||||
# h-setup-bun-bin
|
h-setup-bun-bin
|
||||||
# h-setup-pnpm-bin
|
h-setup-pnpm-bin
|
||||||
|
|
||||||
# h-setup-chromium
|
h-setup-chromium
|
||||||
# h-setup-desktop-lite
|
h-setup-desktop-lite
|
||||||
|
|
||||||
h-smart-install-node-modules
|
h-install-node-modules
|
||||||
|
|
||||||
echo "-----------------------------"
|
echo "-----------------------------"
|
||||||
echo "开发容器已启动并配置完成!"
|
echo "开发容器已启动并配置完成!"
|
||||||
|
|||||||
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"EditorConfig.EditorConfig",
|
"EditorConfig.EditorConfig",
|
||||||
"oxc.oxc-vscode",
|
"oxc.oxc-vscode",
|
||||||
"esbenp.prettier-vscode",
|
"prettier.prettier-vscode",
|
||||||
"stylelint.vscode-stylelint",
|
"stylelint.vscode-stylelint",
|
||||||
"lokalise.i18n-ally"
|
"lokalise.i18n-ally"
|
||||||
]
|
]
|
||||||
|
|||||||
Vendored
+5
-5
@@ -32,18 +32,18 @@
|
|||||||
"scss.lint.unknownAtRules": "ignore",
|
"scss.lint.unknownAtRules": "ignore",
|
||||||
"css.lint.unknownAtRules": "ignore",
|
"css.lint.unknownAtRules": "ignore",
|
||||||
"less.lint.unknownAtRules": "ignore",
|
"less.lint.unknownAtRules": "ignore",
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "prettier.prettier-vscode",
|
||||||
"[typescript]": {
|
"[typescript]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "prettier.prettier-vscode"
|
||||||
},
|
},
|
||||||
"[vue]": {
|
"[vue]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "prettier.prettier-vscode"
|
||||||
},
|
},
|
||||||
"[json]": {
|
"[json]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "prettier.prettier-vscode"
|
||||||
},
|
},
|
||||||
"[jsonc]": {
|
"[jsonc]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "prettier.prettier-vscode"
|
||||||
},
|
},
|
||||||
|
|
||||||
// ============================================================
|
// ============================================================
|
||||||
|
|||||||
+6
-6
@@ -64,7 +64,7 @@
|
|||||||
"@vueuse/core": "^14.0.0",
|
"@vueuse/core": "^14.0.0",
|
||||||
"highlight.js": "^11.11.1",
|
"highlight.js": "^11.11.1",
|
||||||
"jsonc-eslint-parser": "^2.4.1",
|
"jsonc-eslint-parser": "^2.4.1",
|
||||||
"lodash-es": "^4.17.23",
|
"lodash-es": "^4.17.21",
|
||||||
"naive-ui": "^2.43.2",
|
"naive-ui": "^2.43.2",
|
||||||
"pinia": "^3.0.4",
|
"pinia": "^3.0.4",
|
||||||
"primeicons": "^7.0.0",
|
"primeicons": "^7.0.0",
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
"eslint-plugin-perfectionist": "^5.0.0",
|
"eslint-plugin-perfectionist": "^5.0.0",
|
||||||
"eslint-plugin-playwright": "^2.3.0",
|
"eslint-plugin-playwright": "^2.3.0",
|
||||||
"eslint-plugin-vue": "~10.6.0",
|
"eslint-plugin-vue": "~10.6.0",
|
||||||
"happy-dom": "^20.8.9",
|
"happy-dom": "^20.0.10",
|
||||||
"html-minifier-terser": "^7.2.0",
|
"html-minifier-terser": "^7.2.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"jsdom": "^27.2.0",
|
"jsdom": "^27.2.0",
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
"oxlint": "~1.29.0",
|
"oxlint": "~1.29.0",
|
||||||
"postcss-html": "^1.8.0",
|
"postcss-html": "^1.8.0",
|
||||||
"prettier": "3.8.1",
|
"prettier": "3.8.1",
|
||||||
"rollup": "^4.60.1",
|
"rollup": "^4.53.3",
|
||||||
"sass-embedded": "^1.93.3",
|
"sass-embedded": "^1.93.3",
|
||||||
"sharp": "^0.34.5",
|
"sharp": "^0.34.5",
|
||||||
"stylelint": "^16.26.0",
|
"stylelint": "^16.26.0",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"stylelint-config-standard-scss": "^16.0.0",
|
"stylelint-config-standard-scss": "^16.0.0",
|
||||||
"stylelint-config-standard-vue": "^1.0.0",
|
"stylelint-config-standard-vue": "^1.0.0",
|
||||||
"stylelint-define-config": "^16.24.0",
|
"stylelint-define-config": "^16.24.0",
|
||||||
"svgo": "^4.0.1",
|
"svgo": "^4.0.0",
|
||||||
"tinyglobby": "^0.2.15",
|
"tinyglobby": "^0.2.15",
|
||||||
"type-fest": "^5.2.0",
|
"type-fest": "^5.2.0",
|
||||||
"typescript": "~5.9.3",
|
"typescript": "~5.9.3",
|
||||||
@@ -156,8 +156,8 @@
|
|||||||
"vitest": "^4.0.13",
|
"vitest": "^4.0.13",
|
||||||
"vue-component-type-helpers": "^3.1.4",
|
"vue-component-type-helpers": "^3.1.4",
|
||||||
"vue-i18n-extract": "^2.0.7",
|
"vue-i18n-extract": "^2.0.7",
|
||||||
"vue-macros": "3.1.1",
|
"vue-macros": "3.1.2",
|
||||||
"vue-tsc": "^3.1.8",
|
"vue-tsc": "^3.1.8",
|
||||||
"wrangler": "^4.78.0"
|
"wrangler": "^4.50.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+1260
-1318
File diff suppressed because it is too large
Load Diff
Vendored
+195
-3165
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user