Skip to content

Commit d750ce9

Browse files
authored
fix: prod and deploy command (#156)
1 parent d51b522 commit d750ce9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"watch-esm": "tsc -p ./tsconfig.esm.json --watch",
1010
"test": "npm run build-amd && mocha ./test/all.js",
1111
"dev": "node --max_old_space_size=4092 & cd website && npm run dev",
12-
"prod": "npm run build && rm -rf ./docs && node --max_old_space_size=4092 & cd website && npm run build",
13-
"deploy": "npm run prod && gh-pages -d docs -r git@github.com:DTStack/monaco-sql-languages.git",
12+
"prod": "rm -rf ./docs && node --max_old_space_size=4092 & cd website && npm run build",
13+
"deploy": "npm run build && npm run prod && gh-pages -d docs -r git@github.com:liuxy0551/monaco-sql-languages.git",
1414
"format": "prettier --write .",
1515
"prettier-check": "prettier --check .",
1616
"check-types": "tsc -p ./tsconfig.json",

website/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ function App(): React.ReactElement {
3030
}
3131

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

3737
export default App;

0 commit comments

Comments
 (0)