chore: build tuning
This commit is contained in:
parent
4330f60f32
commit
ee0832dd0b
10 changed files with 11 additions and 13 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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",
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
Reference in a new issue