From 3e431e075b29585996b42193464e26d33f0d64ef Mon Sep 17 00:00:00 2001 From: Luiz Ferraz Date: Sat, 6 Jan 2024 08:59:36 -0300 Subject: [PATCH] Set workspace to module --- package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2243b29b..ff8a0361 100644 --- a/package.json +++ b/package.json @@ -10,18 +10,18 @@ ], "license": "MIT", "author": "Luiz Ferraz ", + "type": "module", "main": "index.js", "scripts": { "build": "turbo run build", "format": "pnpm run format:code", "format:code": "prettier -w \"**/*\" --ignore-unknown --cache", "format:imports": "organize-imports-cli ./packages/*/tsconfig.json ./packages/*/*/tsconfig.json", - "release": "pnpm run build && changeset publish", "lint": "eslint . --report-unused-disable-directives", - "version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run format", - "test": "turbo run test --concurrency=1" + "release": "pnpm run build && changeset publish", + "test": "turbo run test --concurrency=1", + "version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run format" }, - "packageManager": "pnpm@^8", "devDependencies": { "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.1", @@ -38,5 +38,6 @@ "prettier-plugin-astro": "^0.12.3", "turbo": "^1.11.3", "typescript": "^5.3.3" - } + }, + "packageManager": "pnpm@^8" }