-
Notifications
You must be signed in to change notification settings - Fork 11
Moderný build systém - "summerbuild" #127
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5540cc6
Upgrade to Lodash 4.
TomiBelan be25d6f
Fix bugs in LogViewerBenchmarkContent.
TomiBelan f8ee773
Add package.json for JavaScript dependencies.
TomiBelan c5c24d0
Upgrade to webpack 4 and Babel 7.
TomiBelan ed7cebb
Turn off loose mode.
TomiBelan f722ac1
Import and bundle all libraries with webpack.
TomiBelan 9dab9b7
Build style.css with webpack and node-sass.
TomiBelan 99de004
Load spinner.svg with url-loader.
TomiBelan 41d1ee0
Use a custom importer to modify _normalize.scss instead of sed.
TomiBelan f635547
Add a custom StatusFilePlugin for webpack.
TomiBelan 1be68cc
Replace buildstatic.sh with yarn scripts and update README.
TomiBelan 7f5848a
Clean up old .map files.
TomiBelan 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 hidden or 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 |
|---|---|---|
|
|
@@ -17,3 +17,4 @@ docs/_build | |
| /oldlogs | ||
| *_settings.py | ||
| !default_settings.py | ||
| *.log | ||
This file contains hidden or 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 hidden or 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,63 @@ | ||
| { | ||
| "name": "votr", | ||
| "version": "0.0.0", | ||
| "repository": "https://github.com/fmfi-svt/votr", | ||
| "license": "Apache-2.0", | ||
| "private": true, | ||
| "dependencies": { | ||
| "@babel/core": "^7.0.1", | ||
| "@babel/plugin-proposal-class-properties": "^7.0.0", | ||
| "@babel/plugin-proposal-object-rest-spread": "^7.0.0", | ||
| "@babel/plugin-transform-runtime": "^7.0.0", | ||
| "@babel/preset-env": "^7.0.0", | ||
| "@babel/preset-react": "^7.0.0", | ||
| "@babel/runtime": "^7.0.0", | ||
| "babel-loader": "^8.0.2", | ||
| "bootstrap-sass": "^3.3.7", | ||
| "css-loader": "^1.0.0", | ||
| "file-saver": "^1.3.8", | ||
| "imports-loader": "^0.8.0", | ||
| "jquery": "^3.3.1", | ||
| "lodash": "^4.17.10", | ||
| "mini-css-extract-plugin": "^0.4.2", | ||
| "node-sass": "^4.9.3", | ||
| "prop-types": "^15.6.2", | ||
| "react": "^16.5.0", | ||
| "react-dom": "^16.5.0", | ||
| "sass-loader": "^7.1.0", | ||
| "url-loader": "^1.1.1", | ||
| "webpack": "^4.18.0", | ||
| "webpack-cli": "^3.1.0" | ||
| }, | ||
| "scripts": { | ||
| "builddev": "webpack --mode=development --progress --display=minimal", | ||
| "buildprod": "webpack --mode=production --progress --display=minimal", | ||
| "watch": "webpack --mode=development --progress --display=minimal --watch", | ||
| "buildboth": "$npm_execpath run builddev && $npm_execpath run buildprod && echo ok_both > votrfront/static/status", | ||
| "clean": "rm -rf votrfront/static", | ||
| "distclean": "rm -rf votrfront/static node_modules" | ||
| }, | ||
| "browserslist": "defaults, not dead", | ||
| "babel": { | ||
kubik369 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "presets": [ | ||
| [ | ||
| "@babel/preset-env", | ||
| { | ||
| "modules": false | ||
| } | ||
| ], | ||
| "@babel/preset-react" | ||
| ], | ||
| "plugins": [ | ||
| "@babel/plugin-proposal-class-properties", | ||
| "@babel/plugin-proposal-object-rest-spread", | ||
| [ | ||
| "@babel/plugin-transform-runtime", | ||
| { | ||
| "regenerator": false, | ||
| "useESModules": true | ||
| } | ||
| ] | ||
| ] | ||
| } | ||
| } | ||
This file contains hidden or 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,4 @@ | ||
| beautifulsoup4 | ||
| libsass | ||
| lxml | ||
| requests | ||
| werkzeug |
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,4 +1,5 @@ | ||
|
|
||
| import React from 'react'; | ||
| import { Modal, PageLayout } from './layout'; | ||
|
|
||
|
|
||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.