Configure GitHub Packages publishing
Some checks failed
Publish package to GitHub Packages / publish (push) Has been cancelled

Scope the package as @richiesnitch/ads3-design-system, add repository +
publishConfig (GitHub Packages registry), and a publish-on-tag GitHub Actions
workflow. Add react/react-dom as devDependencies so the library build runs in
CI (they remain peerDependencies for consumers).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-05 12:59:34 +10:00
parent 69751eb6f2
commit 6d3331f802
3 changed files with 58 additions and 12 deletions

View File

@@ -1,8 +1,14 @@
{
"name": "ads3-design-system",
"private": true,
"name": "@richiesnitch/ads3-design-system",
"version": "0.1.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/Richiesnitch/ads3-design-system.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/src/index.d.ts",
@@ -64,6 +70,8 @@
"playwright": "^1.60.0",
"prettier": "^3.8.3",
"prettier-plugin-tailwindcss": "^0.8.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"storybook": "^10.4.0",
"typescript": "~6.0.2",
"typescript-eslint": "^8.59.2",