- nginx: add client_max_body_size 20M to blog vhost (default 1MB was silently killing uploads, returning 413 as a JSON parse error in UI) - patch: fix session.token → session.access_token in micropub action controller; caused Bearer undefined on internal /media fetch, giving 500s for Micropub clients that upload files directly (OwnYourSwarm) - npmrc: add sharp_from_source=true to survive future npm install on FreeBSD without breaking sharp's native bindings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
57 lines
7.3 KiB
JSON
57 lines
7.3 KiB
JSON
{
|
|
"name": "indiekit",
|
|
"version": "0.1.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"postinstall": "xattr -w com.apple.fileprovider.ignore#P 1 node_modules 2>/dev/null || true && node scripts/patch-lightningcss.mjs && node scripts/patch-endpoint-media-scope.mjs && node scripts/patch-endpoint-media-sharp-runtime.mjs && node scripts/patch-frontend-sharp-runtime.mjs && node scripts/patch-endpoint-files-upload-route.mjs && node scripts/patch-endpoint-files-upload-locales.mjs && node scripts/patch-endpoint-activitypub-locales.mjs && node scripts/patch-endpoint-homepage-locales.mjs && node scripts/patch-endpoint-homepage-identity-defaults.mjs && node scripts/patch-federation-unlisted-guards.mjs && node scripts/patch-endpoint-micropub-where-note-visibility.mjs && node scripts/patch-endpoint-podroll-opml-upload.mjs && node scripts/patch-frontend-serviceworker-file.mjs && node scripts/patch-endpoint-comments-locales.mjs && node scripts/patch-endpoint-posts-locales.mjs && node scripts/patch-endpoint-conversations-locales.mjs && node scripts/patch-conversations-collection-guards.mjs && node scripts/patch-indiekit-routes-rate-limits.mjs && node scripts/patch-indiekit-error-production-stack.mjs && node scripts/patch-indieauth-devmode-guard.mjs && node scripts/patch-listening-endpoint-runtime-guards.mjs && node scripts/patch-endpoint-github-changelog-categories.mjs && node scripts/patch-endpoint-github-contributions-log.mjs && node scripts/patch-endpoint-blogroll-feeds-alias.mjs && node scripts/patch-endpoint-posts-uid-lookup.mjs && node scripts/patch-conversations-bluesky-self-filter.mjs && node scripts/patch-conversations-bluesky-cursor-fix.mjs && node scripts/patch-endpoint-micropub-source-filter.mjs && node scripts/patch-syndicate-force-checked-default.mjs && node scripts/patch-syndicate-normalize-syndication-array.mjs && node scripts/patch-endpoint-posts-fetch-diagnostic.mjs && node scripts/patch-micropub-fetch-internal-url.mjs && node scripts/patch-micropub-session-token.mjs && node scripts/patch-webmention-sender-hentry-syntax.mjs && node scripts/patch-webmention-sender-retry.mjs && node scripts/patch-webmention-sender-livefetch.mjs && node scripts/patch-webmention-sender-empty-details.mjs && node scripts/patch-bluesky-syndicator-internal-url.mjs && node scripts/patch-ap-skip-draft-syndication.mjs",
|
|
"serve": "export NODE_ENV=${NODE_ENV:-production} INDIEKIT_DEBUG=${INDIEKIT_DEBUG:-0} && node scripts/preflight-production-security.mjs && node scripts/preflight-mongo-connection.mjs && node scripts/preflight-activitypub-rsa-key.mjs && node scripts/preflight-activitypub-profile-urls.mjs && node scripts/patch-lightningcss.mjs && node scripts/patch-endpoint-media-scope.mjs && node scripts/patch-endpoint-media-sharp-runtime.mjs && node scripts/patch-frontend-sharp-runtime.mjs && node scripts/patch-endpoint-files-upload-route.mjs && node scripts/patch-endpoint-files-upload-locales.mjs && node scripts/patch-endpoint-activitypub-locales.mjs && node scripts/patch-endpoint-homepage-locales.mjs && node scripts/patch-endpoint-homepage-identity-defaults.mjs && node scripts/patch-federation-unlisted-guards.mjs && node scripts/patch-endpoint-micropub-where-note-visibility.mjs && node scripts/patch-endpoint-podroll-opml-upload.mjs && node scripts/patch-frontend-serviceworker-file.mjs && node scripts/patch-endpoint-comments-locales.mjs && node scripts/patch-endpoint-posts-locales.mjs && node scripts/patch-endpoint-conversations-locales.mjs && node scripts/patch-conversations-collection-guards.mjs && node scripts/patch-indiekit-routes-rate-limits.mjs && node scripts/patch-indiekit-error-production-stack.mjs && node scripts/patch-indieauth-devmode-guard.mjs && node scripts/patch-listening-endpoint-runtime-guards.mjs && node scripts/patch-endpoint-github-changelog-categories.mjs && node scripts/patch-endpoint-github-contributions-log.mjs && node scripts/patch-microsub-reader-ap-dispatch.mjs && node scripts/patch-microsub-compose-draft-guard.mjs && node scripts/patch-endpoint-blogroll-feeds-alias.mjs && node scripts/patch-endpoint-posts-uid-lookup.mjs && node scripts/patch-conversations-bluesky-self-filter.mjs && node scripts/patch-conversations-bluesky-cursor-fix.mjs && node scripts/patch-endpoint-micropub-source-filter.mjs && node scripts/patch-syndicate-force-checked-default.mjs && node scripts/patch-syndicate-normalize-syndication-array.mjs && node scripts/patch-endpoint-posts-fetch-diagnostic.mjs && node scripts/patch-micropub-fetch-internal-url.mjs && node scripts/patch-micropub-session-token.mjs && node scripts/patch-webmention-sender-hentry-syntax.mjs && node scripts/patch-webmention-sender-retry.mjs && node scripts/patch-webmention-sender-livefetch.mjs && node scripts/patch-webmention-sender-empty-details.mjs && node scripts/patch-bluesky-syndicator-internal-url.mjs && node scripts/patch-ap-skip-draft-syndication.mjs && node node_modules/@indiekit/indiekit/bin/cli.js serve --config indiekit.config.mjs",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"type": "commonjs",
|
|
"overrides": {
|
|
"@indiekit/endpoint-auth": "npm:@rmdes/indiekit-endpoint-auth@^1.0.0-beta.27",
|
|
"@indiekit/endpoint-files": "npm:@rmdes/indiekit-endpoint-files@^1.0.0",
|
|
"@indiekit/endpoint-micropub": "npm:@rmdes/indiekit-endpoint-micropub@^1.0.0-beta.26",
|
|
"@indiekit/endpoint-posts": "npm:@rmdes/indiekit-endpoint-posts@^1.0.0-beta.44",
|
|
"@indiekit/endpoint-share": "npm:@rmdes/indiekit-endpoint-share@^1.0.0",
|
|
"@indiekit/endpoint-syndicate": "npm:@rmdes/indiekit-endpoint-syndicate@^1.0.0-beta.32",
|
|
"@indiekit/frontend": "npm:@rmdes/indiekit-frontend@^1.0.0-beta.37"
|
|
},
|
|
"dependencies": {
|
|
"@indiekit/endpoint-json-feed": "^1.0.0-beta.25",
|
|
"@indiekit/indiekit": "^1.0.0-beta.27",
|
|
"@indiekit/post-type-repost": "^1.0.0-beta.25",
|
|
"@indiekit/store-github": "^1.0.0-beta.27",
|
|
"@rmdes/indiekit-endpoint-activitypub": "github:svemagie/indiekit-endpoint-activitypub",
|
|
"@rmdes/indiekit-endpoint-auth": "^1.0.0-beta.25",
|
|
"@rmdes/indiekit-endpoint-blogroll": "github:svemagie/indiekit-endpoint-blogroll",
|
|
"@rmdes/indiekit-endpoint-comments": "^1.0.11",
|
|
"@rmdes/indiekit-endpoint-conversations": "^2.2.0",
|
|
"@rmdes/indiekit-endpoint-cv": "^1.0.24",
|
|
"@rmdes/indiekit-endpoint-funkwhale": "^1.0.11",
|
|
"@rmdes/indiekit-endpoint-github": "^1.2.3",
|
|
"@rmdes/indiekit-endpoint-homepage": "^1.0.22",
|
|
"@rmdes/indiekit-endpoint-lastfm": "^1.0.12",
|
|
"@rmdes/indiekit-endpoint-microsub": "github:svemagie/indiekit-endpoint-microsub",
|
|
"@rmdes/indiekit-endpoint-podroll": "^1.0.11",
|
|
"@rmdes/indiekit-endpoint-posts": "^1.0.0-beta.44",
|
|
"@rmdes/indiekit-endpoint-readlater": "github:rmdes/indiekit-endpoint-readlater",
|
|
"@rmdes/indiekit-endpoint-rss": "^1.0.14",
|
|
"@rmdes/indiekit-endpoint-webmention-io": "^1.0.7",
|
|
"@rmdes/indiekit-endpoint-webmention-sender": "^1.0.8",
|
|
"@rmdes/indiekit-endpoint-webmentions-proxy": "^1.0.3",
|
|
"@rmdes/indiekit-endpoint-youtube": "github:svemagie/indiekit-endpoint-youtube",
|
|
"@rmdes/indiekit-post-type-page": "^1.0.4",
|
|
"@rmdes/indiekit-preset-eleventy": "^1.0.0-beta.38",
|
|
"@rmdes/indiekit-syndicator-bluesky": "^1.0.19",
|
|
"@rmdes/indiekit-syndicator-indienews": "^1.0.1",
|
|
"dotenv": "^17.3.1",
|
|
"mongodb": "^7.1.0",
|
|
"node-gyp": "^12.2.0"
|
|
}
|
|
}
|