@orgajs/reorg-parse 3.1.7 → 4.0.0

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/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  import { Plugin } from 'unified';
2
2
  declare const _parse: Plugin;
3
3
  export default _parse;
4
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,9 +1,7 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- const orga_1 = require("orga");
1
+ import { parse } from 'orga';
3
2
  const _parse = function (options) {
4
3
  this.Parser = (doc) => {
5
- return orga_1.parse(doc, options);
4
+ return parse(doc, options);
6
5
  };
7
6
  };
8
- exports.default = _parse;
9
- //# sourceMappingURL=index.js.map
7
+ export default _parse;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@orgajs/reorg-parse",
3
- "version": "3.1.7",
3
+ "version": "4.0.0",
4
4
  "description": "orga parser for unifiedjs",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
8
  "main": "dist/index.js",
9
- "author": "Xiaoxing Hu <xiaoxing@huxx.org>",
9
+ "type": "module",
10
+ "author": "Xiaoxing Hu <hi@xiaoxing.dev>",
10
11
  "license": "MIT",
11
12
  "homepage": "https://github.com/orgapp/orgajs/tree/main/packages/reorg-parse#readme",
12
13
  "repository": {
@@ -14,17 +15,15 @@
14
15
  "url": "https://github.com/orgapp/orgajs.git",
15
16
  "directory": "packages/reorg-parse"
16
17
  },
17
- "scripts": {
18
- "build": "yarn clean && yarn compile",
19
- "clean": "del ./dist tsconfig.tsbuildinfo",
20
- "compile": "tsc -b"
21
- },
22
18
  "dependencies": {
23
- "orga": "3.2.1"
19
+ "orga": "^4.0.0"
24
20
  },
25
21
  "devDependencies": {
26
- "del-cli": "^3.0.1",
27
- "typescript": "^4.3.2",
28
- "unified": "9.2.2"
22
+ "typescript": "^5.0.4",
23
+ "unified": "^10.1.2"
24
+ },
25
+ "scripts": {
26
+ "clean": "tsc --build --clean",
27
+ "build": "tsc --build"
29
28
  }
30
- }
29
+ }
package/CHANGELOG.md DELETED
@@ -1,141 +0,0 @@
1
- # Change Log
2
-
3
- ## 3.1.7
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [eeccc870]
8
- - orga@3.2.1
9
-
10
- ## 3.1.6
11
-
12
- ### Patch Changes
13
-
14
- - Updated dependencies [6c1ddb9f]
15
- - orga@3.2.0
16
-
17
- ## 3.1.5
18
-
19
- ### Patch Changes
20
-
21
- - Updated dependencies [4bde5155]
22
- - orga@3.1.5
23
-
24
- ## 3.1.4
25
-
26
- ### Patch Changes
27
-
28
- - Updated dependencies [ae83a3b0]
29
- - orga@3.1.4
30
-
31
- ## 3.1.3
32
-
33
- ### Patch Changes
34
-
35
- - Updated dependencies [09a3b5c6]
36
- - orga@3.1.3
37
-
38
- ## 3.1.2
39
-
40
- ### Patch Changes
41
-
42
- - Updated dependencies [594bf16b]
43
- - orga@3.1.2
44
-
45
- ## 3.1.1
46
-
47
- ### Patch Changes
48
-
49
- - Updated dependencies [19156b8a]
50
- - orga@3.1.1
51
-
52
- ## 3.1.0
53
-
54
- ### Minor Changes
55
-
56
- - eeea0c54: introduce new token: empty line
57
-
58
- ### Patch Changes
59
-
60
- - Updated dependencies [eeea0c54]
61
- - orga@3.1.0
62
-
63
- ## 3.0.1
64
-
65
- ### Patch Changes
66
-
67
- - 6ed76057: # rename gatsby themes
68
-
69
- - gatsby-theme-orga -> gatsby-theme-orga-posts-core
70
- - gatsby-theme-blorg -> gatsby-theme-orga-posts
71
-
72
- # add example projects
73
-
74
- - gatsby-posts
75
- - gatsby-posts-core
76
-
77
- - 759e6149: # Bug Fixes
78
-
79
- - fix lexer for parsing headline with todo keyword
80
- - fix properties drawer issue
81
- - fix orga-theme-ui-preset package
82
- - fix gatsby-transformer-orga & gatsby-theme-blorg
83
-
84
- # Improved Playground
85
-
86
- - add `tokens` view
87
- - show node type in tree views
88
-
89
- - Updated dependencies [6ed76057]
90
- - Updated dependencies [759e6149]
91
- - orga@3.0.1
92
-
93
- ## 3.0.0
94
-
95
- ### Major Changes
96
-
97
- - 8b02d10: # Features
98
-
99
- - more powerful and flexible lexer and parser
100
- - webpack support
101
- - `jsx` support
102
- - better code block rendering
103
- - better image processing in gatsby
104
- - updated examples
105
- - tons of bug fixes
106
- - brand new `gatsby-plugin-orga`
107
-
108
- ### Patch Changes
109
-
110
- - Updated dependencies [8b02d10]
111
- - orga@3.0.0
112
-
113
- All notable changes to this project will be documented in this file.
114
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
115
-
116
- # [2.6.0](https://github.com/orgapp/orgajs/compare/v2.5.0...v2.6.0) (2021-08-28)
117
-
118
- ### Bug Fixes
119
-
120
- - lock unified & @types/unist version ([dc72217](https://github.com/orgapp/orgajs/commit/dc72217f0cfcd778436d704021116c8479f8ee1e))
121
- - remove prepublish step individually ([a75a6a9](https://github.com/orgapp/orgajs/commit/a75a6a9606421b66b6ef69b28e3fcb03a5ee282a))
122
-
123
- ## 2.4.9 (2021-07-13)
124
-
125
- # [2.5.0](https://github.com/orgapp/orgajs/compare/v2.4.9...v2.5.0) (2021-08-27)
126
-
127
- ### Bug Fixes
128
-
129
- - lock unified & @types/unist version ([dc72217](https://github.com/orgapp/orgajs/commit/dc72217f0cfcd778436d704021116c8479f8ee1e))
130
-
131
- ## [2.4.9](https://github.com/orgapp/orgajs/compare/v2.4.8...v2.4.9) (2021-07-13)
132
-
133
- **Note:** Version bump only for package @orgajs/reorg-parse
134
-
135
- ## [2.4.8](https://github.com/orgapp/orgajs/compare/v2.4.7...v2.4.8) (2021-04-26)
136
-
137
- **Note:** Version bump only for package @orgajs/reorg-parse
138
-
139
- ## [2.4.7](https://github.com/orgapp/orgajs/compare/v2.4.6...v2.4.7) (2021-04-26)
140
-
141
- **Note:** Version bump only for package @orgajs/reorg-parse
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAEhC,QAAA,MAAM,MAAM,EAAE,MAIb,CAAA;AAED,eAAe,MAAM,CAAA"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,+BAA0C;AAG1C,MAAM,MAAM,GAAW,UAAU,OAA8B;IAC7D,IAAI,CAAC,MAAM,GAAG,CAAC,GAAW,EAAE,EAAE;QAC5B,OAAO,YAAK,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;IAC5B,CAAC,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,MAAM,CAAA"}