Skip to content
This repository has been archived by the owner on Aug 28, 2022. It is now read-only.

Commit

Permalink
feat: finish mapping all data
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jun 20, 2021
1 parent 2686a41 commit ce38f9c
Show file tree
Hide file tree
Showing 14 changed files with 1,483 additions and 442 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lint": "eslint src scripts __tests__ --ext ts,mjs --fix",
"format": "prettier --write --loglevel=warn {src,scripts}/**/*.{ts,json}",
"test": "jest",
"start": "node --experimental-json-modules generated/api/index.js",
"start": "node generated/api/index.js",
"build": "tsc -b src",
"watch": "tsc -b src -w",
"clean": "node scripts/clean.mjs",
Expand Down Expand Up @@ -58,14 +58,12 @@
"@graphql-codegen/typescript": "^1.22.1",
"@graphql-codegen/typescript-resolvers": "^1.19.2",
"@sapphire/eslint-config": "3.2.0",
"@sapphire/fetch": "^1.0.3",
"@sapphire/prettier-config": "1.1.4",
"@sapphire/time-utilities": "^1.3.4",
"@sapphire/ts-config": "2.3.0",
"@types/jest": "^26.0.23",
"@types/koa": "^2.13.3",
"@types/node": "^15.12.4",
"@types/node-fetch": "^2.5.10",
"apollo-server-koa": "^2.25.1",
"class-validator": "^0.13.1",
"cz-conventional-changelog": "^3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/people.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import GraphQLCollection from '#utils/GraphQLCollection';
import type { StarWarsApi } from '#utils/star-wars';

/** The Star Wars people */
/** The Star Wars People */
export default new GraphQLCollection<string, StarWarsApi.Person>([
[
'lukeskywalker',
Expand Down
2 changes: 1 addition & 1 deletion src/assets/planets.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import GraphQLCollection from '#utils/GraphQLCollection';
import type { StarWarsApi } from '#utils/star-wars';

/** The Star Wars planets */
/** The Star Wars Planets */
export default new GraphQLCollection<string, StarWarsApi.Planet>([
[
'tatooine',
Expand Down
212 changes: 0 additions & 212 deletions src/assets/starships.json

This file was deleted.

Loading

0 comments on commit ce38f9c

Please sign in to comment.