Skip to content

Commit 5d1ac10

Browse files
committed
Upgrade to Now v2
1 parent 71ce97e commit 5d1ac10

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

now.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "guide",
33
"alias": "graphql.guide",
4-
"version": 1
4+
"version": 2
55
}

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@
5959
"test": "react-scripts test --env=jsdom",
6060
"eject": "react-scripts eject",
6161
"now-start": "serve --single ./build",
62-
"deploy": "now --dotenv=.env.production --regions all",
62+
"deploy": "now --regions all -e NODE_ENV=production -e REACT_APP_STRIPE_PUBLIC_KEY=@guide-stripe-public-key",
6363
"alias": "now alias",
6464
"deploy-ci": "now --token=$NOW_TOKEN --regions all -e NODE_ENV=production -e REACT_APP_STRIPE_PUBLIC_KEY=@guide-stripe-public-key",
6565
"alias-ci": "now alias --token=$NOW_TOKEN",
6666
"release": "scripts/release.sh"
6767
},
6868
"devDependencies": {
69-
"now": "^14.0.3"
69+
"now": "^16.7.0"
7070
}
7171
}

0 commit comments

Comments
 (0)