Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d057df3
Add basic configs for TS/ESM migration
Harjun751 Jan 24, 2026
7c9d273
Rename cli/index to TypeScript
Harjun751 Jan 24, 2026
023af6d
Adapt cli/index to TypeScript
Harjun751 Jan 24, 2026
a11bc0d
Update cli functional tests
Harjun751 Jan 24, 2026
7842676
Rename cli/src/cmd/build to TypeScript
Harjun751 Jan 24, 2026
06c7ce7
Adapt cli/src/cmd/build to TypeScript
Harjun751 Jan 24, 2026
b2b1e0d
Rename cli/cmd/deploy to TypeScript
Harjun751 Jan 24, 2026
a14f51e
Adapt cli/cmd/deploy to TypeScript
Harjun751 Jan 24, 2026
ba34b59
Rename cli/smd/init to TypeScript
Harjun751 Jan 24, 2026
bf221e8
Adapt cli/cmd/init to TypeScript
Harjun751 Jan 24, 2026
279e85f
Rename cli/cmd/serve to TypeScript
Harjun751 Jan 24, 2026
583988c
Adapt cli/cmd/serve to TypeScript
Harjun751 Jan 24, 2026
b408b85
Rename cli/util/cliUtil to TypeScript
Harjun751 Jan 24, 2026
e92e3ee
Adapt cli/util/cliUtil to typescript
Harjun751 Jan 24, 2026
5926823
Update cliUtil tests
Harjun751 Jan 24, 2026
6405240
Rename cli/util/ipUtil to TypeScript
Harjun751 Jan 24, 2026
2065eb7
Adapt cli/util/ipUtil to typescript
Harjun751 Jan 24, 2026
e5109c2
Rename cli/util/logger to TypeScript
Harjun751 Jan 24, 2026
fecb467
Update ipUtil tests to use dist path
Harjun751 Jan 24, 2026
156a79c
Adapt cli/util/logger to TypeScript
Harjun751 Jan 24, 2026
05c7ee2
Update packages
Harjun751 Jan 24, 2026
898d808
Rename cli/util/serveUtil to TypeScript
Harjun751 Jan 24, 2026
89a71db
Adapt cli/util/serveUtil to TypeScript
Harjun751 Jan 24, 2026
adfefc9
Add type definitions for live-server in cli
Harjun751 Jan 24, 2026
e0ce97c
Move resolveJson to base config
Harjun751 Jan 24, 2026
96f21bb
Update build:backend to use lerna
Harjun751 Jan 24, 2026
dc6d773
Update root tsconfig to use project references
Harjun751 Jan 25, 2026
e362cbc
Update root package.json to ref built TS files
Harjun751 Jan 25, 2026
921e4f2
Update cli publishing rules
Harjun751 Jan 25, 2026
59cb407
Update cli logger settings
Harjun751 Jan 25, 2026
9c9a072
Add tsx dev dependency to root
Harjun751 Jan 25, 2026
bdd7cb8
Update devdocs with updated setup instructions
Harjun751 Jan 25, 2026
7fca0f1
Fix deploy:netlify script
Harjun751 Jan 25, 2026
ed0edf0
Remove redundant .gitignore entry
Harjun751 Jan 25, 2026
e866bd5
Add backend build step before test
Harjun751 Jan 25, 2026
b954c84
Remove ts-ignore
Harjun751 Jan 26, 2026
5bc0722
Fix faulty cli test
Harjun751 Jan 26, 2026
eaebcc8
Merge branch 'master' into cli-typescript-migration
Harjun751 Jan 26, 2026
0d30f78
Merge branch 'master' into cli-typescript-migration
gerteck Jan 27, 2026
7733c75
Replace package.json with hardcoded values
Harjun751 Jan 27, 2026
ae2a80b
Add composite build setup to project
Harjun751 Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ packages/core/src/lib/markdown-it/plugins/*

# --- packages/core end ---

# --- packages/cli ---
packages/cli/dist/**/*.js
# --- packages/cli end ---

!.eslintrc.js

# --- packages/vue-components ---
Expand All @@ -48,4 +52,4 @@ packages/vue-components/src/utils/utils.js

# --- packages/vue-components end ---

dangerfile.js
dangerfile.js
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ packages/core/index.js
packages/core/src/lib/progress/*.js
# --- packages/core end ---

# Manual type definitions need to be included
!packages/cli/src/lib/live-server/index.d.ts

# Nx for Lerna
.nx/cache
.nx/workspace-data
.nx/workspace-data

# Build folder
dist/
6 changes: 4 additions & 2 deletions docs/devGuide/development/settingUp.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ We recommend the **WebStorm IDE** or **VS Code** for working with MarkBind code.

1. **Fork and clone** the MarkBind repo.

1. **Bind your cloned version of MarkBind to your console** by navigating to the cloned `packages/cli` folder and running `npm link`

1. **Install dependencies** by running
<popover content="Under the hood, this calls `npm ci` and `npm prepare`">`npm run setup`</popover>
in the **root folder** of your cloned repo.

1. **Build the current version of MarkBind** by running `npm run build:backend` in the **root folder** as before

1. **Bind your cloned version of MarkBind to your console** by navigating to the cloned `packages/cli` folder and running `npm link`

1. **Congratulations!** Now you are ready to start modifying MarkBind code.


Expand Down
1 change: 1 addition & 0 deletions docs/devGuide/development/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The sections below has more information about various stages of submitting a PR.
**1. Using the docs as a development environment**, with:
* the <a tags="environment--combined" href="/userGuide/cliCommands.html#serve-command">lazy reload`-o`</a><a tags="environment--dg" href="https://markbind.org/userGuide/cliCommands.html#serve-command">lazy reload`-o`</a> option to speed up page building
* the `-d` developer option. (see [below](#editing-frontend-features))
* the project-bundled `tsx` as a [TypeScript runner](https://nodejs.org/en/learn/typescript/run)

{.mb-3}

Expand Down
Binary file modified docs/images/debugger/WebStorm_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading