gutterpress 0.0.0 → 0.9.0-alpha.1

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 (74) hide show
  1. package/README.md +21 -16
  2. package/dist/api/index.d.ts +6 -2
  3. package/dist/api/index.js +15 -3
  4. package/dist/{audit-1jrwwacz.js → audit-k16v3n98.js} +5 -5
  5. package/dist/{build-5s92kgpc.js → build-8tqr4gbb.js} +5 -5
  6. package/dist/checks/types.d.ts +6 -0
  7. package/dist/{cli-hvqjs342.js → cli-rkqxbnkq.js} +2 -2
  8. package/dist/{cli-h7phg3ka.js → cli-v2dze8ja.js} +258 -258
  9. package/dist/{index-1tyj4bk3.js → cli-wchtvxvw.js} +4 -1
  10. package/dist/{cli-7ykx7pp0.js → cli-yp0d2hp8.js} +611 -259
  11. package/dist/{cli-5bxx0c4y.js → cli-yzrh708h.js} +2 -2
  12. package/dist/cli.js +15 -15
  13. package/dist/{doctor-25zjt8dz.js → doctor-57czxy3q.js} +2 -2
  14. package/dist/{index-3h3fef7r.js → index-m3pa4wyf.js} +826 -335
  15. package/dist/{cli-1tyj4bk3.js → index-wchtvxvw.js} +4 -1
  16. package/dist/{index-5bxx0c4y.js → index-yzrh708h.js} +2 -2
  17. package/dist/index.js +15 -3
  18. package/dist/lib/asset-inline.d.ts +19 -0
  19. package/dist/lib/build-error.d.ts +0 -1
  20. package/dist/lib/build-fingerprint.d.ts +14 -0
  21. package/dist/lib/build-runner.d.ts +21 -1
  22. package/dist/lib/ghostscript.d.ts +0 -9
  23. package/dist/lib/manifest-config.d.ts +7 -0
  24. package/dist/lib/manifest.d.ts +8 -0
  25. package/dist/lib/markdown/index.d.ts +0 -1
  26. package/dist/lib/npm-plugin-installer.d.ts +1 -1
  27. package/dist/lib/output-paths.d.ts +0 -1
  28. package/dist/lib/pagination.d.ts +0 -20
  29. package/dist/lib/pdf-inspect.d.ts +2 -2
  30. package/dist/lib/pdf-parse.d.ts +2 -1
  31. package/dist/lib/plugin-manager.d.ts +0 -2
  32. package/dist/lib/presets.d.ts +36 -7
  33. package/dist/lib/project-scaffold.d.ts +39 -2
  34. package/dist/lib/project-source.d.ts +11 -9
  35. package/dist/lib/project-templates.d.ts +45 -7
  36. package/dist/lib/publish/providers/azure-swa.d.ts +0 -1
  37. package/dist/lib/publish/providers/itch.d.ts +0 -1
  38. package/dist/lib/publish/providers/shopify.d.ts +0 -1
  39. package/dist/lib/remote-auth/github-repos.d.ts +0 -2
  40. package/dist/lib/remote-auth/recovery/dispatch.d.ts +0 -5
  41. package/dist/lib/remote-auth/recovery/outcome-mapping.d.ts +3 -2
  42. package/dist/lib/remote-auth/recovery/recover-stale-lock.d.ts +0 -8
  43. package/dist/lib/remote-auth/sync.d.ts +2 -10
  44. package/dist/lib/remote-auth/test-access.d.ts +0 -2
  45. package/dist/lib/remote-auth/test-support/git-http-server.d.ts +0 -37
  46. package/dist/lib/source-provider.d.ts +0 -14
  47. package/dist/lib/static-serve.d.ts +39 -0
  48. package/dist/lib/style-resolver.d.ts +10 -1
  49. package/dist/lib/targets.d.ts +84 -0
  50. package/dist/lib/theme-import.d.ts +0 -2
  51. package/dist/lib/theme-manager.d.ts +1 -1
  52. package/dist/lib/validation-exec.d.ts +4 -3
  53. package/dist/{lint-f63nxjfj.js → lint-4sq0dvf6.js} +5 -5
  54. package/dist/{manifest.schema-rn1dpdpn.json → manifest.schema-z61rzw44.json} +12 -6
  55. package/dist/new-f2nmyr5b.js +185 -0
  56. package/dist/{plugin-wf2cbmwc.js → plugin-xskq3dtx.js} +5 -5
  57. package/dist/{preflight-tg4mpz1h.js → preflight-epcffags.js} +24 -29
  58. package/dist/preview/file-watcher.d.ts +9 -22
  59. package/dist/preview/server-context.d.ts +22 -0
  60. package/dist/{preview-h2bwbb2x.js → preview-xf5dktz2.js} +5 -5
  61. package/dist/{project-source-0tg0r6vm.js → project-source-p0gn1wd5.js} +3 -3
  62. package/dist/{publish-ztaet53r.js → publish-97vdwq31.js} +5 -5
  63. package/dist/{repair-jkp4n3j8.js → repair-cz4z4hkg.js} +5 -5
  64. package/dist/schema/manifest.types.d.ts +14 -3
  65. package/dist/{source-provider-hp96b5jf.js → source-provider-c1rjm2c0.js} +2 -8
  66. package/dist/types.d.ts +0 -1
  67. package/dist/{validate-k2drs19j.js → validate-swzejnd8.js} +8 -8
  68. package/package.json +2 -2
  69. package/dist/chapter-01-jj8ftn4c.md +0 -29
  70. package/dist/lib/validation-profile.d.ts +0 -18
  71. package/dist/manifest-ryyg71nf.yaml +0 -9
  72. package/dist/new-7b08a42h.js +0 -105
  73. package/dist/theme-0yzvthe8.css +0 -65
  74. package/dist/theme-6a2fngc8.json +0 -6
