Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Aug 14, 2024
1 parent ec45a1c commit e9c27eb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 82 deletions.
76 changes: 0 additions & 76 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

12 changes: 9 additions & 3 deletions build/dnt.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ await emptyDir("./npm");
await build({
entryPoints: ["./src/base64.ts"],
outDir: "./npm",
shims: { deno: true },
shims: { deno: "dev" },
package: {
// package.json properties
name: packageJson.name,
Expand All @@ -33,5 +33,11 @@ await build({
return false;
}
return true;
}
});
},
});

await Deno.writeTextFile(
"npm/.npmignore",
"*.map\n",
{ append: true },
);
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hexagon/base64",
"version": "2.0.0-dev.0",
"version": "2.0.0-dev.1",
"exports": "./src/base64.ts",
"lint": {
"include": ["src", "test"],
Expand All @@ -17,5 +17,5 @@
"tasks": {
"build": "deno test && deno run --allow-read --allow-write --allow-env --allow-net --allow-run=npm build/dnt.js"
},
"imports": { "@deno/dnt": "jsr:@deno/dnt@^0.41.3", "@std/assert": "jsr:@std/assert@^1.0.2" }
"imports": { "@deno/dnt": "jsr:@deno/dnt@^0.41.3" }
}
2 changes: 1 addition & 1 deletion tests/base64.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "jsr:@std/assert";
import { assertEquals } from "jsr:@std/assert@1.0.2";
import { base64 } from "../src/base64.ts";

Deno.test("Encode 'Hello world'", function () {
Expand Down

0 comments on commit e9c27eb

Please sign in to comment.