This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 360
Tooling cleanup #466
Merged
Merged
Tooling cleanup #466
Changes from 12 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e37284f
Remove ranges & cleanup excutable paths
ahmedelgabri 7d54e6b
fix indentation
ahmedelgabri 53abaae
Linter fixes for webpack folder & bootstrap config
ahmedelgabri 2c53a21
make sure new npm isntallations will not use ranges
ahmedelgabri a36cd79
Update node-sass
ahmedelgabri 5675c6f
Update travis Node version
ahmedelgabri 16f59c8
normalize paths in package.json
ahmedelgabri 83caa1c
make test.sh executable & update env shebang
ahmedelgabri 361c042
Remove npm install noise on CI, etc...
ahmedelgabri 6f0b28d
remove duplicate phantomjs package 😱
ahmedelgabri 54e4373
add comment in .travis.yml for .nvmrc usage
ahmedelgabri 2d311a6
Update Karma & Karma-webpack to fix jenkins error
ahmedelgabri 3d65508
Merge master & fix conflict
ahmedelgabri 1ec1a9b
Update packages to match production & remove old babel package
ahmedelgabri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
save-exact = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ RUN cp /etc/cron.daily/logrotate /etc/cron.hourly | |
# cache npm install when package.json hasn't changed | ||
WORKDIR /tmp | ||
ADD package.json package.json | ||
RUN npm install | ||
RUN npm install --silent --no-progress | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. technically, we should eventually add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. True, but then travis will fail because the karma test that runs on travis requires |
||
RUN npm install -g pm2 | ||
|
||
RUN mkdir /quran | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
/* eslint-disable */ | ||
const bootstrapConfig = require('./bootstrap.config.js'); | ||
const bootstrapConfig = require('./bootstrap.config'); | ||
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | ||
bootstrapConfig.styleLoader = ExtractTextPlugin.extract({fallbackLoader: 'style-loader', loader: 'css-loader!sass-loader'}); | ||
|
||
bootstrapConfig.styleLoader = ExtractTextPlugin.extract({ | ||
fallbackLoader: 'style-loader', | ||
loader: 'css-loader!sass-loader' | ||
}); | ||
|
||
module.exports = bootstrapConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"rules": { | ||
"unit-no-unknown": true, | ||
"no-duplicate-selectors": true, | ||
"block-no-empty": true | ||
} | ||
"unit-no-unknown": true, | ||
"no-duplicate-selectors": true, | ||
"block-no-empty": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i prefer putting 6.3.0 here instead of
.nvmrc
just because it will save a lot of pain in the future (next time Travis breaks, people will immediately open.travis.yml
, and it may not be obvious to someone else that they need to look at.nvmrc
).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add a comment too saying that the node version is handled in
.nvmrc
.Also most of the time travis breaks it will be something else plus travis already shows the version in the log & also that it picks it up from
nvm
.I'm planning to make the tools & build process more robust so that things doesn't break unless it's something major.