@@ -2,7 +2,7 @@ import {
2
2
  capabilitiesFor,
3
3
  detectProjectSource,
4
4
  findEnclosingRepoDir
5
- } from "./cli-1tyj4bk3.js";
5
+ } from "./cli-wchtvxvw.js";
6
6
 
7
7
  // src/lib/source-provider.ts
8
8
  import * as fs from "node:fs";
@@ -461,4 +461,4 @@ async function restoreVersionWithBackup(options) {
461
461
  });
462
462
  }
463
463
 
464
- export { resolveLogger, shortOid, gitScopeFor, HISTORY_PAGE_LIMIT, SNAPSHOT_STAGING_MARKER, withRepoLock, __repoLockQueueSizeForTests, gitAuthor, readGitAuthor, resolveGitAuthor, listWorkdirChanges, stageChanges, hasPendingChanges, hasUncommittedChanges, snapshotWorkingTreeUnlocked, isNoChangesError, providerFor, gitDirFor, snapshotStagingMarkerPath, RESTORE_BACKUP_MESSAGE, AUTO_SNAPSHOT_MESSAGE, restoreVersionWithBackup };
464
+ export { resolveLogger, shortOid, gitScopeFor, HISTORY_PAGE_LIMIT, withRepoLock, __repoLockQueueSizeForTests, resolveGitAuthor, listWorkdirChanges, stageChanges, hasPendingChanges, hasUncommittedChanges, snapshotWorkingTreeUnlocked, isNoChangesError, providerFor, gitDirFor, snapshotStagingMarkerPath, RESTORE_BACKUP_MESSAGE, AUTO_SNAPSHOT_MESSAGE, restoreVersionWithBackup };
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  UsageError,
8
8
  package_default,
9
9
  rejectUnknownFlags
10
- } from "./cli-hvqjs342.js";
10
+ } from "./cli-rkqxbnkq.js";
11
11
  import {
12
12
  __require
13
13
  } from "./cli-37x76zdn.js";
