Skip to content

Commit

Permalink
Merge pull request #1488 from SeedCompany/upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF authored Oct 25, 2023
2 parents 1028c93 + 1e3fc7e commit 60e0d06
Show file tree
Hide file tree
Showing 29 changed files with 9,594 additions and 9,504 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
["@babel/plugin-transform-runtime", {
"absoluteRuntime": true
}],
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-transform-numeric-separator",
"./src/server/disableSsrByDefault",
"@loadable/babel-plugin",
["babel-plugin-transform-imports", {
Expand Down
22 changes: 22 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Node Setup & Yarn Install
description: 'Setup Node.js and install dependencies with Yarn'
runs:
using: composite
steps:
- uses: actions/setup-node@v3
with:
node-version: 20

- name: Yarn cache
uses: actions/cache@v3
with:
path: .yarn/cache
key: yarn-cache-${{ hashFiles('yarn.lock', '.yarnrc.yml') }}
restore-keys: yarn-cache-

- name: Install dependencies
shell: bash
run: yarn install
env:
# Use the local cache folder, so we can cache it above
YARN_ENABLE_GLOBAL_CACHE: 'false'
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: yarn

- name: Install dependencies
run: yarn install && yarn dedupe --check
- name: Node Setup & Yarn Install
uses: ./.github/actions/setup

- name: Check for no duplicate dependencies
run: yarn dedupe --check

- name: Match API PR
uses: actions-ecosystem/action-regex-match@v2
Expand Down
25 changes: 0 additions & 25 deletions .yarn/patches/webpack-npm-4.46.0-a8158cfa7f.patch

This file was deleted.

541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.3.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.0.cjs

Large diffs are not rendered by default.

11 changes: 1 addition & 10 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.6.3.cjs
yarnPath: .yarn/releases/yarn-4.0.0.cjs

logFilters:
# discard these messages that flood the build log
Expand All @@ -18,9 +12,6 @@ packageExtensions:
peerDependencies:
'@types/node': '*'
'typescript': '*'
'@graphql-tools/graphql-tag-pluck@*':
dependencies:
'@babel/core': ^7
'@graphql-codegen/named-operations-object@*':
peerDependenciesMeta:
# It doesn't actually use this peer dep
Expand Down
5 changes: 2 additions & 3 deletions codegen.schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ generates:
placement: prepend
content: |
import { DateTime } from 'luxon';
import { CalendarDate } from '~/common';
import type { OutputData as RichTextData } from '@editorjs/editorjs';
import { CalendarDate, RichTextJson } from '~/common';
config:
scalars:
Date: CalendarDate
DateTime: DateTime
JSONObject: Record<string, any>
URL: string
RichText: RichTextData
RichText: RichTextJson
defaultScalarType: unknown
skipTypename: false
enumsAsTypes: true
Loading

0 comments on commit 60e0d06

Please sign in to comment.