Skip to content

Commit d99ba02

Browse files
committed
Add build script to examples
1 parent 8964076 commit d99ba02

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

.gitpod.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# and commit this file to your remote git repository to share the goodness with others.
44

55
tasks:
6-
- init: yarn install && yarn run build
7-
command: yarn dev
6+
- init: yarn install
87

98

examples/mdx-bundler/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "codehike-mdx-bundler",
33
"private": true,
44
"version": "0.0.0",
5+
"scripts": {
6+
"build": "next build"
7+
},
58
"dependencies": {
69
"@code-hike/mdx": "^0.3.0",
710
"esbuild": "^0.14.23",

examples/nextjs/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "codehike-nextjs",
33
"private": true,
44
"version": "0.0.0",
5+
"scripts": {
6+
"build": "next build"
7+
},
58
"dependencies": {
69
"@code-hike/mdx": "^0.3.0",
710
"@mdx-js/loader": "^2.0.0",

examples/nextra/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "codehike-nextra",
33
"private": true,
44
"version": "0.0.0",
5+
"scripts": {
6+
"build": "next build"
7+
},
58
"dependencies": {
69
"@code-hike/mdx": "^0.3.0",
710
"next": "^12.1.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
]
99
},
1010
"scripts": {
11-
"build": "lerna run --scope @*/mdx build",
11+
"build": "lerna run build",
1212
"dev": "lerna run --scope @*/mdx dev",
1313
"storybook": "lerna run --scope storybook start --stream",
1414
"release": "auto shipit"

0 commit comments

Comments
 (0)