Files
onixbyte.com/package.json
T
zihluwang d21b8f6b2f chore: drop the open licence and stop taking pull requests
The site exists to be read, not reused. It is no longer licensed for
anything, and external contributions have moved to issues only.

- Replace the MIT + CC-BY-4.0 dual licence with an all-rights-reserved
  notice. No permission is granted to copy, modify or distribute any part
  of the repository; reading and linking stay free.
- Carve out third-party components explicitly. Rspress, React, Rsbuild and
  Tailwind CSS keep their own licences, and an all-rights-reserved notice
  that did not say so would be wrong.
- Rewrite CONTRIBUTING around issues rather than pull requests, and say
  plainly that PRs will be closed without review.
- Mark the package UNLICENSED, the npm convention for proprietary code.

Note: this makes the repository source-available, not open source — a
licence that forbids all reuse cannot meet the OSI definition. The README
no longer calls it open source.

Closing PRs for real also needs the "Pull requests" feature switched off
in the repository's GitHub settings; that is not something this commit can
do.
2026-09-25 15:38:08 +08:00

42 lines
1.0 KiB
JSON

{
"name": "onixbyte-homepage",
"version": "1.0.0",
"private": true,
"license": "UNLICENSED",
"type": "module",
"packageManager": "pnpm@12.5.1",
"engines": {
"node": ">=24.0.0 <25.0.0",
"pnpm": ">=12"
},
"scripts": {
"build": "rspress build",
"build:com": "rspress build --config rspress.config.ts",
"build:cn": "rspress build --config rspress.cn.config.ts",
"dev": "rspress dev",
"format": "prettier --write .",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"preview": "rspress preview"
},
"dependencies": {
"@rspress/core": "^2.0.10"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@rspress/plugin-sitemap": "2.0.11",
"@tailwindcss/postcss": "^4.3.0",
"@types/node": "^22.8.1",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"eslint": "^9.39.4",
"globals": "^17.5.0",
"prettier": "^3.8.2",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"tailwindcss": "^4.3.0",
"typescript": "6.0.3",
"typescript-eslint": "^8.58.1"
}
}