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.
157 lines
4.9 KiB
JavaScript
157 lines
4.9 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.SHORTHAND_PROPERTIES = void 0;
|
|
exports.SHORTHAND_PROPERTIES = new Map([
|
|
['margin', ['margin-top', 'margin-bottom', 'margin-left', 'margin-right']],
|
|
['padding', ['padding-top', 'padding-bottom', 'padding-left', 'padding-right']],
|
|
[
|
|
'background',
|
|
[
|
|
'background-image',
|
|
'background-size',
|
|
'background-position',
|
|
'background-repeat',
|
|
'background-origin',
|
|
'background-clip',
|
|
'background-attachment',
|
|
'background-color'
|
|
]
|
|
],
|
|
[
|
|
'font',
|
|
[
|
|
'font-style',
|
|
'font-variant',
|
|
'font-weight',
|
|
'font-stretch',
|
|
'font-size',
|
|
'font-family',
|
|
'line-height'
|
|
]
|
|
],
|
|
[
|
|
'border',
|
|
[
|
|
'border-top-width',
|
|
'border-bottom-width',
|
|
'border-left-width',
|
|
'border-right-width',
|
|
'border-top-style',
|
|
'border-bottom-style',
|
|
'border-left-style',
|
|
'border-right-style',
|
|
'border-top-color',
|
|
'border-bottom-color',
|
|
'border-left-color',
|
|
'border-right-color'
|
|
]
|
|
],
|
|
['border-top', ['border-top-width', 'border-top-style', 'border-top-color']],
|
|
['border-bottom', ['border-bottom-width', 'border-bottom-style', 'border-bottom-color']],
|
|
['border-left', ['border-left-width', 'border-left-style', 'border-left-color']],
|
|
['border-right', ['border-right-width', 'border-right-style', 'border-right-color']],
|
|
[
|
|
'border-width',
|
|
['border-top-width', 'border-bottom-width', 'border-left-width', 'border-right-width']
|
|
],
|
|
[
|
|
'border-style',
|
|
['border-top-style', 'border-bottom-style', 'border-left-style', 'border-right-style']
|
|
],
|
|
[
|
|
'border-color',
|
|
['border-top-color', 'border-bottom-color', 'border-left-color', 'border-right-color']
|
|
],
|
|
['list-style', ['list-style-type', 'list-style-position', 'list-style-image']],
|
|
[
|
|
'border-radius',
|
|
[
|
|
'border-top-right-radius',
|
|
'border-top-left-radius',
|
|
'border-bottom-right-radius',
|
|
'border-bottom-left-radius'
|
|
]
|
|
],
|
|
[
|
|
'transition',
|
|
['transition-delay', 'transition-duration', 'transition-property', 'transition-timing-function']
|
|
],
|
|
[
|
|
'animation',
|
|
[
|
|
'animation-name',
|
|
'animation-duration',
|
|
'animation-timing-function',
|
|
'animation-delay',
|
|
'animation-iteration-count',
|
|
'animation-direction',
|
|
'animation-fill-mode',
|
|
'animation-play-state'
|
|
]
|
|
],
|
|
[
|
|
'border-block-end',
|
|
['border-block-end-width', 'border-block-end-style', 'border-block-end-color']
|
|
],
|
|
[
|
|
'border-block-start',
|
|
['border-block-start-width', 'border-block-start-style', 'border-block-start-color']
|
|
],
|
|
[
|
|
'border-image',
|
|
[
|
|
'border-image-source',
|
|
'border-image-slice',
|
|
'border-image-width',
|
|
'border-image-outset',
|
|
'border-image-repeat'
|
|
]
|
|
],
|
|
[
|
|
'border-inline-end',
|
|
['border-inline-end-width', 'border-inline-end-style', 'border-inline-end-color']
|
|
],
|
|
[
|
|
'border-inline-start',
|
|
['border-inline-start-width', 'border-inline-start-style', 'border-inline-start-color']
|
|
],
|
|
['column-rule', ['column-rule-width', 'column-rule-style', 'column-rule-color']],
|
|
['columns', ['column-width', 'column-count']],
|
|
['flex', ['flex-grow', 'flex-shrink', 'flex-basis']],
|
|
['flex-flow', ['flex-direction', 'flex-wrap']],
|
|
[
|
|
'grid',
|
|
[
|
|
'grid-template-rows',
|
|
'grid-template-columns',
|
|
'grid-template-areas',
|
|
'grid-auto-rows',
|
|
'grid-auto-columns',
|
|
'grid-auto-flow',
|
|
'grid-column-gap',
|
|
'grid-row-gap'
|
|
]
|
|
],
|
|
['grid-area', ['grid-row-start', 'grid-column-start', 'grid-row-end', 'grid-column-end']],
|
|
['grid-column', ['grid-column-start', 'grid-column-end']],
|
|
['grid-gap', ['grid-row-gap', 'grid-column-gap']],
|
|
['grid-row', ['grid-row-start', 'grid-row-end']],
|
|
['grid-template', ['grid-template-columns', 'grid-template-rows', 'grid-template-areas']],
|
|
['outline', ['outline-color', 'outline-style', 'outline-width']],
|
|
['text-decoration', ['text-decoration-color', 'text-decoration-style', 'text-decoration-line']],
|
|
['text-emphasis', ['text-emphasis-style', 'text-emphasis-color']],
|
|
[
|
|
'mask',
|
|
[
|
|
'mask-image',
|
|
'mask-mode',
|
|
'mask-position',
|
|
'mask-size',
|
|
'mask-repeat',
|
|
'mask-origin',
|
|
'mask-clip',
|
|
'mask-composite'
|
|
]
|
|
]
|
|
]);
|