From b02ce1bd7e3ddfd2b66e7b44c2107fdf79ee31e6 Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Thu, 31 Jul 2025 02:00:04 +0200 Subject: [PATCH] 1.0.16 -> 1.0.17 --- package.json | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 3e87d89..b22ae21 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@cellule-financiere-pmo/visua-vue", - "version": "1.0.16", + "version": "1.0.17", "type": "module", "description": "Vue.js components of the Visua Design System.", - "main": "dist/visua-vue.umd.cjs", - "module": "dist/visua-vue.es.js", - "types": "dist/index.d.ts", + "main": "./dist/visua-vue.umd.cjs", + "module": "./dist/visua-vue.es.js", + "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", @@ -19,9 +19,12 @@ "README.md" ], "scripts": { - "prepare": "npm run type-check && npm run build", + "clean": "rimraf dist", + "build": "npm-run-all clean build:assets build:types", + "build:assets": "vite build", + "build:types": "vue-tsc --emitDeclarationOnly --outDir dist", + "prepare": "npm run build", "dev": "vite", - "build": "vite build", "type-check": "vue-tsc --build", "lint": "eslint . --fix", "test": "vitest --config vitest.config.ts", @@ -49,6 +52,7 @@ "eslint-plugin-vue": "~10.2.0", "jiti": "^2.4.2", "npm-run-all2": "^8.0.4", + "rimraf": "^5.0.10", "typescript": "~5.8.0", "vite": "^7.0.0", "vite-plugin-inspect": "^11.3.0", @@ -77,4 +81,4 @@ "url": "https://www.cgi.com" }, "license": "ISC" -} \ No newline at end of file +}