lucid-package 0.0.60 → 0.0.61

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-package",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -168,6 +168,10 @@ async function debugEditorExtension(extensionNames, quiet = false, pickAnyPort =
168
168
  res.sendStatus(404);
169
169
  }
170
170
  });
171
+ app.get('/manifest', async (req, res) => {
172
+ const manifest = await (0, packagemanifest_1.readManifest)('local');
173
+ res.send(JSON.stringify(manifest));
174
+ });
171
175
  const listen = () => {
172
176
  app.listen(port, 'localhost', () => {
173
177
  console.log('Listening at http://localhost:' + port + '/extension.js');
@@ -305,6 +305,10 @@ async function debugShapeLibraries(packagePath = '.', pickAnyPort = false) {
305
305
  process.chdir(oldcwd);
306
306
  });
307
307
  app.get('/shapeLibraries/');
308
+ app.get('/manifest', async (req, res) => {
309
+ const packageManifest = await (0, packagemanifest_1.readManifest)('local', packagePath + '/');
310
+ res.send(JSON.stringify(packageManifest));
311
+ });
308
312
  const listen = () => {
309
313
  const server = app.listen(port, 'localhost', () => {
310
314
  console.log('Listening at http://localhost:' + port + '/shapeLibraries');