@stklcode/chartist-plugin-tooltips 2.0.0-beta.1 → 2.0.0-beta.2

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/README.md CHANGED
@@ -41,7 +41,9 @@ const defaultOptions = {
41
41
 
42
42
  ### 1. Install the plugin
43
43
 
44
- `yarn add @stklcode/chartist-plugin-tooltip`
44
+ ```shell
45
+ npm add @stklcode/chartist-plugin-tooltip`
46
+ ```
45
47
 
46
48
  ### 2. Include JS
47
49
 
@@ -56,4 +56,3 @@ export interface Options {
56
56
  * @param options Plugin options
57
57
  */
58
58
  export default function ChartistPluginTooltip<T extends BaseChart<any>>(chart: T, options?: Partial<Options>): void;
59
- //# sourceMappingURL=chartist-plugin-tooltip.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stklcode/chartist-plugin-tooltips",
3
- "description": "ToolTips Plugin for Chartist.js",
4
- "version": "2.0.0-beta.1",
3
+ "description": "Tooltips Plugin for Chartist.js",
4
+ "version": "2.0.0-beta.2",
5
5
  "author": "Stefan Kalscheuer & LukBukkit & Markus Padourek",
6
6
  "homepage": "https://github.com/stklcode/chartist-plugin-tooltip",
7
7
  "repository": {
@@ -52,34 +52,38 @@
52
52
  "@eslint/js": "^10.0.1",
53
53
  "@rollup/plugin-terser": "^1.0.0",
54
54
  "@rollup/plugin-typescript": "^12.3.0",
55
+ "@types/node": "^24.12.2",
55
56
  "copyfiles": "^2.4.1",
56
57
  "del": "^8.0.1",
57
58
  "del-cli": "^7.0.0",
58
59
  "eslint": "^10.1.0",
59
60
  "eslint-config-prettier": "^10.1.8",
60
- "eslint-plugin-jsdoc": "^62.8.0",
61
+ "eslint-plugin-jsdoc": "^62.9.0",
62
+ "global-jsdom": "^29.0.0",
61
63
  "globals": "^17.4.0",
62
64
  "minify": "^15.2.0",
63
65
  "prettier": "^3.8.1",
64
- "rollup": "^4.60.0",
65
- "sass": "^1.98.0",
66
- "stylelint": "^17.5.0",
66
+ "rollup": "^4.60.1",
67
+ "sass": "^1.99.0",
68
+ "stylelint": "^17.6.0",
67
69
  "stylelint-config-standard-scss": "^17.0.0",
68
70
  "stylelint-scss": "^7.0.0",
69
71
  "terser": "^5.46.1",
70
72
  "tslib": "^2.8.1",
71
- "typescript": "^5.9.3",
72
- "typescript-eslint": "^8.57.1"
73
+ "tsx": "^4.21.0",
74
+ "typescript": "^6.0.2",
75
+ "typescript-eslint": "^8.58.0"
73
76
  },
74
77
  "scripts": {
75
78
  "clean": "del ./dist ./.tmp",
76
- "build": "yarn clean && yarn build:styles && yarn build:scripts",
79
+ "build": "npm run clean && npm run build:styles && npm run build:scripts",
77
80
  "build:scripts": "rollup -c",
78
81
  "build:styles": "sass --style compressed src/styles:dist",
79
82
  "format": "prettier --write 'src/**/*.ts'",
80
- "lint": "yarn lint:scripts && yarn lint:styles",
83
+ "lint": "npm run lint:scripts && npm run lint:styles",
81
84
  "lint:scripts": "eslint 'src/scripts/**/*.ts'",
82
- "lint:styles": "stylelint 'src/styles/**/*.scss'"
85
+ "lint:styles": "stylelint 'src/styles/**/*.scss'",
86
+ "test": "tsx --test test/*.spec.ts"
83
87
  },
84
88
  "license": "MIT"
85
89
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"chartist-plugin-tooltip.d.ts","sourceRoot":"","sources":["../src/scripts/chartist-plugin-tooltip.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,SAAS,EAAY,MAAM,UAAU,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;;OAGG;IACH,aAAa,EAAE;QACb,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;IACF;;OAEG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACrD;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACpD;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,CAAC,SAAS,SAAS,CAAC,GAAG,CAAC,EACpE,KAAK,EAAE,CAAC,EACR,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,GACzB,IAAI,CAmPN"}