gutterpress 0.11.17-alpha.2 → 0.11.17-alpha.4
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/api/index.d.ts +4 -0
- package/dist/api/index.js +11 -2
- package/dist/black-text-gray-7dz61456.js +15 -0
- package/dist/{build-1p999cmg.js → build-fam0tqg6.js} +5 -4
- package/dist/checks/pdf/black-text.d.ts +3 -0
- package/dist/checks/pdf/index.d.ts +2 -0
- package/dist/checks/pdf/signature.d.ts +3 -0
- package/dist/{cli-6z5zthzt.js → cli-2kc34kme.js} +470 -489
- package/dist/{cli-70xgehq2.js → cli-8apk8571.js} +1 -1
- package/dist/cli-ht1bcqdd.js +493 -0
- package/dist/{cli-gymfg04q.js → cli-jyy9pqf3.js} +15 -10
- package/dist/{cli-ppc0vz4b.js → cli-pqcb2nnb.js} +1 -1
- package/dist/cli.js +12 -12
- package/dist/{doctor-reqpnn3h.js → doctor-zre5k5fg.js} +2 -2
- package/dist/engine/compiler/build.d.ts +3 -2
- package/dist/engine/compiler/postprocess.d.ts +6 -4
- package/dist/engine/shared/synthesis.d.ts +29 -5
- package/dist/{engine-5jzhjjvv.js → engine-3xqgm82d.js} +2 -2
- package/dist/{engine-078ggczp.js → engine-zdb41ay1.js} +1 -1
- package/dist/{ext-dsbfejt3.js → ext-hfqcg6ax.js} +5 -4
- package/dist/{gutterpress-viewer-zkv2stfy.js → gutterpress-viewer-1n793gwd.js} +5 -3
- package/dist/{index-c275p061.js → index-gp503ze9.js} +1622 -1332
- package/dist/{index-5dcj1vts.js → index-hrx0gfkj.js} +23 -684
- package/dist/index-ht1bcqdd.js +493 -0
- package/dist/index-q1xqxrh9.js +949 -0
- package/dist/index.js +12 -3
- package/dist/lib/black-text-gray.d.ts +55 -8
- package/dist/lib/build-fingerprint.d.ts +2 -0
- package/dist/lib/engine.d.ts +2 -1
- package/dist/lib/lint-rules.d.ts +9 -0
- package/dist/lib/markdown/assemble.d.ts +3 -5
- package/dist/lib/markdown/index.d.ts +3 -8
- package/dist/lib/markdown/renderer.d.ts +9 -1
- package/dist/lib/page-size.d.ts +66 -0
- package/dist/lib/pdf-inspect.d.ts +6 -0
- package/dist/lib/printsafe.d.ts +8 -1
- package/dist/lib/project-scaffold.d.ts +3 -9
- package/dist/lib/remote-auth/github-repos.d.ts +7 -0
- package/dist/lib/remote-auth/online-backup.d.ts +51 -0
- package/dist/lib/snippets.d.ts +3 -0
- package/dist/{manifest.schema-40sfq49z.json → manifest.schema-gh0jjve9.json} +14 -2
- package/dist/{new-m5y2wepr.js → new-bjdf7bhg.js} +5 -4
- package/dist/{plugin.js-m4a7m3t4.tpl → plugin.js-cswq7wvd.tpl} +4 -1
- package/dist/{plugin.test.js-6n8ct5e3.tpl → plugin.test.js-xgxrd8hf.tpl} +4 -1
- package/dist/{preflight-bwpqwwny.js → preflight-gvw01661.js} +5 -4
- package/dist/preview/file-watcher.d.ts +2 -4
- package/dist/{preview-62y7qhkp.js → preview-1cschq8s.js} +5 -4
- package/dist/{publish-k2zyt3x6.js → publish-ddqrb8s9.js} +5 -4
- package/dist/render.js +30 -5
- package/dist/schema/manifest.types.d.ts +17 -0
- package/dist/{validate-fgwwxtbn.js → validate-3hjkgxrz.js} +5 -4
- package/package.json +1 -1
- package/dist/index-eyaj6nkc.js +0 -267
package/dist/api/index.d.ts
CHANGED
|
@@ -51,6 +51,8 @@ export { listProjectStyles, resolveActiveStyles } from "../lib/style-resolver.ts
|
|
|
51
51
|
export type { ProjectStyle } from "../lib/style-resolver.ts";
|
|
52
52
|
export { readManifestFields, setManifestFields, setActiveStyles, } from "../lib/manifest-config.ts";
|
|
53
53
|
export type { ProjectConfigFields } from "../lib/manifest-config.ts";
|
|
54
|
+
export { readPageSetup, setPageSetup } from "../lib/page-size.ts";
|
|
55
|
+
export type { PageSetup, PageSizeChoice, PageSizePoints } from "../lib/page-size.ts";
|
|
54
56
|
export { providerFor, restoreVersionWithBackup, isNoChangesError, countUnversionedChanges, whenGitIdle, AUTO_SNAPSHOT_MESSAGE, RESTORE_BACKUP_MESSAGE, HISTORY_PAGE_LIMIT, listLocalBranches, switchBranch, SWITCH_BRANCH_SNAPSHOT_MESSAGE, } from "../lib/source-provider.ts";
|
|
55
57
|
export type { ListHistoryOptions, HistoryPage, UnversionedChanges, LocalBranches, SwitchBranchOptions, SwitchBranchResult, } from "../lib/source-provider.ts";
|
|
56
58
|
export { autoSnapshotDelayMs, autoSyncDelayMs, isGitInternalPath, AUTO_SNAPSHOT_DEFAULT_MINUTES, AUTO_SYNC_MIN_MINUTES, AUTO_SYNC_MAX_MINUTES, AUTO_SYNC_DEFAULT_MINUTES, AUTO_SYNC_PUSH_INTERVAL_MINUTES, } from "../lib/host-policy.ts";
|
|
@@ -65,6 +67,8 @@ export { connectGoogleDrive } from "../lib/publish/connect-google.ts";
|
|
|
65
67
|
export type { ConnectGoogleDriveOptions, ConnectGoogleDriveResult, } from "../lib/publish/connect-google.ts";
|
|
66
68
|
export { listGitHubRepositories, listGitHubBranches, listRepoBooks, } from "../lib/remote-auth/github-repos.ts";
|
|
67
69
|
export type { RemoteRepository, RemoteBranch, RepoBook, } from "../lib/remote-auth/github-repos.ts";
|
|
70
|
+
export { setUpOnlineBackup, isValidRepositoryName, } from "../lib/remote-auth/online-backup.ts";
|
|
71
|
+
export type { BackupTarget, BackupSetupResult, BackupSetupFailureReason, SetUpOnlineBackupOptions, } from "../lib/remote-auth/online-backup.ts";
|
|
68
72
|
export { cloneRepository, sanitizeCloneFolderName, } from "../lib/remote-auth/clone.ts";
|
|
69
73
|
export type { CloneRepositoryOptions, CloneRepositoryResult, CloneProgressEvent, } from "../lib/remote-auth/clone.ts";
|
|
70
74
|
export { testRemoteAccess, isSshRemoteUrl, } from "../lib/remote-auth/test-access.ts";
|
package/dist/api/index.js
CHANGED
|
@@ -63,6 +63,7 @@ import {
|
|
|
63
63
|
isGitInternalPath,
|
|
64
64
|
isPathSpecifier,
|
|
65
65
|
isSshRemoteUrl,
|
|
66
|
+
isValidRepositoryName,
|
|
66
67
|
knownForgeTokenUrl,
|
|
67
68
|
listBuiltInStyleSets,
|
|
68
69
|
listBuiltInTemplates,
|
|
@@ -91,6 +92,7 @@ import {
|
|
|
91
92
|
readExtensionCss,
|
|
92
93
|
readExtensionMeta,
|
|
93
94
|
readManifestFields,
|
|
95
|
+
readPageSetup,
|
|
94
96
|
readPublishSettings,
|
|
95
97
|
refreshRemoteCopies,
|
|
96
98
|
removeExtension,
|
|
@@ -122,7 +124,9 @@ import {
|
|
|
122
124
|
setActiveStyles,
|
|
123
125
|
setExtensionEnabled,
|
|
124
126
|
setManifestFields,
|
|
127
|
+
setPageSetup,
|
|
125
128
|
setPublishProviderConfig,
|
|
129
|
+
setUpOnlineBackup,
|
|
126
130
|
slugifyProjectName,
|
|
127
131
|
splitOutPath,
|
|
128
132
|
startPreviewServer,
|
|
@@ -131,10 +135,11 @@ import {
|
|
|
131
135
|
testRemoteAccess,
|
|
132
136
|
updateExtensions,
|
|
133
137
|
validateProjectExtensions
|
|
134
|
-
} from "../index-
|
|
138
|
+
} from "../index-gp503ze9.js";
|
|
139
|
+
import"../index-ht1bcqdd.js";
|
|
135
140
|
import {
|
|
136
141
|
BuildError
|
|
137
|
-
} from "../index-
|
|
142
|
+
} from "../index-q1xqxrh9.js";
|
|
138
143
|
import {
|
|
139
144
|
DEFAULT_PRINT_OPTS,
|
|
140
145
|
assertMilestone,
|
|
@@ -174,7 +179,9 @@ export {
|
|
|
174
179
|
startPreviewServer,
|
|
175
180
|
splitOutPath,
|
|
176
181
|
slugifyProjectName,
|
|
182
|
+
setUpOnlineBackup,
|
|
177
183
|
setPublishProviderConfig,
|
|
184
|
+
setPageSetup,
|
|
178
185
|
setManifestFields,
|
|
179
186
|
setExtensionEnabled,
|
|
180
187
|
setActiveStyles,
|
|
@@ -211,6 +218,7 @@ export {
|
|
|
211
218
|
refreshRemoteCopies,
|
|
212
219
|
readyProbeExpr,
|
|
213
220
|
readPublishSettings,
|
|
221
|
+
readPageSetup,
|
|
214
222
|
readManifestFields,
|
|
215
223
|
readExtensionMeta,
|
|
216
224
|
readExtensionCss,
|
|
@@ -241,6 +249,7 @@ export {
|
|
|
241
249
|
listBuiltInTemplates,
|
|
242
250
|
listBuiltInStyleSets,
|
|
243
251
|
knownForgeTokenUrl,
|
|
252
|
+
isValidRepositoryName,
|
|
244
253
|
isSshRemoteUrl,
|
|
245
254
|
isPathSpecifier,
|
|
246
255
|
isNoChangesError,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LARGE_TEXT_PT,
|
|
3
|
+
blackTextToGray,
|
|
4
|
+
countRichBlackText,
|
|
5
|
+
findRichBlackText,
|
|
6
|
+
rewriteBlackText
|
|
7
|
+
} from "./cli-ht1bcqdd.js";
|
|
8
|
+
import"./cli-37x76zdn.js";
|
|
9
|
+
export {
|
|
10
|
+
rewriteBlackText,
|
|
11
|
+
findRichBlackText,
|
|
12
|
+
countRichBlackText,
|
|
13
|
+
blackTextToGray,
|
|
14
|
+
LARGE_TEXT_PT
|
|
15
|
+
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runBuild,
|
|
3
3
|
splitOutPath
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-2kc34kme.js";
|
|
5
5
|
import {
|
|
6
6
|
log
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-8apk8571.js";
|
|
8
8
|
import {
|
|
9
9
|
UsageError,
|
|
10
10
|
parseFormat,
|
|
11
11
|
parsePdfxFlavor,
|
|
12
12
|
rejectExtraPositionals,
|
|
13
13
|
rejectUnknownFlags
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
} from "./cli-pqcb2nnb.js";
|
|
15
|
+
import"./cli-ht1bcqdd.js";
|
|
16
|
+
import"./cli-jyy9pqf3.js";
|
|
16
17
|
import {
|
|
17
18
|
BuildError
|
|
18
19
|
} from "./cli-46ycxe6r.js";
|