Skip to content

Commit

Permalink
test: updating test-project to the new format
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjoy committed Dec 10, 2024
1 parent ab7f840 commit 9cd8852
Show file tree
Hide file tree
Showing 9 changed files with 464 additions and 434 deletions.
2 changes: 1 addition & 1 deletion test-project/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 9 additions & 10 deletions test-project/site.config.build.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import { authenticatedPageConfig, examplePageConfig, iframePluginConfig, pluginPageConfig } from './src';
import { defaultFooterConfig, defaultHeaderConfig, defaultShellConfig, EnvironmentTypes, ProjectSiteConfig } from '@openedx/frontend-base';

import { createInternalAppConfig, EnvironmentTypes, ProjectSiteConfig } from '@openedx/frontend-base';
import { authenticatedPageConfig, examplePageConfig, iframePluginConfig, pluginPageConfig } from './src';
import './src/project.scss';

const config: ProjectSiteConfig = {
apps: [
createInternalAppConfig('examplePage', examplePageConfig),
createInternalAppConfig('authenticatedPage', authenticatedPageConfig),
createInternalAppConfig('pluginPage', pluginPageConfig),

// This site is serving its own iframe plugin and embedding it in the PluginPage. This is
// obviously not quite like a real world use case, but it helps us test the mechanism without
// adding another test project to the library.
createInternalAppConfig('iframePlugin', iframePluginConfig),
defaultShellConfig,
defaultHeaderConfig,
defaultFooterConfig,
examplePageConfig,
authenticatedPageConfig,
pluginPageConfig,
iframePluginConfig,
],

ENVIRONMENT: EnvironmentTypes.PRODUCTION,
Expand Down
Loading

0 comments on commit 9cd8852

Please sign in to comment.