-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: lang separate build * build: lang separate build * build: lang separate build * build: lang separate build * build: lang separate build * build: lang separate build * build: remove dist-types directory * build: fix types * build: fix build.js after rebase * build: remove export ...Lexer and ...Parser * build: change build
- Loading branch information
1 parent
f6cc273
commit 1e8ff53
Showing
206 changed files
with
775 additions
and
839 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ node_modules | |
|
||
# Artifacts | ||
dist | ||
dist-types | ||
|
||
.ds_store | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
import {build} from 'esbuild'; | ||
|
||
const databases = ['clickhouse', 'mysql', 'postgresql', 'yql']; | ||
|
||
build({ | ||
entryPoints: ['src/index.ts'], | ||
external: ['antlr4ng', 'antlr4-c3'], | ||
bundle: true, | ||
minify: true, | ||
keepNames: true, | ||
format: 'esm', | ||
outfile: 'dist/index.js', | ||
tsconfig: './tsconfig.build.json', | ||
entryPoints: databases.map((database) => `src/autocomplete/databases/${database}/index.ts`), | ||
outbase: 'src/autocomplete/databases', | ||
outdir: 'dist/databases', | ||
splitting: true, | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.