Skip to content

Commit

Permalink
feat(generate): optimize generate template(delete fileheader),add sni…
Browse files Browse the repository at this point in the history
…ppets
  • Loading branch information
NorthSeacoder committed Dec 10, 2023
1 parent c17f162 commit 75f8a3d
Show file tree
Hide file tree
Showing 12 changed files with 503 additions and 69 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
// "--disable-extensions",
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
Expand Down
49 changes: 15 additions & 34 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 23 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,29 @@
"description": "your jenkins url,default value is jenkins's homepage"
}
}
}
},
"snippets":[
{
"language": "typescript",
"path": "./snippets/common.json"
},
{
"language": "vue",
"path": "./snippets/common.json"
},
{
"language": "javascript",
"path": "./snippets/common.json"
},
{
"language": "typescriptreact",
"path": "./snippets/common.json"
},
{
"language": "javascriptreact",
"path": "./snippets/common.json"
}
]
},
"scripts": {
"cz": "git add . && git-cz",
Expand Down
Loading

0 comments on commit 75f8a3d

Please sign in to comment.