@aryasaatvik/scratchpad 0.2.0 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## @aryasaatvik/scratchpad@0.2.1
2
+
3
+ ### Report the released version
4
+
5
+ `scratchpad --version` and artifact metadata report the installed release instead of `0.1.0`.
6
+
1
7
  ## @aryasaatvik/scratchpad@0.2.0
2
8
 
3
9
  ### Run the scratchpad workflow through the CLI
@@ -48020,6 +48020,130 @@ var bundleHtml = async (options) => {
48020
48020
  }
48021
48021
  };
48022
48022
  };
48023
+ // package.json
48024
+ var package_default = {
48025
+ name: "@aryasaatvik/scratchpad",
48026
+ version: "0.2.1",
48027
+ description: "Local-first GitHub issue and milestone tracking, hosted artifacts and uploads, and local architecture codemaps.",
48028
+ keywords: [
48029
+ "bun",
48030
+ "cli",
48031
+ "developer-tools",
48032
+ "effect",
48033
+ "effect-ts",
48034
+ "github",
48035
+ "issues",
48036
+ "local-first",
48037
+ "markdown",
48038
+ "milestones",
48039
+ "project-management",
48040
+ "sqlite"
48041
+ ],
48042
+ homepage: "https://github.com/aryasaatvik/scratchpad#readme",
48043
+ bugs: {
48044
+ url: "https://github.com/aryasaatvik/scratchpad/issues"
48045
+ },
48046
+ license: "MIT",
48047
+ author: "Saatvik Arya",
48048
+ repository: {
48049
+ type: "git",
48050
+ url: "git+https://github.com/aryasaatvik/scratchpad.git"
48051
+ },
48052
+ bin: {
48053
+ scratchpad: "./dist/scratchpad.js"
48054
+ },
48055
+ workspaces: [
48056
+ "apps/*",
48057
+ "packages/*",
48058
+ "examples/*"
48059
+ ],
48060
+ files: [
48061
+ "dist/scratchpad.js",
48062
+ "README.md",
48063
+ "LICENSE",
48064
+ "CHANGELOG.md",
48065
+ "SECURITY.md",
48066
+ "docs/adr",
48067
+ "docs/release.md"
48068
+ ],
48069
+ type: "module",
48070
+ publishConfig: {
48071
+ access: "public"
48072
+ },
48073
+ scripts: {
48074
+ build: "bun run scripts/build-package.ts",
48075
+ "build:codemap-viewer": "bun run scripts/build-codemap-viewer.ts",
48076
+ "build:artifacts": "bun run scripts/build-release-artifacts.ts",
48077
+ "dev:prepare": "effect-language-service patch && effect-tsgo patch",
48078
+ prepack: "bun run build",
48079
+ "package:smoke": "bun run build && bun pm pack --dry-run",
48080
+ "release:smoke": "bun run scripts/build-release-artifacts.ts --host-only",
48081
+ tegami: "bun scripts/tegami.mts",
48082
+ "release:dry-run": "bun run scripts/release-dry-run.ts",
48083
+ "version:packages": "bun run tegami version",
48084
+ release: "bun run tegami publish",
48085
+ check: "bun run format:check && bun run lint && bun run typecheck && bun run test",
48086
+ format: "oxfmt",
48087
+ "format:check": "oxfmt --check",
48088
+ lint: "oxlint .",
48089
+ "lint:fix": "oxlint --fix .",
48090
+ test: "bun --bun run vitest run",
48091
+ "test:unit": "bun --bun run vitest run packages/core/src packages/cli/src apps/worker/src",
48092
+ "test:watch": "bun --bun run vitest",
48093
+ typecheck: "tsgo --noEmit",
48094
+ cli: "bun run packages/cli/src/main.ts",
48095
+ "worker:dev": "bun run --cwd apps/worker dev",
48096
+ "worker:dev:html": "bun run --cwd apps/worker dev:html",
48097
+ "worker:build": "bun run --cwd apps/worker build",
48098
+ "worker:types": "bun run --cwd apps/worker types",
48099
+ deploy: "bun run --cwd apps/worker deploy",
48100
+ "deploy:dry-run": "bun run --cwd apps/worker deploy:dry-run",
48101
+ "test:integration": "bun run scripts/test-integration.ts",
48102
+ "test:worker-integration": "bun run scripts/test-worker-integration.ts"
48103
+ },
48104
+ devDependencies: {
48105
+ "@effect/language-service": "^0.86.2",
48106
+ "@effect/tsgo": "^0.13.2",
48107
+ "@tsconfig/bun": "catalog:",
48108
+ "@types/bun": "catalog:",
48109
+ "@types/node": "catalog:",
48110
+ "@typescript/native-preview": "catalog:",
48111
+ oxfmt: "^0.56.0",
48112
+ oxlint: "^1.71.0",
48113
+ "playwright-core": "^1.55.0",
48114
+ tegami: "^1.1.2",
48115
+ typescript: "catalog:",
48116
+ vitest: "catalog:"
48117
+ },
48118
+ engines: {
48119
+ bun: ">=1.3.2"
48120
+ },
48121
+ packageManager: "bun@1.4.2",
48122
+ catalog: {
48123
+ "@tsconfig/bun": "1.0.10",
48124
+ "@types/bun": "^1.3.14",
48125
+ "@types/node": "^25.9.1",
48126
+ "@typescript/native-preview": "7.0.0-dev.20260604.1",
48127
+ "drizzle-orm": "1.0.0-rc.4",
48128
+ typescript: "^6.0.3",
48129
+ vitest: "^5.0.2"
48130
+ },
48131
+ catalogs: {
48132
+ effect: {
48133
+ "@effect/ai-typesafe": "4.0.0-rc.117",
48134
+ "@effect/platform-bun": "4.0.0-rc.117",
48135
+ "@effect/sql-sqlite-bun": "4.0.0-rc.117",
48136
+ effect: "4.0.0-rc.117",
48137
+ "@effect/vitest": "4.0.0-rc.117"
48138
+ }
48139
+ },
48140
+ patchedDependencies: {
48141
+ "beautiful-mermaid@1.1.3": "patches/beautiful-mermaid@1.1.3.patch"
48142
+ }
48143
+ };
48144
+
48145
+ // packages/cli/src/version.ts
48146
+ var CLI_VERSION = package_default.version;
48023
48147
 
