Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/detach bootstrap #707

Merged
merged 13 commits into from
Sep 12, 2018
Prev Previous commit
Next Next commit
fix(build): bump version for bootstrap package
  • Loading branch information
Tibing committed Sep 11, 2018
commit 9e79c677c0d26ab54272c6a10d4691b99cf1aab0
14 changes: 14 additions & 0 deletions scripts/gulp/tasks/bump-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ task('bump', () => {
'./src/framework/theme/package.json',
'./src/framework/auth/package.json',
'./src/framework/security/package.json',
'./src/framework/bootstrap/package.json',
], { base: './' })
.pipe(modify({
key: 'version',
Expand All @@ -21,12 +22,25 @@ task('bump', () => {
});

task('bump-peer', () => {
src([
'./src/framework/bootstrap/package.json',
], { base: './' })
.pipe(modify({
key: 'peerDependencies.@nebular/theme',
value: VERSION,
}))
.pipe(dest('./'));

src([
'./src/framework/auth/package.json',
], { base: './' })
.pipe(modify({
key: 'peerDependencies.@nebular/theme',
value: VERSION,
}))
.pipe(modify({
key: 'peerDependencies.@nebular/bootstrap',
value: VERSION,
}))
.pipe(dest('./'));
});