Skip to content

popsql/monaco-sql-languages

Repository files navigation

@popsql/monaco-sql-languages

CI NPM

This repo contains a bundle of SQL languages for the Monaco Editor. Currently provided is:

  • BigQuery
  • Clickhouse
  • PostgreSQL (has functions added in newer versions than available in monaco)
  • Snowflake
  • Timescale

The initial goal of the repo is to provide syntax highlighting for a number of languages.

Usage

npm install @popsql/monaco-sql-languages

See the example/ folder on integrating this project with react.

Development

yarn
yarn build
yarn test

To release a new version, create a new release, and then this will create a release on NPM using the release name as the version. Additionally, example/ will be deployed to the gh-pages branch.