@anyblock/remark-any-block 1.0.0-beta2 → 1.0.0-beta3
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.
|
@@ -49672,4 +49672,4 @@ exports.ABConvertManager = ABConvertManager;
|
|
|
49672
49672
|
exports.abConvertEvent = abConvertEvent;
|
|
49673
49673
|
exports.jsdom_init = jsdom_init;
|
|
49674
49674
|
exports.transformer_anyblock = transformer_anyblock;
|
|
49675
|
-
//# sourceMappingURL=
|
|
49675
|
+
//# sourceMappingURL=remark-any-block.cjs.map
|
|
@@ -49650,4 +49650,4 @@ export {
|
|
|
49650
49650
|
jsdom_init,
|
|
49651
49651
|
transformer_anyblock
|
|
49652
49652
|
};
|
|
49653
|
-
//# sourceMappingURL=
|
|
49653
|
+
//# sourceMappingURL=remark-any-block.js.map
|
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anyblock/remark-any-block",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta3",
|
|
4
4
|
"description": "You can flexibility to create a 'Block' by many means. It also provides many useful features, like `list to table`.",
|
|
5
|
-
"
|
|
5
|
+
"types": "@types/index_remark.d.ts",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/remark-any-block.cjs",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/remark-any-block.js",
|
|
11
|
+
"require": "./dist/remark-any-block.cjs"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
6
14
|
"publishConfig": {
|
|
7
15
|
"access": "public"
|
|
8
16
|
},
|
|
@@ -15,7 +23,7 @@
|
|
|
15
23
|
},
|
|
16
24
|
"keywords": [],
|
|
17
25
|
"author": "",
|
|
18
|
-
"license": "
|
|
26
|
+
"license": "GNU Affero General Public License v3.0",
|
|
19
27
|
"packageManager": "pnpm@10.10.0",
|
|
20
28
|
"dependencies": {
|
|
21
29
|
"markdown-it": "^14.1.0",
|
package/vite.config.ts
CHANGED
|
@@ -13,11 +13,11 @@ export default defineConfig({
|
|
|
13
13
|
lib: {
|
|
14
14
|
entry: './index.ts',
|
|
15
15
|
|
|
16
|
-
name: '
|
|
16
|
+
name: 'RemarkAnyBlock',
|
|
17
17
|
formats: ['es', 'cjs'], // ['es', 'cjs']
|
|
18
18
|
fileName: (format) => format == 'es'
|
|
19
|
-
? `
|
|
20
|
-
: `
|
|
19
|
+
? `remark-any-block.js`
|
|
20
|
+
: `remark-any-block.cjs`,
|
|
21
21
|
},
|
|
22
22
|
rollupOptions: {
|
|
23
23
|
// 确保您的库与其他包兼容
|