Skip to content

Commit

Permalink
chore: upgrade scaffold structures
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Aug 27, 2024
1 parent dc504cd commit fae1cb6
Show file tree
Hide file tree
Showing 115 changed files with 32,215 additions and 3,555 deletions.
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ web_modules/
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
Expand Down Expand Up @@ -128,4 +127,8 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.netrc
.netrc

# webview dist files
packages/webviews/public
packages/main/lib
8 changes: 4 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["dbaeumer.vscode-eslint", "connor4312.esbuild-problem-matchers", "ms-vscode.extension-test-runner"]
}
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
44 changes: 24 additions & 20 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
// A launch configuration that compiles the extension and then opens it inside a new window
// 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": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
],
// "testConfiguration": "${workspaceFolder}/.vscode-test.js",
"preLaunchTask": "${defaultBuildTask}"
}
]
// 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 Test File",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"test-unit"
],
"skipFiles": [
"<node_internals>/**",
"**/node_modules/**"
],
"args": [
"${relativeFile}"
],
"env": {}
}
]
}
37 changes: 8 additions & 29 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,19 @@
// Place your settings in this file to overwrite default and user settings.
{
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.preferences.importModuleSpecifier": "relative",
"editor.formatOnSave": true,
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "never"
},
"files.associations": {
"*.css": "tailwindcss"
"[jsonc]": {
"editor.formatOnSave": false,
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"tailwindCSS.experimental.classRegex": [
[
"cva\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
],
[
"cx\\(([^)]*)\\)",
"(?:'|\"|`)([^']*)(?:'|\"|`)"
]
],
"[javascript]": {
"editor.formatOnSave": false
},
"files.exclude": {
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
},
"search.exclude": {
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
"editor.formatOnSave": false,
"editor.tabSize": 2,
"editor.insertSpaces": true
}
}
64 changes: 0 additions & 64 deletions .vscode/tasks.json

This file was deleted.

894 changes: 0 additions & 894 deletions .yarn/releases/yarn-4.3.0.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.0.cjs
yarnPath: .yarn/releases/yarn-4.4.1.cjs
16 changes: 1 addition & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
# Change Log

## 0.0.2

### Patch Changes

- [`40cc859`](https://github.com/hyperse-io/vscode-extension-starter/commit/40cc859c93ee4c819ea14c68648b9c3df9e189a8) Thanks [@tianyingchun](https://github.com/tianyingchun)! - initialize projects

All notable changes to the "vscode-hyperse" extension will be documented in this file.

Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## [Unreleased]

- Initial release
## @hyperse/vscode-extension-starter
File renamed without changes.
Loading

0 comments on commit fae1cb6

Please sign in to comment.