-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
248 additions
and
188 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
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
dist | ||
# Temporary build files for NPM | ||
npm |
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,23 +1,30 @@ | ||
import { build, emptyDir } from "https://deno.land/x/dnt@0.40.0/mod.ts"; | ||
import { build, emptyDir } from "@deno/dnt"; | ||
|
||
await emptyDir("./npm"); | ||
await build({ | ||
entryPoints: ["./index.ts"], | ||
outDir: "./npm", | ||
shims: { | ||
deno: true, | ||
}, | ||
package: { | ||
name: "uwuifier", | ||
author: "Sjors van Holst", | ||
license: "MIT", | ||
version: "4.1.0", | ||
version: "4.1.1", | ||
homepage: "https://uwuifier.com", | ||
repository: "git://github.com/Schotsl/Uwuifier.git", | ||
description: | ||
"Uwuifier is a lightweight package that allows you to uwuify any words or sentences (excluding URL's) with many configurable parameters", | ||
`Uwuifier is a lightweight package that allows you to uwuify any words or sentences (excluding URL's) with many configurable parameters!`, | ||
repository: { | ||
url: "git+https://github.com/Schotsl/Uwuifier.git", | ||
type: "git", | ||
}, | ||
bugs: { | ||
url: "https://github.com/Schotsl/Uwuifier/issues", | ||
}, | ||
}, | ||
postBuild() { | ||
Deno.copyFileSync("README.md", "npm/README.md"); | ||
Deno.copyFileSync("LICENSE.md", "npm/LICENSE.md"); | ||
}, | ||
outDir: "./dist", | ||
entryPoints: ["./index.ts"], | ||
}); | ||
|
||
Deno.copyFileSync("README.md", "dist/README.md"); | ||
Deno.copyFileSync("LICENSE.md", "dist/LICENSE.md"); |
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,5 +1,14 @@ | ||
{ | ||
"name": "@schotsl/uwuifier", | ||
"version": "4.1.0", | ||
"exports": "./index.ts" | ||
"version": "4.1.1", | ||
"exports": "./index.ts", | ||
"imports": { "@deno/dnt": "jsr:@deno/dnt@^0.41.3" }, | ||
"exclude": ["npm"], | ||
"tasks": { | ||
"lint": "deno lint", | ||
"test": "deno test test.ts", | ||
"build": "deno run --allow-env --allow-read --allow-write --allow-net --allow-run build.ts", | ||
"format": "deno fmt", | ||
"format:check": "deno fmt --check" | ||
} | ||
} |
Oops, something went wrong.