-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update dependencies | add type module | fix build (#20)
* chore: update dependencies * chore: add type module * chore: fix build
- Loading branch information
Showing
9 changed files
with
578 additions
and
487 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
const pack = require("../package.json"); | ||
const bannerText = require("./bannertext"); | ||
import pkg from "../package.json" with { type: "json" }; | ||
import process from "node:process"; | ||
|
||
const bannerTxt = bannerText.generate(pack.version); | ||
function generate(version) { | ||
const preview_build = process.env.ORUGA_PREVIEW_BUILD; | ||
|
||
if (preview_build) { | ||
version = `${version} (build ${preview_build})`; | ||
} | ||
|
||
return `/*! Oruga v${version} | MIT License | github.com/oruga-ui/oruga */\n\n`; | ||
} | ||
|
||
const bannerTxt = generate(pkg.version); | ||
|
||
process.stdout.write(bannerTxt); | ||
process.stdin.pipe(process.stdout); |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/********************************** | ||
* Oruga Default Theme Style | ||
***********************************/ | ||
/************************************* | ||
* Oruga Default Theme Full Build | ||
**************************************/ | ||
|
||
// import Ourga Theme variables | ||
// import Ourga theme variables | ||
@import "utils/variables"; | ||
|
||
// import Oruga Theme styles | ||
// import Oruga theme styles | ||
@import "./oruga"; |
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