Skip to content

Commit 813033f

Browse files
committed
0.0.0-dev.10
1 parent 7ecd14c commit 813033f

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

bin/server.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ const { parse } = require('url')
33
const next = require('next');
44
const nextConfig = require('../next.config');
55

6-
const dev = process.env.NODE_ENV !== 'production'
76
const hostname = 'localhost'
87
const port = process.env.PORT || 3000;
98

109
// when using middleware `hostname` and `port` must be provided below
11-
const app = next({ dev, hostname, port, quiet: true, conf: nextConfig, dir: `${__dirname}/..` })
10+
const app = next({ dev: false, hostname, port, quiet: true, conf: nextConfig, dir: `${__dirname}/..` })
1211
const handle = app.getRequestHandler()
1312

1413
app.prepare().then(() => {

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deep-foundation/sdk",
3-
"version": "0.0.0-dev.9",
3+
"version": "0.0.0-dev.10",
44
"description": "",
55
"license": "Unlicense",
66
"main": "./bin/server.js",
@@ -31,13 +31,15 @@
3131
"build-ios": "rimraf app && npm run export && npx cap sync ios"
3232
},
3333
"dependencies": {
34+
"dotenv-load": "^2.0.1",
3435
"next": "^14.2.2",
3536
"next-env": "^1.1.1",
3637
"next-i18next": "^15.2.0",
3738
"next-pwa": "^5.6.0",
3839
"react": "^18.2.0",
3940
"react-dom": "^18.2.0",
4041
"react-focus-lock": "^2.12.1",
42+
"typescript": "5.0.4",
4143
"react-i18next": "^14.1.0"
4244
},
4345
"devDependencies": {
@@ -61,7 +63,6 @@
6163
"buffer": "^6.0.3",
6264
"case-anything": "^2.1.13",
6365
"dotenv": "^16.0.3",
64-
"dotenv-load": "^2.0.1",
6566
"events": "^3.3.0",
6667
"firebase": "^9.19.1",
6768
"framer-motion": "^6.5.1",
@@ -71,7 +72,6 @@
7172
"rimraf": "^5.0.5",
7273
"run-script-os": "^1.1.6",
7374
"ts-node": "^10.9.1",
74-
"typescript": "5.0.4",
7575
"typescript-json-schema": "^0.56.0"
7676
}
7777
}

0 commit comments

Comments
 (0)