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.
- package/README.md +21 -16
- package/dist/api/index.d.ts +6 -2
- package/dist/api/index.js +15 -3
- package/dist/{audit-1jrwwacz.js → audit-k16v3n98.js} +5 -5
- package/dist/{build-5s92kgpc.js → build-8tqr4gbb.js} +5 -5
- package/dist/checks/types.d.ts +6 -0
- package/dist/{cli-hvqjs342.js → cli-rkqxbnkq.js} +2 -2
- package/dist/{cli-h7phg3ka.js → cli-v2dze8ja.js} +258 -258
- package/dist/{index-1tyj4bk3.js → cli-wchtvxvw.js} +4 -1
- package/dist/{cli-7ykx7pp0.js → cli-yp0d2hp8.js} +611 -259
- package/dist/{cli-5bxx0c4y.js → cli-yzrh708h.js} +2 -2
- package/dist/cli.js +15 -15
- package/dist/{doctor-25zjt8dz.js → doctor-57czxy3q.js} +2 -2
- package/dist/{index-3h3fef7r.js → index-m3pa4wyf.js} +826 -335
- package/dist/{cli-1tyj4bk3.js → index-wchtvxvw.js} +4 -1
- package/dist/{index-5bxx0c4y.js → index-yzrh708h.js} +2 -2
- package/dist/index.js +15 -3
- package/dist/lib/asset-inline.d.ts +19 -0
- package/dist/lib/build-error.d.ts +0 -1
- package/dist/lib/build-fingerprint.d.ts +14 -0
- package/dist/lib/build-runner.d.ts +21 -1
- package/dist/lib/ghostscript.d.ts +0 -9
- package/dist/lib/manifest-config.d.ts +7 -0
- package/dist/lib/manifest.d.ts +8 -0
- package/dist/lib/markdown/index.d.ts +0 -1
- package/dist/lib/npm-plugin-installer.d.ts +1 -1
- package/dist/lib/output-paths.d.ts +0 -1
- package/dist/lib/pagination.d.ts +0 -20
- package/dist/lib/pdf-inspect.d.ts +2 -2
- package/dist/lib/pdf-parse.d.ts +2 -1
- package/dist/lib/plugin-manager.d.ts +0 -2
- package/dist/lib/presets.d.ts +36 -7
- package/dist/lib/project-scaffold.d.ts +39 -2
- package/dist/lib/project-source.d.ts +11 -9
- package/dist/lib/project-templates.d.ts +45 -7
- package/dist/lib/publish/providers/azure-swa.d.ts +0 -1
- package/dist/lib/publish/providers/itch.d.ts +0 -1
- package/dist/lib/publish/providers/shopify.d.ts +0 -1
- package/dist/lib/remote-auth/github-repos.d.ts +0 -2
- package/dist/lib/remote-auth/recovery/dispatch.d.ts +0 -5
- package/dist/lib/remote-auth/recovery/outcome-mapping.d.ts +3 -2
- package/dist/lib/remote-auth/recovery/recover-stale-lock.d.ts +0 -8
- package/dist/lib/remote-auth/sync.d.ts +2 -10
- package/dist/lib/remote-auth/test-access.d.ts +0 -2
- package/dist/lib/remote-auth/test-support/git-http-server.d.ts +0 -37
- package/dist/lib/source-provider.d.ts +0 -14
- package/dist/lib/static-serve.d.ts +39 -0
- package/dist/lib/style-resolver.d.ts +10 -1
- package/dist/lib/targets.d.ts +84 -0
- package/dist/lib/theme-import.d.ts +0 -2
- package/dist/lib/theme-manager.d.ts +1 -1
- package/dist/lib/validation-exec.d.ts +4 -3
- package/dist/{lint-f63nxjfj.js → lint-4sq0dvf6.js} +5 -5
- package/dist/{manifest.schema-rn1dpdpn.json → manifest.schema-z61rzw44.json} +12 -6
- package/dist/new-f2nmyr5b.js +185 -0
- package/dist/{plugin-wf2cbmwc.js → plugin-xskq3dtx.js} +5 -5
- package/dist/{preflight-tg4mpz1h.js → preflight-epcffags.js} +24 -29
- package/dist/preview/file-watcher.d.ts +9 -22
- package/dist/preview/server-context.d.ts +22 -0
- package/dist/{preview-h2bwbb2x.js → preview-xf5dktz2.js} +5 -5
- package/dist/{project-source-0tg0r6vm.js → project-source-p0gn1wd5.js} +3 -3
- package/dist/{publish-ztaet53r.js → publish-97vdwq31.js} +5 -5
- package/dist/{repair-jkp4n3j8.js → repair-cz4z4hkg.js} +5 -5
- package/dist/schema/manifest.types.d.ts +14 -3
- package/dist/{source-provider-hp96b5jf.js → source-provider-c1rjm2c0.js} +2 -8
- package/dist/types.d.ts +0 -1
- package/dist/{validate-k2drs19j.js → validate-swzejnd8.js} +8 -8
- package/package.json +2 -2
- package/dist/chapter-01-jj8ftn4c.md +0 -29
- package/dist/lib/validation-profile.d.ts +0 -18
- package/dist/manifest-ryyg71nf.yaml +0 -9
- package/dist/new-7b08a42h.js +0 -105
- package/dist/theme-0yzvthe8.css +0 -65
- package/dist/theme-6a2fngc8.json +0 -6
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
capabilitiesFor,
|
|
3
3
|
detectProjectSource,
|
|
4
4
|
findEnclosingRepoDir
|
|
5
|
-
} from "./cli-
|
|
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,
|
|
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-
|
|
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-
|
|
20
|
-
preview: () => import("./preview-
|
|
21
|
-
build: () => import("./build-
|
|
22
|
-
publish: () => import("./publish-
|
|
23
|
-
lint: () => import("./lint-
|
|
24
|
-
validate: () => import("./validate-
|
|
25
|
-
audit: () => import("./audit-
|
|
26
|
-
preflight: () => import("./preflight-
|
|
27
|
-
repair: () => import("./repair-
|
|
28
|
-
doctor: () => import("./doctor-
|
|
29
|
-
plugin: () => import("./plugin-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
+
} from "./cli-v2dze8ja.js";
|
|
5
5
|
import {
|
|
6
6
|
UsageError,
|
|
7
7
|
rejectExtraPositionals,
|
|
8
8
|
rejectUnknownFlags
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-rkqxbnkq.js";
|
|
10
10
|
import"./cli-37x76zdn.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/doctor.ts
|