lucid-package 0.0.59 → 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.59",
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');
@@ -127,6 +127,7 @@ const defaultNameMap = new Map([
127
127
  ['opacity', 'Opacity'],
128
128
  ['rotation', 'Rotation'],
129
129
  ['aspectRatio', 'AspectRatio'],
130
+ ['link', 'Link'],
130
131
  ]);
131
132
  //Produce JSON equivalent to the document service's
132
133
  // /shapeLibraries/:name/shapes endpoint
@@ -304,6 +305,10 @@ async function debugShapeLibraries(packagePath = '.', pickAnyPort = false) {
304
305
  process.chdir(oldcwd);
305
306
  });
306
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
+ });
307
312
  const listen = () => {
308
313
  const server = app.listen(port, 'localhost', () => {
309
314
  console.log('Listening at http://localhost:' + port + '/shapeLibraries');