@stonecrop/desktop 0.2.5 → 0.2.6

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/package.json CHANGED
@@ -1,9 +1,21 @@
1
1
  {
2
2
  "name": "@stonecrop/desktop",
3
- "version": "0.2.5",
4
- "description": "desktop specific components for Stonecrop UI",
3
+ "version": "0.2.6",
4
+ "description": "Desktop-specific components for Stonecrop UI",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
+ "author": {
8
+ "name": "Tyler Matteson",
9
+ "email": "tyler@agritheory.com"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/agritheory/stonecrop",
14
+ "directory": "desktop"
15
+ },
16
+ "bugs": {
17
+ "url": "https://github.com/agritheory/stonecrop/issues"
18
+ },
7
19
  "exports": {
8
20
  ".": {
9
21
  "import": "./dist/desktop.js",
@@ -13,37 +25,40 @@
13
25
  },
14
26
  "main": "dist/desktop.js",
15
27
  "module": "dist/desktop.js",
28
+ "umd": "dist/desktop.umd.cjs",
16
29
  "types": "src/index",
17
30
  "files": [
18
31
  "dist/*",
19
- "src/**/*.vue"
32
+ "src/*"
20
33
  ],
21
34
  "dependencies": {
22
35
  "immutable": "^4.3.0",
23
- "vue": "^3.2.47",
36
+ "vue": "^3.4.23",
24
37
  "xstate": "~4.37.2",
25
- "@stonecrop/aform": "0.2.5",
26
- "@stonecrop/atable": "0.2.5",
27
- "@stonecrop/stonecrop": "0.2.5",
28
- "@stonecrop/themes": "0.2.5"
38
+ "@stonecrop/aform": "0.2.6",
39
+ "@stonecrop/atable": "0.2.6",
40
+ "@stonecrop/themes": "0.2.6",
41
+ "@stonecrop/stonecrop": "0.2.6"
29
42
  },
30
43
  "devDependencies": {
31
44
  "@miragejs/graphql": "^0.1.13",
32
45
  "@typescript-eslint/eslint-plugin": "^5.59.5",
33
46
  "@typescript-eslint/parser": "^5.59.5",
34
- "@vitejs/plugin-vue": "^4.2.1",
47
+ "@vitejs/plugin-vue": "^5.0.4",
35
48
  "eslint": "^8.40.0",
36
49
  "eslint-config-prettier": "^8.8.0",
37
50
  "eslint-plugin-vue": "^9.11.1",
38
51
  "miragejs": "^0.1.47",
39
52
  "typescript": "^5.0.4",
40
- "vite": "^4.3.5",
53
+ "vite": "^5.2.9",
41
54
  "vue-router": "^4"
42
55
  },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
43
59
  "engines": {
44
60
  "node": ">=20.11.0"
45
61
  },
46
- "umd": "dist/desktop.umd.cjs",
47
62
  "scripts": {
48
63
  "build": "vite build",
49
64
  "dev": "vite",
package/src/index.ts ADDED
@@ -0,0 +1,8 @@
1
+ import ActionSet from '@/components/ActionSet.vue'
2
+ import CommandPalette from '@/components/CommandPalette.vue'
3
+ import Doctype from '@/components/Doctype.vue'
4
+ import Records from '@/components/Records.vue'
5
+ import SheetNav from '@/components/SheetNav.vue'
6
+ import StonecropDesktop from '@/plugins'
7
+
8
+ export { ActionSet, CommandPalette, Doctype, Records, SheetNav, StonecropDesktop }
@@ -0,0 +1,17 @@
1
+ import { App } from 'vue'
2
+
3
+ import ActionSet from '@/components/ActionSet.vue'
4
+ import CommandPalette from '@/components/CommandPalette.vue'
5
+ import Doctype from '@/components/Doctype.vue'
6
+ import Records from '@/components/Records.vue'
7
+ import SheetNav from '@/components/SheetNav.vue'
8
+
9
+ export default {
10
+ install: (app: App) => {
11
+ app.component('ActionSet', ActionSet)
12
+ app.component('CommandPalette', CommandPalette)
13
+ app.component('Doctype', Doctype)
14
+ app.component('Records', Records)
15
+ app.component('SheetNav', SheetNav)
16
+ },
17
+ }
package/src/router.ts ADDED
@@ -0,0 +1,14 @@
1
+ import { createRouter, createWebHistory } from 'vue-router'
2
+
3
+ const router = createRouter({
4
+ history: createWebHistory(),
5
+ routes: [],
6
+ })
7
+
8
+ export default router
9
+
10
+ declare module 'vue-router' {
11
+ interface RouteMeta {
12
+ transition?: string
13
+ }
14
+ }
@@ -0,0 +1,5 @@
1
+ declare module '*.vue' {
2
+ import { ComponentOptions } from 'vue'
3
+ const Component: ComponentOptions
4
+ export default Component
5
+ }