forked from folke/vscode-monorepo-workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 4.27 KB
/
package.json
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
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "vscode-monorepo-workspace",
"displayName": "Monorepo Workspace",
"description": "Manage monorepos with multi-root workspaces. Supports Lerna, Yarn, Pnpm, Rushjs and recursive package directories",
"version": "1.2.0",
"publisher": "folke",
"repository": "http://github.com/folke/vscode-monorepo-workspace",
"license": "SEE LICENSE IN LICENSE",
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Other"
],
"keywords": [
"workspace",
"monorepo",
"project",
"yarn",
"folder"
],
"activationEvents": [
"workspaceContains:**/package.json"
],
"main": "./out/extension.js",
"icon": "images/icon.png",
"contributes": {
"commands": [
{
"command": "extension.openPackageCurrentWindow",
"title": "Monorepo: Open Package (Current Window)"
},
{
"command": "extension.openPackageNewWindow",
"title": "Monorepo: Open Package (New Window)"
},
{
"command": "extension.openPackageWorkspaceFolder",
"title": "Monorepo: Open Package (Workspace Folder)"
},
{
"command": "extension.select",
"title": "Monorepo: Select Workspace Folders"
},
{
"command": "extension.updateAll",
"title": "Monorepo: Sync Workspace Folders"
}
],
"configuration": {
"title": "Monorepo Workspace",
"properties": {
"monorepoWorkspace.folders.regex.apps": {
"type": "string",
"default": "^app|web|api|frontend|backend",
"description": "Regex to match app-like package paths"
},
"monorepoWorkspace.folders.prefix.apps": {
"type": "string",
"default": "🚀 ",
"description": "Folder prefix for apps"
},
"monorepoWorkspace.folders.regex.libs": {
"type": "string",
"default": "^common|package|lib|private",
"description": "Regex to match library-like package paths"
},
"monorepoWorkspace.folders.prefix.libs": {
"type": "string",
"default": "📦 ",
"description": "Folder prefix for libraries"
},
"monorepoWorkspace.folders.regex.tools": {
"type": "string",
"default": "^tool|script|util",
"description": "Regex to match tool-like package paths"
},
"monorepoWorkspace.folders.prefix.tools": {
"type": "string",
"default": "⚙️ ",
"description": "Folder prefix for tools"
},
"monorepoWorkspace.folders.prefix.unknown": {
"type": "string",
"default": "",
"description": "Folder prefix for unknown packages"
},
"monorepoWorkspace.folders.prefix.root": {
"type": "string",
"default": "✨ ",
"description": "Folder prefix for the root folder"
},
"monorepoWorkspace.folders.custom": {
"type": "array",
"default": [],
"description": "An array of custom 'regex/prefix' pairs like: [{regex:'foo', prefix:'bar'}, {regex:'fffoo', prefix:'bbbar'}]"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/run-test.js",
"release": "vsce package && vsce publish"
},
"husky": {
"hooks": {
"prepare-commit-msg": "npx --no-install devmoji -e --lint"
}
},
"devDependencies": {
"@types/glob": "7.1.1",
"@types/mocha": "7.0.2",
"@types/node": "13.13.5",
"@types/vscode": "1.45.0",
"@typescript-eslint/eslint-plugin": "2.31.0",
"@typescript-eslint/parser": "2.31.0",
"devmoji": "2.1.9",
"eslint": "7.0.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-chai-expect": "2.1.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jest": "23.10.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.1.3",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-unicorn": "19.0.1",
"glob": "7.1.6",
"husky": "4.2.5",
"mocha": "7.1.2",
"prettier": "2.0.5",
"typescript": "3.8.3",
"vscode-test": "1.3.0"
},
"dependencies": {
"ultra-runner": "3.2.2"
}
}