-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed action ui, and added copy assets * No More github project sadness (fixes #21) * updated timeline styles (fixes #10) * Updated changelog and bumped version to v7.1.0
- Loading branch information
1 parent
d13f59b
commit 28bbd4c
Showing
52 changed files
with
738 additions
and
100 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -3,5 +3,7 @@ | |
"overrides": {}, | ||
"laf": {}, | ||
"syntax": {}, | ||
"colors": {} | ||
"colors": { | ||
"defaultButtonColor": "&baseBackground&" | ||
} | ||
} |
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,43 @@ | ||
import { resolvePaths, walkDir } from "doki-build-source"; | ||
import path from "path"; | ||
import fs from 'fs'; | ||
|
||
const { repoDirectory } = resolvePaths(__dirname); | ||
|
||
const dokiThemeAssets = path.resolve( | ||
repoDirectory, | ||
"..", | ||
"doki-theme-assets", | ||
"stickers", | ||
"vscode" | ||
); | ||
|
||
walkDir(dokiThemeAssets).then((assetPaths) => { | ||
const stickerAssets = assetPaths.filter( | ||
(assetPath) => !assetPath.endsWith("checksum.txt") | ||
); | ||
|
||
stickerAssets.forEach((dokiStickerAssetPath) => { | ||
const githubStickerAsset = path.resolve( | ||
repoDirectory, | ||
"assets", | ||
"stickers" | ||
); | ||
const githubStickerPath = path.join( | ||
githubStickerAsset, | ||
dokiStickerAssetPath.substr(dokiThemeAssets.length) | ||
); | ||
const githubAssetExists = fs.existsSync(githubStickerPath); | ||
if(!githubAssetExists) { | ||
console.log('copying over ', dokiStickerAssetPath); | ||
|
||
fs.mkdirSync(path.resolve(githubStickerPath, ".."), { | ||
recursive: true, | ||
}); | ||
|
||
fs.copyFileSync( | ||
dokiStickerAssetPath, githubStickerPath | ||
) | ||
} | ||
}); | ||
}); |
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,6 +1,6 @@ | ||
{ | ||
"name": "doki-theme-github", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"dependencies": { | ||
} | ||
} |
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
Oops, something went wrong.