Problem: the hexagonal refactor churns the backend tree for nine more phases; the UI delivery stack (web/ SPA, cmd/desktop Wails wrapper, compose/web image) must move to its own repo first so doc/layout rewrites land once on a backend-only tree. Change: - New repo git.hubris.network/dtoro/oikos-web (v0.33.0): web/, desktop/ (updateURL repointed to oikos-web releases), compose/, own CI (web + desktop jobs), own deploy script (CI-green gate, TOCTOU guard, version-tagged images, prune-to-3), own webhook receiver on :9798 + launchd unit, own compose project publishing the same 8091:80. - Cutover executed on mac-mini in order: oikos stack's web service stopped+removed, oikos-web project brought up on 8091; outer Caddy untouched (targets the published port) — serving + Authentik flow + /wails 404 quirk verified post-cutover. - Stripped from oikos: web/, cmd/desktop/, compose/web/, desktop CI workflow, ci.yml web job, Makefile ui/desktop/desktop-package/install targets, the compose web service, oikos-web from deploy.sh's fallback prune list; wails + go-keyring dropped from go.mod, vendor synced. - README / CONTRIBUTING / AGENTS.md / .agents dev+operations docs now point at the new repo; mbse + mascot design docs carry a path note. Risk: production SPA serving depends on the new pipeline now; rollback is versioned-image re-up of the old web service from a pre-split checkout (port 8091). Desktop builds installed before the split still check dtoro/oikos releases — one manual reinstall, noted in the oikos-web release notes. Verification: go vet, make test (race), make generate-check, golangci (no new findings; baseline down 400→365); post-cutover curls — localhost:8091 200, /wails/runtime.js 404, outer Caddy 302 Authentik.
86 lines
2.5 KiB
JSON
86 lines
2.5 KiB
JSON
{
|
|
"name": "flatted",
|
|
"version": "3.4.4",
|
|
"description": "A super light and fast circular JSON parser.",
|
|
"unpkg": "min.js",
|
|
"main": "./cjs/index.js",
|
|
"scripts": {
|
|
"build": "npm run cjs && npm run rollup:esm && npm run rollup:es && npm run rollup:babel && npm run min && npm run test && npm run size",
|
|
"cjs": "ascjs esm cjs",
|
|
"rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
|
|
"rollup:esm": "rollup --config rollup/esm.config.js",
|
|
"rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
|
|
"min": "terser index.js -c -m -o min.js",
|
|
"size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c; cat es.js | brotli | wc -c; cat esm.js | brotli | wc -c",
|
|
"test": "c8 node test/index.js",
|
|
"test:php": "php php/test.php",
|
|
"test:py": "python python/test.py",
|
|
"ts": "tsc -p .",
|
|
"coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/WebReflection/flatted.git"
|
|
},
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"cjs/",
|
|
"es.js",
|
|
"esm.js",
|
|
"esm/",
|
|
"index.js",
|
|
"min.js",
|
|
"php/flatted.php",
|
|
"python/flatted.py",
|
|
"golang/pkg/flatted/flatted.go",
|
|
"types/"
|
|
],
|
|
"keywords": [
|
|
"circular",
|
|
"JSON",
|
|
"fast",
|
|
"parser",
|
|
"minimal"
|
|
],
|
|
"author": "Andrea Giammarchi",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/WebReflection/flatted/issues"
|
|
},
|
|
"homepage": "https://github.com/WebReflection/flatted#readme",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.29.0",
|
|
"@babel/preset-env": "^7.29.2",
|
|
"@rollup/plugin-babel": "^7.0.0",
|
|
"@rollup/plugin-terser": "^1.0.0",
|
|
"@ungap/structured-clone": "^1.3.0",
|
|
"ascjs": "^6.0.3",
|
|
"c8": "^11.0.0",
|
|
"circular-json": "^0.5.9",
|
|
"circular-json-es6": "^2.0.2",
|
|
"flatted-view": "^0.1.6",
|
|
"jsan": "^3.1.14",
|
|
"rollup": "^4.60.1",
|
|
"terser": "^5.46.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"overrides": {
|
|
"c8": {
|
|
"yargs": "^18.0.0"
|
|
}
|
|
},
|
|
"module": "./esm/index.js",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"import": "./esm/index.js",
|
|
"default": "./cjs/index.js"
|
|
},
|
|
"./esm": "./esm.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"types": "./types/index.d.ts"
|
|
}
|