Skip to content

Commit 76bca22

Browse files
committed
first shape
1 parent f12b0c6 commit 76bca22

39 files changed

+19189
-53
lines changed

Diff for: .eslintrc

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"rules": {
44
"semi": "off",
55
"@typescript-eslint/semi": [ "error", "always" ],
6-
"curly": [ "error", "all" ]
6+
"curly": [ "error", "all" ],
7+
"@typescript-eslint/brace-style": [ "error", "1tbs" ]
78
},
89
"overrides": [
910
{
@@ -12,5 +13,6 @@
1213
"curly": "error"
1314
}
1415
}
15-
]
16+
],
17+
"ignorePatterns": [ "snapsvg", "grammar.js" ]
1618
}

Diff for: .vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@
77
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
88
"editor.formatOnSave": true
99
},
10+
"[xml]": {
11+
"editor.defaultFormatter": "DotJoshJohnson.xml"
12+
},
1013
}

Diff for: package.json

+16-32
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"email": "[email protected]",
55
"name": "linghao.su"
66
},
7-
"name": "vscode-ext-sample",
8-
"displayName": "VSCode Template Sample",
7+
"name": "regex-visualizer",
8+
"displayName": "Regex Visualizer",
99
"version": "0.0.1",
1010
"packageManager": "[email protected]",
1111
"description": "",
1212
"license": "MIT",
1313
"main": "./dist/index.js",
1414
"repository": {
1515
"type": "git",
16-
"url": "https://github.com/linghaoSu/i18n-auto-replace"
16+
"url": "https://github.com/linghaoSu/vscode-regex-visualizer"
1717
},
1818
"files": [
1919
"dist"
@@ -38,46 +38,30 @@
3838
"devDependencies": {
3939
"@antfu/eslint-config": "^0.25.1",
4040
"@babel/types": "^7.18.4",
41+
"@types/lodash": "^4.14.191",
4142
"@types/node": "^17.0.41",
4243
"@types/vscode": "^1.68.0",
4344
"bumpp": "^7.1.1",
45+
"canopy": "^0.4.0",
4446
"eslint": "^8.17.0",
4547
"esno": "^0.16.3",
48+
"happy-dom": "^8.9.0",
49+
"lodash-es": "^4.17.21",
50+
"lodash-unified": "^1.0.3",
4651
"pnpm": "^7.1.9",
47-
"tsup": "^6.1.0",
52+
"regulex": "^0.0.5",
4853
"rimraf": "^3.0.2",
54+
"snapsvg": "^0.5.1",
55+
"tsup": "^6.1.0",
4956
"typescript": "^4.7.3",
5057
"vite": "^2.9.11",
5158
"vitest": "^0.14.1",
52-
"vsce": "^2.9.1"
59+
"vsce": "^2.9.1",
60+
"svg-path-bbox": "^1.2.4"
5361
},
54-
"contributes": {
55-
"configuration": {
56-
"title": "sample-ext",
57-
"properties": {
58-
"i18n-auto-replace.ext": {
59-
"type": "array",
60-
"default": [
61-
"vue"
62-
],
63-
"description": "这里是一个描述,但这个区域用来描述配置信息,写在 settings 里的,可以设置为枚举类型或是别的,也可以提供默认值"
64-
}
65-
}
66-
},
67-
"commands": [
68-
{
69-
"command": "sample-ext.sample-command",
70-
"title": "注册命令用,可以绑定在快捷键上,可以 cmd+shift+p 后输入选中使用"
71-
}
72-
],
73-
"menus": {
74-
"explorer/context": [
75-
{
76-
"command": "sample-ext.sample-command",
77-
"title": "这里在文件目录的区域注册右键菜单,可以调用上面注册的命令",
78-
"group": "sample-ext"
79-
}
80-
]
62+
"pnpm": {
63+
"patchedDependencies": {
64+
8165
}
8266
}
8367
}

Diff for: patches/[email protected]

+4,471
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)