feat: update package.json and add generate-barrel script

- Set project name to "nova-design-system" and updated version to 0.1.0
- Added description for the project
- Defined exports for the main entry and styles
- Included a new script "barrel" to generate index.ts for components
- Added "sass" as a devDependency

chore: update package-lock.json

- Added "sass" as a devDependency with version ^1.99.0
- Updated dependencies including @parcel/watcher and others

refactor: remove unused assets and Welcome component

- Deleted astro.svg and background.svg assets
- Removed Welcome.astro component as it was no longer needed
This commit is contained in:
2026-05-15 17:24:14 +02:00
parent f87b267b7b
commit 2347af8d0a
6 changed files with 466 additions and 216 deletions
+19 -4
View File
@@ -1,17 +1,32 @@
{
"name": "",
"name": "nova-design-system",
"type": "module",
"version": "0.0.1",
"version": "0.1.0",
"description": "Nova Design System — Astro component library",
"engines": {
"node": ">=22.12.0"
},
"exports": {
".": "./src/index.ts",
"./styles": "./src/styles/index.scss"
},
"files": [
"src"
],
"scripts": {
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
"astro": "astro",
"barrel": "node scripts/generate-barrel.mjs"
},
"peerDependencies": {
"astro": ">=4.0.0"
},
"dependencies": {
"astro": "^6.3.3"
},
"devDependencies": {
"sass": "^1.99.0"
}
}
}