Bitmapper packages updated

This commit is contained in:
ful1e5 2021-02-18 20:02:38 +05:30
parent c92343ece3
commit 2b021d2321
11 changed files with 106 additions and 106 deletions

View file

@ -3,10 +3,20 @@
"version": "1.1.0", "version": "1.1.0",
"description": "Bibata bitmapper's core modules", "description": "Bibata bitmapper's core modules",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Kaiz Khatri", "author": "Kaiz Khatri",
"license": "GPL-3.0", "license": "GPL-3.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
"puppeteer": "^7.1.0" "puppeteer": "^7.1.0"
},
"devDependencies": {
"@types/pixelmatch": "^5.2.2",
"@types/pngjs": "^6.0.0",
"@types/puppeteer": "^5.4.3",
"ts-node": "^9.1.1",
"typescript": "^4.1.5"
} }
} }

View file

@ -0,0 +1,5 @@
const main = () => {
console.log("Bibata Core");
};
export { main };

View file

@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"composite": true,
"outDir": "dist",
"rootDir": "src"
},
"include": ["src"]
}

View file

@ -2,7 +2,7 @@
"name": "bibata-modern", "name": "bibata-modern",
"version": "1.0.3", "version": "1.0.3",
"description": "Rounded edges bibata cursors", "description": "Rounded edges bibata cursors",
"main": "index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"build": "npx tsc --build", "build": "npx tsc --build",
"render": "yarn build && node dist/index.js" "render": "yarn build && node dist/index.js"
@ -11,7 +11,7 @@
"license": "GPL-3.0", "license": "GPL-3.0",
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"ts-node": "^8.10.2", "ts-node": "^9.1.1",
"typescript": "^4.0.5" "typescript": "^4.1.5"
} }
} }

View file

@ -1,27 +0,0 @@
import { ThemeColors } from "bibata-core/src/types";
// Common Colors
const black = "#000000";
const white = "#FFFFFF";
const amber = "#FF8300";
const richBlack = "#001524";
const themeColors: ThemeColors = {
Amber: {
base: amber,
outline: white,
watch: {
background: richBlack
}
},
Classic: {
base: black,
outline: white
},
Ice: {
base: white,
outline: black
}
};
export { themeColors };

View file

@ -1,22 +1,8 @@
import { createBitmaps } from "bibata-core"; import { main } from "bibata-core";
import { themeColors } from "./colors";
import { resolve } from "path";
const main = async () => { const hmm = async () => {
const projectRoot = resolve("../../"); main();
const args = { console.log("Bibata modern");
themeName: "Bibata-Modern",
svgDir: resolve("./src/svg"),
bitmapsDir: resolve(projectRoot, "bitmaps"),
themeColors
};
try {
await createBitmaps(args);
process.exit(0);
} catch (error) {
console.error(error);
}
}; };
main(); hmm();

View file

@ -2,7 +2,7 @@
"name": "bibata-original", "name": "bibata-original",
"version": "1.0.3", "version": "1.0.3",
"description": "Sharp edges bibata cursors", "description": "Sharp edges bibata cursors",
"main": "index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"build": "npx tsc --build", "build": "npx tsc --build",
"render": "yarn build && node dist/index.js" "render": "yarn build && node dist/index.js"
@ -11,7 +11,7 @@
"license": "GPL-3.0", "license": "GPL-3.0",
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"ts-node": "^8.10.2", "ts-node": "^9.1.1",
"typescript": "^4.0.5" "typescript": "^4.1.5"
} }
} }

View file

@ -1,27 +0,0 @@
import { ThemeColors } from "bibata-core/src/types";
// Common Colors
const black = "#000000";
const white = "#FFFFFF";
const amber = "#FF8300";
const richBlack = "#001524";
const themeColors: ThemeColors = {
Amber: {
base: amber,
outline: white,
watch: {
background: richBlack
}
},
Classic: {
base: black,
outline: white
},
Ice: {
base: white,
outline: black
}
};
export { themeColors };

View file

@ -1,22 +1,8 @@
import { createBitmaps } from "bibata-core"; import { main } from "bibata-core";
import { themeColors } from "./colors";
import { resolve } from "path";
const main = async () => { const hmm = async () => {
const projectRoot = resolve("../../"); main();
const args = { console.log("Bibata Original");
themeName: "Bibata-Original",
svgDir: resolve("./src/svg"),
bitmapsDir: resolve(projectRoot, "bitmaps"),
themeColors
};
try {
await createBitmaps(args);
process.exit(0);
} catch (error) {
console.error(error);
}
}; };
main(); hmm();

View file

