Skip to content

Commit

Permalink
Revert typescript migration for Site/index
Browse files Browse the repository at this point in the history
  • Loading branch information
tlylt committed Jul 17, 2023
1 parent 68d0aef commit 835798d
Show file tree
Hide file tree
Showing 6 changed files with 190 additions and 274 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/cmd/build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');

const { Site } = require('@markbind/core').Site;
const { Site } = require('@markbind/core');

const cliUtil = require('../util/cliUtil');
const logger = require('../util/logger');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/cmd/deploy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');

const { Site } = require('@markbind/core').Site;
const { Site } = require('@markbind/core');

const cliUtil = require('../util/cliUtil');
const logger = require('../util/logger');
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/cmd/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs-extra');
const path = require('path');

const { Template } = require('@markbind/core');
const { Site } = require('@markbind/core').Site;
const { Site } = require('@markbind/core');

const logger = require('../util/logger');

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/cmd/serve.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const chokidar = require('chokidar');
const path = require('path');

const { Site } = require('@markbind/core').Site;
const { Site } = require('@markbind/core');
const { pageVueServerRenderer } = require('@markbind/core/src/Page/PageVueServerRenderer');

const fsUtil = require('@markbind/core/src/utils/fsUtil');
Expand Down
Loading

0 comments on commit 835798d

Please sign in to comment.