Skip to content
Permalink
Browse files

chore: Swap direct dependency on @glimmer/syntax to @css-blocks/glimmer.

  • Loading branch information
jackson-dean committed Nov 26, 2019
1 parent fbef5a8 commit 7c2ffe7fd82b36403dba5d4843a493e5eb1a5178
Showing with 4,612 additions and 1,653 deletions.
  1. +1 −1 packages/@css-blocks/language-server/package.json
  2. +1 −1 packages/@css-blocks/language-server/src/util/createFocusPath.ts
  3. +4,610 −1,651 yarn.lock
@@ -14,7 +14,7 @@
"dependencies": {
"@css-blocks/config": "^1.0.0-alpha.0",
"@css-blocks/core": "^1.0.0-alpha.0",
"@glimmer/syntax": "^0.42.1",
"@css-blocks/glimmer": "^1.0.0-alpha.0",
"glob": "^7.1.6",
"glob-escape": "^0.0.2",
"opticss": "^0.6.2",
@@ -12,7 +12,7 @@ export interface FocusPath {
* Returns a linked list where the root node is the item found at the corresponding
* position with links back to all of its parent nodes.
*/
export function createFocusPath(node: AST.Template, position: Position, seen = new Set(), astPathNode: FocusPath = { parent: null, data: null }): FocusPath | null {
export function createFocusPath(node: AST.Node, position: Position, seen = new Set(), astPathNode: FocusPath = { parent: null, data: null }): FocusPath | null {
seen.add(node);

let range: SourceLocation = node.loc;

0 comments on commit 7c2ffe7

Please sign in to comment.
You can’t perform that action at this time.