codemirror-lang-glimmer 0.0.0-beta.3 → 0.0.0

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.
Files changed (55) hide show
  1. package/.eslintrc.cjs +2 -2
  2. package/.turbo/turbo-build.log +5 -21
  3. package/.turbo/turbo-lint$colon$js$colon$fix.log +7 -0
  4. package/.turbo/turbo-lint$colon$js.log +7 -0
  5. package/.turbo/turbo-lint$colon$prettier$colon$fix.log +15 -0
  6. package/.turbo/turbo-lint$colon$prettier.log +9 -0
  7. package/.turbo/turbo-lint$colon$types.log +5 -0
  8. package/CHANGELOG.md +15 -0
  9. package/LICENSE +21 -0
  10. package/dev/.eslintcache +1 -0
  11. package/dev/.eslintrc.cjs +2 -2
  12. package/dev/CHANGELOG.md +3 -0
  13. package/dev/index.html +1 -1
  14. package/dev/index.ts +43 -3
  15. package/dev/node_modules/.bin/eslint +4 -4
  16. package/dev/node_modules/.bin/prettier +4 -4
  17. package/dev/node_modules/.bin/tsc +4 -4
  18. package/dev/node_modules/.bin/tsserver +4 -4
  19. package/dev/node_modules/.bin/vite +4 -4
  20. package/dev/package.json +28 -16
  21. package/dev/watch.cjs +3 -3
  22. package/dist/index.cjs +222 -321
  23. package/dist/index.d.cts +22 -4
  24. package/dist/index.d.ts +22 -4
  25. package/dist/index.js +224 -325
  26. package/package.json +42 -26
  27. package/src/auto-close.ts +91 -0
  28. package/src/glimmer.ts +79 -0
  29. package/src/index.ts +3 -154
  30. package/src/language.ts +176 -0
  31. package/src/snippets.ts +48 -0
  32. package/tsconfig.json +2 -1
  33. package/.eslintignore +0 -2
  34. package/.prettierignore +0 -2
  35. package/.prettierrc.cjs +0 -20
  36. package/dist/index.d.cts.map +0 -1
  37. package/dist/index.d.ts.map +0 -1
  38. package/src/highlight.ts +0 -57
  39. package/src/syntax.grammar +0 -139
  40. package/src/syntax.grammar.d.ts +0 -3
  41. package/src/syntax.grammar.terms.d.ts +0 -14
  42. package/src/tokens.ts +0 -277
  43. package/tests/.eslintrc.cjs +0 -5
  44. package/tests/comments.txt +0 -116
  45. package/tests/complex.txt +0 -24
  46. package/tests/expression.txt +0 -95
  47. package/tests/literals.txt +0 -78
  48. package/tests/node_modules/.bin/eslint +0 -17
  49. package/tests/node_modules/.bin/prettier +0 -17
  50. package/tests/node_modules/.bin/tsc +0 -17
  51. package/tests/node_modules/.bin/tsserver +0 -17
  52. package/tests/numbers.txt +0 -88
  53. package/tests/package.json +0 -25
  54. package/tests/property-paths.txt +0 -79
  55. package/tests/strings.txt +0 -64
package/.eslintrc.cjs CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
2
 
3
- const { configs } = require("@nullvoxpopuli/eslint-configs");
3
+ const { configs } = require('@nullvoxpopuli/eslint-configs');
4
4
 
5
5
  module.exports = configs.crossPlatform();
