@openeventkit/event-site 1.0.38 → 1.0.39

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.
package/env.template CHANGED
@@ -29,4 +29,5 @@ GATSBY_SENTRY_TRACE_SAMPLE_RATE=
29
29
  GATSBY_SENTRY_AUTH_TOKEN=
30
30
  GATSBY_SENTRY_RELEASE=
31
31
  GATSBY_METADATA_TITLE=
32
- GATSBY_METADATA_DESCRIPTION=
32
+ GATSBY_METADATA_DESCRIPTION=
33
+ GATSBY_CMS_BACKEND_REPO=
package/gatsby-browser.js CHANGED
@@ -38,26 +38,31 @@ export const onClientEntry = () => {
38
38
  return event;
39
39
  },
40
40
  release: process.env.GATSBY_SENTRY_RELEASE,
41
- integrations: [new RewriteFramesIntegration(
42
- {
43
- iteratee: (frame) => {
44
- // @see https://github.com/getsentry/sentry-javascript/blob/f46f5660114ee625af6e4db895565ae4a36558ae/packages/integrations/src/rewriteframes.ts#L70
45
- // rewrite frames to remove the dynamic hash version to match the abs_path
46
- if (!frame.filename) {
47
- return frame;
48
- }
49
- const isComponentFrame = /component---src-pages-(\w*)-js(-\w*).js/.test(frame.filename);
50
- if(isComponentFrame){
51
- frame.filename = frame.filename.replace(/(component---src-pages-(\w*)-js)(-\w*).js$/,'$1.js')
52
- }
53
- const isAppFrame = /app(-\w*).js/.test(frame.filename);
54
- if(isAppFrame){
55
- frame.filename = frame.filename.replace(/app(-\w*).js$/,'app.js')
56
- }
57
- return frame;
41
+ integrations: [
42
+
43
+ new RewriteFramesIntegration
44
+ (
45
+ {
46
+ iteratee: (frame) => {
47
+ // @see https://github.com/getsentry/sentry-javascript/blob/f46f5660114ee625af6e4db895565ae4a36558ae/packages/integrations/src/rewriteframes.ts#L70
48
+ // rewrite frames to remove the dynamic hash version to match the abs_path
49
+ if (!frame.filename) {
50
+ return frame;
51
+ }
52
+ const isComponentFrame = /component---src-pages-(\w*)-js(-\w*).js/.test(frame.filename);
53
+ if(isComponentFrame){
54
+ frame.filename = frame.filename.replace(/(component---src-pages-(\w*)-js)(-\w*).js$/,'$1.js')
55
+ }
56
+ const isAppFrame = /app(-\w*).js/.test(frame.filename);
57
+ if(isAppFrame){
58
+ frame.filename = frame.filename.replace(/app(-\w*).js$/,'app.js')
59
+ }
60
+ return frame;
61
+ }
58
62
  }
59
- }
60
- )],
63
+ ),
64
+ new Sentry.Replay()
65
+ ],
61
66
  });
62
67
  window.Sentry = Sentry;
63
68
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openeventkit/event-site",
3
3
  "description": "Event Site",
4
- "version": "1.0.38",
4
+ "version": "1.0.39",
5
5
  "author": "Tipit LLC",
6
6
  "dependencies": {
7
7
  "@mui/base": "^5.0.0-alpha.114",
@@ -42,7 +42,7 @@
42
42
  "font-awesome": "^4.7.0",
43
43
  "formik": "^2.2.9",
44
44
  "fs-extra": "^9.0.1",
45
- "full-schedule-widget": "^2.0.32",
45
+ "full-schedule-widget": "^2.0.33",
46
46
  "gatsby": "^5.8.1",
47
47
  "gatsby-alias-imports": "^1.0.6",
48
48
  "gatsby-plugin-image": "^3.8.0",
@@ -2,6 +2,8 @@ import configurationsCollection from "./collections/configurationsCollection";
2
2
  import defaultPagesCollection from "./collections/defaultPagesCollection";
3
3
  import contentPagesCollection from "./collections/contentPagesCollection";
4
4
 
5
+ const CMS_BACKEND_REPO = process.env.GATSBY_CMS_BACKEND_REPO;
6
+
5
7
  export const collections = [
6
8
  configurationsCollection,
7
9
  defaultPagesCollection,
@@ -11,7 +13,7 @@ export const collections = [
11
13
  const config = {
12
14
  backend: {
13
15
  name: "github",
14
- repo: "OpenEventKit/event-site",
16
+ repo: CMS_BACKEND_REPO,
15
17
  branch: "main",
16
18
  commit_messages: {
17
19
  create: "Create {{collection}} “{{slug}}”",
@@ -1,17 +1 @@
1
- {
2
- "widgets": {
3
- "chat": {
4
- "showQA": false,
5
- "showHelp": false,
6
- "defaultScope": "page"
7
- },
8
- "schedule": {
9
- "allowClick": true
10
- }
11
- },
12
- "favicons": {
13
- "favicon180": "/img/favicon.png",
14
- "favicon32": "/img/favicon.png",
15
- "favicon16": "/img/favicon.png"
16
- }
17
- }
1
+ {"widgets":{"chat":{"showQA":false,"showHelp":false,"defaultScope":"page"},"schedule":{"allowClick":true}},"favicons":{"favicon180":"/img/favicon.png","favicon32":"/img/favicon.png","favicon16":"/img/favicon.png"},"staticJsonFilesBuildTime":[{"file":"src/data/summit.json","build_time":1689351620274},{"file":"src/data/events.json","build_time":1689351625630},{"file":"src/data/events.idx.json","build_time":1689351625635},{"file":"src/data/speakers.json","build_time":1689351626704},{"file":"src/data/speakers.idx.json","build_time":1689351626726},{"file":"src/data/voteable-presentations.json","build_time":1689351627083}],"lastBuild":1689351627084}
@@ -55,7 +55,7 @@ export const LobbyPageTemplate = class extends React.Component {
55
55
  <PageHeader
56
56
  title={hero.title}
57
57
  subtitle={hero.subTitle}
58
- backgroundImageSrc={hero.image?.src}
58
+ backgroundImageSrc={hero.background?.src}
59
59
  />
60
60
  }
61
61
  <div className="px-5 py-5 mb-6">