Skip to content

Commit

Permalink
adjusting dependencies for explorer-1/common (#478)
Browse files Browse the repository at this point in the history
* adjusting dependencies for explorer-1/common

* adding file type endings to dayjs imports

* bumping version number for @explorer-1/vue

* Update eslint.config.js

---------

Co-authored-by: James Ray <james.a.ray@jpl.nasa.gov>
  • Loading branch information
stephiescastle and jamesray authored Jun 28, 2024
1 parent 77a0d0d commit 18aaa4a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 17 deletions.
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* eslint-disable prettier/prettier */
// eslint.config.js
// imports config from the shared eslint-config package `packages/configs/eslint`
import config from '@explorer-1/eslint-config'

export default [
...config,
]
]
8 changes: 4 additions & 4 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@explorer-1/common",
"version": "1.0.1",
"version": "1.0.2",
"private": false,
"publishConfig": {
"access": "public"
Expand All @@ -15,12 +15,12 @@
"devDependencies": {
"@explorer-1/prettier-config": "workspace:*",
"@explorer-1/tsconfig": "workspace:*",
"@tailwindcss/forms": "^0.5.7",
"stylelint": "^16.5.0",
"stylelint-config-standard-scss": "^13.1.0",
"tailwindcss": "^3.4.3"
"stylelint-config-standard-scss": "^13.1.0"
},
"dependencies": {
"tailwindcss": "^3.4.3",
"@tailwindcss/forms": "^0.5.7",
"tailwindcss-themer": "^4.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@explorer-1/vue",
"version": "0.0.3",
"version": "0.0.4",
"private": false,
"publishConfig": {
"access": "public"
Expand Down
10 changes: 5 additions & 5 deletions packages/vue/src/utils/dayjs.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import dayjs from 'dayjs'
import updateLocale from 'dayjs/plugin/updateLocale'
import localizedFormat from 'dayjs/plugin/localizedFormat'
import timezone from 'dayjs/plugin/timezone'
import advancedFormat from 'dayjs/plugin/advancedFormat'
import updateLocale from 'dayjs/plugin/updateLocale.js'
import localizedFormat from 'dayjs/plugin/localizedFormat.js'
import timezone from 'dayjs/plugin/timezone.js'
import advancedFormat from 'dayjs/plugin/advancedFormat.js'

// Locales must be imported manually
// see https://github.com/iamkun/dayjs/tree/dev/src/locale
import 'dayjs/locale/en-gb'
import 'dayjs/locale/en-gb.js'

dayjs.extend(localizedFormat)
dayjs.extend(updateLocale)
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18aaa4a

Please sign in to comment.