@@ -1,21 +1,5 @@
1
-
2
- > codemirror-lang-glimmer@0.0.0-beta.3 build /home/runner/work/glimdown/glimdown/packages/codemirror/glimmer
3
- > rollup -c
4
-
5
- (node:1925) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
6
- (Use `node --trace-warnings ...` to show where the warning was created)
7
- 
8
- src/index.ts → dist/index.cjs, ./dist...
9
- (node:1925) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
10
- (!) Plugin rollup-plugin-lezer: Unused rule 'Text' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 102:2)
11
- (!) Plugin rollup-plugin-lezer: Unused rule 'space' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 103:2)
12
- (!) Plugin rollup-plugin-lezer: Unused rule 'attributeValueContentCharDouble' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 122:2)
13
- (!) Plugin rollup-plugin-lezer: Unused rule 'attributeValueContentCharSingle' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 123:2)
14
- (!) Plugin rollup-plugin-lezer: Unused rule 'Function' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 25:0)
15
- (!) Plugin rollup-plugin-lezer: Unused rule 'String' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 50:0)
16
- (!) Plugin rollup-plugin-lezer: Unused rule 'attributeValueContentDouble' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 56:0)
17
- (!) Plugin rollup-plugin-lezer: Unused rule 'attributeValueContentSingle' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 60:0)
18
- (!) Plugin rollup-plugin-lezer: Unused rule 'attributeValueContentEntity' (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 64:0)
19
- (!) Plugin rollup-plugin-lezer: Precedence specified for unknown token attributeValueContentCharDouble (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 125:16)
20
- (!) Plugin rollup-plugin-lezer: Precedence specified for unknown token attributeValueContentCharSingle (/home/runner/work/glimdown/glimdown/packages/codemirror/glimmer/src/syntax.grammar 126:16)
21
- created dist/index.cjs, ./dist in 1.9s
1
+
2
+
3
+ > codemirror-lang-glimmer@0.0.0-beta.4 build /home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror
4
+ > cm-buildhelper src/index.ts
5
+
@@ -0,0 +1,7 @@
1
+
2
+
3
+ > codemirror-lang-glimmer@0.0.0-beta.4 lint:js:fix /home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror
4
+ > pnpm -w exec lint js:fix
5
+
6
+ Running:
7
+  pnpm eslint . --fix --cache --cache-strategy content
@@ -0,0 +1,7 @@
1
+
2
+
3
+ > codemirror-lang-glimmer@0.0.0-beta.4 lint:js /home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror
4
+ > pnpm -w exec lint js
5
+
6
+ Running:
7
+  pnpm eslint . 
@@ -0,0 +1,15 @@
1
+
2
+
3
+ > codemirror-lang-glimmer@0.0.0-beta.4 lint:prettier:fix /home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror
4
+ > pnpm -w exec lint prettier:fix
5
+
6
+ Running:
7
+  pnpm prettier -w "**/*.{gjs,gts,hbs,json,js,ts,gjs,mjs,cts,mts,cts}" --cache --cache-strategy content
8
+ dev/index.tsdev/index.ts 123ms (unchanged)
9
+ dev/vite.config.jsdev/vite.config.js 13ms (unchanged)
10
+ rollup.config.mjsrollup.config.mjs 3ms (unchanged)
11
+ src/auto-close.tssrc/auto-close.ts 17ms (unchanged)
12
+ src/glimmer.tssrc/glimmer.ts 10ms (unchanged)
13
+ src/index.tssrc/index.ts 1ms (unchanged)
14
+ src/language.tssrc/language.ts 19ms (unchanged)
15
+ src/snippets.tssrc/snippets.ts 3ms (unchanged)
@@ -0,0 +1,9 @@
1
+
2
+
3
+ > codemirror-lang-glimmer@0.0.0-beta.4 lint:prettier /home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror
4
+ > pnpm -w exec lint prettier
5
+
6
+ Running:
7
+  pnpm prettier -c **/*.{gjs,gts,hbs,json,js,ts,gjs,mjs,cts,mts,cts}
8
+ Checking formatting...
9
+ dev/index.tsdev/vite.config.jsrollup.config.mjssrc/auto-close.tssrc/glimmer.tssrc/index.tssrc/language.tssrc/snippets.tsAll matched files use Prettier code style!
@@ -0,0 +1,5 @@
1
+
2
+
3
+ > codemirror-lang-glimmer@0.0.0-beta.4 lint:types /home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror
4
+ > tsc --noEmit
5
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # codemirror-lang-glimmer
2
2
 
3
+ ## 0.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @glimdown/lezer-glimmer-expression@0.0.0
9
+ - lezer-glimmer@0.0.0
10
+
11
+ ## 0.0.0-beta.4
12
+
13
+ ### Patch Changes
14
+
15
+ - 77ad072: Add and consume glimdown package, split gjs into gjs and gts
16
+ - 0071216: Dependency updates
17
+
3
18
  ## 0.0.0-beta.3
4
19
 
5
20
  ### Patch Changes
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 NullVoxPopuli
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ [{"/home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror/dev/.eslintrc.cjs":"1","/home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror/dev/index.ts":"2","/home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror/dev/vite.config.js":"3","/home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror/dev/watch.cjs":"4"},{"hash":"5","results":"6","hashOfConfig":"7"},{"hash":"8","results":"9","hashOfConfig":"7"},{"hash":"10","results":"11","hashOfConfig":"7"},{"hash":"12","results":"13","hashOfConfig":"7"},"c47859c63e0ab0c009e7fc28141486e4",{"filePath":"14","messages":"15","suppressedMessages":"16","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1nio5p6","72b9d276cbe820794281756a517e9505",{"filePath":"17","messages":"18","suppressedMessages":"19","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"706c7142b141ee6c60301769347a0cdb",{"filePath":"20","messages":"21","suppressedMessages":"22","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"2ad67d3b65a863e0e6c59a2f4da5e8aa",{"filePath":"23","messages":"24","suppressedMessages":"25","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror/dev/.eslintrc.cjs",[],[],"/home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror/dev/index.ts",[],[],"/home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror/dev/vite.config.js",[],[],"/home/nvp/Development/NullVoxPopuli/limber/packages/syntax/glimmer/codemirror/dev/watch.cjs",[],[]]
package/dev/.eslintrc.cjs CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";
1
+ 'use strict';
2
2
 
3
- const { configs } = require("@nullvoxpopuli/eslint-configs");
3
+ const { configs } = require('@nullvoxpopuli/eslint-configs');
4
4
 
5
5
  module.exports = configs.crossPlatform();
@@ -0,0 +1,3 @@
1
+ # @glimdown/glimmer-dev-preview
2
+
3
+ ## 0.0.1
package/dev/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
package/dev/index.ts CHANGED
@@ -6,9 +6,13 @@ import { basicSetup } from 'codemirror';
6
6
 
7
7
  import { printTree } from '@glimdown/codemirror-dev-preview/print-tree';
8
8
 
9
- import { glimmer, glimmerParser } from '../dist/';
9
+ import { glimmer, glimmerLanguage } from '../dist/index.js';
10
10
 
11
11
  const testDoc = `
12
+ <style>
13
+ .hello { border: 1px solid black; }
14
+ </style>
15
+
12
16
  {{!
13
17
  simple comment
14
18
  }}
@@ -50,8 +54,14 @@ const testDoc = `
50
54
 
51
55
  Hello {{this.name}}!
52
56
 
57
+ {{log this.name}}
58
+
59
+ {{debugger}}
60
+
61
+ {{{purify @dangerous}}}
62
+
53
63
  {{! inline simple }}
54
- {{!-- inline long }}
64
+ {{!-- inline long --}}
55
65
 
56
66
  <OneLine ...attributes />
57
67
  <OneLine />
@@ -110,7 +120,37 @@ const testDoc = `
110
120
  {{outlet}}
111
121
  `;
112
122
 
123
+ // const moustacheCommentTest = `
124
+ // {{!
125
+ // simple comment
126
+ // }}
127
+
128
+ // just some text
129
+ // {{call expression}}
130
+ // `;
131
+
132
+ // const adjacentCommentsTest = `
133
+ // {{! inline simple }}
134
+ // {{!-- inline long --}}
135
+ // `;
136
+
137
+ // const comment = `
138
+ // <!--
139
+ // HTML Comment
140
+ // {{not a comment}}
141
+ // {{!still a comment}}
142
+ // {{!--still a comment--}}
143
+ // -->
144
+
145
+ // {{foo.bar}}
146
+ // {{#let greeting as |value|}}{{value}}{{/let}}
147
+ // <Boop {{auto-focus}}></Boop>
148
+ // `;
149
+
113
150
  const doc = testDoc;
151
+ // const doc = adjacentCommentsTest;
152
+ // const doc = comment;
153
+ // const doc = moustacheCommentTest;
114
154
 
115
155
  const syncAST = EditorView.updateListener.of((update) => {
116
156
  if (update.docChanged || update.selectionSet) {
@@ -166,7 +206,7 @@ export const mainView = new EditorView({
166
206
 
167
207
  // Glimmer Tree
168
208
  const glimmerState = EditorState.create({
169
- doc: printTree(glimmerParser.parse(doc), doc),
209
+ doc: printTree(glimmerLanguage.parser.parse(doc), doc),
170
210
  extensions: [basicSetup, oneDark, EditorView.lineWrapping, EditorState.readOnly.of(true)],
171
211
  });
172
212
  const glimmerTree = new EditorView({
@@ -6,12 +6,12 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/eslint@8.40.0/node_modules/eslint/bin/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/eslint@8.40.0/node_modules/eslint/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/eslint@8.40.0/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/eslint@8.56.0/node_modules/eslint/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/eslint@8.56.0/node_modules/eslint/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/eslint@8.56.0/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/eslint@8.40.0/node_modules/eslint/bin/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/eslint@8.40.0/node_modules/eslint/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/eslint@8.40.0/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/eslint@8.56.0/node_modules/eslint/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/eslint@8.56.0/node_modules/eslint/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/eslint@8.56.0/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/eslint@8.40.0/node_modules/eslint/bin/eslint.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../../../node_modules/.pnpm/eslint@8.56.0/node_modules/eslint/bin/eslint.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../../node_modules/.pnpm/eslint@8.40.0/node_modules/eslint/bin/eslint.js" "$@"
16
+ exec node "$basedir/../../../../../../../node_modules/.pnpm/eslint@8.56.0/node_modules/eslint/bin/eslint.js" "$@"
17
17
  fi
@@ -6,12 +6,12 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/prettier@2.8.8/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/prettier@3.2.5/node_modules/prettier/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/prettier@3.2.5/node_modules/prettier/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/prettier@3.2.5/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/prettier@2.8.8/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/prettier@3.2.5/node_modules/prettier/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/prettier@3.2.5/node_modules/prettier/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/prettier@3.2.5/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/bin-prettier.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../../../node_modules/.pnpm/prettier@3.2.5/node_modules/prettier/bin/prettier.cjs" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../../node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/bin-prettier.js" "$@"
16
+ exec node "$basedir/../../../../../../../node_modules/.pnpm/prettier@3.2.5/node_modules/prettier/bin/prettier.cjs" "$@"
17
17
  fi
@@ -6,12 +6,12 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/tsc" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/bin/tsc" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/tsc" "$@"
16
+ exec node "$basedir/../../../../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/bin/tsc" "$@"
17
17
  fi
@@ -6,12 +6,12 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/typescript@5.0.4/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/typescript@5.3.3/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/tsserver" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/bin/tsserver" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/tsserver" "$@"
16
+ exec node "$basedir/../../../../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/bin/tsserver" "$@"
17
17
  fi
@@ -6,12 +6,12 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/vite@4.3.5_@types+node@20.1.0/node_modules/vite/bin/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/vite@4.3.5_@types+node@20.1.0/node_modules/vite/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/vite@4.3.5_@types+node@20.1.0/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/vite@5.0.12/node_modules/vite/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/vite@5.0.12/node_modules/vite/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/vite@5.0.12/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/runner/work/glimdown/glimdown/node_modules/.pnpm/vite@4.3.5_@types+node@20.1.0/node_modules/vite/bin/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/vite@4.3.5_@types+node@20.1.0/node_modules/vite/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/vite@4.3.5_@types+node@20.1.0/node_modules:/home/runner/work/glimdown/glimdown/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/vite@5.0.12/node_modules/vite/bin/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/vite@5.0.12/node_modules/vite/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/vite@5.0.12/node_modules:/home/nvp/Development/NullVoxPopuli/limber/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/vite@4.3.5_@types+node@20.1.0/node_modules/vite/bin/vite.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../../../node_modules/.pnpm/vite@5.0.12/node_modules/vite/bin/vite.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../../node_modules/.pnpm/vite@4.3.5_@types+node@20.1.0/node_modules/vite/bin/vite.js" "$@"
16
+ exec node "$basedir/../../../../../../../node_modules/.pnpm/vite@5.0.12/node_modules/vite/bin/vite.js" "$@"
17
17
  fi
package/dev/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glimdown/glimmer-dev-preview",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "vite .",
@@ -12,22 +12,34 @@
12
12
  "lint:prettier": "pnpm -w exec lint prettier"
13
13
  },
14
14
  "devDependencies": {
15
- "@glimdown/codemirror-dev-preview": "workspace:*",
16
- "@codemirror/language": "^6.6.0",
17
- "@codemirror/state": "^6.2.0",
15
+ "@babel/core": "^7.23.9",
16
+ "@babel/eslint-parser": "^7.23.10",
17
+ "@codemirror/language": "^6.10.1",
18
+ "@codemirror/state": "^6.4.0",
18
19
  "@codemirror/theme-one-dark": "^6.1.2",
19
- "@codemirror/view": "^6.11.0",
20
- "vite": "^4.3.5",
21
- "@babel/eslint-parser": "^7.21.8",
22
- "@nullvoxpopuli/eslint-configs": "^3.1.3",
23
- "@typescript-eslint/eslint-plugin": "^5.59.5",
24
- "@typescript-eslint/parser": "^5.59.5",
25
- "eslint": "^8.40.0",
26
- "prettier": "^2.8.8",
27
- "typescript": "^5.0.4",
28
- "@babel/core": "^7.21.8"
20
+ "@codemirror/view": "^6.23.0",
21
+ "@glimdown/codemirror-dev-preview": "workspace:*",
22
+ "@nullvoxpopuli/eslint-configs": "^3.2.2",
23
+ "@typescript-eslint/eslint-plugin": "^6.20.0",
24
+ "@typescript-eslint/parser": "^6.20.0",
25
+ "eslint": "^8.55.0",
26
+ "prettier": "^3.2.5",
27
+ "typescript": "^5.3.3",
28
+ "vite": "^5.0.12"
29
29
  },
30
30
  "volta": {
31
- "extends": "../../../../package.json"
32
- }
31
+ "extends": "../../../../../package.json"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/NullVoxPopuli/limber.git",
36
+ "directory": "packages/syntax/glimmer/codemirror/dev"
37
+ },
38
+ "engines": {
39
+ "node": ">= v16",
40
+ "npm": "use pnpm",
41
+ "yarn": "use pnpm"
42
+ },
43
+ "license": "MIT",
44
+ "author": "NullVoxPopuli"
33
45
  }
package/dev/watch.cjs CHANGED
@@ -1,10 +1,10 @@
1
- const { watch } = require("@codemirror/buildhelper");
2
- const { resolve } = require("path");
1
+ const { watch } = require('@codemirror/buildhelper');
2
+ const { resolve } = require('path');
3
3
 
4
4
  let args = process.argv.slice(2);
5
5
 
6
6
  if (args.length != 1) {
7
- console.debug("Usage: cm-buildhelper src/mainfile.ts");
7
+ console.debug('Usage: cm-buildhelper src/mainfile.ts');
8
8
  process.exit(1);
9
9
  }
10
10