@openeventkit/event-site 2.0.63 → 2.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/gatsby-node.js +0 -9
  2. package/package.json +1 -1
package/gatsby-node.js CHANGED
@@ -4,10 +4,7 @@ const fs = require("fs");
4
4
  const webpack = require("webpack");
5
5
  const { createFilePath } = require("gatsby-source-filesystem");
6
6
  const SentryWebpackPlugin = require("@sentry/webpack-plugin");
7
-
8
7
  const { ClientCredentials } = require("simple-oauth2");
9
- const URI = require("urijs");
10
- const sizeOf = require("image-size");
11
8
 
12
9
  const myEnv = require("dotenv").config({
13
10
  path: `.env.${process.env.NODE_ENV}`,
@@ -18,8 +15,6 @@ const {
18
15
  DEFAULT_COLORS_FILE_PATH,
19
16
  COLORS_FILE_PATH,
20
17
  SITE_SETTINGS_FILE_PATH,
21
- LOBBY_PAGE_FILE_PATH,
22
- EXPO_HALL_PAGE_FILE_PATH,
23
18
  SUMMIT_FILE_PATH,
24
19
  EVENTS_FILE_PATH,
25
20
  EVENTS_IDX_FILE_PATH,
@@ -230,8 +225,6 @@ exports.onPreBootstrap = async () => {
230
225
  let marketingSettings = await SSR_getMarketingSettings(process.env.GATSBY_MARKETING_API_BASE_URL, summitId);
231
226
  const colorSettings = fs.existsSync(COLORS_FILE_PATH) ? JSON.parse(fs.readFileSync(COLORS_FILE_PATH)) : require(`./${DEFAULT_COLORS_FILE_PATH}`);
232
227
  const globalSettings = fs.existsSync(SITE_SETTINGS_FILE_PATH) ? JSON.parse(fs.readFileSync(SITE_SETTINGS_FILE_PATH)) : {};
233
- const lobbyPageSettings = fs.existsSync(LOBBY_PAGE_FILE_PATH) ? JSON.parse(fs.readFileSync(LOBBY_PAGE_FILE_PATH)) : {};
234
- const expoHallPageSettings = fs.existsSync(EXPO_HALL_PAGE_FILE_PATH) ? JSON.parse(fs.readFileSync(EXPO_HALL_PAGE_FILE_PATH)) : {};
235
228
 
236
229
  const config = {
237
230
  client: {
@@ -266,8 +259,6 @@ exports.onPreBootstrap = async () => {
266
259
 
267
260
  fs.writeFileSync(MARKETING_SETTINGS_FILE_PATH, JSON.stringify(marketingSettings), "utf8");
268
261
  fs.writeFileSync(COLORS_FILE_PATH, JSON.stringify(colorSettings), "utf8");
269
- fs.writeFileSync(LOBBY_PAGE_FILE_PATH, JSON.stringify(lobbyPageSettings), "utf8");
270
- fs.writeFileSync(EXPO_HALL_PAGE_FILE_PATH, JSON.stringify(expoHallPageSettings), "utf8");
271
262
 
272
263
  // summit
273
264
  const summit = await SSR_getSummit(summitApiBaseUrl, summitId);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openeventkit/event-site",
3
3
  "description": "Event Site",
4
- "version": "2.0.63",
4
+ "version": "2.0.64",
5
5
  "author": "Tipit LLC",
6
6
  "dependencies": {
7
7
  "@mui/base": "^5.0.0-alpha.114",