Skip to content

Commit

Permalink
feat: fix demo app issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahalya Pai authored and Ahalya Pai committed Jan 3, 2025
1 parent 19271b6 commit d39d103
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"ts-loader": "^9.2.8",
"webpack": "^5.59.1",
"webpack-cli": "^5.1.4",
"webpack-merge": "^5.7.3",
"webpack-dev-server": "^4.3.1"
"webpack-merge": "^5.7.3"
}
}
2 changes: 1 addition & 1 deletion demo/webpack/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = {
template: resolve(__dirname, '../index.html'),
}),
new webpack.ProvidePlugin({
process: 'process/browser', // Provide process globally
process: require.resolve('process/browser')
}),
],
performance: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {
ExportButtonProps,
ParsedDocs,
ResponsiveSidebarLayout,
} from '@stoplight/elements-core';
import { ExtensionAddonRenderer } from '@stoplight/elements-core/components/Docs';
} from '@jpmorganchase/elemental-core';
import { ExtensionAddonRenderer } from '@jpmorganchase/elemental-core/components/Docs';
import { NodeType } from '@stoplight/types';
import * as React from 'react';
import { Redirect, useLocation } from 'react-router-dom';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
TableOfContents,
TableOfContentsItem,
} from '@jpmorganchase/elemental-core';
import { ExtensionAddonRenderer } from '@stoplight/elements-core/components/Docs';
import { ExtensionAddonRenderer } from '@jpmorganchase/elemental-core/components/Docs';
import { Flex, Heading } from '@stoplight/mosaic';
import { NodeType } from '@stoplight/types';
import * as React from 'react';
Expand Down
4 changes: 2 additions & 2 deletions packages/elements/src/components/API/APIWithStackedLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
HttpMethodColors,
ParsedDocs,
TryItWithRequestSamples,
} from '@jpmorganchase/elements-core';
import { ExtensionAddonRenderer } from '@stoplight/elements-core/components/Docs';
} from '@jpmorganchase/elemental-core';
import { ExtensionAddonRenderer } from '@jpmorganchase/elemental-core/components/Docs';
import { Box, Flex, Heading, Icon, Tab, TabList, TabPanel, TabPanels, Tabs } from '@stoplight/mosaic';
import { HttpMethod, NodeType } from '@stoplight/types';
import cn from 'classnames';
Expand Down
2 changes: 1 addition & 1 deletion packages/elements/src/containers/API.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
withRouter,
withStyles,
} from '@jpmorganchase/elemental-core';
import { ExtensionAddonRenderer } from '@jpmorganchase/elements-core/components/Docs';
import { ExtensionAddonRenderer } from '@jpmorganchase/elemental-core/components/Docs';
import { Box, Flex, Icon } from '@stoplight/mosaic';
import { flow } from 'lodash';
import * as React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion packages/elements/src/containers/story-helper.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ElementsOptionsProvider } from '@stoplight/elements-core/context/Options';
import { ElementsOptionsProvider } from '@jpmorganchase/elemental-core/context/Options';
import { MarkdownViewer } from '@stoplight/markdown-viewer';
import { Box } from '@stoplight/mosaic';
import * as React from 'react';
Expand Down

0 comments on commit d39d103

Please sign in to comment.