From 15af6110a08ad22e25dc3842c323e7d5d3149a8b Mon Sep 17 00:00:00 2001 From: Himanshu Jangid Date: Thu, 7 Sep 2023 16:11:15 +0530 Subject: [PATCH] add readme and dependabot workflow --- .github/dependabot.yml | 6 ++++++ lib/index.ts | 2 +- lib/render/minipoint.ts | 12 +++++++----- readme.md | 14 ++++++++++++++ 4 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 readme.md diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..253bcb7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: daily diff --git a/lib/index.ts b/lib/index.ts index aca85ae..eda906c 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -7,7 +7,7 @@ export * from './common'; import * as MiniPoint from '.'; console.log("%cWelcome! to minipoint. Let's Play...", 'color: green'); console.log('%cFor your ease, window.MiniPoint is a thing.', 'color: blue'); -console.warn('This is a library so use it that way.'); +console.log('%cThis is a library so use it that way.', 'color: yellow'); console.log('%c' + MINIPOINT_LOGO, 'color: purple'); if (window) { (window as any).MiniPoint = MiniPoint; diff --git a/lib/render/minipoint.ts b/lib/render/minipoint.ts index 2422c62..2d8a310 100644 --- a/lib/render/minipoint.ts +++ b/lib/render/minipoint.ts @@ -1,7 +1,9 @@ export const MINIPOINT_LOGO = ` -_ _ _ _ -_ __ (_)_ _ (_)_ __ ___(_)_ _| |_ -| ' \| | ' \| | '_ \/ _ \ | ' \ _| -|_|_|_|_|_||_|_| .__/\___/_|_||_\__| - |_| +_ _ _ +(_) (_) (_) _ +____ _ ____ _ ____ ___ _ ____ | |_ +| \| | _ \| | _ \ / _ \| | _ \| _) +| | | | | | | | | | | | |_| | | | | | |__ +|_|_|_|_|_| |_|_| ||_/ \___/|_|_| |_|\___) + |_| `; diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..466408a --- /dev/null +++ b/readme.md @@ -0,0 +1,14 @@ +```typescript + _ _ _ __ + ____ ___ (_)___ (_)___ ____ (_)___ / /_ + / __ `__ \/ / __ \/ / __ \/ __ \/ / __ \/ __/ + / / / / / / / / / / / /_/ / /_/ / / / / / /_ +/_/ /_/ /_/_/_/ /_/_/ .___/\____/_/_/ /_/\__/ + /_/ +``` + +A 2d Graphics Library spatially for Points/Vectors. + +### Build Stats + +[![Node.js CI](https://github.com/himanshurajora/minipoint/actions/workflows/node.js.yml/badge.svg)](https://github.com/himanshurajora/minipoint/actions/workflows/node.js.yml)