Files
doona/package.json
T
Zakk edbcf9c2e6 chore(license): relicense doona under AGPL-3.0-only (#699)
## Problem / 问题

Under GPL-3.0, a service that runs a modified doona panel for its
customers does not have to publish its changes, because it never
distributes the program.

在 GPL-3.0 下,把修改过的 doona 面板架成服务给客户用,因为没有散布程序,不必公开修改。

## How I fixed it / 解决方法

doona is licensed AGPL-3.0-only. LICENSE, LICENSES/, REUSE.toml,
package.json, the READMEs, NOTICE and the Alpine, Gentoo, nfpm, Nix and
OpenWrt metadata say so; the About box reads the licence from
package.json and already links the source repository. Lines still
contributed by eries (14 files) and qiuzi (4 files) stay GPL-3.0-only,
combined under GPL-3.0 section 13, and REUSE.toml records them. The
pinned rc.7 archive keeps its original licence in the packaging.

doona 改用 AGPL-3.0-only。eries 与 qiuzi 留下的代码仍按 GPL-3.0-only,依 GPL-3.0 第 13
条合并;已发布的 rc.7 源码包保持原授权。

## Verified / 验证

- `pnpm check`, coverage (4,336 tests), build, size, and Chromium/WebKit
E2E (2,356 passed, 35 skipped, in the Playwright container).
- LICENSE matches the gnu.org AGPL-3.0 text; LICENSES/AGPL-3.0-only.txt
matches SPDX license-list-data v3.28.0 byte for byte.
- Notice staging and the Alpine, Gentoo and OpenWrt metadata checks.
- `reuse lint` reports only the existing lite gaps (230 licence, 218
copyright entries), unchanged by this branch.
- Not verified: package builds on Alpine, Gentoo, OpenWrt and Nix.

---

- [x] I understand this change and answer for every line
- [x] This branch is based on the current main
- [x] I ran the repository's gates and recorded the results in Verified
- [x] Each commit is one coherent change
- [x] If behaviour changed, I updated the documentation
- [ ] If interface text changed, I updated `en.json` and every complete
language's catalogue
- [ ] If interface appearance changed, I attached light and dark
screenshots
- [ ] If the API contract changed, I ran `pnpm gen:api` and `pnpm
check:gen`
- [ ] I checked the boxes above without reading them
- [ ] I am an AI agent, and this content was submitted without human
review
2026-11-25 12:04:39 +11:00

101 lines
3.3 KiB
JSON

{
"name": "doona",
"private": true,
"version": "0.1.0-rc.7",
"description": "Static web UI for the daeuniverse native API.",
"repository": {
"type": "git",
"url": "https://github.com/Zakkaus/doona.git"
},
"config": {
"engineOrg": "https://github.com/daeuniverse"
},
"engines": {
"node": "^22.13.0 || ^24.0.0 || >=26.0.0"
},
"type": "module",
"license": "AGPL-3.0-only",
"packageManager": "pnpm@11.15.1",
"scripts": {
"dev": "vite",
"build": "vite build",
"package": "tools/package.sh",
"preview": "vite preview",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"conformance": "node tools/conformance.mjs",
"changelog:render": "node tools/changelog.mjs render",
"changelog:release": "node tools/changelog.mjs release",
"e2e:live": "pnpm build && DOONA_LIVE_OBSERVE=1 playwright test e2e/a11y.spec.ts e2e/mobile.spec.ts e2e/keyboard.spec.ts",
"gen:api": "openapi-typescript contract/api-standardize/openapi.yaml -o \"${OPENAPI_OUTPUT:-src/api/types.ts}\"",
"lint": "eslint . && stylelint \"src/**/*.css\"",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc --noEmit -p . && tsc --noEmit -p e2e",
"check:gen": "tools/check-gen.sh",
"check:i18n": "node tools/check-i18n.mjs",
"check:size": "node tools/check-size.mjs",
"perf": "node tools/perf.mjs",
"e2e": "pnpm build && playwright test",
"e2e:install": "playwright install chromium webkit",
"check": "pnpm typecheck && pnpm lint && pnpm check:i18n && pnpm format:check && pnpm test && pnpm check:gen"
},
"sizeBudget": {
"startupLogin": 227000,
"startupActivity": 343000,
"startupCss": 30000,
"locale": 27000,
"fontCss": 37000,
"route": 76000,
"routePart": 17000,
"routeConfig": 206000,
"mock": 44000
},
"dependencies": {
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/commands": "^6.11.1",
"@codemirror/language": "^6.12.4",
"@codemirror/lint": "^6.9.7",
"@codemirror/search": "^6.7.2",
"@codemirror/state": "^6.7.6",
"@codemirror/view": "^6.43.13",
"@fontsource-variable/noto-sans-sc": "5.3.0",
"@fontsource-variable/noto-sans-tc": "5.3.0",
"@lezer/highlight": "^1.2.5",
"d3-shape": "^3.2.0",
"openapi-fetch": "^0.17.0",
"react": "^19.2.0",
"react-aria": "3.52.1",
"react-aria-components": "1.21.1",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@axe-core/playwright": "4.13.0",
"@playwright/test": "1.63.0",
"@react-aria/optimize-locales-plugin": "^2.0.2",
"@types/d3-shape": "^3.2.0",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^4.7.0",
"@vitest/coverage-v8": "5.0.2",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"eslint": "^10.11.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.12.0",
"lightningcss": "^1.30.1",
"openapi-typescript": "^7.13.0",
"prettier": "^3.9.9",
"stylelint": "^17.15.0",
"terser": "^5.51.2",
"typescript": "^5.8.0",
"typescript-eslint": "^8.71.0",
"vite": "^6.3.0",
"vitest": "^5.0.2",
"yaml": "^2.9.1"
}
}