From 2c3f40600c35a4f1f83cc1e2a98c750de49c5881 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Sat, 12 May 2018 13:59:15 +0200 Subject: [PATCH] Upgrade with-typescript to use latest next-typescript --- examples/with-typescript/.babelrc | 6 ++++++ examples/with-typescript/package.json | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 examples/with-typescript/.babelrc diff --git a/examples/with-typescript/.babelrc b/examples/with-typescript/.babelrc new file mode 100644 index 0000000000000..f1ced417a8813 --- /dev/null +++ b/examples/with-typescript/.babelrc @@ -0,0 +1,6 @@ +{ + "presets": [ + "next/babel", + "@zeit/next-typescript/babel" + ] +} \ No newline at end of file diff --git a/examples/with-typescript/package.json b/examples/with-typescript/package.json index 7d9e8500d6f7b..6734bb9703513 100644 --- a/examples/with-typescript/package.json +++ b/examples/with-typescript/package.json @@ -7,14 +7,13 @@ "start": "next start" }, "dependencies": { - "next": "^5.0.0", + "@zeit/next-typescript": "1.0.0", + "next": "latest", "react": "^16.2.0", "react-dom": "^16.2.0" }, "devDependencies": { "@types/next": "^2.4.7", - "@types/react": "^16.0.36", - "@zeit/next-typescript": "0.1.1", - "typescript": "^2.7.1" + "@types/react": "^16.0.36" } }