48024
48148
  // packages/cli/src/commands/artifact/push.ts
48025
48149
  var pushArtifact = async (options) => {
@@ -48034,7 +48158,7 @@ var pushArtifact = async (options) => {
48034
48158
  sourcePath: absolute,
48035
48159
  sourceRoot: git.root ?? resolve9(absolute, ".."),
48036
48160
  metadataSourcePath: sourcePath,
48037
- cliVersion: "0.1.0",
48161
+ cliVersion: CLI_VERSION,
48038
48162
  ...options.minify === undefined ? {} : { minify: options.minify }
48039
48163
  }) : undefined;
48040
48164
  const content = htmlBundle?.content ?? await readFile7(absolute);
@@ -51905,7 +52029,7 @@ var app = make38("scratchpad").pipe(withDescription3("Local-first GitHub issue a
51905
52029
  uploadCommand,
51906
52030
  uploadsCommand
51907
52031
  ]));
51908
- var main = withConsoleBuffer(run5(app, { version: "0.1.0" }).pipe(provide4(layer13([cliLogger])), provide4(layer12), tapErrorTag2("ConfigError", renderError("config_error")), tapErrorTag2("ProjectError", renderError("project_error")), tapErrorTag2("DeleteUsageError", renderError("usage")), tapErrorTag2("RepairUsageError", renderError("usage")), tapErrorTag2("AuthMissingError", renderError("auth_missing")), tapErrorTag2("GithubApiError", renderError("github_error")), tapErrorTag2("RemoteDeleteError", renderError("delete_failed")), tapErrorTag2("SyncFailedError", renderErrorDiagnostic), tapErrorTag2("PlatformError", renderError("io_error")), tapErrorTag2("ArtifactCommandError", renderError("artifact_error")), tapErrorTag2("CodemapCommandError", (error) => renderError(error.reason)(error)), tapErrorTag2("NotesCommandError", (error) => renderError(error.reason)(error))));
52032
+ var main = withConsoleBuffer(run5(app, { version: CLI_VERSION }).pipe(provide4(layer13([cliLogger])), provide4(layer12), tapErrorTag2("ConfigError", renderError("config_error")), tapErrorTag2("ProjectError", renderError("project_error")), tapErrorTag2("DeleteUsageError", renderError("usage")), tapErrorTag2("RepairUsageError", renderError("usage")), tapErrorTag2("AuthMissingError", renderError("auth_missing")), tapErrorTag2("GithubApiError", renderError("github_error")), tapErrorTag2("RemoteDeleteError", renderError("delete_failed")), tapErrorTag2("SyncFailedError", renderErrorDiagnostic), tapErrorTag2("PlatformError", renderError("io_error")), tapErrorTag2("ArtifactCommandError", renderError("artifact_error")), tapErrorTag2("CodemapCommandError", (error) => renderError(error.reason)(error)), tapErrorTag2("NotesCommandError", (error) => renderError(error.reason)(error))));
51909
52033
  runMain2(main, { disableErrorReporting: true });
51910
52034
  export {
51911
52035
  renderCodemapHtml
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aryasaatvik/scratchpad",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Local-first GitHub issue and milestone tracking, hosted artifacts and uploads, and local architecture codemaps.",
5
5
  "keywords": [
6
6
  "bun",