Skip to content

Commit

Permalink
fix(cli): fix ignores files and folders named "core" by default (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Mar 1, 2019
1 parent d22ec60 commit bd5696a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 68 deletions.
66 changes: 0 additions & 66 deletions .npmignore

This file was deleted.

2 changes: 2 additions & 0 deletions packages/schematics/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# bug: https://github.com/npm/npm-packlist/issues/24
!core
1 change: 1 addition & 0 deletions scripts/ci/build-schematics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ buildCLI() {
fi

cp ${SOURCE}/README.md ${DIST}/README.md
cp ${SOURCE}/.npmignore ${DIST}/.npmignore
cp ./LICENSE ${DIST}/LICENSE

updateVersionReferences ${DIST}
Expand Down
7 changes: 5 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
<div id="_ie" style="display:none;position:absolute;top:0;left:0;right:0;bottom:0;text-align:center;padding-top:32px;background:#fff;font-size:22px;z-index:9999;">
Your browser is not supported for NG-ALAIN document site
</div>
<div id="_slow" style="display:none;position:absolute;top:0;left:0;right:0;bottom:0;justify-content:center;align-items:center;background:#fff;font-size:22px;z-index:9999;">
The network is slow, please try to access the <a href="https://netlify.ng-alain.com/" style="padding: 0 4px;">Netlify</a> mirror!
<div id="_slow" style="display:none;position:absolute;top:0;left:0;right:0;bottom:0;text-align:center;justify-content:center;align-items:center;background:#fff;z-index:9999;">
<div>
<h1 style="font-size:22px;">KEEPING LOAD...</h1>
<p style="margin: 0; font-size: 16px;">The network is slow, please try to access the <a href="https://netlify.ng-alain.com/" style="padding: 0 4px;">Netlify</a> mirror!</p>
</div>
</div>
<script>
if (!!navigator.userAgent.match(/Trident/g) || !!navigator.userAgent.match(/MSIE/g)) {
Expand Down

0 comments on commit bd5696a

Please sign in to comment.