Skip to content

Commit

Permalink
chore(deps): upgrade deps (#4)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade deps

* fix: update jest

* fix: upgrade not on circle
  • Loading branch information
gairal authored Jan 30, 2023
1 parent cbda7f5 commit d00ea1e
Show file tree
Hide file tree
Showing 9 changed files with 2,228 additions and 2,054 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,14 @@ on:

jobs:
build:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
name: Test on node
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn build
Expand Down
2 changes: 1 addition & 1 deletion app.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
runtime: nodejs16
runtime: nodejs18
service: api
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "frank-gairal-bo",
"version": "3.0.0",
"version": "3.1.0",
"main": "dist/index.js",
"author": "@gairal",
"license": "MIT",
"private": true,
"scripts": {
"build": "tsc -p .",
"build": "tsc",
"deploy": "gcloud app deploy --project com-gairal-frank-22",
"dev": "tsnd --respawn --inspect -- ./src/index.ts",
"gcp-build": "npm run build",
Expand All @@ -17,39 +17,39 @@
"test-cov": "yarn test --collectCoverage"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/koa": "^2.13.4",
"@types/jest": "^29.4.0",
"@types/koa": "^2.13.5",
"@types/koa-logger": "^3.1.2",
"@types/koa-router": "^7.4.4",
"@types/koa__cors": "^3.1.1",
"@types/node": "^17.0.8",
"@types/supertest": "^2.0.11",
"eslint": "^8.6.0",
"@types/koa__cors": "^3.3.0",
"@types/node": "^18.11.18",
"@types/supertest": "^2.0.12",
"eslint": "^8.33.0",
"eslint-config-airbnb-typescript-prettier": "^5.0.0",
"eslint-plugin-jest": "^25.3.4",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-testing-library": "^5.0.1",
"eslint-plugin-testing-library": "^5.10.0",
"eslint-plugin-typescript-sort-keys": "^2.1.0",
"firestore-jest-mock": "^0.17.0",
"husky": "^7.0.4",
"jest": "^27.4.6",
"lint-staged": "^12.1.7",
"prettier": "^2.5.1",
"supertest": "^6.1.6",
"ts-jest": "^27.1.2",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.4"
"firestore-jest-mock": "^0.20.0",
"husky": "^8.0.3",
"jest": "^29.4.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.3",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"ts-node-dev": "^2.0.0",
"typescript": "^4.9.4"
},
"dependencies": {
"@google-cloud/firestore": "^5.0.1",
"@koa/cors": "^3.1.0",
"dotenv": "^10.0.0",
"koa": "^2.13.0",
"@koa/cors": "^4.0.0",
"dotenv": "^16.0.3",
"koa": "^2.14.1",
"koa-helmet": "^6.1.0",
"koa-logger": "^3.2.1",
"koa-router": "^10.1.0",
"winston": "^3.3.0"
"koa-router": "^12.0.0",
"winston": "^3.8.2"
},
"lint-staged": {
"*.{js,cjs,ts,svelte}": [
Expand Down
6 changes: 3 additions & 3 deletions src/routes/__tests__/education.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ describe("/education", () => {
expect(body).toHaveLength(3);

expect(body[0]).toMatchInlineSnapshot(`
Object {
"dateIn": Object {
{
"dateIn": {
"_nanoseconds": 0,
"_seconds": 1125532800,
},
"dateOut": Object {
"dateOut": {
"_nanoseconds": 0,
"_seconds": 1217462400,
},
Expand Down
2 changes: 1 addition & 1 deletion src/routes/__tests__/interest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe("/interests", () => {
expect(body).toHaveLength(10);

expect(body[0]).toMatchInlineSnapshot(`
Object {
{
"description": "China, Vietnam, Thaïland, Laos, Cambodia, Malaysia, Indonesia, India, Iceland, Ecuador, USA, Brazil, Spain, and more...",
"label": "Travel",
"order": 0,
Expand Down
10 changes: 5 additions & 5 deletions src/routes/__tests__/skill.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ describe("/skills", () => {
expect(body).toHaveLength(11);

expect(body[0]).toMatchInlineSnapshot(`
Object {
{
"label": "Server administration",
"order": 3,
"skills": Array [
Object {
"skills": [
{
"label": "Apache httpd",
"level": 70,
},
Object {
{
"label": "Apache Tomcat",
"level": 50,
},
Object {
{
"label": "Shell Script",
"level": 50,
},
Expand Down
4 changes: 2 additions & 2 deletions src/routes/__tests__/travel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ describe("/travels", () => {
expect(body).toHaveLength(59);

expect(body[0]).toMatchInlineSnapshot(`
Object {
"coordinates": Object {
{
"coordinates": {
"_latitude": 52.3702,
"_longitude": 4.89517,
},
Expand Down
20 changes: 10 additions & 10 deletions src/routes/__tests__/work.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,34 @@ describe("/works", () => {
expect(body).toHaveLength(10);

expect(body[0]).toMatchInlineSnapshot(`
Object {
"achievements": Array [
Object {
{
"achievements": [
{
"description": "Currently contributing to GraphQL APIs and NestJS/React applications",
},
Object {
{
"description": "Moved across most of the engineering teams in the organization, started in the front-end, client-facing one, migrated to the back-end, core API team to finally end up building and being tech lead / scrum master on the first feature-based, cross-stack team",
},
Object {
{
"description": "Focus on consistency, automation and scalability in our fast growing team",
"highlights": Array [
"highlights": [
"As a strong proponent of switching our code base from JS to TypeScript, I wrote the first TS library in the organization and migrated ~25%+ of the codebase to TS",
"Migrated our unit tests from Mocha/Chai to Jest for consistency across front and back-end teams. Strongly enforcing unit testing any new contributions",
"Significantly increased and enforced our linting rules and set up automated linter execution on CI, increasing scalability and fluency across teams",
],
},
Object {
{
"description": "Designed and rewrote our vehicle inventories’ ingestion flow from poll-based to pushed-based, transitioning from a twice-a-day synchronization of our database to an on-demand one",
},
Object {
{
"description": "Implemented automatic versioning through CI/CD on all our libraries saving hours of conflict merging on our pull requests due to conflicting manual version editing",
},
Object {
{
"description": "Designed and created our “vendor APIs” client library, offering a single consistent request API and response envelope for all our external API call needs",
},
],
"company": "AutoFi",
"dateIn": Object {
"dateIn": {
"_nanoseconds": 0,
"_seconds": 1554076800,
},
Expand Down
Loading

0 comments on commit d00ea1e

Please sign in to comment.