Align popiart-server repo with the clean local source snapshot

The remote master branch was carrying AppleDouble metadata, local database state, and checked-in Next.js build output. This commit syncs the repository to the current local source snapshot, preserves the skillhub static pages that exist locally, and extends ignore rules so these runtime artifacts stay out of history going forward.

Constraint: The existing remote history already contained tracked macOS metadata files and web build output
Constraint: The local source tree must remain deployable after removing repository noise
Rejected: Force-push the unrelated local bootstrap commit | would discard the existing remote history
Rejected: Leave tracked runtime artifacts in place | would keep polluting future diffs and deployments
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep AppleDouble files, local SQLite state, and web build artifacts out of version control; regenerate them per-environment instead
Tested: go test ./...; go build -o /tmp/popiartserver-sync ./cmd/popiartserver
Not-tested: Remote test-server deployment
This commit is contained in:
wtgoku
2026-04-10 16:05:33 +08:00
parent 4b20dc5e37
commit b99c49790a
335 changed files with 1032 additions and 2856 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
-1
View File
@@ -1 +0,0 @@
hiv_u2wYd0IjRyI8kQgdJ
-73
View File
@@ -1,73 +0,0 @@
{
"pages": {
"/_not-found/page": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/chunks/app/_not-found/page-5da2e95e06e9d89b.js"
],
"/layout": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/css/22340215a903e6f9.css",
"static/chunks/app/layout-80e4095a41e633c1.js"
],
"/page": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/chunks/app/page-08e7e91dc45b8f09.js"
],
"/[locale]/layout": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/chunks/619-ba102abea3e3d0e4.js",
"static/chunks/app/[locale]/layout-9948ac0ba26fdd9d.js"
],
"/[locale]/console/page": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/chunks/619-ba102abea3e3d0e4.js",
"static/chunks/app/[locale]/console/page-9948ac0ba26fdd9d.js"
],
"/[locale]/docs/page": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/chunks/app/[locale]/docs/page-08e7e91dc45b8f09.js"
],
"/[locale]/login/page": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/chunks/619-ba102abea3e3d0e4.js",
"static/chunks/app/[locale]/login/page-9948ac0ba26fdd9d.js"
],
"/[locale]/page": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/chunks/619-ba102abea3e3d0e4.js",
"static/chunks/app/[locale]/page-9948ac0ba26fdd9d.js"
],
"/[locale]/pricing/page": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js",
"static/chunks/619-ba102abea3e3d0e4.js",
"static/chunks/app/[locale]/pricing/page-9948ac0ba26fdd9d.js"
]
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"/_not-found/page": "/_not-found",
"/page": "/",
"/[locale]/console/page": "/[locale]/console",
"/[locale]/docs/page": "/[locale]/docs",
"/[locale]/login/page": "/[locale]/login",
"/[locale]/page": "/[locale]",
"/[locale]/pricing/page": "/[locale]/pricing"
}
-33
View File
@@ -1,33 +0,0 @@
{
"polyfillFiles": [
"static/chunks/polyfills-42372ed130431b0a.js"
],
"devFiles": [],
"ampDevFiles": [],
"lowPriorityFiles": [
"static/hiv_u2wYd0IjRyI8kQgdJ/_buildManifest.js",
"static/hiv_u2wYd0IjRyI8kQgdJ/_ssgManifest.js"
],
"rootMainFiles": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/4bd1b696-c023c6e3521b1417.js",
"static/chunks/255-cb395327542b56ef.js",
"static/chunks/main-app-9a4b1037170263df.js"
],
"rootMainFilesTree": {},
"pages": {
"/_app": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/framework-acd67e14855de5a2.js",
"static/chunks/main-8855236d7552d914.js",
"static/chunks/pages/_app-7d307437aca18ad4.js"
],
"/_error": [
"static/chunks/webpack-4a462cecab786e93.js",
"static/chunks/framework-acd67e14855de5a2.js",
"static/chunks/main-8855236d7552d914.js",
"static/chunks/pages/_error-cb2a52f75f2162e2.js"
]
},
"ampFirstPages": []
}
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
-1
View File
@@ -1 +0,0 @@
{"previewModeId":"d79731eebe7a4ff7914762a316b2515c","previewModeSigningKey":"835abf86d7274dc6de79d62f944ab73c0c0e03f83eb4dddd7f6a840cf99a25f7","previewModeEncryptionKey":"3a1b53ad329ef17b1d240d7ecbd7e04b797c96b9df5913d0060a1855940f45c2","expireAt":1775876840356}
-1
View File
@@ -1 +0,0 @@
{"encryption.key":"gnZ+MDSYAQagmVEHLKb3Sx0ukMcGDNTgM9VI30pizzk=","encryption.expire_at":1775876738235}
-1
View File
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +0,0 @@
{
"buildStage": "static-generation",
"buildOptions": {
"useBuildWorker": "true"
}
}
-1
View File
@@ -1 +0,0 @@
{"name":"Next.js","version":"15.5.9"}
-6
View File
@@ -1,6 +0,0 @@
{
"version": 1,
"hasExportPathMap": false,
"exportTrailingSlash": false,
"isNextImageImported": false
}
-57
View File
@@ -1,57 +0,0 @@
{
"version": 1,
"images": {
"deviceSizes": [
640,
750,
828,
1080,
1200,
1920,
2048,
3840
],
"imageSizes": [
16,
32,
48,
64,
96,
128,
256,
384
],
"path": "/_next/image",
"loader": "default",
"loaderFile": "",
"domains": [],
"disableStaticImages": false,
"minimumCacheTTL": 60,
"formats": [
"image/webp"
],
"dangerouslyAllowSVG": false,
"contentSecurityPolicy": "script-src 'none'; frame-src 'none'; sandbox;",
"contentDispositionType": "attachment",
"remotePatterns": [],
"unoptimized": false,
"sizes": [
640,
750,
828,
1080,
1200,
1920,
2048,
3840,
16,
32,
48,
64,
96,
128,
256,
384
]
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
{"type": "commonjs"}
-61
View File
@@ -1,61 +0,0 @@
{
"version": 4,
"routes": {
"/_not-found": {
"initialStatus": 404,
"experimentalBypassFor": [
{
"type": "header",
"key": "next-action"
},
{
"type": "header",
"key": "content-type",
"value": "multipart/form-data;.*"
}
],
"initialRevalidateSeconds": false,
"srcRoute": "/_not-found",
"dataRoute": "/_not-found.rsc",
"allowHeader": [
"host",
"x-matched-path",
"x-prerender-revalidate",
"x-prerender-revalidate-if-generated",
"x-next-revalidated-tags",
"x-next-revalidate-tag-token"
]
},
"/": {
"experimentalBypassFor": [
{
"type": "header",
"key": "next-action"
},
{
"type": "header",
"key": "content-type",
"value": "multipart/form-data;.*"
}
],
"initialRevalidateSeconds": false,
"srcRoute": "/",
"dataRoute": "/index.rsc",
"allowHeader": [
"host",
"x-matched-path",
"x-prerender-revalidate",
"x-prerender-revalidate-if-generated",
"x-next-revalidated-tags",
"x-next-revalidate-tag-token"
]
}
},
"dynamicRoutes": {},
"notFoundRoutes": [],
"preview": {
"previewModeId": "d79731eebe7a4ff7914762a316b2515c",
"previewModeSigningKey": "835abf86d7274dc6de79d62f944ab73c0c0e03f83eb4dddd7f6a840cf99a25f7",
"previewModeEncryptionKey": "3a1b53ad329ef17b1d240d7ecbd7e04b797c96b9df5913d0060a1855940f45c2"
}
}
-1
View File
@@ -1 +0,0 @@
{}
-319
View File
@@ -1,319 +0,0 @@
{
"version": 1,
"config": {
"env": {},
"webpack": null,
"eslint": {
"ignoreDuringBuilds": false
},
"typescript": {
"ignoreBuildErrors": false,
"tsconfigPath": "tsconfig.json"
},
"typedRoutes": false,
"distDir": ".next",
"cleanDistDir": true,
"assetPrefix": "",
"cacheMaxMemorySize": 52428800,
"configOrigin": "next.config.ts",
"useFileSystemPublicRoutes": true,
"generateEtags": true,
"pageExtensions": [
"tsx",
"ts",
"jsx",
"js"
],
"poweredByHeader": true,
"compress": true,
"images": {
"deviceSizes": [
640,
750,
828,
1080,
1200,
1920,
2048,
3840
],
"imageSizes": [
16,
32,
48,
64,
96,
128,
256,
384
],
"path": "/_next/image",
"loader": "default",
"loaderFile": "",
"domains": [],
"disableStaticImages": false,
"minimumCacheTTL": 60,
"formats": [
"image/webp"
],
"dangerouslyAllowSVG": false,
"contentSecurityPolicy": "script-src 'none'; frame-src 'none'; sandbox;",
"contentDispositionType": "attachment",
"remotePatterns": [],
"unoptimized": false
},
"devIndicators": {
"position": "bottom-left"
},
"onDemandEntries": {
"maxInactiveAge": 60000,
"pagesBufferLength": 5
},
"amp": {
"canonicalBase": ""
},
"basePath": "",
"sassOptions": {},
"trailingSlash": false,
"i18n": null,
"productionBrowserSourceMaps": false,
"excludeDefaultMomentLocales": true,
"serverRuntimeConfig": {},
"publicRuntimeConfig": {},
"reactProductionProfiling": false,
"reactStrictMode": true,
"reactMaxHeadersLength": 6000,
"httpAgentOptions": {
"keepAlive": true
},
"logging": {},
"compiler": {},
"expireTime": 31536000,
"staticPageGenerationTimeout": 60,
"modularizeImports": {
"@mui/icons-material": {
"transform": "@mui/icons-material/{{member}}"
},
"lodash": {
"transform": "lodash/{{member}}"
}
},
"outputFileTracingRoot": "/Users/jiajia/popiartServer",
"experimental": {
"useSkewCookie": false,
"cacheLife": {
"default": {
"stale": 300,
"revalidate": 900,
"expire": 4294967294
},
"seconds": {
"stale": 30,
"revalidate": 1,
"expire": 60
},
"minutes": {
"stale": 300,
"revalidate": 60,
"expire": 3600
},
"hours": {
"stale": 300,
"revalidate": 3600,
"expire": 86400
},
"days": {
"stale": 300,
"revalidate": 86400,
"expire": 604800
},
"weeks": {
"stale": 300,
"revalidate": 604800,
"expire": 2592000
},
"max": {
"stale": 300,
"revalidate": 2592000,
"expire": 4294967294
}
},
"cacheHandlers": {},
"cssChunking": true,
"multiZoneDraftMode": false,
"appNavFailHandling": false,
"prerenderEarlyExit": true,
"serverMinification": true,
"serverSourceMaps": false,
"linkNoTouchStart": false,
"caseSensitiveRoutes": false,
"clientSegmentCache": false,
"clientParamParsing": false,
"dynamicOnHover": false,
"preloadEntriesOnStart": true,
"clientRouterFilter": true,
"clientRouterFilterRedirects": false,
"fetchCacheKeyPrefix": "",
"middlewarePrefetch": "flexible",
"optimisticClientCache": true,
"manualClientBasePath": false,
"cpus": 15,
"memoryBasedWorkersCount": false,
"imgOptConcurrency": null,
"imgOptTimeoutInSeconds": 7,
"imgOptMaxInputPixels": 268402689,
"imgOptSequentialRead": null,
"imgOptSkipMetadata": null,
"isrFlushToDisk": true,
"workerThreads": false,
"optimizeCss": false,
"nextScriptWorkers": false,
"scrollRestoration": false,
"externalDir": false,
"disableOptimizedLoading": false,
"gzipSize": true,
"craCompat": false,
"esmExternals": true,
"fullySpecified": false,
"swcTraceProfiling": false,
"forceSwcTransforms": false,
"largePageDataBytes": 128000,
"typedEnv": false,
"parallelServerCompiles": false,
"parallelServerBuildTraces": false,
"ppr": false,
"authInterrupts": false,
"webpackMemoryOptimizations": false,
"optimizeServerReact": true,
"viewTransition": false,
"routerBFCache": false,
"removeUncaughtErrorAndRejectionListeners": false,
"validateRSCRequestHeaders": false,
"staleTimes": {
"dynamic": 0,
"static": 300
},
"serverComponentsHmrCache": true,
"staticGenerationMaxConcurrency": 8,
"staticGenerationMinPagesPerWorker": 25,
"cacheComponents": false,
"inlineCss": false,
"useCache": false,
"globalNotFound": false,
"devtoolSegmentExplorer": true,
"browserDebugInfoInTerminal": false,
"optimizeRouterScrolling": false,
"middlewareClientMaxBodySize": 10485760,
"optimizePackageImports": [
"lucide-react",
"date-fns",
"lodash-es",
"ramda",
"antd",
"react-bootstrap",
"ahooks",
"@ant-design/icons",
"@headlessui/react",
"@headlessui-float/react",
"@heroicons/react/20/solid",
"@heroicons/react/24/solid",
"@heroicons/react/24/outline",
"@visx/visx",
"@tremor/react",
"rxjs",
"@mui/material",
"@mui/icons-material",
"recharts",
"react-use",
"effect",
"@effect/schema",
"@effect/platform",
"@effect/platform-node",
"@effect/platform-browser",
"@effect/platform-bun",
"@effect/sql",
"@effect/sql-mssql",
"@effect/sql-mysql2",
"@effect/sql-pg",
"@effect/sql-sqlite-node",
"@effect/sql-sqlite-bun",
"@effect/sql-sqlite-wasm",
"@effect/sql-sqlite-react-native",
"@effect/rpc",
"@effect/rpc-http",
"@effect/typeclass",
"@effect/experimental",
"@effect/opentelemetry",
"@material-ui/core",
"@material-ui/icons",
"@tabler/icons-react",
"mui-core",
"react-icons/ai",
"react-icons/bi",
"react-icons/bs",
"react-icons/cg",
"react-icons/ci",
"react-icons/di",
"react-icons/fa",
"react-icons/fa6",
"react-icons/fc",
"react-icons/fi",
"react-icons/gi",
"react-icons/go",
"react-icons/gr",
"react-icons/hi",
"react-icons/hi2",
"react-icons/im",
"react-icons/io",
"react-icons/io5",
"react-icons/lia",
"react-icons/lib",
"react-icons/lu",
"react-icons/md",
"react-icons/pi",
"react-icons/ri",
"react-icons/rx",
"react-icons/si",
"react-icons/sl",
"react-icons/tb",
"react-icons/tfi",
"react-icons/ti",
"react-icons/vsc",
"react-icons/wi"
],
"trustHostHeader": false,
"isExperimentalCompile": false
},
"htmlLimitedBots": "[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight",
"bundlePagesRouterDependencies": false,
"configFileName": "next.config.ts",
"turbopack": {
"root": "/Users/jiajia/popiartServer"
}
},
"appDir": "/Users/jiajia/popiartServer/web",
"relativeAppDir": "web",
"files": [
".next/routes-manifest.json",
".next/server/pages-manifest.json",
".next/build-manifest.json",
".next/prerender-manifest.json",
".next/server/functions-config-manifest.json",
".next/server/middleware-manifest.json",
".next/server/middleware-build-manifest.js",
".next/server/middleware-react-loadable-manifest.js",
".next/react-loadable-manifest.json",
".next/server/app-paths-manifest.json",
".next/app-path-routes-manifest.json",
".next/app-build-manifest.json",
".next/server/server-reference-manifest.js",
".next/server/server-reference-manifest.json",
".next/BUILD_ID",
".next/server/next-font-manifest.js",
".next/server/next-font-manifest.json",
".next/required-server-files.json"
],
"ignore": [
"node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*"
]
}
-94
View File
@@ -1,94 +0,0 @@
{
"version": 3,
"pages404": true,
"caseSensitive": false,
"basePath": "",
"redirects": [
{
"source": "/:path+/",
"destination": "/:path+",
"internal": true,
"statusCode": 308,
"regex": "^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"
}
],
"headers": [],
"rewrites": {
"beforeFiles": [],
"afterFiles": [],
"fallback": []
},
"dynamicRoutes": [
{
"page": "/[locale]",
"regex": "^/([^/]+?)(?:/)?$",
"routeKeys": {
"nxtPlocale": "nxtPlocale"
},
"namedRegex": "^/(?<nxtPlocale>[^/]+?)(?:/)?$"
},
{
"page": "/[locale]/console",
"regex": "^/([^/]+?)/console(?:/)?$",
"routeKeys": {
"nxtPlocale": "nxtPlocale"
},
"namedRegex": "^/(?<nxtPlocale>[^/]+?)/console(?:/)?$"
},
{
"page": "/[locale]/docs",
"regex": "^/([^/]+?)/docs(?:/)?$",
"routeKeys": {
"nxtPlocale": "nxtPlocale"
},
"namedRegex": "^/(?<nxtPlocale>[^/]+?)/docs(?:/)?$"
},
{
"page": "/[locale]/login",
"regex": "^/([^/]+?)/login(?:/)?$",
"routeKeys": {
"nxtPlocale": "nxtPlocale"
},
"namedRegex": "^/(?<nxtPlocale>[^/]+?)/login(?:/)?$"
},
{
"page": "/[locale]/pricing",
"regex": "^/([^/]+?)/pricing(?:/)?$",
"routeKeys": {
"nxtPlocale": "nxtPlocale"
},
"namedRegex": "^/(?<nxtPlocale>[^/]+?)/pricing(?:/)?$"
}
],
"staticRoutes": [
{
"page": "/",
"regex": "^/(?:/)?$",
"routeKeys": {},
"namedRegex": "^/(?:/)?$"
},
{
"page": "/_not-found",
"regex": "^/_not\\-found(?:/)?$",
"routeKeys": {},
"namedRegex": "^/_not\\-found(?:/)?$"
}
],
"dataRoutes": [],
"rsc": {
"header": "rsc",
"varyHeader": "rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch",
"prefetchHeader": "next-router-prefetch",
"didPostponeHeader": "x-nextjs-postponed",
"contentTypeHeader": "text/x-component",
"suffix": ".rsc",
"prefetchSuffix": ".prefetch.rsc",
"prefetchSegmentHeader": "next-router-segment-prefetch",
"prefetchSegmentSuffix": ".segment.rsc",
"prefetchSegmentDirSuffix": ".segments"
},
"rewriteHeaders": {
"pathHeader": "x-nextjs-rewritten-path",
"queryHeader": "x-nextjs-rewritten-query"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-9
View File
@@ -1,9 +0,0 @@
{
"/_not-found/page": "app/_not-found/page.js",
"/page": "app/page.js",
"/[locale]/console/page": "app/[locale]/console/page.js",
"/[locale]/docs/page": "app/[locale]/docs/page.js",
"/[locale]/login/page": "app/[locale]/login/page.js",
"/[locale]/page": "app/[locale]/page.js",
"/[locale]/pricing/page": "app/[locale]/pricing/page.js"
}

Some files were not shown because too many files have changed in this diff Show More