@edubeam/plot 0.0.0-stage → 0.2.0

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.
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Registers both components globally: `app.use(EduBeamPlot)`. Optional - importing the components
3
+ * by name is lighter, and a bundler drops this plugin from any build that does not use it.
4
+ */
5
+ import type { Plugin } from 'vue';
6
+ export declare const EduBeamPlot: Plugin;
package/package.json CHANGED
@@ -1,6 +1,92 @@
1
1
  {
2
2
  "name": "@edubeam/plot",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Vue 3 components that draw 2D structures and their analysis results (supports, loads, reactions, N/V/M diagrams, deformed shape) as SVG.",
5
+ "author": {
6
+ "name": "Jan Voříšek",
7
+ "url": "https://github.com/janvorisek"
8
+ },
9
+ "license": "GPL-3.0",
10
+ "homepage": "https://www.edubeam.app/plot",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/EduBeamApp/plot.git"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/EduBeamApp/plot/issues"
17
+ },
18
+ "keywords": [
19
+ "structural-analysis",
20
+ "fem",
21
+ "finite-element",
22
+ "vue",
23
+ "svg",
24
+ "beam",
25
+ "frame",
26
+ "truss",
27
+ "bending-moment",
28
+ "shear-force",
29
+ "diagram",
30
+ "edubeam"
31
+ ],
32
+ "type": "module",
33
+ "sideEffects": false,
34
+ "files": [
35
+ "dist",
36
+ "CHANGELOG.md"
37
+ ],
38
+ "main": "./dist/index.js",
39
+ "module": "./dist/index.js",
40
+ "types": "./dist/index.d.ts",
41
+ "exports": {
42
+ ".": {
43
+ "types": "./dist/index.d.ts",
44
+ "import": "./dist/index.js"
45
+ },
46
+ "./package.json": "./package.json"
47
+ },
48
+ "engines": {
49
+ "node": ">=20.19"
50
+ },
51
+ "scripts": {
52
+ "dev": "vite",
53
+ "build": "vite build && vue-tsc -p tsconfig.build.json && node scripts/fix-dts.mjs",
54
+ "test": "vitest",
55
+ "test:run": "vitest run",
56
+ "coverage": "vitest run --coverage",
57
+ "lint": "oxlint",
58
+ "lint:fix": "oxlint --fix",
59
+ "format": "oxfmt",
60
+ "format:check": "oxfmt --check",
61
+ "typecheck": "vue-tsc -p tsconfig.json --noEmit",
62
+ "publint": "publint",
63
+ "check:types": "attw --pack --profile esm-only",
64
+ "check": "npm run lint && npm run format:check && npm run typecheck && npm run coverage && npm run build && npm run publint && npm run check:types",
65
+ "release": "node scripts/release.mjs",
66
+ "screenshots": "node scripts/screenshots.mjs",
67
+ "prepublishOnly": "npm run check"
68
+ },
69
+ "peerDependencies": {
70
+ "@edubeam/fem": "^0.3.0",
71
+ "vue": "^3.5.0"
72
+ },
73
+ "devDependencies": {
74
+ "@arethetypeswrong/cli": "^0.18.5",
75
+ "@edubeam/fem": "^0.3.0",
76
+ "@vitejs/plugin-vue": "^6.0.11",
77
+ "@vitest/coverage-v8": "^5.1.1",
78
+ "@vue/test-utils": "^2.6.0",
79
+ "happy-dom": "^21.0.4",
80
+ "oxfmt": "^0.79.0",
81
+ "oxlint": "^1.94.0",
82
+ "publint": "^0.3.25",
83
+ "typescript": "^5.9.3",
84
+ "vite": "^8.3.8",
85
+ "vitest": "^5.1.1",
86
+ "vue": "^3.5.43",
87
+ "vue-tsc": "^3.3.14"
88
+ },
89
+ "publishConfig": {
90
+ "access": "public"
91
+ }
92
+ }