release.sh → release-gitea-packages.sh: 1. Renamed to clearly describe purpose (Gitea npm package release, not a generic release script). 2. Added NETWORK=corp/home detection matching publish-outdated-gitea- packages.sh pattern: - corp: localhost:3300 SSH tunnel + proxy env var stripping - home: Azure VM directly via gitea.bytelyst.com or ~/.gitea_vm_host 3. Added ~/.gitea_npm_token file fallback (same as sibling scripts). 4. Corp publishes now strip HTTP_PROXY/HTTPS_PROXY/npm_config_proxy env vars so npm reaches localhost tunnel directly instead of going through the corporate proxy (which can't reach the tunnel). 5. Updated package.json 'release' script reference.
66 lines
2.1 KiB
JSON
66 lines
2.1 KiB
JSON
{
|
|
"name": "@bytelyst/root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.6.5",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "pnpm -r build",
|
|
"changeset": "changeset",
|
|
"changeset:version": "changeset version",
|
|
"changeset:publish": "changeset publish",
|
|
"test": "pnpm -r test",
|
|
"test:coverage": "pnpm -r exec vitest run --coverage",
|
|
"typecheck": "pnpm -r exec tsc --noEmit",
|
|
"lint": "pnpm -r exec eslint . --ext .ts,.tsx",
|
|
"lint:fix": "pnpm -r exec eslint . --ext .ts,.tsx --fix",
|
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
|
|
"audit": "pnpm -r audit --audit-level moderate",
|
|
"clean": "pnpm -r exec rm -rf dist",
|
|
"dns:godaddy:bytelyst": "./scripts/godaddy-sync-bytelyst-dns.sh",
|
|
"prototype:self-test": "./scripts/prototype-self-test.sh",
|
|
"release": "./scripts/release-gitea-packages.sh",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.28.1",
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
"@typescript-eslint/parser": "^8.0.0",
|
|
"@vitest/coverage-v8": "^3.0.0",
|
|
"eslint": "^9.0.0",
|
|
"husky": "^9.0.0",
|
|
"lint-staged": "^15.0.0",
|
|
"prettier": "^3.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@azure/cosmos": ">=4.0.0",
|
|
"bcryptjs": ">=2.4.0",
|
|
"jose": ">=5.0.0",
|
|
"react": ">=18.0.0",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"lint-staged": {
|
|
"packages/design-tokens/tokens/*.json": [
|
|
"bash -lc \"pnpm --filter @bytelyst/design-tokens generate\"",
|
|
"bash -lc \"git add packages/design-tokens/generated\""
|
|
],
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{js,jsx,json,md,yml,yaml}": [
|
|
"prettier --write"
|
|
],
|
|
"packages/design-tokens/tokens/bytelyst.tokens.json": [
|
|
"pnpm --filter @bytelyst/design-tokens generate"
|
|
]
|
|
}
|
|
}
|