@vltpkg/vsr 0.0.0-28 → 0.0.0-29

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/README.md CHANGED
@@ -1 +1 @@
1
- This folder contains the built output assets for the worker "vsr" generated at 2025-09-04T03:09:25.736Z.
1
+ This folder contains the built output assets for the worker "vsr" generated at 2025-09-04T04:15:41.930Z.
package/dist/bin/vsr.js CHANGED
@@ -80,7 +80,7 @@ var wrangler_default = {
80
80
  // package.json
81
81
  var package_default = {
82
82
  name: "@vltpkg/vsr",
83
- version: "0.0.0-28",
83
+ version: "0.0.0-29",
84
84
  repository: {
85
85
  type: "git",
86
86
  url: "git+https://github.com/vltpkg/vltpkg.git",
@@ -140,6 +140,7 @@ var package_default = {
140
140
  deploy: "pnpm build && npx wrangler deploy",
141
141
  format: "prettier --write . --log-level warn --ignore-path ../../.prettierignore --cache",
142
142
  "format:check": "prettier --check . --ignore-path ../../.prettierignore --cache",
143
+ postinstall: `node -e "const fs=require('fs'); process.exit(fs.existsSync('local-store') ? 0 : 1);" || (npx wrangler d1 execute vsr-local-database --file=src/db/migrations/0000_initial.sql --local --persist-to=local-store --no-remote && npx wrangler d1 execute vsr-local-database --file=src/db/migrations/0001_wealthy_magdalene.sql --local --persist-to=local-store --no-remote)`,
143
144
  lint: "eslint . --fix",
144
145
  "lint:check": "eslint .",
145
146
  prepack: "pnpm build",
package/dist/index.js CHANGED
@@ -1156,7 +1156,7 @@ var init_package = __esm({
1156
1156
  "package.json"() {
1157
1157
  package_default = {
1158
1158
  name: "@vltpkg/vsr",
1159
- version: "0.0.0-28",
1159
+ version: "0.0.0-29",
1160
1160
  repository: {
1161
1161
  type: "git",
1162
1162
  url: "git+https://github.com/vltpkg/vltpkg.git",
@@ -1216,6 +1216,7 @@ var init_package = __esm({
1216
1216
  deploy: "pnpm build && npx wrangler deploy",
1217
1217
  format: "prettier --write . --log-level warn --ignore-path ../../.prettierignore --cache",
1218
1218
  "format:check": "prettier --check . --ignore-path ../../.prettierignore --cache",
1219
+ postinstall: `node -e "const fs=require('fs'); process.exit(fs.existsSync('local-store') ? 0 : 1);" || (npx wrangler d1 execute vsr-local-database --file=src/db/migrations/0000_initial.sql --local --persist-to=local-store --no-remote && npx wrangler d1 execute vsr-local-database --file=src/db/migrations/0001_wealthy_magdalene.sql --local --persist-to=local-store --no-remote)`,
1219
1220
  lint: "eslint . --fix",
1220
1221
  "lint:check": "eslint .",
1221
1222
  prepack: "pnpm build",