chore: Remove lerna (#2116)

**What**
- Removes `lerna` as we are now using `changesets` + Turborepo to handle builds and releases
This commit is contained in:
Oliver Windall Juhl
2022-08-29 15:26:58 +02:00
committed by GitHub
parent 3a44dd5726
commit 6a62a8f1ed
5 changed files with 74 additions and 2673 deletions

1
.gitignore vendored
View File

@@ -14,7 +14,6 @@ integration-tests/**/.yarn/*
www/**/.yarn/*
.DS_Store
lerna-debug.log
.eslintcache

View File

@@ -1,23 +0,0 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
"packages/*"
],
"command": {
"publish": {
"allowBranch": ["master", "release/*"],
"bump": "patch",
"conventionalCommits": true,
"message": "chore(release): Publish"
}
},
"registry": "https://registry.npmjs.org/",
"ignoreChanges": [
"CHANGELOG.md",
"**/__tests__/**",
"**/__mocks__/**",
"**/__testfixtures__/**"
],
"version": "independent"
}

View File

@@ -34,7 +34,6 @@
"husky": "^7.0.2",
"import-from": "^3.0.0",
"jest": "^26.6.3",
"lerna": "^3.22.1",
"lint-staged": "^11.2.3",
"microbundle": "^0.13.3",
"pg-god": "^1.0.11",
@@ -57,8 +56,6 @@
"scripts": {
"hooks:install": "husky install",
"hooks:uninstall": "husky uninstall",
"publish:next": "lerna publish --canary --preid next --dist-tag next",
"bootstrap": "lerna bootstrap",
"build": "turbo run build",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"jest": "jest",

View File

@@ -1,20 +0,0 @@
#!/bin/bash
FIXTURE_PATTERN=$1
lerna run build
medusa-dev --set-path-to-repo .
cd docs-util/fixture-gen
medusa-dev --force-install --scan-once
cd ../..
if [ "$FIXTURE_PATTERN" ]; then
yarn test:fixtures -t $FIXTURE_PATTERN
else
yarn test:fixtures
fi

2700
yarn.lock

File diff suppressed because it is too large Load Diff