Skip to content

Commit 3b32081

Browse files
authored
Add mdx-deck template (codesandbox#1660)
**What kind of change does this PR introduce?** Adds MDX Deck as a server template Here is an example of it working with node: https://codesandbox.io/s/jvo0z15rx9 Importer PR: codesandbox/codesandbox-importers#31
1 parent 65dd7f3 commit 3b32081

File tree

60 files changed

+121
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+121
-58
lines changed

packages/app/src/app/components/CodeEditor/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22

33
import {
44
Module,

packages/app/src/app/components/Preview/DevTools/Tests/TestOverview/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22
import styled from 'styled-components';
33

44
export const Container = styled.div`

packages/app/src/app/components/Preview/DevTools/Tests/TestProgressBar/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22
import styled from 'styled-components';
33

44
export const ProgressBar = styled.div`

packages/app/src/app/components/Preview/DevTools/Tests/TestSummary/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22
import styled from 'styled-components';
33

44
export const Container = styled.div`

packages/app/src/app/components/Preview/DevTools/Tests/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22
import styled, { css } from 'styled-components';
33

44
import Check from 'react-icons/lib/go/check';

packages/app/src/sandbox/eval/entities/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22

33
export type Module = {
44
path: string,

packages/app/src/sandbox/eval/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22
import { flattenDeep, uniq, values } from 'lodash-es';
33
import { Protocol } from 'codesandbox-api';
44
import resolve from 'browser-resolve';

packages/app/src/sandbox/eval/npm/fetch-npm-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22
import * as pathUtils from '@codesandbox/common/lib/utils/path';
33
import resolve from 'browser-resolve';
44
import DependencyNotFoundError from 'sandbox-hooks/errors/dependency-not-found-error';

packages/app/src/sandbox/eval/presets/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22
import { orderBy } from 'lodash-es';
33
import querystring from 'querystring';
44
import { Module } from '../entities/module';

packages/app/src/sandbox/eval/transpiled-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @flow
1+
22
import { flattenDeep } from 'lodash-es';
33

44
import { actions, dispatch } from 'codesandbox-api';

0 commit comments

Comments
 (0)