Skip to content

Commit

Permalink
Merge pull request #216 from drashland/upgrade-deno
Browse files Browse the repository at this point in the history
upgrade deno to v1.0.1
  • Loading branch information
crookse authored May 25, 2020
2 parents 829c29e + db7787d commit a34e401
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Run the following command.
console/bump_verisons
```

Update the version property in `mod.ts`:
Update the version property in `mod.ts` to Deno's (as shown in their releases):
```typescript
export const version: string = "the new version here"; // "v0.41.1"
```
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
```typescript
// File: app.ts

import { Drash } from "https://deno.land/x/[email protected].0/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].1/mod.ts";

class HomeResource extends Drash.Http.Resource {
static paths = ["/"];
Expand Down
4 changes: 4 additions & 0 deletions REQUIREMENTS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Requirements

* v1.0.1

* Deno v1.0.1

* v1.0.0

* Deno v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion console/install_deno
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

(
export DENO_LATEST_VERSION="v0.42.0"
export DENO_LATEST_VERSION="v1.0.1"
curl -fsSL https://deno.land/x/install/install.sh | sh -s $DENO_LATEST_VERSION
)
2 changes: 1 addition & 1 deletion console/typescript/bump_versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ async function bumpVersions(fromV: string, toV: string) {
return depData;
}

let result = await bumpVersions("v1.0.0", "v0.50.0");
let result = await bumpVersions("v0.50.0", "v0.52.0");

console.log(result);
14 changes: 7 additions & 7 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,35 @@ export {
ServerRequest,
serve,
serveTLS,
} from "https://deno.land/std@v0.50.0/http/server.ts";
} from "https://deno.land/std@v0.52.0/http/server.ts";

export {
STATUS_TEXT,
Status,
} from "https://deno.land/std@v0.50.0/http/http_status.ts";
} from "https://deno.land/std@v0.52.0/http/http_status.ts";

export {
assertEquals,
assertThrows,
} from "https://deno.land/std@v0.50.0/testing/asserts.ts";
} from "https://deno.land/std@v0.52.0/testing/asserts.ts";

export {
BufReader,
ReadLineResult,
} from "https://deno.land/std@v0.50.0/io/bufio.ts";
} from "https://deno.land/std@v0.52.0/io/bufio.ts";

export {
StringReader,
} from "https://deno.land/std@v0.50.0/io/readers.ts";
} from "https://deno.land/std@v0.52.0/io/readers.ts";

export {
FormFile,
MultipartReader,
} from "https://deno.land/std@v0.50.0/mime/multipart.ts";
} from "https://deno.land/std@v0.52.0/mime/multipart.ts";

export {
Cookie,
delCookie,
getCookies,
setCookie,
} from "https://deno.land/std@v0.50.0/http/cookie.ts";
} from "https://deno.land/std@v0.52.0/http/cookie.ts";
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export namespace Drash {
*
* @property string version
*/
export const version: string = "v1.0.0";
export const version: string = "v1.0.1";

export namespace Compilers {
export class TemplateEngine extends BaseTemplateEngine {}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/mod_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@ members.test("mod_test.ts | Drash.addLogger(): names must be unique", () => {

members.test("mod_test.ts | Drash.version: must be current version", () => {
const version = members.Drash.version;
members.assert.equals(version, "v1.0.0");
members.assert.equals(version, "v1.0.1");
});

0 comments on commit a34e401

Please sign in to comment.