@pretextbook/import 0.2.0 → 0.4.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/README.md +79 -8
- package/dist/import-mode-DlOXwZkx.cjs +115 -0
- package/dist/import-mode-G2KcSH17.js +4774 -0
- package/dist/import.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +10 -5
- package/dist/index.js +130 -87
- package/dist/lib/clean/latex-includes.d.ts +19 -0
- package/dist/lib/clean/pretext-includes.d.ts +8 -0
- package/dist/lib/import-mode.d.ts +9 -1
- package/dist/lib/layout/shared.d.ts +5 -1
- package/dist/lib/layout/xml-scan.d.ts +1 -0
- package/dist/lib/pool/division-pool.d.ts +18 -9
- package/dist/lib/pool/index.d.ts +2 -1
- package/dist/lib/pool/native-pool.d.ts +20 -0
- package/dist/lib/pool/refs.d.ts +39 -0
- package/dist/lib/pool/serialize-plus.d.ts +1 -6
- package/dist/lib/pretext-divisions.d.ts +9 -0
- package/dist/lib/project/analyze.d.ts +46 -0
- package/dist/lib/project/attach-roots.d.ts +46 -0
- package/dist/lib/project/existing-project.d.ts +40 -0
- package/dist/lib/project/manifest.d.ts +50 -0
- package/dist/lib/project/paths.d.ts +19 -0
- package/dist/lib/types.d.ts +70 -20
- package/dist/lib/upload.d.ts +40 -1
- package/dist/react/import-wizard.d.ts +21 -0
- package/dist/react/index.d.ts +1 -1
- package/dist/react.cjs +2 -2
- package/dist/react.js +577 -343
- package/package.json +66 -66
- package/dist/import-mode-BDY8WcYJ.js +0 -3873
- package/dist/import-mode-CSZlmUxw.cjs +0 -66
package/package.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pretextbook/import",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Shared import helpers for converting LaTeX/Markdown/PreTeXt into PreTeXt for VS Code and web apps",
|
|
5
|
-
"author": "Oscar Levin",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/PreTeXtBook/pretext-tools.git"
|
|
10
|
-
},
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/PreTeXtBook/pretext-tools/issues"
|
|
13
|
-
},
|
|
14
|
-
"homepage": "https://github.com/PreTeXtBook/pretext-tools/tree/main/packages/import",
|
|
15
|
-
"private": false,
|
|
16
|
-
"type": "module",
|
|
17
|
-
"main": "./index.cjs",
|
|
18
|
-
"module": "./index.js",
|
|
19
|
-
"types": "./index.d.ts",
|
|
20
|
-
"exports": {
|
|
21
|
-
".": {
|
|
22
|
-
"types": "./index.d.ts",
|
|
23
|
-
"import": "./index.js",
|
|
24
|
-
"require": "./index.cjs",
|
|
25
|
-
"default": "./index.js"
|
|
26
|
-
},
|
|
27
|
-
"./react": {
|
|
28
|
-
"types": "./dist/react/index.d.ts",
|
|
29
|
-
"import": "./dist/react.js",
|
|
30
|
-
"require": "./dist/react.cjs",
|
|
31
|
-
"default": "./dist/react.js"
|
|
32
|
-
},
|
|
33
|
-
"./react.css": "./dist/import.css"
|
|
34
|
-
},
|
|
35
|
-
"sideEffects": [
|
|
36
|
-
"*.css",
|
|
37
|
-
"dist/*.css"
|
|
38
|
-
],
|
|
39
|
-
"files": [
|
|
40
|
-
"*.js",
|
|
41
|
-
"*.cjs",
|
|
42
|
-
"*.d.ts",
|
|
43
|
-
"*.d.cts",
|
|
44
|
-
"dist",
|
|
45
|
-
"README.md"
|
|
46
|
-
],
|
|
47
|
-
"scripts": {
|
|
48
|
-
"build": "vite build",
|
|
49
|
-
"test": "vitest run"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"@tailwindcss/vite": "^4.0.0",
|
|
53
|
-
"tailwindcss": "^4.0.0",
|
|
54
|
-
"@pretextbook/format": "*",
|
|
55
|
-
"@pretextbook/latex-pretext": "*",
|
|
56
|
-
"@pretextbook/remark-pretext": "*",
|
|
57
|
-
"jszip": "^3.10.1"
|
|
58
|
-
},
|
|
59
|
-
"peerDependencies": {
|
|
60
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
61
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
62
|
-
},
|
|
63
|
-
"publishConfig": {
|
|
64
|
-
"access": "public"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@pretextbook/import",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "Shared import helpers for converting LaTeX/Markdown/PreTeXt into PreTeXt for VS Code and web apps",
|
|
5
|
+
"author": "Oscar Levin",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/PreTeXtBook/pretext-tools.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/PreTeXtBook/pretext-tools/issues"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/PreTeXtBook/pretext-tools/tree/main/packages/import",
|
|
15
|
+
"private": false,
|
|
16
|
+
"type": "module",
|
|
17
|
+
"main": "./index.cjs",
|
|
18
|
+
"module": "./index.js",
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./index.d.ts",
|
|
23
|
+
"import": "./index.js",
|
|
24
|
+
"require": "./index.cjs",
|
|
25
|
+
"default": "./index.js"
|
|
26
|
+
},
|
|
27
|
+
"./react": {
|
|
28
|
+
"types": "./dist/react/index.d.ts",
|
|
29
|
+
"import": "./dist/react.js",
|
|
30
|
+
"require": "./dist/react.cjs",
|
|
31
|
+
"default": "./dist/react.js"
|
|
32
|
+
},
|
|
33
|
+
"./react.css": "./dist/import.css"
|
|
34
|
+
},
|
|
35
|
+
"sideEffects": [
|
|
36
|
+
"*.css",
|
|
37
|
+
"dist/*.css"
|
|
38
|
+
],
|
|
39
|
+
"files": [
|
|
40
|
+
"*.js",
|
|
41
|
+
"*.cjs",
|
|
42
|
+
"*.d.ts",
|
|
43
|
+
"*.d.cts",
|
|
44
|
+
"dist",
|
|
45
|
+
"README.md"
|
|
46
|
+
],
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "vite build",
|
|
49
|
+
"test": "vitest run"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@tailwindcss/vite": "^4.0.0",
|
|
53
|
+
"tailwindcss": "^4.0.0",
|
|
54
|
+
"@pretextbook/format": "*",
|
|
55
|
+
"@pretextbook/latex-pretext": "*",
|
|
56
|
+
"@pretextbook/remark-pretext": "*",
|
|
57
|
+
"jszip": "^3.10.1"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
61
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
62
|
+
},
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public"
|
|
65
|
+
}
|
|
66
|
+
}
|