From 63929757657f752cf1477b74c5a935845d8e6c30 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Thu, 2 Feb 2023 16:55:42 -0500 Subject: [PATCH] stuff and stuff and maybe stuff --- LICENSE | 24 ++++++++++++++++++++++++ README.md | 5 ++--- buildNode.ts | 6 ++++-- mod.ts | 2 +- 4 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..00d2e13 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to \ No newline at end of file diff --git a/README.md b/README.md index 35596c4..5aaf4c8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # wattpad-deno -early library for accessing Wattpad using Deno +early library for accessing Wattpad using Deno (or Node via [DNT](https://github.com/denoland/dnt)) ## Q&A @@ -10,5 +10,4 @@ Why not ### Docs? -The API _should_ be pretty self-explanitory, if anything through deno.land's -built in docs generator +The API _should_ be pretty self-explanitory, if anything through deno.land's built in docs generator (alternatively, if you're on Node just use type hints in your IDE ig) \ No newline at end of file diff --git a/buildNode.ts b/buildNode.ts index 4e6379e..626a82f 100644 --- a/buildNode.ts +++ b/buildNode.ts @@ -1,4 +1,5 @@ import { build, emptyDir } from "https://deno.land/x/dnt@0.33.1/mod.ts"; +import { VERSION } from "./mod.ts"; await emptyDir("./npm"); @@ -35,10 +36,11 @@ await build({ }, package: { name: "wattpad", - version: Deno.args[0], - description: "new air wyatts", + version: VERSION, + description: "unofficial Wattpad API wrapper", license: "Unlicense", }, }); Deno.copyFileSync("README.md", "npm/README.md"); +Deno.copyFileSync("LICENSE", "npm/LICENSE"); diff --git a/mod.ts b/mod.ts index 93fe3b9..a488c90 100644 --- a/mod.ts +++ b/mod.ts @@ -5,5 +5,5 @@ import Chapter from "./src/classes/Chapter.ts"; import Search from "./src/classes/Search.ts"; import Story from "./src/classes/Story.ts"; import User from "./src/classes/User.ts"; -const VERSION = "v0.2.0"; +const VERSION = "v0.3.0"; export { Chapter, Search, Story, User, VERSION, Wattpad };