From 7eb4a44cde969822cf944a1522382231b001fbec Mon Sep 17 00:00:00 2001 From: Tristan <135599584+Tristan-WorkGH@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:44:01 +0200 Subject: [PATCH] Fix CI builds + NPM warning (#87) Signed-off-by: Tristan Chuine --- package-lock.json | 4 ++-- package.json | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index ff969aec..cd35cd1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@powsybl/diagram-viewer", - "version": "0.5.3", + "version": "0.5.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@powsybl/diagram-viewer", - "version": "0.5.3", + "version": "0.5.4", "license": "MPL-2.0", "dependencies": { "@mapbox/mapbox-gl-draw": "^1.4.3", diff --git a/package.json b/package.json index 4a82f916..85441b98 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,14 @@ { "name": "@powsybl/diagram-viewer", - "version": "0.5.3", - "description": "Typescript library to integrate a powsybl svg diagram in a javascript project.", - "author": "powsybl team", + "version": "0.5.4", + "description": "TypeScript library to integrate a PowSyBl SVG diagram in a JavaScript project.", + "author": "PowSyBl team", "homepage": "https://www.powsybl.org/", "license": "MPL-2.0", - "repository": "git://github.com/powsybl/powsybl-diagram-viewer.git", + "repository": { + "type": "git", + "url": "git+https://github.com/powsybl/powsybl-diagram-viewer.git" + }, "type": "module", "types": "./dist/index.d.ts", "main": "./dist/powsybl-diagram-viewer.umd.cjs", @@ -22,6 +25,7 @@ "scripts": { "watch": "vite watch", "build": "vite build", + "prepublishOnly": "$npm_execpath run build", "test": "jest", "start": "vite demo/ --config vite.config.ts --open", "lint": "eslint . --ext js,mjs,jsx,ts,mts,tsx --max-warnings 0",