Skip to content

Commit

Permalink
Fix the lit-analyzer CLI (#262)
Browse files Browse the repository at this point in the history
* Fix the lit-analyzer CLI

Looks like we updated some paths. Manually confirmed that the CLI works after this change.

Fixes #258

* Update version in constants.ts
  • Loading branch information
rictic authored May 24, 2022
1 parent 772d65d commit 3218622
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ All notable changes to this project will be documented in this file.
<!-- ### Removed -->
<!-- ### Fixed -->

## [2.0.0-pre.2]

### Fixed

- Fixed import issue in lit-analyzer CLI.

## [2.0.0-pre.1]

### Breaking
Expand Down
2 changes: 1 addition & 1 deletion packages/lit-analyzer/cli.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

require("./lib/index.cjs")
require("./index.js")
.cli()
// eslint-disable-next-line no-console
.catch(console.log);
2 changes: 1 addition & 1 deletion packages/lit-analyzer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lit-analyzer",
"version": "2.0.0-pre.1",
"version": "2.0.0-pre.2",
"description": "CLI that type checks bindings in lit-html templates",
"author": "runem",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/lit-analyzer/src/lib/analyze/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ export const DIAGNOSTIC_SOURCE = "lit-plugin";

export const TS_IGNORE_FLAG = "@ts-ignore";

export const VERSION = "2.0.0-pre.1";
export const VERSION = "2.0.0-pre.2";

export const MAX_RUNNING_TIME_PER_OPERATION = 150; // Default to small timeouts. Opt in to larger timeouts where necessary.

0 comments on commit 3218622

Please sign in to comment.