Skip to content

Commit 47c87b4

Browse files
committed
fix: remove compatibility checks for @objectstack/core version in serve command
1 parent 79adb79 commit 47c87b4

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

packages/cli/src/bin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const program = new Command();
1010
program
1111
.name('objectstack')
1212
.description('CLI for ObjectStack Protocol - Development Tools for Microkernel Architecture')
13-
.version('0.7.1');
13+
.version('0.8.0');
1414

1515
// Add all commands
1616
program.addCommand(compileCommand);

packages/cli/src/commands/serve.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ export const serveCommand = new Command('serve')
4848
objects: config.objects || {},
4949
});
5050

51-
const supportsUse = typeof (kernel as any).use === 'function';
52-
const supportsBootstrap = typeof (kernel as any).bootstrap === 'function';
53-
54-
if (!supportsUse || !supportsBootstrap) {
55-
throw new Error(
56-
'Incompatible @objectstack/core version. Please use @objectstack/core@^0.8.0 or newer.'
57-
);
58-
}
59-
6051
// Load plugins from configuration
6152
const plugins = config.plugins || [];
6253

0 commit comments

Comments
 (0)