Skip to content

Commit

Permalink
Merge pull request #780 from parameter1/mindful-web
Browse files Browse the repository at this point in the history
Use mindful-web packages
  • Loading branch information
brandonbk authored Dec 17, 2024
2 parents 1fec001 + 39a980c commit 65b4625
Show file tree
Hide file tree
Showing 145 changed files with 1,008 additions and 1,008 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// eslint-disable-next-line import/no-extraneous-dependencies
module.exports = require('@parameter1/base-cms-eslint/eslintrc.server');
module.exports = require('@mindful-web/eslint/eslintrc.server');
6 changes: 3 additions & 3 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
###############################################
with:
ecr_registry: ${{ vars.AWS_ECR_REGISTRY }}
docker_image: ${{ vars.AWS_ECR_REGISTRY }}/base-cms-websites:${{ matrix.site.account }}-${{ matrix.site.dir }}-${{ needs.version.outputs.version }}
docker_image: ${{ vars.AWS_ECR_REGISTRY }}/mindful-web/websites:${{ matrix.site.account }}-${{ matrix.site.dir }}-${{ needs.version.outputs.version }}
site_host: ${{ matrix.site.dir }}
push: true
secrets: inherit
Expand All @@ -89,9 +89,9 @@ jobs:
###############################################
with:
ecr_registry: ${{ vars.AWS_ECR_REGISTRY }}
docker_image: ${{ vars.AWS_ECR_REGISTRY }}/base-cms-websites:${{ matrix.site.account }}-${{ matrix.site.dir }}-${{ needs.version.outputs.version }}
docker_image: ${{ vars.AWS_ECR_REGISTRY }}/mindful-web/websites:${{ matrix.site.account }}-${{ matrix.site.dir }}-${{ needs.version.outputs.version }}
infra_stack: ${{ matrix.site.stack }}
rancher_label_key: basecms-website
rancher_label_key: mindful-web-website
rancher_label_val: ${{ matrix.site.rancher_label }}
site_dir: ${{ matrix.site.dir }}
site_id: ${{ matrix.site.id }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
###############################################
with:
ecr_registry: ${{ vars.AWS_ECR_REGISTRY }}
docker_image: ${{ vars.AWS_ECR_REGISTRY }}/base-cms-websites-staging:${{ matrix.site.account }}-${{ matrix.site.dir }}-${{ needs.version.outputs.version }}
docker_image: ${{ vars.AWS_ECR_REGISTRY }}/mindful-web/websites-staging:${{ matrix.site.account }}-${{ matrix.site.dir }}-${{ needs.version.outputs.version }}
site_host: ${{ matrix.site.dir }}
push: true
secrets: inherit
Expand All @@ -87,8 +87,8 @@ jobs:
#^# Make sure this matches the site matrix! #^#
###############################################
with:
docker_image: ${{ vars.AWS_ECR_REGISTRY }}/base-cms-websites-staging:${{ matrix.site.account }}-${{ matrix.site.dir }}-${{ needs.version.outputs.version }}
docker_image: ${{ vars.AWS_ECR_REGISTRY }}/mindful-web/websites-staging:${{ matrix.site.account }}-${{ matrix.site.dir }}-${{ needs.version.outputs.version }}
infra_stack: ${{ matrix.site.stack }}
rancher_label_key: basecms-website
rancher_label_key: mindful-web-website
rancher_label_val: ${{ matrix.site.rancher_label }}
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14.21

- uses: actions/cache@v3
- uses: actions/cache@v4
id: yarn-cache
with:
path: '**/node_modules'
Expand Down
20 changes: 10 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ x-env-defaults: &env
IDENTITYX_API_TOKEN: ${IDENTITYX_API_TOKEN-(unset)}
OMEDA_APP_ID: ${OMEDA_APP_ID-(unset)}
OMEDA_INPUT_ID: ${OMEDA_INPUT_ID-(unset)}
BASE_BROWSE_GRAPHQL_URI: ${BASE_BROWSE_GRAPHQL_URI-https://base-browse.tauron.base.parameter1.com/graphql}
BASE_BROWSE_GRAPHQL_URI: ${BASE_BROWSE_GRAPHQL_URI-https://browse.tauron.mindful-web.parameter1.com/graphql}
GLOBAL_50_250_DOCS_API_KEY: ${GLOBAL_50_250_DOCS_API_KEY-(unset)}
SENDGRID_API_KEY: ${SENDGRID_API_KEY-(unset)}
SENDGRID_DEV_TO: ${[email protected]}
Expand All @@ -38,18 +38,18 @@ x-env-defaults: &env

x-env-tauron: &env-tauron
<<: *env
GRAPHQL_URI: ${GRAPHQL_URI-https://tauron.graphql.base.parameter1.com}
OEMBED_URI: ${OEMBED_URI-https://tauron.oembed.base.parameter1.com}
RSS_URI: ${RSS_URI-https://tauron.rss.base.parameter1.com}
SITEMAPS_URI: ${SITEMAPS_URI-https://tauron.sitemaps.base.parameter1.com}
GRAPHQL_URI: ${GRAPHQL_URI-https://tauron.graphql.mindful-web.parameter1.com}
OEMBED_URI: ${OEMBED_URI-https://tauron.oembed.mindful-web.parameter1.com}
RSS_URI: ${RSS_URI-https://tauron.rss.mindful-web.parameter1.com}
SITEMAPS_URI: ${SITEMAPS_URI-https://tauron.sitemaps.mindful-web.parameter1.com}

x-env-leonis: &env-leonis
<<: *env
GRAPHQL_URI: ${GRAPHQL_URI-https://graphql.leonis.base.parameter1.com}
OEMBED_URI: ${OEMBED_URI-https://oembed.leonis.base.parameter1.com}
RSS_URI: ${RSS_URI-https://rss.leonis.base.parameter1.com}
SITEMAPS_URI: ${SITEMAPS_URI-https://sitemaps.leonis.base.parameter1.com}
BASE_BROWSE_GRAPHQL_URI: ${BASE_BROWSE_GRAPHQL_URI-https://base-browse.leonis.base.parameter1.com/graphql}
GRAPHQL_URI: ${GRAPHQL_URI-https://graphql.leonis.mindful-web.parameter1.com}
OEMBED_URI: ${OEMBED_URI-https://oembed.leonis.mindful-web.parameter1.com}
RSS_URI: ${RSS_URI-https://rss.leonis.mindful-web.parameter1.com}
SITEMAPS_URI: ${SITEMAPS_URI-https://sitemaps.leonis.mindful-web.parameter1.com}
BASE_BROWSE_GRAPHQL_URI: ${BASE_BROWSE_GRAPHQL_URI-https://browse.leonis.mindful-web.parameter1.com/graphql}

x-env-development: &env-development
<<: *env
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"scripts": {
"build": "lerna run build",
"compile": "lerna run compile",
"generate-gha-workflows": "basecms-website generate-gha-workflows",
"generate-gha-workflows": "mindful-web-website generate-gha-workflows",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"test": "lerna run test"
},
"devDependencies": {
"@parameter1/base-cms-eslint": "^4.74.0",
"@parameter1/base-cms-marko-compiler": "^4.74.0",
"@parameter1/browserslist-config-base-cms": "^4.74.0",
"@mindful-web/eslint": "^1.0.0",
"@mindful-web/marko-compiler": "^1.0.0",
"@mindful-web/browserslist-config": "^1.0.0",
"lerna": "^6.5.1"
},
"engines": {
Expand All @@ -34,6 +34,6 @@
],
"dependencies": {},
"browserslist": [
"extends @parameter1/browserslist-config-base-cms"
"extends @mindful-web/browserslist-config"
]
}
2 changes: 1 addition & 1 deletion packages/global/browser/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// eslint-disable-next-line import/no-extraneous-dependencies
module.exports = require('@parameter1/base-cms-eslint/eslintrc.browser');
module.exports = require('@mindful-web/eslint/eslintrc.browser');
2 changes: 1 addition & 1 deletion packages/global/browser/dynamic-site-menu-positioner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script>
import EventBus from '@parameter1/base-cms-marko-web/browser/event-bus';
import EventBus from '@mindful-web/marko-web/browser/event-bus';
export default {
created() {
Expand Down
4 changes: 2 additions & 2 deletions packages/global/browser/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import MonoRail from '@parameter1/base-cms-marko-web-theme-monorail/browser';
import Leaders from '@parameter1/base-cms-marko-web-leaders/browser';
import MonoRail from '@mindful-web/marko-web-theme-monorail/browser';
import Leaders from '@mindful-web/marko-web-leaders/browser';

const ImageSlider = () => import(/* webpackChunkName: "global-image-slider" */ './image-slider.vue');
const DynamicSiteMenuPositioner = () => import(/* webpackChunkName: "dynamic-site-menu-positioner" */ './dynamic-site-menu-positioner.vue');
Expand Down
2 changes: 1 addition & 1 deletion packages/global/browser/ssr.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import ThemeSSRComponents from '@parameter1/base-cms-marko-web-theme-monorail/browser/ssr';
import ThemeSSRComponents from '@mindful-web/marko-web-theme-monorail/browser/ssr';

export default ThemeSSRComponents;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { get } from "@parameter1/base-cms-object-path";
import { get } from "@mindful-web/object-path";

$ const { config } = out.global;

Expand Down
6 changes: 3 additions & 3 deletions packages/global/components/blocks/hero-card-deck.marko
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import defaultValue from "@parameter1/base-cms-marko-core/utils/default-value";
import queryFragment from "@parameter1/base-cms-marko-web-theme-monorail/graphql/fragments/content-list";
import sectionFragment from "@parameter1/base-cms-marko-web-theme-monorail//graphql/fragments/section-info";
import defaultValue from "@mindful-web/marko-core/utils/default-value";
import queryFragment from "@mindful-web/marko-web-theme-monorail/graphql/fragments/content-list";
import sectionFragment from "@mindful-web/marko-web-theme-monorail//graphql/fragments/section-info";

$ const { i18n } = out.global;

Expand Down
4 changes: 2 additions & 2 deletions packages/global/components/blocks/native-x-list.marko
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defaultValue } from "@parameter1/base-cms-marko-web/utils";
import convertAdToNode from "@parameter1/base-cms-marko-web-native-x/utils/convert-ad-to-node";
import { defaultValue } from "@mindful-web/marko-web/utils";
import convertAdToNode from "@mindful-web/marko-web-native-x/utils/convert-ad-to-node";

$ const { nativeX: nxConfig, i18n } = out.global;
$ const aliases = defaultValue(input.aliases, []);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getAsArray } from "@parameter1/base-cms-object-path";
import { getAsArray } from "@mindful-web/object-path";
import shuffle from "@pmmi-media-group/package-global/utils/shuffle-array";
import DataStudy from "./promos/data-study";
import PackExpoXpress from "./promos/pack-expo-xpress";
Expand Down
4 changes: 2 additions & 2 deletions packages/global/components/blocks/promos/standard.marko
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { get } from "@parameter1/base-cms-object-path";
import defaultValue from "@parameter1/base-cms-marko-core/utils/default-value";
import { get } from "@mindful-web/object-path";
import defaultValue from "@mindful-web/marko-core/utils/default-value";

$ const { i18n } = out.global;
$ const { node } = input;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getAsArray } from "@parameter1/base-cms-object-path";
import queryFragment from "@parameter1/base-cms-marko-web-theme-monorail/graphql/fragments/top-stories-block";
import { getAsArray } from "@mindful-web/object-path";
import queryFragment from "@mindful-web/marko-web-theme-monorail/graphql/fragments/top-stories-block";

$ const blockName = "section-list-deck";
$ const sectionIds = getAsArray(input, "sectionIds");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import queryFragment from "@parameter1/base-cms-marko-web-theme-monorail/graphql/fragments/section-feed-block";
import sectionFragment from "@parameter1/base-cms-marko-web-theme-monorail/graphql/fragments/section-info";
import queryFragment from "@mindful-web/marko-web-theme-monorail/graphql/fragments/section-feed-block";
import sectionFragment from "@mindful-web/marko-web-theme-monorail/graphql/fragments/section-info";
import handleContentTypePrimarySection from "@pmmi-media-group/package-global/utils/handle-content-type-primary-section";

$ const { i18n } = out.global;
Expand Down
8 changes: 4 additions & 4 deletions packages/global/components/body-with-injection.marko
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getAsArray } from "@parameter1/base-cms-object-path";
import defaultValue from "@parameter1/base-cms-marko-core/utils/default-value";
import MarkoWebContentBody from "@parameter1/base-cms-marko-web/components/element/content/body";
import GAMDefineDisplayAd from "@parameter1/base-cms-marko-web-theme-monorail/components/gam/define-display-ad";
import { getAsArray } from "@mindful-web/object-path";
import defaultValue from "@mindful-web/marko-core/utils/default-value";
import MarkoWebContentBody from "@mindful-web/marko-web/components/element/content/body";
import GAMDefineDisplayAd from "@mindful-web/marko-web-theme-monorail/components/gam/define-display-ad";

$ const { global: $global } = out;
$ const { GAM } = $global;
Expand Down
2 changes: 1 addition & 1 deletion packages/global/components/company-videos.marko
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { get, getAsArray } from "@parameter1/base-cms-object-path";
import { get, getAsArray } from "@mindful-web/object-path";
import queryFragmentFn from "../graphql/fragment-factories/leadership-company-videos";

$ const { i18n, site } = out.global;
Expand Down
6 changes: 3 additions & 3 deletions packages/global/components/content-card-list.marko
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defaultValue } from "@parameter1/base-cms-marko-web/utils";
import queryFragment from "@parameter1/base-cms-marko-web-theme-monorail/graphql/fragments/section-card-list-block";
import sectionFragment from "@parameter1/base-cms-marko-web-theme-monorail/graphql/fragments/section-info";
import { defaultValue } from "@mindful-web/marko-web/utils";
import queryFragment from "@mindful-web/marko-web-theme-monorail/graphql/fragments/section-card-list-block";
import sectionFragment from "@mindful-web/marko-web-theme-monorail/graphql/fragments/section-info";

$ const { i18n } = out.global;

Expand Down
6 changes: 3 additions & 3 deletions packages/global/components/document.marko
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import createOmedaIdentityBuilder from "@parameter1/base-cms-marko-web-p1-events/utils/create-omeda-identity-builder";
import { defaultValue } from "@parameter1/base-cms-marko-web/utils";
import { get, getAsObject } from "@parameter1/base-cms-object-path";
import createOmedaIdentityBuilder from "@mindful-web/marko-web-p1-events/utils/create-omeda-identity-builder";
import { defaultValue } from "@mindful-web/marko-web/utils";
import { get, getAsObject } from "@mindful-web/object-path";

$ const {
site,
Expand Down
4 changes: 2 additions & 2 deletions packages/global/components/featured-companies.marko
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import eventLinkAttrs from "@parameter1/base-cms-marko-web-p1-events/utils/link-attrs";
import eventEntity from "@parameter1/base-cms-marko-web-p1-events/utils/base-content-entity";
import eventLinkAttrs from "@mindful-web/marko-web-p1-events/utils/link-attrs";
import eventEntity from "@mindful-web/marko-web-p1-events/utils/base-content-entity";
import queryFragment from "../graphql/fragments/featured-companies";

$ const { i18n } = out.global;
Expand Down
2 changes: 1 addition & 1 deletion packages/global/components/flows/card-deck.marko
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getAsArray } from "@parameter1/base-cms-object-path";
import { getAsArray } from "@mindful-web/object-path";

$ const blockName = "card-deck-flow";
$ const elementName = "node";
Expand Down
2 changes: 1 addition & 1 deletion packages/global/components/gam-content-targeting.marko
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getAsObject, get, getAsArray } from "@parameter1/base-cms-object-path";
import { getAsObject, get, getAsArray } from "@mindful-web/object-path";
import gamContentCategories from "@pmmi-media-group/package-global/utils/gam-content-categories";

$ const content = getAsObject(input, "obj");
Expand Down
4 changes: 2 additions & 2 deletions packages/global/components/image-slider.marko
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getAsArray } from "@parameter1/base-cms-object-path";
import { buildImgixUrl } from "@parameter1/base-cms-image";
import { getAsArray } from "@mindful-web/object-path";
import { buildImgixUrl } from "@mindful-web/image";

$ const images = getAsArray(input, "images").map(node => {
const src = buildImgixUrl(node.src, input.imageOptions);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getAsArray, getAsObject } from "@parameter1/base-cms-object-path";
import { getAsArray, getAsObject } from "@mindful-web/object-path";

$ const content = getAsObject(input, "obj");
$ const showEmail = input.showEmail != null ? input.showEmail : true;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { get, getAsObject } from "@parameter1/base-cms-object-path";
import { buildImgixUrl } from "@parameter1/base-cms-image";
import { get, getAsObject } from "@mindful-web/object-path";
import { buildImgixUrl } from "@mindful-web/image";

$ const { content } = input;
$ const image = getAsObject(content, "primaryImage");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getAsArray, getAsObject } from "@parameter1/base-cms-object-path";
import { getAsArray, getAsObject } from "@mindful-web/object-path";

$ const content = getAsObject(input, "obj");
$ const showEmail = input.showEmail != null ? input.showEmail : true;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { get } from "@parameter1/base-cms-object-path";
import { get } from "@mindful-web/object-path";

$ const { i18n } = out.global

Expand Down
12 changes: 6 additions & 6 deletions packages/global/components/layouts/content/company.marko
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { getAsArray, getAsObject, get } from "@parameter1/base-cms-object-path";
import eventLinkAttrs from "@parameter1/base-cms-marko-web-p1-events/utils/link-attrs";
import eventEntity from "@parameter1/base-cms-marko-web-p1-events/utils/base-content-entity";
import queryFragment from "@parameter1/base-cms-marko-web-theme-monorail/graphql/fragments/content-list";
import { buildImgixUrl } from "@parameter1/base-cms-image";
import imageHeight from "@parameter1/base-cms-marko-web/components/node/utils/image-height";
import { getAsArray, getAsObject, get } from "@mindful-web/object-path";
import eventLinkAttrs from "@mindful-web/marko-web-p1-events/utils/link-attrs";
import eventEntity from "@mindful-web/marko-web-p1-events/utils/base-content-entity";
import queryFragment from "@mindful-web/marko-web-theme-monorail/graphql/fragments/content-list";
import { buildImgixUrl } from "@mindful-web/image";
import imageHeight from "@mindful-web/marko-web/components/node/utils/image-height";

$ const { id, type, pageNode, ...rest } = input;
$ const sections = getAsArray(input, "sections");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getAsArray, getAsObject } from "@parameter1/base-cms-object-path";
import { getAsArray, getAsObject } from "@mindful-web/object-path";

import i18n from "../../../i18n";

Expand Down
6 changes: 3 additions & 3 deletions packages/global/components/layouts/content/default.marko
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { get, getAsArray } from "@parameter1/base-cms-object-path";
import { get, getAsArray } from "@mindful-web/object-path";
import contentIframe from "@pmmi-media-group/package-global/utils/content-iframe";
import getContentPreview from "@parameter1/base-cms-marko-web-theme-monorail/utils/get-content-preview";
import getContentPreview from "@mindful-web/marko-web-theme-monorail/utils/get-content-preview";
import handleContentTypePrimarySection from "@pmmi-media-group/package-global/utils/handle-content-type-primary-section";
import GlobalBodyWithInjection from "@pmmi-media-group/package-global/components/body-with-injection";
import splitContentBody from "@pmmi-media-group/package-global/utils/split-content-body";
import { shouldOverlay, restrictContentByReg, shouldTruncate } from "@parameter1/base-cms-marko-web-theme-monorail/utils/content-meter-helpers";
import { shouldOverlay, restrictContentByReg, shouldTruncate } from "@mindful-web/marko-web-theme-monorail/utils/content-meter-helpers";

$ const { global: $global } = out;
$ const {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { get, getAsArray } from "@parameter1/base-cms-object-path";
import defaultValue from "@parameter1/base-cms-marko-core/utils/default-value";
import { get, getAsArray } from "@mindful-web/object-path";
import defaultValue from "@mindful-web/marko-core/utils/default-value";

$ const { site } = out.global;
$ const { id, type, pageNode, ...rest } = input;
Expand Down
4 changes: 2 additions & 2 deletions packages/global/components/layouts/content/webinar.marko
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { get, getAsArray } from "@parameter1/base-cms-object-path";
import { get, getAsArray } from "@mindful-web/object-path";
import contentIframe from "@pmmi-media-group/package-global/utils/content-iframe";
import getContentPreview from "@parameter1/base-cms-marko-web-theme-monorail/utils/get-content-preview";
import getContentPreview from "@mindful-web/marko-web-theme-monorail/utils/get-content-preview";
import handleContentTypePrimarySection from "@pmmi-media-group/package-global/utils/handle-content-type-primary-section";

$ const { site, contentGatingHandler, req, i18n } = out.global;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getAsArray } from "@parameter1/base-cms-object-path";
import { getAsArray } from "@mindful-web/object-path";

$ const { site } = out.global;
$ const { id, type, pageNode, ...rest } = input;
Expand Down
4 changes: 2 additions & 2 deletions packages/global/components/layouts/content/wrapper.marko
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import hierarchyAliases from "@parameter1/base-cms-marko-web/utils/hierarchy-aliases";
import { getAsArray, get } from "@parameter1/base-cms-object-path";
import hierarchyAliases from "@mindful-web/marko-web/utils/hierarchy-aliases";
import { getAsArray, get } from "@mindful-web/object-path";

$ const { id, type, pageNode } = input;
$ const { GAM } = out.global;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import defaultValue from "@parameter1/base-cms-marko-core/utils/default-value";
import defaultDescription from "@parameter1/base-cms-marko-web/utils/published-content/description";
import queryFragment from "@parameter1/base-cms-marko-web-theme-monorail/graphql/fragments/content-list";
import { getAsArray } from "@parameter1/base-cms-object-path";
import defaultValue from "@mindful-web/marko-core/utils/default-value";
import defaultDescription from "@mindful-web/marko-web/utils/published-content/description";
import queryFragment from "@mindful-web/marko-web-theme-monorail/graphql/fragments/content-list";
import { getAsArray } from "@mindful-web/object-path";

$ const sections = getAsArray(input, "sections");
$ const queryName = defaultValue(input.queryName, "website-scheduled-content");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import hierarchyAliases from "@parameter1/base-cms-marko-web/utils/hierarchy-aliases";
import { getAsArray } from "@parameter1/base-cms-object-path";
import hierarchyAliases from "@mindful-web/marko-web/utils/hierarchy-aliases";
import { getAsArray } from "@mindful-web/object-path";

$ const { id, alias, name, pageNode } = input;
$ const sections = getAsArray(input, "sections");
Expand Down
Loading

0 comments on commit 65b4625

Please sign in to comment.