Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump eslint from 8.52.0 to 8.53.0 #184

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
58 changes: 11 additions & 47 deletions .github/workflows/Builld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ on:
- main

jobs:
lint:
name: ESLint
check:
name: Build
runs-on: ubuntu-latest
steps:
- name: check out code 🛎
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node v17
uses: actions/setup-node@v2
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: "17.x"
node-version: 18
registry-url: "https://registry.npmjs.org"
cache: "npm"
cache-dependency-path: "**/package-lock.json"
Expand All @@ -28,46 +28,10 @@ jobs:
run: npm ci

- name: Run ESLint
run: npm run lint
run: npm run check:lint

typescript:
name: TypeScript
runs-on: ubuntu-latest
steps:
- name: check out code 🛎
uses: actions/checkout@v2

- name: Install Node v17
uses: actions/setup-node@v2
with:
node-version: "17.x"
registry-url: "https://registry.npmjs.org"
cache: "npm"
cache-dependency-path: "**/package-lock.json"

- name: Install dependencies
run: npm ci

- name: Run TypeScript compiler
run: npm run type-check

prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- name: check out code 🛎
uses: actions/checkout@v2

- name: Install Node v17
uses: actions/setup-node@v2
with:
node-version: "17.x"
registry-url: "https://registry.npmjs.org"
cache: "npm"
cache-dependency-path: "**/package-lock.json"

- name: Install dependencies
run: npm ci
- name: Run Prettier
run: npm run check:prettier

- name: Run prettier
run: npm run format-check
- name: Run Type
run: npm run build
8 changes: 3 additions & 5 deletions .github/workflows/Publish - Stable.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
name: Publish - Stable
on:
workflow_dispatch:
#release:
# types: [created]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version: 18
registry-url: "https://registry.npmjs.org"

- name: Install root dependencies
Expand Down
148 changes: 3 additions & 145 deletions CHANGELOG.md

Large diffs are not rendered by default.

33 changes: 2 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,11 @@ Node.js engine for global aviation weather. Written with typescript.
# Examples

```ts
import { Client } from "aviationweather";
import { getMetar } from "aviationweather";

const client = new Client({ debug: false });

client
.AW({
datasource: "METARS",
stationString: "KJFK",
hoursBeforeNow: 2,
})
.then((res) => {
res.forEach((r) => console.log(r));
});

client.AVT7("ZJQH").then((res) => {
console.log(res);
});
getMetar({ ids: "KJFK", format: "json" }).then(({ data }) => console.log(data));
```

# API Coverage

## AVIATION WEATHER CENTER

- METARs
- Aircraft Reports
- TAFs
- AIR/SIGMETs
- G-AIRMETs
- STATION INFO

## AVT7

- METAR

# Help or support

Join [discord server](https://discord.gg/xkP9paz5X3)
Loading