@flowtools/uplot 0.0.13 → 0.0.15

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.
Files changed (2) hide show
  1. package/README.md +15 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -4,14 +4,28 @@
4
4
 
5
5
  [StackBlitz](https://stackblitz.com/edit/vitejs-vite-dhtmxj?file=src/App.vue)
6
6
 
7
- ## usage
7
+ ## Install
8
8
 
9
9
  ```shell
10
10
  pnpm add @flowtools/uplot uplot @vueuse/core
11
11
  ```
12
12
 
13
+ ```shell
14
+ npm install @flowtools/uplot uplot @vueuse/core
15
+ ```
16
+
17
+ ```shell
18
+ yarn add @flowtools/uplot uplot @vueuse/core
19
+ ```
20
+
13
21
  ## Usage
14
22
 
23
+ Import css
24
+ ```ts
25
+ // main.ts
26
+ import '@flowtools/uplot/dist/uplot.css'
27
+ ```
28
+
15
29
  ```vue
16
30
  <script setup lang="ts">
17
31
  import type { AlignedData, Options } from '@flowtools/uplot'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flowtools/uplot",
3
3
  "type": "module",
4
- "version": "0.0.13",
4
+ "version": "0.0.15",
5
5
  "description": "Modern vue component for uplot",
6
6
  "author": "Jukka Raimovaara <roska@mentalhouse.fi> (Mentalhouse Oy)",
7
7
  "license": "MIT",
@@ -23,7 +23,7 @@
23
23
  "types": "./dist/index.d.ts",
24
24
  "import": "./dist/index.es.js"
25
25
  },
26
- "./dist/style.css": "./dist/style.css"
26
+ "./dist/style.css": "./dist/uplot.css"
27
27
  },
28
28
  "main": "./dist/index.es.js",
29
29
  "types": "./dist/index.d.ts",
@@ -58,7 +58,7 @@
58
58
  "vite": "^7.0.6",
59
59
  "vite-plugin-dts": "^4.3.0",
60
60
  "vitest": "^3.2.4",
61
- "vue": "^3.5.13"
61
+ "vue": "^3.5.18"
62
62
  },
63
63
  "simple-git-hooks": {
64
64
  "pre-commit": "pnpm lint-staged"