Skip to content

Commit

Permalink
fix: remove lerna in favor of npm workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
marrouchi committed Aug 13, 2024
1 parent 3208465 commit 4d93d40
Show file tree
Hide file tree
Showing 13 changed files with 70 additions and 43,025 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
*.log
.vscode
*.tgz
venv
8 changes: 0 additions & 8 deletions lerna.json

This file was deleted.

44 changes: 29 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
{
"name": "eazychart-monorepo",
"workspaces": [
"packages/*"
],
"version": "0.0.1",
"description": "EazyChart is an easy to use reactive library that allows you to add customizable charts into your React or Vue web applications.",
"keywords": ["chart", "library", "svg", "react", "dataviz", "graph", "typescript", "javascript", "data", "visualization", "web"],
"keywords": [
"chart",
"library",
"svg",
"react",
"dataviz",
"graph",
"typescript",
"javascript",
"data",
"visualization",
"web"
],
"author": "Hexastack",
"license": "MIT",
"repository": {
Expand All @@ -15,27 +30,26 @@
"homepage": "https://eazychart.com",
"private": true,
"devDependencies": {
"react-syntax-highlighter": "^15.5.0",
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"husky": "^7.0.4",
"lerna": "^4.0.0"
"rimraf": "^6.0.1"
},
"engines": {
"node": "=16"
"node": ">=18.16.0"
},
"scripts": {
"prepare": "husky install",
"clean": "lerna clean",
"bootstrap": "lerna bootstrap",
"setup": "lerna clean -y && rm -rf node_modules/ && yarn && lerna bootstrap",
"storybook:react": "lerna run storybook --scope=eazychart-react --stream",
"storybook:vue": "lerna run storybook --scope=eazychart-vue --stream",
"storybook": "lerna run storybook --scope=eazychart-vue --scope=eazychart-react --stream",
"test:core": "lerna run test --scope=eazychart-core --stream",
"test:vue": "lerna run test --scope=eazychart-vue --stream",
"test:react": "lerna run test --scope=eazychart-react --stream",
"test": "lerna run test --stream",
"build": "lerna run build --stream"
"clean": "rimraf -g \"packages/**/lib\" \"packages/**/*.tsbuildinfo\"",
"bootstrap": "npm install",
"setup": "npm run clean && rm -rf node_modules/ && npm install",
"storybook:react": "npm run storybook --workspace=eazychart-react",
"storybook:vue": "npm run storybook --workspace=eazychart-vue",
"storybook": "npm run storybook --workspaces",
"test:core": "npm run test --workspace=eazychart-core",
"test:vue": "npm run test --workspace=eazychart-vue",
"test:react": "npm run test --workspace=eazychart-react",
"test": "npm run test --workspaces",
"build": "npm run build --workspaces"
}
}
7,646 changes: 0 additions & 7,646 deletions packages/ez-core/yarn.lock

This file was deleted.

2 changes: 1 addition & 1 deletion packages/ez-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"prefix": "postcss css/style.css --use autoprefixer -o css/style.css",
"compress": "node-sass css/style.css css/style.css --output-style compressed",
"build": "npm-run-all compile prefix compress",
"prepare": "yarn build"
"prepare": "npm run build"
},
"devDependencies": {
"autoprefixer": "^10.4.1",
Expand Down
Loading

0 comments on commit 4d93d40

Please sign in to comment.