Skip to content

Commit

Permalink
refactor(monorepo): introduces monorepo implementation
Browse files Browse the repository at this point in the history
divide files into multiple packages as monorepo and use lerna for semantic releases

BREAKING CHANGE: Introduces new package name, breaks whole repo into multiple packages

fix patternfly#201
  • Loading branch information
karelhala committed Mar 8, 2018
1 parent fa30402 commit becab97
Show file tree
Hide file tree
Showing 385 changed files with 12,215 additions and 157 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"transform-object-rest-spread",
"transform-object-assign"
],
"ignore": ["src/**/__snapshots__", "src/**/*.stories.js", "src/**/Stories"]
"ignore": ["**/src/**/__snapshots__", "**/src/**/*.stories.js", "**/src/**/Stories"]
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ coverage
.settings/
*.sublime-workspace

yarn-error.log
lerna-debug.log

# IDE - VSCode
.vscode/*
!.vscode/settings.json
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ notifications:
node_js:
- '8'
- '6'
before_script:
- npm prune
before_install: scripts/travis/before_install.sh
before_script: npm prune
script:
- npm run test
- npm run coveralls
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- ./release.sh
- ./scripts/travis/after_success.sh
- ./scripts/travis/release.sh
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
12 changes: 12 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"lerna": "2.9.0",
"packages": [
"packages/*"
],
"publishConfig": {
"access": "public"
},
"version": "0.0.0",
"npmClient": "yarn",
"useWorkspaces": true
}
Loading

0 comments on commit becab97

Please sign in to comment.