-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (129 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (129 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "cuidv2-tools",
"displayName": "CUIDv2 Tools",
"description": "A powerful toolkit for working with CUIDv2 identifiers",
"version": "0.0.4",
"publisher": "fqueis",
"license": "MIT",
"author": {
"name": "Felipe Queis",
"email": "fqueis@gmail.com"
},
"engines": {
"vscode": "^1.93.0"
},
"categories": [
"Snippets"
],
"keywords": [
"cuid",
"cuid2",
"uuid",
"guid",
"unique id"
],
"icon": "icon.png",
"bugs": {
"url": "https://github.com/fqueis/vscode-cuidv2-tools/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/fqueis/vscode-cuidv2-tools.git"
},
"main": "./dist/extension.js",
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "cuidv2-tools.generateCuidv2AtCursor",
"title": "Generate CUIDv2 at cursor",
"category": "CUIDv2 Tools"
},
{
"command": "cuidv2-tools.generateMultipleCuidv2",
"title": "Generate Multiple CUIDv2s",
"category": "CUIDv2 Tools"
},
{
"command": "cuidv2-tools.validateCuidv2",
"title": "Validate CUIDv2",
"category": "CUIDv2 Tools"
},
{
"command": "cuidv2-tools.regenerateCuidv2",
"title": "Regenerate CUIDv2 Identifiers",
"category": "CUIDv2 Tools"
},
{
"command": "cuidv2-tools.replaceUuidsWithCuidv2",
"title": "Replace UUIDs with CUIDv2",
"category": "CUIDv2 Tools"
}
],
"configuration": {
"title": "CUIDv2 Tools",
"properties": {
"cuidv2-tools.confirmBeforeExecution": {
"type": "boolean",
"default": true,
"description": "Show confirmation dialogs before executing destructive operations like regenerating CUIDv2s or replacing UUIDs"
}
}
},
"menus": {
"editor/context": [
{
"command": "cuidv2-tools.validateCuidv2",
"when": "editorHasSelection",
"group": "CUIDv2 Tools"
},
{
"command": "cuidv2-tools.generateCuidv2AtCursor",
"when": "editorTextFocus && !editorHasSelection",
"group": "CUIDv2 Tools"
},
{
"command": "cuidv2-tools.regenerateCuidv2",
"when": "editorTextFocus",
"group": "CUIDv2 Tools"
},
{
"command": "cuidv2-tools.replaceUuidsWithCuidv2",
"when": "editorTextFocus",
"group": "CUIDv2 Tools"
}
]
}
},
"scripts": {
"vscode:prepublish": "pnpm run build",
"build": "webpack --mode production --devtool hidden-source-map",
"compile": "webpack",
"watch": "webpack --watch",
"test": "vitest run",
"test:watch": "vitest",
"package": "pnpm run build && node scripts/package-vsix.mjs",
"format": "prettier --write \"src/**/*.ts\" \"src/*/*.ts\""
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.93.0",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.3.2",
"eslint": "^9.32.0",
"ovsx": "^0.10.1",
"prettier": "^3.6.2",
"ts-loader": "^9.5.2",
"typescript": "^5.9.2",
"vitest": "^3.1.1",
"webpack": "^5.101.0",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"@paralleldrive/cuid2": "^2.2.2"
}
}