Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
314 lines (313 loc) · 9.53 KB
/
Copy pathpackage.json
File metadata and controls
314 lines (313 loc) · 9.53 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
{
"name": "ps-vscode-cpm",
"displayName": "ps-vscode-cpm",
"description": "Manage custom pages in PowerSchool",
"version": "0.6.2",
"publisher": "zuvy",
"engines": {
"vscode": "^1.104.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/zuvy/ps-vscode-cpm.git"
},
"activationEvents": ["onStartupFinished"],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "ps-vscode-cpm.refresh",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "ps-vscode-cpm.downloadFile",
"title": "Download File"
},
{
"command": "ps-vscode-cpm.publishFile",
"title": "Publish to PowerSchool",
"icon": "$(cloud-upload)"
},
{
"command": "ps-vscode-cpm.publishCurrentFile",
"title": "ps-vscode-cpm: Publish Current File"
},
{
"command": "ps-vscode-cpm.deleteFileFromServer",
"title": "Delete from PowerSchool",
"icon": "$(trash)"
},
{
"command": "ps-vscode-cpm.createNewFile",
"title": "ps-vscode-cpm: Create New File",
"icon": "$(new-file)"
},
{
"command": "ps-vscode-cpm.publishNewFile",
"title": "ps-vscode-cpm: Publish New File to PowerSchool",
"icon": "$(cloud-upload)"
},
{
"command": "ps-vscode-cpm.showCurrentFilePath",
"title": "ps-vscode-cpm: Show File Path Info",
"icon": "$(info)"
},
{
"command": "ps-vscode-cpm.insertSnippet",
"title": "ps-vscode-cpm: Insert Code Snippet",
"icon": "$(code)"
},
{
"command": "ps-vscode-cpm.insertSnippet.navigation_block",
"title": "Navigation Block",
"icon": "$(list-tree)"
},
{
"command": "ps-vscode-cpm.insertSnippet.box_round",
"title": "ps-vscode-cpm: Insert Box-Round Div"
},
{
"command": "ps-vscode-cpm.insertSnippet.calendar",
"title": "Date Picker Widget"
},
{
"command": "ps-vscode-cpm.insertSnippet.dialog",
"title": "Dialog Link"
},
{
"command": "ps-vscode-cpm.insertSnippet.dynamic_tabs",
"title": "Dynamic Tabs"
},
{
"command": "ps-vscode-cpm.insertSnippet.jquery_function",
"title": "jQuery Function Block"
},
{
"command": "ps-vscode-cpm.insertSnippet.form",
"title": "PowerSchool Form"
},
{
"command": "ps-vscode-cpm.insertSnippet.table",
"title": "Data Table"
},
{
"command": "ps-vscode-cpm.insertSnippet.tlist_sql",
"title": "TList SQL Block"
},
{
"command": "ps-vscode-cpm.insertSnippet.collapsible_box",
"title": "Collapsible Box"
},
{
"command": "ps-vscode-cpm.insertSnippet.if_block",
"title": "If/Else Block"
},
{
"command": "ps-vscode-cpm.insertSnippet.student_info",
"title": "Student Info Tags"
},
{
"command": "ps-vscode-cpm.insertSnippet.breadcrumb",
"title": "Breadcrumb Navigation"
},
{
"command": "ps-vscode-cpm.createTemplate.admin",
"title": "Admin Page"
},
{
"command": "ps-vscode-cpm.createTemplate.adminStudentPage",
"title": "Admin Student Page"
},
{
"command": "ps-vscode-cpm.createTemplate.teacher",
"title": "Teacher Page"
},
{
"command": "ps-vscode-cpm.createTemplate.teacherBackpack",
"title": "Teacher Backpack Page"
},
{
"command": "ps-vscode-cpm.createTemplate.parentPortal",
"title": "Parent Portal Page"
},
{
"command": "ps-vscode-cpm.openSettings",
"title": "ps-vscode-cpm: Configure Server Settings",
"icon": "$(settings-gear)"
},
{
"command": "ps-vscode-cpm.testJsonEndpoint",
"title": "ps-vscode-cpm: Test JSON Endpoint",
"icon": "$(json)"
},
{
"command": "ps-vscode-cpm.setupWebRoot",
"title": "ps-vscode-cpm: Setup Plugin Web Root Directory"
},
{
"command": "ps-vscode-cpm.packagePlugin",
"title": "ps-vscode-cpm: Package Plugin as ZIP",
"icon": "$(package)"
},
{
"command": "ps-vscode-cpm.noJsonFiles",
"title": "ps-vscode-cpm: No JSON Files"
},
{
"command": "ps-vscode-cpm.scaffoldWithMcp",
"title": "ps-vscode-cpm: Scaffold with ps-mcp"
},
{
"command": "ps-vscode-cpm.compareWithOriginal",
"title": "Compare with Original",
"category": "PowerSchool CPM"
}
],
"views": {
"ps-vscode-cpm": [
{
"id": "ps-vscode-cpm-explorer",
"name": "PowerSchool Files"
},
{
"id": "ps-vscode-cpm-commands",
"name": "Commands"
},
{
"id": "ps-vscode-cpm-server-info",
"name": "Server Info"
},
{
"id": "ps-vscode-cpm-templates",
"name": "Templates"
},
{
"id": "ps-vscode-cpm-snippets",
"name": "Snippets"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "ps-vscode-cpm",
"title": "ps-vscode-cpm",
"icon": "$(server-environment)"
}
]
},
"menus": {
"commandPalette": [
{
"command": "ps-vscode-cpm.noJsonFiles",
"when": "false"
}
],
"view/title": [
{
"command": "ps-vscode-cpm.refresh",
"when": "view == ps-vscode-cpm-explorer",
"group": "navigation"
},
{
"command": "ps-vscode-cpm.openSettings",
"when": "view == ps-vscode-cpm-explorer",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "ps-vscode-cpm.publishFile",
"when": "view == ps-vscode-cpm-explorer && (viewItem == file || viewItem == file-custom || viewItem == file-plugin)",
"group": "inline"
},
{
"command": "ps-vscode-cpm.compareWithOriginal",
"when": "view == ps-vscode-cpm-explorer && (viewItem == file-custom || viewItem == file-plugin)",
"group": "ps-vscode-cpm@2"
},
{
"command": "ps-vscode-cpm.deleteFileFromServer",
"when": "view == ps-vscode-cpm-explorer && viewItem == file-custom",
"group": "ps-vscode-cpm@3"
}
],
"explorer/context": [
{
"command": "ps-vscode-cpm.scaffoldWithMcp",
"when": "explorerResourceIsFolder && resourcePath =~ /queries_root|user_schema_root|permissions_root/",
"group": "ps-vscode-cpm@1"
}
]
},
"configuration": {
"title": "ps-vscode-cpm",
"properties": {
"ps-vscode-cpm.serverUrl": {
"type": "string",
"default": "",
"description": "PowerSchool server URL (must start with https://, e.g., https://pstest.yourschool.org)",
"scope": "window"
},
"ps-vscode-cpm.allowInsecureSsl": {
"type": "boolean",
"default": false,
"description": "Disable TLS certificate verification (insecure). Set to true only if your PowerSchool server uses a self-signed or internal CA certificate. Requests include admin credentials — leave false unless required.",
"scope": "window"
},
"ps-vscode-cpm.username": {
"type": "string",
"default": "",
"description": "PowerSchool username for CPM session authentication (fallback for CPM APIs)",
"scope": "window"
},
"ps-vscode-cpm.password": {
"type": "string",
"default": "",
"description": "PowerSchool password for CPM session authentication (fallback for CPM APIs)",
"scope": "window"
},
"ps-vscode-cpm.pluginWebRoot": {
"type": "string",
"default": "web_root",
"description": "Path to web_root directory relative to workspace. Options: \"\" (workspace is plugin root), \"web_root\" (workspace/web_root), \"src\" (workspace/src/web_root), or \"src/web_root\" (explicit path)."
},
"ps-vscode-cpm.autoSync": {
"type": "boolean",
"default": true,
"description": "Automatically sync workspace directory when workspace opens"
},
"ps-vscode-cpm.maxDepth": {
"type": "number",
"default": 5,
"description": "Maximum folder depth to sync"
},
"ps-plugin.workspaceRoot": {
"type": "string",
"default": "",
"description": "Relative path from the VS Code workspace folder to the plugin artifacts root (the directory containing plugin.xml). Use \"src\" for src-based layouts, \"\" (empty string) for flat layouts where plugin.xml is at the workspace root. Read by both ps-vscode-cpm and ps-mcp.",
"scope": "resource"
},
"ps-vscode-cpm.contentRoot": {
"type": "string",
"enum": ["web_root", "queries_root", "user_schema_root"],
"default": "web_root",
"description": "Which CPM content root to browse. Use 'web_root' for standard pages, 'queries_root' or 'user_schema_root' for extended schema."
}
}
}
},
"scripts": {
"lint": "eslint ."
},
"dependencies": {},
"devDependencies": {
"@types/node": "22.x",
"@types/vscode": "^1.104.0",
"eslint": "^9.34.0"
}
}