convert to pnpm workspace

This commit is contained in:
Robert Soriano
2022-05-17 08:57:07 -07:00
parent e9224c3c5e
commit 3df0b44d44
25 changed files with 420 additions and 214 deletions

View File

@@ -1,46 +1,18 @@
{
"name": "trpc-nuxt",
"type": "module",
"version": "0.0.3",
"license": "MIT",
"main": "./dist/module.cjs",
"types": "./dist/types.d.ts",
"exports": {
".": {
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
},
"./api": {
"import": "./dist/runtime/api.mjs",
"types": "./dist/runtime/api.d.ts"
}
},
"files": [
"dist",
"*.d.ts"
],
"name": "monorepo",
"packageManager": "pnpm@7.0.0",
"scripts": {
"prepack": "nuxt-module-build",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"dev": "nr --parallel --filter trpc-nuxt --filter playground dev",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@nuxt/kit": "^3.0.0-rc.3",
"@trpc/server": "^9.23.2",
"fs-extra": "^10.1.0",
"pathe": "^0.3.0",
"ufo": "^0.8.4"
"lint:fix": "eslint . --fix",
"prepare": "nr --filter playground prepare"
},
"devDependencies": {
"@antfu/eslint-config": "^0.23.1",
"@antfu/ni": "^0.16.2",
"@nuxt/module-builder": "latest",
"@types/fs-extra": "^9.0.13",
"eslint": "latest",
"nuxt": "^3.0.0-rc.3",
"zod": "^3.16.0"
"eslint": "^8.14.0",
"pnpm": "^7.1.0"
},
"eslintConfig": {
"extends": "@antfu"