gutterpress 0.11.17-alpha.1 → 0.11.17-alpha.3

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.
Files changed (50) hide show
  1. package/dist/api/index.d.ts +4 -0
  2. package/dist/api/index.js +10 -2
  3. package/dist/{build-jfjzam95.js → build-394c1ee1.js} +4 -4
  4. package/dist/checks/pdf/index.d.ts +1 -0
  5. package/dist/checks/pdf/signature.d.ts +3 -0
  6. package/dist/{cli-0754wskb.js → cli-3p1e95zc.js} +1 -1
  7. package/dist/{cli-ew3gc4nt.js → cli-9nba5ve6.js} +562 -211
  8. package/dist/{cli-zce1zcqc.js → cli-d57bsfpb.js} +1 -1
  9. package/dist/{cli-xx5bryh6.js → cli-jyy9pqf3.js} +16 -11
  10. package/dist/cli.js +12 -12
  11. package/dist/{doctor-h01f71ws.js → doctor-c459qv5j.js} +2 -2
  12. package/dist/engine/compiler/build.d.ts +3 -2
  13. package/dist/engine/compiler/postprocess.d.ts +6 -4
  14. package/dist/engine/shared/synthesis.d.ts +29 -5
  15. package/dist/{engine-aaam2nz3.js → engine-3xqgm82d.js} +2 -2
  16. package/dist/{engine-rhmwgk9k.js → engine-zdb41ay1.js} +1 -1
  17. package/dist/{ext-ja4hy1c2.js → ext-ha7gg8h9.js} +4 -4
  18. package/dist/{gutterpress-viewer-5a6h4evk.js → gutterpress-viewer-1n793gwd.js} +10 -4
  19. package/dist/{index-r9t4acx5.js → index-bscfmg5r.js} +1714 -1054
  20. package/dist/{index-3nk5mnn6.js → index-hrx0gfkj.js} +23 -684
  21. package/dist/index-q1xqxrh9.js +949 -0
  22. package/dist/index.js +11 -3
  23. package/dist/lib/black-text-gray.d.ts +38 -8
  24. package/dist/lib/build-fingerprint.d.ts +2 -0
  25. package/dist/lib/engine.d.ts +2 -1
  26. package/dist/lib/lint-rules.d.ts +9 -0
  27. package/dist/lib/markdown/assemble.d.ts +3 -5
  28. package/dist/lib/markdown/index.d.ts +3 -8
  29. package/dist/lib/markdown/renderer.d.ts +9 -1
  30. package/dist/lib/page-size.d.ts +66 -0
  31. package/dist/lib/pdf-inspect.d.ts +6 -0
  32. package/dist/lib/printsafe.d.ts +8 -1
  33. package/dist/lib/project-scaffold.d.ts +3 -9
  34. package/dist/lib/remote-auth/github-repos.d.ts +7 -0
  35. package/dist/lib/remote-auth/online-backup.d.ts +51 -0
  36. package/dist/lib/snippets.d.ts +3 -0
  37. package/dist/{manifest.schema-40sfq49z.json → manifest.schema-gh0jjve9.json} +14 -2
  38. package/dist/{new-yzswp0ge.js → new-kky3z7kv.js} +4 -4
  39. package/dist/{plugin.js-m4a7m3t4.tpl → plugin.js-cswq7wvd.tpl} +4 -1
  40. package/dist/{plugin.test.js-6n8ct5e3.tpl → plugin.test.js-xgxrd8hf.tpl} +4 -1
  41. package/dist/{preflight-0s1vw6y1.js → preflight-t8v6szq6.js} +4 -4
  42. package/dist/preview/file-watcher.d.ts +2 -4
  43. package/dist/{preview-tam7azsr.js → preview-cxab4y5x.js} +4 -4
  44. package/dist/{preview-interface-5wnzrvhf.js → preview-interface-c44qk17f.js} +7 -2
  45. package/dist/{publish-ra8kyf0z.js → publish-s2mtenb5.js} +4 -4
  46. package/dist/render.js +30 -5
  47. package/dist/schema/manifest.types.d.ts +17 -0
  48. package/dist/{validate-n9vae7p8.js → validate-xaajdw4x.js} +4 -4
  49. package/package.json +1 -1
  50. package/dist/index-dmm31ys3.js +0 -267
@@ -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,10 @@ import {
131
135
  testRemoteAccess,
132
136
  updateExtensions,
133
137
  validateProjectExtensions
134
- } from "../index-r9t4acx5.js";
138
+ } from "../index-bscfmg5r.js";
135
139
  import {
136
140
  BuildError
137
- } from "../index-dmm31ys3.js";
141
+ } from "../index-q1xqxrh9.js";
138
142
  import {
139
143
  DEFAULT_PRINT_OPTS,
140
144
  assertMilestone,
@@ -174,7 +178,9 @@ export {
174
178
  startPreviewServer,
175
179
  splitOutPath,
176
180
  slugifyProjectName,
181
+ setUpOnlineBackup,
177
182
  setPublishProviderConfig,
183
+ setPageSetup,
178
184
  setManifestFields,
179
185
  setExtensionEnabled,
180
186
  setActiveStyles,
@@ -211,6 +217,7 @@ export {
211
217
  refreshRemoteCopies,
212
218
  readyProbeExpr,
213
219
  readPublishSettings,
220
+ readPageSetup,
214
221
  readManifestFields,
215
222
  readExtensionMeta,
216
223
  readExtensionCss,
@@ -241,6 +248,7 @@ export {
241
248
  listBuiltInTemplates,
242
249
  listBuiltInStyleSets,
243
250
  knownForgeTokenUrl,
251
+ isValidRepositoryName,
244
252
  isSshRemoteUrl,
245
253
  isPathSpecifier,
246
254
  isNoChangesError,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  runBuild,
3
3
  splitOutPath
4
- } from "./cli-ew3gc4nt.js";
4
+ } from "./cli-9nba5ve6.js";
5
5
  import {
6
6
  log
7
- } from "./cli-0754wskb.js";
7
+ } from "./cli-3p1e95zc.js";
8
8
  import {
9
9
  UsageError,
10
10
  parseFormat,
11
11
  parsePdfxFlavor,
12
12
  rejectExtraPositionals,
13
13
  rejectUnknownFlags
14
- } from "./cli-zce1zcqc.js";
15
- import"./cli-xx5bryh6.js";
14
+ } from "./cli-d57bsfpb.js";
15
+ import"./cli-jyy9pqf3.js";
16
16
  import {
17
17
  BuildError
18
18
  } from "./cli-46ycxe6r.js";
@@ -5,6 +5,7 @@ import "./color-spaces";
5
5
  import "./embedded-fonts";
6
6
  import "./ink-coverage";
7
7
  import "./rasterized-pages";
8
+ import "./signature";
8
9
  import "./bookmarks";
9
10
  import "./toc-links";
10
11
  import "./cross-refs";
@@ -0,0 +1,3 @@
1
+ import type { Check } from "../types";
2
+ declare const check: Check;
3
+ export default check;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "./cli-zce1zcqc.js";
3
+ } from "./cli-d57bsfpb.js";
4
4
  import {
5
5
  execCapture,
6
6
  findTool,