diff --git a/packages/vue/package.json b/packages/vue/package.json index ad82395c..fc0df9d3 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,5 +1,6 @@ { "name": "@explorer-1/vue", + "version": "0.0.2", "private": false, "publishConfig": { "access": "public" @@ -9,7 +10,6 @@ "type": "git", "url": "https://github.com/nasa-jpl/explorer-1" }, - "version": "0.0.1", "type": "module", "scripts": { "dev": "pnpm prepare && vite", @@ -17,10 +17,9 @@ "lint": "eslint ./src", "lint:fix": "eslint ./src --fix", "preview": "vite preview", - "prepare": "pnpm prepare:fonts && pnpm prepare:public && pnpm prepare:public:edu", + "prepare": "pnpm prepare:fonts && pnpm prepare:public", "prepare:fonts": "cp -R ./node_modules/@explorer-1/common/src/fonts/ ./src/assets/fonts/", - "prepare:public": "cp -R ./node_modules/@explorer-1/common/src/public/explorer-1/ ./public/explorer-1", - "prepare:public:edu": "cp -R ./node_modules/@explorer-1/common/src/public/explorer-1/ ./public/edu/explorer-1" + "prepare:public": "cp -R ./node_modules/@explorer-1/common/src/public/explorer-1/ ./public/explorer-1" }, "prettier": "@explorer-1/prettier-config", "dependencies": { diff --git a/packages/vue/src/components/CalendarButton/CalendarButton.vue b/packages/vue/src/components/CalendarButton/CalendarButton.vue index 5d63fb69..d942c0c0 100644 --- a/packages/vue/src/components/CalendarButton/CalendarButton.vue +++ b/packages/vue/src/components/CalendarButton/CalendarButton.vue @@ -16,7 +16,7 @@ import { defineComponent } from 'vue' import { ICalendar } from 'datebook' import type { CalendarOptions } from 'datebook' // @ts-ignore -import dayjs from './../../utils/dayjs' +import dayjs from 'dayjs' import BaseButton from './../BaseButton/BaseButton.vue' export default defineComponent({ diff --git a/packages/vue/src/components/SearchResultsList/SearchResultsList.vue b/packages/vue/src/components/SearchResultsList/SearchResultsList.vue index edc9ea0b..baad6f26 100644 --- a/packages/vue/src/components/SearchResultsList/SearchResultsList.vue +++ b/packages/vue/src/components/SearchResultsList/SearchResultsList.vue @@ -57,7 +57,7 @@ import { defineComponent } from 'vue' import type { ElasticSearchPage } from '../../interfaces' // @ts-ignore -import dayjs from './../../utils/dayjs' +import dayjs from 'dayjs' import SearchResultCard from './../SearchResultCard/SearchResultCard.vue' import SearchResultGridItem from './../SearchResultGridItem/SearchResultGridItem.vue' diff --git a/packages/vue/src/utils/mixins.ts b/packages/vue/src/utils/mixins.ts index 3ab7af00..8aba21a6 100644 --- a/packages/vue/src/utils/mixins.ts +++ b/packages/vue/src/utils/mixins.ts @@ -1,14 +1,14 @@ // import Vue from 'vue' // @ts-ignore import dayjs from './dayjs' -import { useHeaderStore } from './../store/header' +import { useHeaderStore } from '@explorer-1/vue/src/store/header' import { useRoute } from 'vue-router' import type { BreadcrumbPathObject, ImageObject, ImageSrcObject, RelatedLinkObject -} from '../interfaces' +} from '@explorer-1/vue/src/interfaces' // srcSet data structure export interface SrcSetDataValue { url: string