chore: build tuning

This commit is contained in:
Cory Dransfeldt 2024-08-05 13:34:20 -07:00
parent 4330f60f32
commit ee0832dd0b
No known key found for this signature in database
10 changed files with 11 additions and 13 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.4.2", "version": "21.4.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.4.2", "version": "21.4.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "21.4.2", "version": "21.4.3",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -4,7 +4,7 @@ import { sanitizeMediaString, parseCountryField } from '../../config/utilities/i
const SUPABASE_URL = process.env.SUPABASE_URL const SUPABASE_URL = process.env.SUPABASE_URL
const SUPABASE_KEY = process.env.SUPABASE_KEY const SUPABASE_KEY = process.env.SUPABASE_KEY
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY) const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)
const PAGE_SIZE = 500 const PAGE_SIZE = 1000
const fetchAllArtists = async () => { const fetchAllArtists = async () => {
let artists = [] let artists = []

View file

@ -3,7 +3,7 @@ import { createClient } from '@supabase/supabase-js'
const SUPABASE_URL = process.env.SUPABASE_URL const SUPABASE_URL = process.env.SUPABASE_URL
const SUPABASE_KEY = process.env.SUPABASE_KEY const SUPABASE_KEY = process.env.SUPABASE_KEY
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY) const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)
const PAGE_SIZE = 500 const PAGE_SIZE = 1000
const fetchAllBooks = async () => { const fetchAllBooks = async () => {
let books = [] let books = []

View file

@ -4,7 +4,7 @@ import { sanitizeMediaString, parseCountryField } from '../../config/utilities/i
const SUPABASE_URL = process.env.SUPABASE_URL const SUPABASE_URL = process.env.SUPABASE_URL
const SUPABASE_KEY = process.env.SUPABASE_KEY const SUPABASE_KEY = process.env.SUPABASE_KEY
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY) const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)
const PAGE_SIZE = 500 const PAGE_SIZE = 1000
const fetchAllConcerts = async () => { const fetchAllConcerts = async () => {
let concerts = [] let concerts = []

View file

@ -3,8 +3,7 @@ import { createClient } from '@supabase/supabase-js'
const SUPABASE_URL = process.env.SUPABASE_URL const SUPABASE_URL = process.env.SUPABASE_URL
const SUPABASE_KEY = process.env.SUPABASE_KEY const SUPABASE_KEY = process.env.SUPABASE_KEY
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY) const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)
const PAGE_SIZE = 1000
const PAGE_SIZE = 50
const fetchAllTags = async () => { const fetchAllTags = async () => {
const { data, error } = await supabase const { data, error } = await supabase

View file

@ -5,8 +5,7 @@ import { sanitizeMediaString, parseCountryField } from '../../config/utilities/i
const SUPABASE_URL = process.env.SUPABASE_URL const SUPABASE_URL = process.env.SUPABASE_URL
const SUPABASE_KEY = process.env.SUPABASE_KEY const SUPABASE_KEY = process.env.SUPABASE_KEY
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY) const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)
const PAGE_SIZE = 10000
const PAGE_SIZE = 1000
const fetchDataForPeriod = async (startPeriod, fields, table) => { const fetchDataForPeriod = async (startPeriod, fields, table) => {
let rows = [] let rows = []

View file

@ -3,7 +3,7 @@ import { createClient } from '@supabase/supabase-js'
const SUPABASE_URL = process.env['SUPABASE_URL'] const SUPABASE_URL = process.env['SUPABASE_URL']
const SUPABASE_KEY = process.env['SUPABASE_KEY'] const SUPABASE_KEY = process.env['SUPABASE_KEY']
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY) const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)
const PAGE_SIZE = 50 const PAGE_SIZE = 1000
const fetchAllTags = async () => { const fetchAllTags = async () => {
const { data, error } = await supabase const { data, error } = await supabase

View file

@ -3,7 +3,7 @@ import { createClient } from '@supabase/supabase-js'
const SUPABASE_URL = process.env.SUPABASE_URL const SUPABASE_URL = process.env.SUPABASE_URL
const SUPABASE_KEY = process.env.SUPABASE_KEY const SUPABASE_KEY = process.env.SUPABASE_KEY
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY) const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)
const PAGE_SIZE = 100 const PAGE_SIZE = 500
const fetchAllRobots = async () => { const fetchAllRobots = async () => {
let robots = [] let robots = []

View file

@ -3,7 +3,7 @@ import { createClient } from '@supabase/supabase-js'
const SUPABASE_URL = process.env.SUPABASE_URL const SUPABASE_URL = process.env.SUPABASE_URL
const SUPABASE_KEY = process.env.SUPABASE_KEY const SUPABASE_KEY = process.env.SUPABASE_KEY
const supabase = createClient(SUPABASE_URL, SUPABASE_KEY) const supabase = createClient(SUPABASE_URL, SUPABASE_KEY)
const PAGE_SIZE = 500 const PAGE_SIZE = 1000
const fetchAllShows = async () => { const fetchAllShows = async () => {
let shows = [] let shows = []