@ -7,6 +7,27 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.28.tgz#cade4b64f8438f588951a6b35843ce536853f25b" resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.28.tgz#cade4b64f8438f588951a6b35843ce536853f25b"
integrity sha512-lg55ArB+ZiHHbBBttLpzD07akz0QPrZgUODNakeC09i62dnrywr9mFErHuaPlB6I7z+sEbK+IYmplahvplCj2g== integrity sha512-lg55ArB+ZiHHbBBttLpzD07akz0QPrZgUODNakeC09i62dnrywr9mFErHuaPlB6I7z+sEbK+IYmplahvplCj2g==
"@types/pixelmatch@^5.2.2":
version "5.2.2"
resolved "https://registry.yarnpkg.com/@types/pixelmatch/-/pixelmatch-5.2.2.tgz#3403238d4b920bf2255fb6cbf9a098bef796ce62"
integrity sha512-ndpfW/H8+SAiI3wt+f8DlHGgB7OeBdgFgBJ6v/1l3SpJ0MCn9wtXFb4mUccMujN5S4DMmAh7MVy1O3WcXrHUKw==
dependencies:
"@types/node" "*"
"@types/pngjs@^6.0.0":
version "6.0.0"
resolved "https://registry.yarnpkg.com/@types/pngjs/-/pngjs-6.0.0.tgz#d5372348793a383eb2220e43b661af61daf364b8"
integrity sha512-PyZJHtd/mGA9a+cb3RQvd2pj56OIoo522sEhGZvq9THfBv5skyPRo50o3Hvy+n6U0u8RWteMHhlvLfN4FOZTaA==
dependencies:
"@types/node" "*"
"@types/puppeteer@^5.4.3":
version "5.4.3"
resolved "https://registry.yarnpkg.com/@types/puppeteer/-/puppeteer-5.4.3.tgz#cdca84aa7751d77448d8a477dbfa0af1f11485f2"
integrity sha512-3nE8YgR9DIsgttLW+eJf6mnXxq8Ge+27m5SU3knWmrlfl6+KOG0Bf9f7Ua7K+C4BnaTMAh3/UpySqdAYvrsvjg==
dependencies:
"@types/node" "*"
"@types/yauzl@^2.9.1": "@types/yauzl@^2.9.1":
version "2.9.1" version "2.9.1"
resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.1.tgz#d10f69f9f522eef3cf98e30afb684a1e1ec923af" resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.1.tgz#d10f69f9f522eef3cf98e30afb684a1e1ec923af"
@ -81,6 +102,11 @@ concat-map@0.0.1:
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
create-require@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
debug@4, debug@^4.1.0, debug@^4.1.1: debug@4, debug@^4.1.0, debug@^4.1.1:
version "4.3.1" version "4.3.1"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
@ -261,6 +287,13 @@ pend@~1.2.0:
resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA= integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA=
pixelmatch@^5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/pixelmatch/-/pixelmatch-5.2.1.tgz#9e4e4f4aa59648208a31310306a5bed5522b0d65"
integrity sha512-WjcAdYSnKrrdDdqTcVEY7aB7UhhwjYQKYhHiBXdJef0MOaQeYpUdQ+iVyBLa5YBKS8MPVPPMX7rpOByISLpeEQ==
dependencies:
pngjs "^4.0.1"
pkg-dir@^4.2.0: pkg-dir@^4.2.0:
version "4.2.0" version "4.2.0"
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"
@ -268,6 +301,16 @@ pkg-dir@^4.2.0:
dependencies: dependencies:
find-up "^4.0.0" find-up "^4.0.0"
pngjs@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-4.0.1.tgz#f803869bb2fc1bfe1bf99aa4ec21c108117cfdbe"
integrity sha512-rf5+2/ioHeQxR6IxuYNYGFytUyG3lma/WW1nsmjeHlWwtb2aByla6dkVc8pmJ9nplzkTA0q2xx7mMWrOTqT4Gg==
pngjs@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-6.0.0.tgz#ca9e5d2aa48db0228a52c419c3308e87720da821"
integrity sha512-TRzzuFRRmEoSW/p1KVAmiOgPco2Irlah+bGFCeNfJXxxYGwSw7YwAOAcd7X28K/m5bjBWKsC29KyoMfHbypayg==
progress@^2.0.1: progress@^2.0.1:
version "2.0.3" version "2.0.3"
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
@ -382,7 +425,19 @@ ts-node@^8.10.2:
source-map-support "^0.5.17" source-map-support "^0.5.17"
yn "3.1.1" yn "3.1.1"
typescript@^4.0.5: ts-node@^9.1.1:
version "9.1.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-9.1.1.tgz#51a9a450a3e959401bda5f004a72d54b936d376d"
integrity sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==
dependencies:
arg "^4.1.0"
create-require "^1.1.0"
diff "^4.0.1"
make-error "^1.1.1"
source-map-support "^0.5.17"
yn "3.1.1"
typescript@^4.0.5, typescript@^4.1.5:
version "4.1.5" version "4.1.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72"
integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA== integrity sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==