@stonecrop/stonecrop 0.2.67 → 0.3.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@stonecrop/stonecrop",
3
- "version": "0.2.67",
3
+ "version": "0.3.1",
4
4
  "description": "schema helper",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -52,9 +52,9 @@
52
52
  "eslint-plugin-vue": "^9.11.1",
53
53
  "typescript": "^5.6.3",
54
54
  "vite": "^5.4.5",
55
- "@stonecrop/aform": "0.2.67",
56
- "@stonecrop/atable": "0.2.67",
57
- "stonecrop-rig": "0.2.22"
55
+ "@stonecrop/atable": "0.3.1",
56
+ "stonecrop-rig": "0.2.22",
57
+ "@stonecrop/aform": "0.3.1"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
package/src/composable.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { inject, onBeforeMount, Ref, ref } from 'vue'
2
2
 
3
- import Registry from '@/registry'
4
- import { Stonecrop } from '@/stonecrop'
5
- import { useDataStore } from '@/stores/data'
3
+ import Registry from './registry'
4
+ import { Stonecrop } from './stonecrop'
5
+ import { useDataStore } from './stores/data'
6
6
 
7
7
  type StonecropReturn = {
8
8
  stonecrop: Ref<Stonecrop>
package/src/doctype.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Component } from 'vue'
2
2
 
3
- import type { ImmutableDoctype } from '@/types'
3
+ import type { ImmutableDoctype } from './types'
4
4
 
5
5
  export default class DoctypeMeta {
6
6
  readonly doctype: string
@@ -1,9 +1,9 @@
1
1
  import { App, type Plugin } from 'vue'
2
2
 
3
- import Registry from '@/registry'
4
- import router from '@/router'
5
- import { pinia } from '@/stores'
6
- import type { InstallOptions } from '@/types'
3
+ import Registry from '../registry'
4
+ import router from '../router'
5
+ import { pinia } from '../stores'
6
+ import type { InstallOptions } from '../types'
7
7
 
8
8
  const plugin: Plugin = {
9
9
  install: (app: App, options?: InstallOptions) => {
package/src/registry.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Router } from 'vue-router'
2
2
 
3
- import DoctypeMeta from '@/doctype'
3
+ import DoctypeMeta from './doctype'
4
4
 
5
5
  export default class Registry {
6
6
  static _root: Registry
package/src/stonecrop.ts CHANGED
@@ -1,8 +1,8 @@
1
- import DoctypeMeta from '@/doctype'
2
- import { NotImplementedError } from '@/exceptions'
3
- import Registry from '@/registry'
4
- import { useDataStore } from '@/stores/data'
5
- import type { ImmutableDoctype, Schema } from '@/types'
1
+ import DoctypeMeta from './doctype'
2
+ import { NotImplementedError } from './exceptions'
3
+ import Registry from './registry'
4
+ import { useDataStore } from './stores/data'
5
+ import type { ImmutableDoctype, Schema } from './types'
6
6
 
7
7
  export class Stonecrop {
8
8
  /**
@@ -4,7 +4,7 @@ import { Component } from 'vue'
4
4
  import { Router } from 'vue-router'
5
5
  import { MachineConfig, StateMachine } from 'xstate'
6
6
 
7
- import DoctypeMeta from '@/doctype'
7
+ import DoctypeMeta from '../doctype'
8
8
 
9
9
  export type ImmutableDoctype = {
10
10
  // TODO: allow schema to be a function