-
Notifications
You must be signed in to change notification settings - Fork 770
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from creativetimofficial/feature/update-to-v1.1.0
Feature: update to v1.1.0
- Loading branch information
Showing
33 changed files
with
422 additions
and
121 deletions.
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
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
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,77 @@ | ||
const gulp = require("gulp"); | ||
const gap = require("gulp-append-prepend"); | ||
|
||
gulp.task("licenses", async function() { | ||
// this is to add Creative Tim licenses in the production mode for the minified js | ||
gulp | ||
.src("build/static/js/*chunk.js", { base: "./" }) | ||
.pipe( | ||
gap.prependText(`/*! | ||
========================================================= | ||
* Black Dashboard React - v1.1.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/black-dashboard-react | ||
* Copyright 2020 Creative Tim (https://www.creative-tim.com) | ||
* Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md) | ||
* Coded by Creative Tim | ||
========================================================= | ||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
*/`) | ||
) | ||
.pipe(gulp.dest("./", { overwrite: true })); | ||
|
||
// this is to add Creative Tim licenses in the production mode for the minified html | ||
gulp | ||
.src("build/index.html", { base: "./" }) | ||
.pipe( | ||
gap.prependText(`<!-- | ||
========================================================= | ||
* Black Dashboard React - v1.1.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/black-dashboard-react | ||
* Copyright 2020 Creative Tim (https://www.creative-tim.com) | ||
* Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md) | ||
* Coded by Creative Tim | ||
========================================================= | ||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
-->`) | ||
) | ||
.pipe(gulp.dest("./", { overwrite: true })); | ||
|
||
// this is to add Creative Tim licenses in the production mode for the minified css | ||
gulp | ||
.src("build/static/css/*chunk.css", { base: "./" }) | ||
.pipe( | ||
gap.prependText(`/*! | ||
========================================================= | ||
* Black Dashboard React - v1.1.0 | ||
========================================================= | ||
* Product Page: https://www.creative-tim.com/product/black-dashboard-react | ||
* Copyright 2020 Creative Tim (https://www.creative-tim.com) | ||
* Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md) | ||
* Coded by Creative Tim | ||
========================================================= | ||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
*/`) | ||
) | ||
.pipe(gulp.dest("./", { overwrite: true })); | ||
return; | ||
}); |
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,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": "src", | ||
"paths": { | ||
"*": ["src/*"] | ||
} | ||
} | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.