diff --git a/package.json b/package.json index 7f86dac..9244f2d 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,12 @@ "prepare": "bin/prepare", "build": "turbo run build", "build:watch": "turbo run build:watch", - "checks": "turbo run checks", + "checks": "run-s lint && turbo run checks", "format": "prettier --write \"**/*.{ts,tsx,md,json,js}\"", - "lint": "turbo run lint", + "lint": "run-s build && xo", "test": "turbo run test", "test:watch": "turbo run test:watch", + "changeset": "changeset", "lint-staged": "lint-staged", "pre-commit": "run-s build lint-staged", "commit-msg": "commitlint --edit", diff --git a/packages/emigrate/package.json b/packages/emigrate/package.json index 5993635..d94264b 100644 --- a/packages/emigrate/package.json +++ b/packages/emigrate/package.json @@ -5,13 +5,13 @@ "access": "public" }, "description": "", + "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "emigrate": "dist/cli.js" }, "scripts": { - "lint": "xo", "build": "tsc --pretty", "build:watch": "tsc --pretty --watch" }, diff --git a/turbo.json b/turbo.json index 072e5a9..998f069 100644 --- a/turbo.json +++ b/turbo.json @@ -10,12 +10,8 @@ "dependsOn": ["^build"], "inputs": ["src/**/*", "!src/**/*.test.ts", "tsconfig.json", "tsconfig.build.json"], "outputs": ["dist/**", "cjs/**"], - "cache": false - }, - "lint": { - "dependsOn": ["^build"], - "inputs": ["src/**/*", ".eslintrc"], - "outputs": [] + "cache": false, + "persistent": true }, "test": { "dependsOn": ["^build"], @@ -24,10 +20,11 @@ }, "test:watch": { "dependsOn": ["^build"], - "cache": false + "cache": false, + "persistent": true }, "checks": { - "dependsOn": ["build", "lint", "test"], + "dependsOn": ["build", "test"], "outputs": [] } }