From 2d8e52e06d18da944325d127feffa60f0b540147 Mon Sep 17 00:00:00 2001 From: TeoDev1611 Date: Sun, 16 Jan 2022 17:47:37 -0500 Subject: [PATCH] feat: add the eggs files --- .eggignore | 7 +++++++ README.md | 4 ++-- egg.json | 21 +++++++++++++++++++++ mod_test.ts | 1 + 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .eggignore create mode 100644 egg.json create mode 100644 mod_test.ts diff --git a/.eggignore b/.eggignore new file mode 100644 index 0000000..9544f8e --- /dev/null +++ b/.eggignore @@ -0,0 +1,7 @@ +.nlsp-settings/** +.github/** +.test/** +.examples/** +CODE_OF_CONDUCT.md +LICENSE +.editorconfig diff --git a/README.md b/README.md index 03dd3c8..c3ff51f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ and improve some features Basic logging out: ```ts -import { Dlog } from 'https://deno.land/dlog@1.2/mod.ts'; +import { Dlog } from 'https://x.nest.land/dlog@2.0.0/mod.ts'; const logger = new Dlog('Test Dlog'); @@ -35,7 +35,7 @@ logger.debug('helloooo from debug'); File log support ```ts -import GLogger from '../mod.ts'; +import { Dlog } from 'https://x.nest.land/dlog@2.0.0/mod.ts'; const logger = new Dlog('Test Dlog', true, './test'); diff --git a/egg.json b/egg.json new file mode 100644 index 0000000..aba2676 --- /dev/null +++ b/egg.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://x.nest.land/eggs@0.3.10/src/schema.json", + "name": "dlog", + "entry": "./mod.ts", + "description": "A simple deno logger :p", + "homepage": "https://github.com/dpmland/dlog", + "version": "2.0.0", + "releaseType": "major", + "unstable": true, + "unlisted": false, + "checkFormat": "deno fmt --check -c deno.json", + "checkTest": " ", + "files": [ + "./mod.ts", + "./deps.ts", + "./README.md", + "./deno.json" + ], + "check": true, + "ignore": [] +} diff --git a/mod_test.ts b/mod_test.ts new file mode 100644 index 0000000..5a690cd --- /dev/null +++ b/mod_test.ts @@ -0,0 +1 @@ +console.log('xd');