Skip to content

Commit fa563e7

Browse files
committed
update @nuxt/module-builder to 0.7.1 & all devdeps update to latest
1 parent 3bfa470 commit fa563e7

File tree

4 files changed

+2046
-3160
lines changed

4 files changed

+2046
-3160
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"parser": "@typescript-eslint/parser",
23
"extends": [
34
"@nuxtjs/eslint-config-typescript"
45
],

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"dist"
2828
],
2929
"scripts": {
30-
"prepack": "nuxt-module-build",
30+
"prepack": "nuxt-module-build build",
3131
"dev": "nuxi dev playground",
3232
"dev:build": "nuxi build playground",
33-
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
33+
"dev:prepare": "nuxt-module-build build --stub && nuxi prepare playground",
3434
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
3535
"lint": "eslint .",
3636
"test": "vitest run",
@@ -43,11 +43,11 @@
4343
"uuid": "^10.0.0"
4444
},
4545
"devDependencies": {
46-
"@nuxt/module-builder": "latest",
47-
"@nuxtjs/eslint-config-typescript": "latest",
46+
"@nuxt/module-builder": "^0.7.1",
47+
"@nuxtjs/eslint-config-typescript": "^12.1.0",
4848
"@types/node": "^20.11.10",
4949
"@types/uuid": "^8.3.4",
50-
"eslint": "latest",
50+
"eslint": "^9.4.0",
5151
"nuxt": "^3.11.2",
5252
"typescript": "^5.3.3"
5353
},

src/runtime/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineNuxtPlugin } from '#app'
2-
import { Storage, StorageOptions } from './storage'
2+
import { Storage } from './storage'
33
import { isUnset, isSet, getCleanUrl } from './utils/utils'
4-
import { encrypt, decrypt } from './utils/encrypt'
4+
import { decrypt } from './utils/encrypt'
55
import { useState, useFetch, useRuntimeConfig, useCookie } from '#imports'
66

77
interface UseState {

0 commit comments

Comments
 (0)