Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor fixes for pnpm publish #476

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading