Skip to content

Commit eb38449

Browse files
committed
manifest.json is now lexicons.json
1 parent e549b2f commit eb38449

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/cli/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
lexicons
2-
manifest.json
2+
lexicons.json

packages/cli/deno.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@lpm/cli",
33
"exports": "./bin.ts",
4-
"version": "0.1.16",
4+
"version": "0.2.0",
55
"license": "MIT",
66

77
"imports": {

packages/cli/src/commands.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class FetchCommand implements CommandDescriptor {
7575
if (!manifestDir) {
7676
throw new Error("Could not determine manifest directory");
7777
}
78-
const manifestPath = manifestDir + "/manifest.json";
78+
const manifestPath = manifestDir + "/lexicons.json";
7979
const nsids = JSON.parse(await this.fs.readText(manifestPath)).lexicons.map(
8080
(nsid: string) => NSID.parse(nsid),
8181
);
@@ -118,7 +118,7 @@ export class AddCommand implements CommandDescriptor {
118118
if (!manifestDir) {
119119
throw new Error("Could not determine manifest directory");
120120
}
121-
const manifestPath = manifestDir + "/manifest.json";
121+
const manifestPath = manifestDir + "/lexicons.json";
122122

123123
const manifest = (await this.fs.exists(manifestPath))
124124
? JSON.parse(await this.fs.readText(manifestPath))

0 commit comments

Comments
 (0)