From bd961a1624c0b3b0e732894f5dc7377569f599f6 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 25 Aug 2024 23:16:17 +0100 Subject: [PATCH] fix: update to latest `@nuxt/module-builder` --- .vscode/settings.json | 3 + package.json | 174 +++++++++++++++++++++--------------------- 2 files changed, 90 insertions(+), 87 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e78d7ff --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "eslint.experimental.useFlatConfig": true +} \ No newline at end of file diff --git a/package.json b/package.json index b996da3..019f7ae 100644 --- a/package.json +++ b/package.json @@ -1,89 +1,89 @@ { - "name": "@nuxtjs/prismic", - "version": "3.3.2", - "description": "Easily connect your Nuxt application to your content hosted on Prismic", - "keywords": [ - "nuxt", - "module", - "nuxt-module", - "typescript", - "prismic", - "cms" - ], - "repository": { - "type": "git", - "url": "ssh://git@github.com/nuxt-modules/prismic.git" - }, - "license": "MIT", - "author": "Nuxt.js Community", - "type": "module", - "exports": { - ".": { - "types": "./dist/types.d.ts", - "import": "./dist/module.mjs", - "require": "./dist/module.cjs" - }, - "./runtime/*": "./dist/runtime/*", - "./package.json": "./package.json" - }, - "main": "dist/module.cjs", - "types": "dist/types.d.ts", - "files": [ - "dist", - "src" - ], - "scripts": { - "build": "npm run build:module && npm run build:client", - "build:client": "nuxt generate client", - "build:module": "nuxt-module-build build", - "dev": "nuxt dev playground", - "dev:build": "nuxt build playground", - "dev:preview": "nuxt preview playground", - "dev:generate": "nuxt generate playground", - "prepare": "nuxt prepare playground && npm run build", - "release": "npm run test && standard-version && git push --follow-tags && npm run build && npm publish", - "release:dry": "standard-version --dry-run", - "release:rc": "npm run test && standard-version --release-as major --prerelease rc && git push --follow-tags && npm run build && npm publish --tag rc", - "release:rc:dry": "standard-version --release-as major --prerelease rc --dry-run", - "lint": "eslint .", - "typecheck": "tsc --noEmit", - "unit": "vitest run --coverage", - "unit:watch": "vitest watch", - "test": "npm run typecheck && npm run lint && npm run unit && npm run build" - }, - "dependencies": { - "@nuxt/devtools-kit": "^1.3.9", - "@nuxt/kit": "^3.12.4", - "@prismicio/client": "^7.7.4", - "@prismicio/vue": "^4.2.2", - "birpc": "0.2.17", - "consola": "^3.2.3", - "defu": "^6.1.4", - "pathe": "^1.1.2", - "sirv": "^2.0.4", - "terminate": "^2.8.0" - }, - "devDependencies": { - "@iconify-json/carbon": "^1.1.36", - "@iconify-json/logos": "^1.1.43", - "@nuxt/devtools-ui-kit": "^1.3.9", - "@nuxt/eslint-config": "^0.3.13", - "@nuxt/module-builder": "^0.8.1", - "@nuxt/schema": "^3.12.4", - "@unocss/preset-icons": "^0.61.5", - "@vitest/coverage-v8": "^2.0.4", - "eslint": "^9.7.0", - "memfs": "^4.9.4", - "nuxt": "^3.12.4", - "standard-version": "^9.5.0", - "typescript": "^5.5.4", - "vitest": "^2.0.4" - }, - "engines": { - "node": ">=16.10.0" - }, - "publishConfig": { - "access": "public" - }, - "packageManager": "pnpm@9.3.0" + "name": "@nuxtjs/prismic", + "version": "3.3.2", + "description": "Easily connect your Nuxt application to your content hosted on Prismic", + "keywords": [ + "nuxt", + "module", + "nuxt-module", + "typescript", + "prismic", + "cms" + ], + "repository": { + "type": "git", + "url": "ssh://git@github.com/nuxt-modules/prismic.git" + }, + "license": "MIT", + "author": "Nuxt.js Community", + "type": "module", + "exports": { + ".": { + "types": "./dist/types.d.ts", + "import": "./dist/module.mjs", + "require": "./dist/module.cjs" + }, + "./runtime/*": "./dist/runtime/*", + "./package.json": "./package.json" + }, + "main": "dist/module.cjs", + "types": "dist/types.d.ts", + "files": [ + "dist", + "src" + ], + "scripts": { + "build": "npm run build:module && npm run build:client", + "build:client": "nuxt generate client", + "build:module": "nuxt-module-build build", + "dev": "nuxt dev playground", + "dev:build": "nuxt build playground", + "dev:preview": "nuxt preview playground", + "dev:generate": "nuxt generate playground", + "prepare": "nuxt prepare playground && npm run build", + "release": "npm run test && standard-version && git push --follow-tags && npm run build && npm publish", + "release:dry": "standard-version --dry-run", + "release:rc": "npm run test && standard-version --release-as major --prerelease rc && git push --follow-tags && npm run build && npm publish --tag rc", + "release:rc:dry": "standard-version --release-as major --prerelease rc --dry-run", + "lint": "eslint .", + "typecheck": "tsc --noEmit", + "unit": "vitest run --coverage", + "unit:watch": "vitest watch", + "test": "npm run typecheck && npm run lint && npm run unit && npm run build" + }, + "dependencies": { + "@nuxt/devtools-kit": "^1.3.9", + "@nuxt/kit": "^3.12.4", + "@prismicio/client": "^7.7.4", + "@prismicio/vue": "^4.2.2", + "birpc": "0.2.17", + "consola": "^3.2.3", + "defu": "^6.1.4", + "pathe": "^1.1.2", + "sirv": "^2.0.4", + "terminate": "^2.8.0" + }, + "devDependencies": { + "@iconify-json/carbon": "^1.1.36", + "@iconify-json/logos": "^1.1.43", + "@nuxt/devtools-ui-kit": "^1.3.9", + "@nuxt/eslint-config": "^0.3.13", + "@nuxt/module-builder": "^0.8.3", + "@nuxt/schema": "^3.12.4", + "@unocss/preset-icons": "^0.61.5", + "@vitest/coverage-v8": "^2.0.4", + "eslint": "^9.7.0", + "memfs": "^4.9.4", + "nuxt": "^3.12.4", + "standard-version": "^9.5.0", + "typescript": "^5.5.4", + "vitest": "^2.0.4" + }, + "engines": { + "node": ">=16.10.0" + }, + "publishConfig": { + "access": "public" + }, + "packageManager": "pnpm@9.3.0" }