Skip to content

Commit 80e8db5

Browse files
committed
Publish new version of package packages/next to npmjs package repo.
1 parent 02a4436 commit 80e8db5

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/packages/next/package-lock.json

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

src/packages/next/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cocalc/next",
3-
"version": "0.11.1",
3+
"version": "0.11.2",
44
"description": "CoCalc's nextjs server",
55
"main": "lib/init.js",
66
"exports": {
@@ -28,9 +28,10 @@
2828
"dev-project": "unset PGHOST PGUSER COCALC_ROOT && export PORT=5000 BASE_PATH=/$COCALC_PROJECT_ID/port/5000 && echo https://cocalc.com$BASE_PATH && npm run inventory && npm run dev",
2929
"tsc": "npx tsc --build tsconfig-dist.json -w --pretty",
3030
"inventory": "mkdir -p dist/inventory && curl https://storage.googleapis.com/cocalc-compute-environment/compute-components.json -o dist/inventory/compute-components.json && curl https://storage.googleapis.com/cocalc-compute-environment/compute-inventory.json -o dist/inventory/compute-inventory.json",
31-
"build": "npx next telemetry disable && rm -rf .next && npm run inventory && npm run build-dist && next build",
31+
"build-deps": "cd ../backend && npm run build && cd ../util && npm run build",
32+
"build": "npm run build-deps && npx next telemetry disable && rm -rf .next && npm run inventory && npm run build-dist && next build",
3233
"build-dist": "rm -rf dist && npm run inventory && npx tsc --build tsconfig-dist.json",
33-
"build-project": "npx next telemetry disable && npm run build-dist && BASE_PATH=/$COCALC_PROJECT_ID/port/5000 next build",
34+
"build-project": "npm run build-deps && npx next telemetry disable && npm run build-dist && BASE_PATH=/$COCALC_PROJECT_ID/port/5000 next build",
3435
"clean": "rm -rf .next dist",
3536
"start": "unset PGHOST; next start",
3637
"start-project": "unset PGHOST PGUSER COCALC_ROOT; export PORT=5000 BASE_PATH=/$COCALC_PROJECT_ID/port/5000; echo https://cocalc.com$BASE_PATH; npm run start",
@@ -81,4 +82,4 @@
8182
"eslint": "^7.31.0",
8283
"eslint-config-next": "11.0.1"
8384
}
84-
}
85+
}

0 commit comments

Comments
 (0)