chore: add shell-emulator and remove cross-env
fix some registry example import path
This commit is contained in:
parent
ca49fd6bef
commit
728873dade
|
|
@ -777,21 +777,21 @@ export const Index = {
|
||||||
type: 'components:example',
|
type: 'components:example',
|
||||||
registryDependencies: ['button', 'card', 'themes', 'config'],
|
registryDependencies: ['button', 'card', 'themes', 'config'],
|
||||||
component: () => import('../src/lib/registry/default/example/Cards/ActivityGoal.vue').then(m => m.default),
|
component: () => import('../src/lib/registry/default/example/Cards/ActivityGoal.vue').then(m => m.default),
|
||||||
files: ['../src/lib/registry/default/example/Cards/ActivityGoal.vue'],
|
files: ['../src/lib/registry/default/example/ActivityGoal.vue'],
|
||||||
},
|
},
|
||||||
DataTable: {
|
DataTable: {
|
||||||
name: 'DataTable',
|
name: 'DataTable',
|
||||||
type: 'components:example',
|
type: 'components:example',
|
||||||
registryDependencies: ['button', 'checkbox', 'dropdown-menu', 'input', 'table', 'card', 'utils'],
|
registryDependencies: ['button', 'checkbox', 'dropdown-menu', 'input', 'table', 'card', 'utils'],
|
||||||
component: () => import('../src/lib/registry/default/example/Cards/DataTable.vue').then(m => m.default),
|
component: () => import('../src/lib/registry/default/example/Cards/DataTable.vue').then(m => m.default),
|
||||||
files: ['../src/lib/registry/default/example/Cards/DataTable.vue'],
|
files: ['../src/lib/registry/default/example/DataTable.vue'],
|
||||||
},
|
},
|
||||||
Metric: {
|
Metric: {
|
||||||
name: 'Metric',
|
name: 'Metric',
|
||||||
type: 'components:example',
|
type: 'components:example',
|
||||||
registryDependencies: ['card', 'config'],
|
registryDependencies: ['card', 'config'],
|
||||||
component: () => import('../src/lib/registry/default/example/Cards/Metric.vue').then(m => m.default),
|
component: () => import('../src/lib/registry/default/example/Cards/Metric.vue').then(m => m.default),
|
||||||
files: ['../src/lib/registry/default/example/Cards/Metric.vue'],
|
files: ['../src/lib/registry/default/example/Metric.vue'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'new-york': {
|
'new-york': {
|
||||||
|
|
@ -1570,21 +1570,21 @@ export const Index = {
|
||||||
type: 'components:example',
|
type: 'components:example',
|
||||||
registryDependencies: ['button', 'card', 'themes', 'config'],
|
registryDependencies: ['button', 'card', 'themes', 'config'],
|
||||||
component: () => import('../src/lib/registry/new-york/example/Cards/ActivityGoal.vue').then(m => m.default),
|
component: () => import('../src/lib/registry/new-york/example/Cards/ActivityGoal.vue').then(m => m.default),
|
||||||
files: ['../src/lib/registry/new-york/example/Cards/ActivityGoal.vue'],
|
files: ['../src/lib/registry/new-york/example/ActivityGoal.vue'],
|
||||||
},
|
},
|
||||||
DataTable: {
|
DataTable: {
|
||||||
name: 'DataTable',
|
name: 'DataTable',
|
||||||
type: 'components:example',
|
type: 'components:example',
|
||||||
registryDependencies: ['button', 'checkbox', 'dropdown-menu', 'input', 'table', 'card', 'utils'],
|
registryDependencies: ['button', 'checkbox', 'dropdown-menu', 'input', 'table', 'card', 'utils'],
|
||||||
component: () => import('../src/lib/registry/new-york/example/Cards/DataTable.vue').then(m => m.default),
|
component: () => import('../src/lib/registry/new-york/example/Cards/DataTable.vue').then(m => m.default),
|
||||||
files: ['../src/lib/registry/new-york/example/Cards/DataTable.vue'],
|
files: ['../src/lib/registry/new-york/example/DataTable.vue'],
|
||||||
},
|
},
|
||||||
Metric: {
|
Metric: {
|
||||||
name: 'Metric',
|
name: 'Metric',
|
||||||
type: 'components:example',
|
type: 'components:example',
|
||||||
registryDependencies: ['card', 'config'],
|
registryDependencies: ['card', 'config'],
|
||||||
component: () => import('../src/lib/registry/new-york/example/Cards/Metric.vue').then(m => m.default),
|
component: () => import('../src/lib/registry/new-york/example/Cards/Metric.vue').then(m => m.default),
|
||||||
files: ['../src/lib/registry/new-york/example/Cards/Metric.vue'],
|
files: ['../src/lib/registry/new-york/example/Metric.vue'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
"clean": "rimraf dist && rimraf components",
|
"clean": "rimraf dist && rimraf components",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"lint:fix": "eslint --fix .",
|
"lint:fix": "eslint --fix .",
|
||||||
"start:dev": "cross-env COMPONENTS_REGISTRY_URL=http://localhost:3001 node dist/index.js",
|
"start:dev": "COMPONENTS_REGISTRY_URL=http://localhost:3001 node dist/index.js",
|
||||||
"start": "node dist/index.js",
|
"start": "node dist/index.js",
|
||||||
"release": "changeset version",
|
"release": "changeset version",
|
||||||
"pub:beta": "pnpm build && pnpm publish --no-git-checks --access public --tag beta",
|
"pub:beta": "pnpm build && pnpm publish --no-git-checks --access public --tag beta",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user