Skip to content

Commit 1382182

Browse files
committed
chore: release 0.2.8
1 parent ac85232 commit 1382182

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

packages/cli/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @objectdocs/cli
22

3+
## 0.2.8
4+
5+
### Patch Changes
6+
7+
- fix: use dereference: true when copying .next directory to expand all symlinks
8+
- @objectdocs/site@0.2.8
9+
310
## 0.2.7
411

512
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectdocs/cli",
3-
"version": "0.2.7",
3+
"version": "0.2.8",
44
"description": "ObjectDocs CLI",
55
"repository": {
66
"type": "git",

packages/cli/src/commands/build.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ export function registerBuildCommand(cli) {
9090
if (fs.existsSync(destNext)) {
9191
fs.rmSync(destNext, { recursive: true, force: true });
9292
}
93-
// Use copy instead of symlink to ensure compatibility with Vercel and other deployment platforms
94-
// that might not handle symlinks to node_modules correctly
95-
fs.cpSync(srcNext, destNext, { recursive: true });
93+
// Use copy instead of symlink to ensure compatibility with Vercel
94+
// dereference: true ensures we copy the actual files instead of symlinks, preventing broken links
95+
fs.cpSync(srcNext, destNext, { recursive: true, dereference: true });
9696
console.log(`Build successfully copied to: ${destNext}`);
9797
} else {
9898
console.log(`\nNo 'out' directory generated in ${src}.`);

packages/site/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @objectdocs/site
22

3+
## 0.2.8
4+
35
## 0.2.7
46

57
### Patch Changes

packages/site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@objectdocs/site",
3-
"version": "0.2.7",
3+
"version": "0.2.8",
44
"description": "ObjectDocs Site Template",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)