Skip to content

Commit cf6cef3

Browse files
committed
Use bundled typescript-core
1 parent caf2878 commit cf6cef3

File tree

13 files changed

+21
-21
lines changed

13 files changed

+21
-21
lines changed

bin/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/webpack/common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ module.exports = {
5454
},
5555
plugins: [
5656
new CheckerPlugin(),
57-
new webpack.NormalModuleReplacementPlugin(/@blinkforms\/core\/.*/, function(resource) {
58-
resource.request = resource.request.replace(/@blinkforms\/core/, path.resolve(__dirname, path.join('..', '..', 'typescript-core', 'src')));
57+
new webpack.NormalModuleReplacementPlugin(/@blinkforms\/core/, function(resource) {
58+
resource.request = resource.request.replace(/@blinkforms\/core/, path.resolve(__dirname, path.join('..', '..', 'typescript-core')));
5959
}),
6060
],
6161
performance: {

src/defaultParserConfig.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SchemaParserConfig } from "@blinkforms/core/schemaTypes";
1+
import { SchemaParserConfig } from "@blinkforms/core";
22

33
export const defaultConfig: SchemaParserConfig = {
44
handlers: {

src/form.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as React from "react";
22
import styled from "styled-components";
33

4-
import BlinkformsClient from "@blinkforms/core/BlinkformsClient";
5-
import { transformSchemaIntoTree } from "@blinkforms/core/schemaParser";
6-
import { FormContext, NodeAny, NodeState, NodeType, RootNode, Schema } from "@blinkforms/core/schemaTypes";
4+
import { BlinkformsClient } from "@blinkforms/core";
5+
import { transformSchemaIntoTree } from "@blinkforms/core";
6+
import { FormContext, NodeAny, NodeState, NodeType, RootNode, Schema } from "@blinkforms/core";
77

88
import defaultReactHandlerProvider from "./renderers/defaultReactHandlerProvider";
99

src/renderers/ArrayDefault.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
NodeArraySchema,
1212
NodeOutputValue,
1313
NodeState,
14-
} from "@blinkforms/core/schemaTypes";
14+
} from "@blinkforms/core";
1515

1616
export type NodeSMapping = {
1717
[key: string]: NodeState<any>;

src/renderers/ArrayTuple.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from "react";
22

3-
import { ChildrenMap, CompositeNode, NodeO } from "@blinkforms/core/compositeNodes";
3+
import { ChildrenMap, CompositeNode, NodeO } from "@blinkforms/core";
44

55
import WithDescription from "./utils/WithDescription";
66
import WithErrors from "./utils/WithErrors";
@@ -10,7 +10,7 @@ import {
1010
FormContext,
1111
NodeOutputValue,
1212
NodeSchema,
13-
} from "@blinkforms/core/schemaTypes";
13+
} from "@blinkforms/core";
1414

1515
export default class ArrayTuple<O, M extends NodeSchema> extends CompositeNode<Array<O>, M> {
1616

src/renderers/ObjectDefault.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { CompositeNode, NodeO } from "@blinkforms/core/compositeNodes";
1+
import { CompositeNode, NodeO } from "@blinkforms/core";
22

33
import {
44
NodeObjectSchema,
5-
} from "@blinkforms/core/schemaTypes";
5+
} from "@blinkforms/core";
66

77
export default class ObjectDefault extends CompositeNode<NodeO, NodeObjectSchema> {
88

src/renderers/StringDefault.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import WithDescription from "./utils/WithDescription";
55
import WithErrors from "./utils/WithErrors";
66
import WithMargins from "./utils/WithMargins";
77

8-
import { SimpleNode } from "@blinkforms/core/simpleNodes";
8+
import { SimpleNode } from "@blinkforms/core";
99

1010
import {
1111
FormContext,
1212
NodeStringSchema,
13-
} from "@blinkforms/core/schemaTypes";
13+
} from "@blinkforms/core";
1414

1515
const InputWrapper = styled.div`
1616
width: 10vw;

src/renderers/StringEnum.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import WithDescription from "./utils/WithDescription";
44
import WithErrors from "./utils/WithErrors";
55
import WithMargins from "./utils/WithMargins";
66

7-
import { SimpleNode } from "@blinkforms/core/simpleNodes";
7+
import { SimpleNode } from "@blinkforms/core";
88

99
import {
1010
FormContext,
1111
NodeStringSchema,
12-
} from "@blinkforms/core/schemaTypes";
12+
} from "@blinkforms/core";
1313

1414
export default class StringEnum extends SimpleNode<string, NodeStringSchema> {
1515
getInitialValue() {

0 commit comments

Comments
 (0)