Skip to content

Commit bcfcdca

Browse files
committed
introduced workspaces
1 parent 8fd8585 commit bcfcdca

File tree

94 files changed

+14513
-1749
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+14513
-1749
lines changed

chartlets.js/package-lock.json

Lines changed: 1742 additions & 1655 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chartlets.js/package.json

Lines changed: 3 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,4 @@
11
{
2-
"name": "chartlets",
3-
"version": "0.0.30",
4-
"description": "An experimental library for integrating interactive charts into existing JavaScript applications.",
5-
"type": "module",
6-
"files": [
7-
"dist",
8-
"README.md",
9-
"LICENSE"
10-
],
11-
"keywords": [
12-
"typescript",
13-
"library",
14-
"framework",
15-
"dashboard",
16-
"plotting",
17-
"charting"
18-
],
19-
"homepage": "https://bcdev.github.io/chartlets",
20-
"repository": {
21-
"type": "git",
22-
"url": "https://github.com/bcdev/chartlets.git"
23-
},
24-
"bugs": {
25-
"url": "https://github.com/bcdev/chartlets/issues"
26-
},
27-
"author": "Brockmann Consult GmbH",
28-
"license": "MIT",
29-
"types": "./dist/index.d.ts",
30-
"module": "./dist/chartlets.js",
31-
"main": "./dist/chartlets.cjs",
32-
"exports": {
33-
".": {
34-
"types": "./dist/index.d.ts",
35-
"module": "./dist/chartlets.js",
36-
"require": "./dist/chartlets.cjs"
37-
},
38-
"./plugins/mui": {
39-
"types": "./dist/plugins/mui/index.d.ts",
40-
"module": "./dist/mui-plugin.js",
41-
"require": "./dist/mui-plugin.cjs"
42-
},
43-
"./plugins/vega": {
44-
"types": "./dist/plugins/vega/index.d.ts",
45-
"module": "./dist/vega-plugin.js",
46-
"require": "./dist/vega-plugin.cjs"
47-
}
48-
},
49-
"scripts": {
50-
"dev": "vite",
51-
"test": "vitest",
52-
"coverage": "vitest run --coverage",
53-
"build": "tsc && vite build",
54-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
55-
"preview": "vite preview"
56-
},
57-
"dependencies": {
58-
"microdiff": "^1.4",
59-
"zustand": "^5.0"
60-
},
61-
"peerDependencies": {
62-
"react": ">=18",
63-
"react-dom": ">=18",
64-
"@mui/material": ">=6",
65-
"react-vega": ">=7",
66-
"vega-themes": ">=2"
67-
},
68-
"peerDependenciesMeta": {
69-
"react": {
70-
"optional": false
71-
},
72-
"react-dom": {
73-
"optional": false
74-
}
75-
},
76-
"devDependencies": {
77-
"@types/node": "^20.11.17",
78-
"@types/react": "^18.3.11",
79-
"@types/react-dom": "^18.3.1",
80-
"@typescript-eslint/eslint-plugin": "^7.18.0",
81-
"@typescript-eslint/parser": "^7.18.0",
82-
"@vitejs/plugin-react-swc": "^3.7.0",
83-
"@vitest/coverage-v8": "^2.1.1",
84-
"eslint": "^8.57.1",
85-
"eslint-plugin-react-hooks": "^4.6.2",
86-
"eslint-plugin-react-refresh": "^0.4.12",
87-
"glob": "^11.0.0",
88-
"jsdom": "^25.0.0",
89-
"prettier": "^3.3.3",
90-
"typescript": "^5.6.2",
91-
"vite": "^5.4.6",
92-
"vite-plugin-dts": "^4.2.4",
93-
"vitest": "^2.1.1"
94-
}
95-
}
2+
"private": true,
3+
"workspaces": [ "packages/*"]
4+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Chartlets Demo - UI
2+
3+
Provides the Chartlets Demo UI that uses TypeScript, React and Zustand.
4+
5+
## Run the demo app
6+
7+
``` bash
8+
npm install
9+
npm run dev
10+
```
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Chartlets Demo</title>
7+
</head>
8+
<body>
9+
<div id="root"></div>
10+
<script type="module" src="/src/main.tsx"></script>
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)