Skip to content

Commit

Permalink
minor fixes for pnpm publish (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jun 28, 2024
1 parent 3a50775 commit bdb2aba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@explorer-1/vue",
"version": "0.0.2",
"private": false,
"publishConfig": {
"access": "public"
Expand All @@ -9,18 +10,16 @@
"type": "git",
"url": "https://github.com/nasa-jpl/explorer-1"
},
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "pnpm prepare && vite",
"build": "pnpm prepare && vue-tsc && vite build",
"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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/src/utils/mixins.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bdb2aba

Please sign in to comment.