diff --git a/README.md b/README.md index 556e97a8..2a051da3 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Key features: To install all dependencies and run dev server, run: ```shell -yarn && yarn start +yarn setup && yarn start ``` ### Examples diff --git a/lerna.json b/lerna.json index 92a9db2f..76d4a889 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,6 @@ "packages": [ "packages/*" ], - "useWorkspaces": true, "npmClient": "yarn", "version": "2.3.11" } diff --git a/package.json b/package.json index 2b4e66ba..9d09fe34 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "private": true, "repository": "https://github.com/domql/domql", - "workspaces": [ "packages/*" ], "scripts": { + "setup": "yarn && lerna link --force-local", "start": "parcel examples/index.html --no-cache --port 1200", "build": "lerna run build", "build:domql": "parcel build packages/all/index.js && esbuild packages/all/index.js --bundle --format=cjs --outfile=packages/all/dist/module.bundle.cjs.js && esbuild packages/all/allExports.js --bundle --format=cjs --outfile=packages/all/dist/exports.js",