Skip to content

Commit

Permalink
fix: prod and deploy command (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxy0551 authored Nov 14, 2024
1 parent d51b522 commit d750ce9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"watch-esm": "tsc -p ./tsconfig.esm.json --watch",
"test": "npm run build-amd && mocha ./test/all.js",
"dev": "node --max_old_space_size=4092 & cd website && npm run dev",
"prod": "npm run build && rm -rf ./docs && node --max_old_space_size=4092 & cd website && npm run build",
"deploy": "npm run prod && gh-pages -d docs -r [email protected]:DTStack/monaco-sql-languages.git",
"prod": "rm -rf ./docs && node --max_old_space_size=4092 & cd website && npm run build",
"deploy": "npm run build && npm run prod && gh-pages -d docs -r [email protected]:liuxy0551/monaco-sql-languages.git",
"format": "prettier --write .",
"prettier-check": "prettier --check .",
"check-types": "tsc -p ./tsconfig.json",
Expand Down
4 changes: 2 additions & 2 deletions website/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ function App(): React.ReactElement {
}

window.console.log(
`%c dt-sql-parser: v${dependencies['dt-sql-parser']} \n monaco-sql-languages: v${version}`,
'font-family: Cabin, Helvetica, Arial, sans-serif;text-align: left;font-size:32px;color:#B21212;'
`%c dt-sql-parser: ${dependencies['dt-sql-parser']} \n\n monaco-sql-languages: ${version}`,
'font-family: Cabin, Helvetica, Arial, sans-serif;text-align: left;font-size:26px;color:#B21212;'
);

export default App;

0 comments on commit d750ce9

Please sign in to comment.