verde-sync 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/local-sync.js +7 -1
  2. package/package.json +1 -1
package/local-sync.js CHANGED
@@ -191,10 +191,16 @@ app.get('/ping', (req, res) => {
191
191
  res.json({
192
192
  status: 'ok',
193
193
  project: projectConfig.name || path.basename(PROJECT_ROOT),
194
- version: '2.0.0',
194
+ version: '2.0.2',
195
195
  });
196
196
  });
197
197
 
198
+ app.post('/shutdown', (req, res) => {
199
+ res.json({ success: true });
200
+ logServer('Apagado solicitado por la extensión VS Code.');
201
+ setTimeout(() => shutdown('SIGTERM'), 100);
202
+ });
203
+
198
204
  app.get('/tree', (req, res) => {
199
205
  try {
200
206
  const tree = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verde-sync",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Bidirectional sync tool between PC and Roblox Studio",
5
5
  "main": "local-sync.js",
6
6
  "bin": {