chore: Remove lerna (#2116)
**What** - Removes `lerna` as we are now using `changesets` + Turborepo to handle builds and releases
This commit is contained in:
committed by
GitHub
parent
3a44dd5726
commit
6a62a8f1ed
1
.gitignore
vendored
1
.gitignore
vendored
@@ -14,7 +14,6 @@ integration-tests/**/.yarn/*
|
|||||||
www/**/.yarn/*
|
www/**/.yarn/*
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
lerna-debug.log
|
|
||||||
|
|
||||||
.eslintcache
|
.eslintcache
|
||||||
|
|
||||||
|
|||||||
23
lerna.json
23
lerna.json
@@ -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"
|
|
||||||
}
|
|
||||||
@@ -34,7 +34,6 @@
|
|||||||
"husky": "^7.0.2",
|
"husky": "^7.0.2",
|
||||||
"import-from": "^3.0.0",
|
"import-from": "^3.0.0",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"lerna": "^3.22.1",
|
|
||||||
"lint-staged": "^11.2.3",
|
"lint-staged": "^11.2.3",
|
||||||
"microbundle": "^0.13.3",
|
"microbundle": "^0.13.3",
|
||||||
"pg-god": "^1.0.11",
|
"pg-god": "^1.0.11",
|
||||||
@@ -57,8 +56,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"hooks:install": "husky install",
|
"hooks:install": "husky install",
|
||||||
"hooks:uninstall": "husky uninstall",
|
"hooks:uninstall": "husky uninstall",
|
||||||
"publish:next": "lerna publish --canary --preid next --dist-tag next",
|
|
||||||
"bootstrap": "lerna bootstrap",
|
|
||||||
"build": "turbo run build",
|
"build": "turbo run build",
|
||||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
|
||||||
"jest": "jest",
|
"jest": "jest",
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user