@tenzir/codemirror-lang-tql 0.3.2 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -25,6 +25,9 @@ const parser = lr.LRParser.deserialize({
25
25
  });
26
26
 
27
27
  const TenzirQueryLang = language.LRLanguage.define({
28
+ languageData: {
29
+ commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
30
+ },
28
31
  parser: parser.configure({
29
32
  props: [
30
33
  highlight.styleTags({
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LRLanguage, LanguageSupport } from "@codemirror/language";
2
2
  declare const TenzirQueryLang: LRLanguage;
3
- declare const tqlCompletion: import("@codemirror/state").Extension;
3
+ declare const tqlCompletion: any;
4
4
  declare function TQL(): LanguageSupport;
5
5
  export { TenzirQueryLang, tqlCompletion, TQL };
package/dist/index.js CHANGED
@@ -21,6 +21,9 @@ const parser = LRParser.deserialize({
21
21
  });
22
22
 
23
23
  const TenzirQueryLang = LRLanguage.define({
24
+ languageData: {
25
+ commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
26
+ },
24
27
  parser: parser.configure({
25
28
  props: [
26
29
  styleTags({
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@tenzir/codemirror-lang-tql",
3
+ "publishConfig": {
4
+ "registry": "https://npm.pkg.github.com"
5
+ },
3
6
  "repository": {
4
7
  "type": "git",
5
8
  "url": "git+https://github.com/tenzir/codemirror-lang-tql.git"
6
9
  },
7
- "publishConfig": {
8
- "access": "public"
9
- },
10
- "version": "0.3.2",
10
+ "version": "0.3.6",
11
11
  "description": "Tenzir Query Language (TQL) support for CodeMirror",
12
12
  "scripts": {
13
13
  "build": "lezer-generator src/syntax.grammar -o src/parser && rollup -c",
@@ -1,22 +0,0 @@
1
- name: Publish to NPM
2
-
3
- on:
4
- workflow_dispatch:
5
- release:
6
- types: [created]
7
-
8
- jobs:
9
- publish:
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v4
13
- - uses: actions/setup-node@v3
14
- with:
15
- node-version: "20"
16
- - run: corepack enable
17
- - run: yarn install
18
- - run: yarn build
19
-
20
- - uses: JS-DevTools/npm-publish@v3
21
- with:
22
- token: ${{ secrets.NPM_TOKEN }}