podlite 0.0.31 → 0.0.33

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## Upcoming
4
4
 
5
+ ## 0.0.33
6
+
7
+ - fix api types
8
+
9
+ ## 0.0.32
10
+
11
+ - add `=formula`, `F<>` support
12
+
5
13
  ## 0.0.27
6
14
 
7
15
  - update deps
package/esm/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Podlite } from '@podlite/schema';
2
2
  export interface PodliteOpt {
3
- importPlugins: boolean;
3
+ importPlugins?: boolean;
4
4
  }
5
5
  export declare const podlite: ({ importPlugins }: PodliteOpt) => Podlite;
6
6
  declare const VERSION: any;
@@ -2,11 +2,14 @@ import { PluginRegister } from '@podlite/image';
2
2
  import { PluginRegister as DiagramRegister } from '@podlite/diagram';
3
3
  import { PluginRegister as MarkdownRegister } from '@podlite/markdown';
4
4
  import { PluginRegister as TocRegister } from '@podlite/toc';
5
+ import { PluginRegister as FomulaRegister } from '@podlite/formula';
5
6
  const external = {
6
7
  ...DiagramRegister,
7
8
  ...MarkdownRegister,
8
9
  ...PluginRegister,
9
10
  ...TocRegister,
11
+ ...PluginRegister,
12
+ ...FomulaRegister,
10
13
  };
11
14
  export default external;
12
15
  //# sourceMappingURL=extrnal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"extrnal.js","sourceRoot":"","sources":["../../src/plugins/extrnal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAA;AACpE,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;AAC5D,MAAM,QAAQ,GAAY;IACxB,GAAG,eAAe;IAClB,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,WAAW;CACf,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"extrnal.js","sourceRoot":"","sources":["../../src/plugins/extrnal.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAA;AACpE,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACnE,MAAM,QAAQ,GAAY;IACxB,GAAG,eAAe;IAClB,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,WAAW;IACd,GAAG,cAAc;IACjB,GAAG,cAAc;CAClB,CAAA;AAED,eAAe,QAAQ,CAAA"}
package/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Podlite } from '@podlite/schema';
2
2
  export interface PodliteOpt {
3
- importPlugins: boolean;
3
+ importPlugins?: boolean;
4
4
  }
5
5
  export declare const podlite: ({ importPlugins }: PodliteOpt) => Podlite;
6
6
  declare const VERSION: any;
@@ -4,11 +4,14 @@ const image_1 = require("@podlite/image");
4
4
  const diagram_1 = require("@podlite/diagram");
5
5
  const markdown_1 = require("@podlite/markdown");
6
6
  const toc_1 = require("@podlite/toc");
7
+ const formula_1 = require("@podlite/formula");
7
8
  const external = {
8
9
  ...diagram_1.PluginRegister,
9
10
  ...markdown_1.PluginRegister,
10
11
  ...image_1.PluginRegister,
11
12
  ...toc_1.PluginRegister,
13
+ ...image_1.PluginRegister,
14
+ ...formula_1.PluginRegister,
12
15
  };
13
16
  exports.default = external;
14
17
  //# sourceMappingURL=extrnal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"extrnal.js","sourceRoot":"","sources":["../../src/plugins/extrnal.ts"],"names":[],"mappings":";;AACA,0CAA+C;AAC/C,8CAAoE;AACpE,gDAAsE;AACtE,sCAA4D;AAC5D,MAAM,QAAQ,GAAY;IACxB,GAAG,wBAAe;IAClB,GAAG,yBAAgB;IACnB,GAAG,sBAAc;IACjB,GAAG,oBAAW;CACf,CAAA;AAED,kBAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"extrnal.js","sourceRoot":"","sources":["../../src/plugins/extrnal.ts"],"names":[],"mappings":";;AACA,0CAA+C;AAC/C,8CAAoE;AACpE,gDAAsE;AACtE,sCAA4D;AAC5D,8CAAmE;AACnE,MAAM,QAAQ,GAAY;IACxB,GAAG,wBAAe;IAClB,GAAG,yBAAgB;IACnB,GAAG,sBAAc;IACjB,GAAG,oBAAW;IACd,GAAG,sBAAc;IACjB,GAAG,wBAAc;CAClB,CAAA;AAED,kBAAe,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "podlite",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "description": "Podlite - a lightweight block-based markup language",
5
5
  "main": "lib/index.js",
6
- "types": "lib/index.d.ts",
7
6
  "scripts": {
8
7
  "test": "yarn g:jest --passWithNoTests",
9
8
  "build": "yarn g:build",
@@ -31,11 +30,12 @@
31
30
  "url": "https://github.com/podlite/podlite/issues"
32
31
  },
33
32
  "dependencies": {
34
- "@podlite/diagram": "^0.0.22",
35
- "@podlite/image": "^0.0.17",
36
- "@podlite/markdown": "0.0.11",
37
- "@podlite/schema": "^0.0.18",
38
- "@podlite/toc": "0.0.11",
33
+ "@podlite/diagram": "^0.0.24",
34
+ "@podlite/formula": "0.0.2",
35
+ "@podlite/image": "^0.0.19",
36
+ "@podlite/markdown": "0.0.13",
37
+ "@podlite/schema": "^0.0.20",
38
+ "@podlite/toc": "0.0.13",
39
39
  "nanoid": "3.1.30"
40
40
  },
41
41
  "devDependencies": {