Skip to content

Commit

Permalink
Use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
tyom committed Oct 10, 2023
1 parent db58591 commit 39caaf5
Show file tree
Hide file tree
Showing 5 changed files with 19,963 additions and 18,804 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"npmClient": "yarn",
"npmClient": "pnpm",
"useWorkspaces": true,
"version": "independent"
}
20 changes: 7 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
{
"name": "root",
"private": true,
"version": "0.1.0",
"workspaces": [
"packages/*",
"examples/*"
],
"scripts": {
"build": "lerna run build",
"watch": "lerna run watch --parallel",
"test": "yarn examples:build && yarn lint && yarn test:unit && yarn test:func:headless",
"test": "pnpm examples:build && pnpm lint && pnpm test:unit && pnpm test:func:headless",
"test:unit": "jest",
"test:func": "testcafe chrome test/functional/*.test.js --app 'yarn examples:serve'",
"test:func:headless": "testcafe chrome:headless test/functional/*.test.js --app 'yarn examples:serve'",
"test:func": "testcafe chrome test/functional/*.test.js --app 'pnpm examples:serve'",
"test:func:headless": "testcafe chrome:headless test/functional/*.test.js --app 'pnpm examples:serve'",
"test:func:react": "BASE_URL=http://localhost:6006 testcafe chrome --fixture-meta target=react",
"test:func:vue": "BASE_URL=http://localhost:6009 testcafe chrome --fixture-meta target=vue",
"test:func:html": "BASE_URL=http://localhost:6008 testcafe chrome --fixture-meta target=html",
"lint": "eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --ignore-path .gitignore .",
"storybooks": "lerna run storybook --parallel",
"examples": "yarn examples:build && yarn examples:serve",
"examples": "pnpm examples:build && pnpm examples:serve",
"examples:build": "lerna run build-storybook",
"examples:serve": "http-server examples/build -p 5000",
"prepare": "husky install",
"prepublishOnly": " yarn test",
"prepublishOnly": " pnpm test",
"lerna:version": "lerna version --no-private",
"lerna:publish": "lerna publish --no-private"
},
Expand Down Expand Up @@ -50,7 +45,6 @@
"typescript": "^4.7.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "yarn lint --fix"
},
"dependencies": {}
"*.{js,jsx,ts,tsx}": "pnpm lint --fix"
}
}
Loading

0 comments on commit 39caaf5

Please sign in to comment.