diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..53ebfc4 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +ignore-workspace-root-check=true +# shamefully-hoist=true diff --git a/package.json b/package.json index f358cd0..bbcd2fd 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,8 @@ "release": "bumpp --commit --push --tag && pnpm publish", "lint": "eslint \"{src,test}/**/*.ts\"", "lint:fix": "nr lint -- --fix", - "test": "jest" + "test": "jest", + "test:update": "jest -u" }, "devDependencies": { "@antfu/eslint-config": "^0.7.0", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..c77ff40 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +- packages + - playground + - examples/* diff --git a/tsconfig.json b/tsconfig.json index 0e105b8..772d665 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "esModuleInterop": true, "strict": true, "strictNullChecks": true, - "resolveJsonModule": true + "resolveJsonModule": true, + "skipDefaultLibCheck": true } }