@codapet/design-system 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +26 -2
- package/dist/index.mjs +542 -341
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codapet/design-system",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "./dist/index.mjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"dist/**"
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
|
-
"dev": "next dev --turbopack",
|
|
23
|
+
"dev": "npm run build:css && next dev --turbopack",
|
|
24
24
|
"build": "next build --turbopack",
|
|
25
|
-
"build:lib": "tsup",
|
|
26
|
-
"build:css": "cp src/styles.css dist/styles.css",
|
|
27
|
-
"build:all": "npm run build:lib && npm run build
|
|
25
|
+
"build:lib": "tsup && npm run build:css",
|
|
26
|
+
"build:css": "mkdir -p dist && cp src/styles.css dist/styles.css",
|
|
27
|
+
"build:all": "npm run build:lib && npm run build",
|
|
28
28
|
"start": "next start",
|
|
29
29
|
"lint": "eslint",
|
|
30
|
-
"prepublishOnly": "npm run build:lib && npm run
|
|
30
|
+
"prepublishOnly": "npm run build:lib && npm run test:lib",
|
|
31
31
|
"test:lib": "node -e \"import('./dist/index.mjs').then(m => console.log('✅ Library test passed:', Object.keys(m).length, 'exports'))\"",
|
|
32
32
|
"check:deps": "npm ls --depth=0",
|
|
33
33
|
"clean:deps": "rm -rf node_modules package-lock.json && npm install"
|