@@ -16,17 +16,17 @@ import {
16
16
  import { defineCommand, parseArgs, runMain } from "citty";
17
17
  import { statSync } from "node:fs";
18
18
  var SUBCOMMANDS = {
19
- new: () => import("./new-7b08a42h.js").then((m) => m.default),
20
- preview: () => import("./preview-h2bwbb2x.js").then((m) => m.default),
21
- build: () => import("./build-5s92kgpc.js").then((m) => m.default),
22
- publish: () => import("./publish-ztaet53r.js").then((m) => m.default),
23
- lint: () => import("./lint-f63nxjfj.js").then((m) => m.default),
24
- validate: () => import("./validate-k2drs19j.js").then((m) => m.default),
25
- audit: () => import("./audit-1jrwwacz.js").then((m) => m.default),
26
- preflight: () => import("./preflight-tg4mpz1h.js").then((m) => m.default),
27
- repair: () => import("./repair-jkp4n3j8.js").then((m) => m.default),
28
- doctor: () => import("./doctor-25zjt8dz.js").then((m) => m.default),
29
- plugin: () => import("./plugin-wf2cbmwc.js").then((m) => m.default)
19
+ new: () => import("./new-f2nmyr5b.js").then((m) => m.default),
20
+ preview: () => import("./preview-xf5dktz2.js").then((m) => m.default),
21
+ build: () => import("./build-8tqr4gbb.js").then((m) => m.default),
22
+ publish: () => import("./publish-97vdwq31.js").then((m) => m.default),
23
+ lint: () => import("./lint-4sq0dvf6.js").then((m) => m.default),
24
+ validate: () => import("./validate-swzejnd8.js").then((m) => m.default),
25
+ audit: () => import("./audit-k16v3n98.js").then((m) => m.default),
26
+ preflight: () => import("./preflight-epcffags.js").then((m) => m.default),
27
+ repair: () => import("./repair-cz4z4hkg.js").then((m) => m.default),
28
+ doctor: () => import("./doctor-57czxy3q.js").then((m) => m.default),
29
+ plugin: () => import("./plugin-xskq3dtx.js").then((m) => m.default)
30
30
  };
31
31
  var VERSION = package_default.version;
32
32
  var main = defineCommand({
@@ -51,7 +51,7 @@ async function preflightRequiredInvocations(rawArgs) {
51
51
  const [command, ...commandArgs] = rawArgs;
52
52
  try {
53
53
  if (command === "new") {
54
- const { newArgs } = await import("./new-7b08a42h.js");
54
+ const { newArgs } = await import("./new-f2nmyr5b.js");
55
55
  rejectUnknownFlags(commandArgs, newArgs, "new");
56
56
  const parsed2 = parseArgs(commandArgs, {
57
57
  ...newArgs,
@@ -63,7 +63,7 @@ async function preflightRequiredInvocations(rawArgs) {
63
63
  return;
64
64
  }
65
65
  if (command === "preflight") {
66
- const { preflightArgs } = await import("./preflight-tg4mpz1h.js");
66
+ const { preflightArgs } = await import("./preflight-epcffags.js");
67
67
  rejectUnknownFlags(commandArgs, preflightArgs, "preflight");
68
68
  const parsed2 = parseArgs(commandArgs, {
69
69
  ...preflightArgs,
@@ -87,7 +87,7 @@ async function preflightRequiredInvocations(rawArgs) {
87
87
  if (subcommand !== "add") {
88
88
  throw new UsageError(`gutterpress plugin: unknown command "${subcommand}"`);
89
89
  }
90
- const { pluginAddArgs } = await import("./plugin-wf2cbmwc.js");
90
+ const { pluginAddArgs } = await import("./plugin-xskq3dtx.js");
91
91
  rejectUnknownFlags(subcommandArgs, pluginAddArgs, "plugin add");
92
92
  const parsed = parseArgs(subcommandArgs, {
93
93
  ...pluginAddArgs,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getSystemDiagnostics,
3
3
  log
4
- } from "./cli-h7phg3ka.js";
4
+ } from "./cli-v2dze8ja.js";
5
5
  import {
6
6
  UsageError,
7
7
  rejectExtraPositionals,
8
8
  rejectUnknownFlags
9
- } from "./cli-hvqjs342.js";
9
+ } from "./cli-rkqxbnkq.js";
10
10
  import"./cli-37x76zdn.js";
11
11
 
12
12
  // src/commands/doctor.ts