Skip to content

Commit

Permalink
feat: upgrade to deno.ns 0.8 (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Dec 17, 2021
1 parent 68ef07c commit 37009fd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.56.0
toolchain: 1.57.0
override: true
- uses: Swatinem/rust-cache@v1

Expand All @@ -31,7 +31,7 @@ jobs:

- uses: denoland/setup-deno@v1
with:
deno-version: ~1.15
deno-version: ~1.17
- run: deno lint --config deno.json
- run: deno fmt --config deno.json --check

Expand Down
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"exclude": [
"target/",
"wasm/target/",
"lib/pkg/"
"lib/pkg/",
"rs-lib/src/polyfills/scripts/"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export async function build(options: BuildOptions): Promise<void> {

const shimPackage = options.shimPackage ?? {
name: "deno.ns",
version: "0.7.3",
version: "0.8.0",
};

log("Transforming...");
Expand Down
2 changes: 1 addition & 1 deletion tests/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import { build, BuildOptions } from "../mod.ts";

const versions = {
denoNs: "0.7.3",
denoNs: "0.8.0",
chalk: "4.1.2",
nodeTypes: "16.11.1",
tsLib: "2.3.1",
Expand Down
2 changes: 1 addition & 1 deletion tests/redirects_project/mod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { isDeno } from "https://deno.land/x/[email protected]/mod.ts";
import { output } from "./mod.ts";

Deno.test("should add in test project", async () => {
Deno.test("should add in test project", () => {
if (isDeno) {
if (output() !== "deno") {
throw new Error("Invalid output.");
Expand Down

0 comments on commit 37009fd

Please sign in to comment.