Skip to content

Commit

Permalink
Bump version and cleanup docs/yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleJune committed Dec 4, 2021
1 parent c32556e commit ce9ab9c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
postgres:
image: postgres:14
env:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ You must install `docker`, `docker-compose`, and `deno`.
For development, the tests can be run with docker or deno. The GitHub actions
uses the docker build to run the tests.

Consider getting rid of the docker section.

### Docker

The build command will run `deno lint` and `deno fmt --check` to check the
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Migrate

[![version](https://img.shields.io/badge/release-0.2.1-success)](https://deno.land/x/[email protected].1)
[![version](https://img.shields.io/badge/release-0.2.2-success)](https://deno.land/x/[email protected].2)
[![CI](https://github.com/udibo/migrate/workflows/CI/badge.svg)](https://github.com/udibo/migrate/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/udibo/migrate/branch/main/graph/badge.svg?token=8Q7TSUFWUY)](https://codecov.io/gh/udibo/migrate)
[![license](https://img.shields.io/github/license/udibo/migrate)](https://github.com/udibo/migrate/blob/master/LICENSE)
Expand All @@ -21,9 +21,9 @@ Currently migrate is only implemented for Postgres. The main entrypoint is

```ts
// Import from Deno's third party module registry
import { PostgresMigrate } from "https://deno.land/x/[email protected].1/postgres.ts";
import { PostgresMigrate } from "https://deno.land/x/[email protected].2/postgres.ts";
// Import from GitHub
import { PostgresMigrate } "https://raw.githubusercontent.com/udibo/migrate/0.2.1/postgres.ts";
import { PostgresMigrate } "https://raw.githubusercontent.com/udibo/migrate/0.2.2/postgres.ts";
```
## Usage
Expand All @@ -34,7 +34,7 @@ To use the command line interface, you must create a script that will initialize
the Migrate instance and call the run command from [cli.ts](cli.ts). An example
can be found [here](#postgres-cli).
See [deno docs](https://doc.deno.land/https/deno.land/x/[email protected].1/cli.ts)
See [deno docs](https://doc.deno.land/https/deno.land/x/[email protected].2/cli.ts)
for more information.
#### Command: init
Expand Down Expand Up @@ -160,7 +160,7 @@ different ways to use the migrate module. Only one is required to use the
migrate tool.
See
[deno docs](https://doc.deno.land/https/deno.land/x/[email protected].1/postgres.ts)
[deno docs](https://doc.deno.land/https/deno.land/x/[email protected].2/postgres.ts)
for more information.
#### Postgres script
Expand Down
17 changes: 9 additions & 8 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
export { parse } from "https://deno.land/std@0.114.0/flags/mod.ts";
export type { Args } from "https://deno.land/std@0.114.0/flags/mod.ts";
export { parse } from "https://deno.land/std@0.117.0/flags/mod.ts";
export type { Args } from "https://deno.land/std@0.117.0/flags/mod.ts";

export { walk } from "https://deno.land/std@0.114.0/fs/walk.ts";
export type { WalkEntry } from "https://deno.land/std@0.114.0/fs/walk.ts";
export { walk } from "https://deno.land/std@0.117.0/fs/walk.ts";
export type { WalkEntry } from "https://deno.land/std@0.117.0/fs/walk.ts";

export {
dirname,
extname,
fromFileUrl,
relative,
resolve,
} from "https://deno.land/[email protected]/path/mod.ts";
toFileUrl,
} from "https://deno.land/[email protected]/path/mod.ts";

export { readLines } from "https://deno.land/std@0.114.0/io/bufio.ts";
export { StringReader } from "https://deno.land/std@0.114.0/io/readers.ts";
export { readLines } from "https://deno.land/std@0.117.0/io/buffer.ts";
export { StringReader } from "https://deno.land/std@0.117.0/io/readers.ts";

export { delay } from "https://deno.land/std@0.114.0/async/delay.ts";
export { delay } from "https://deno.land/std@0.117.0/async/delay.ts";
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ services:
image: postgres:14
hostname: postgres
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- "6001:5432"
Expand Down

0 comments on commit ce9ab9c

Please sign in to comment.