Skip to content

Commit

Permalink
fix: change the main CLI path to lib/src/*
Browse files Browse the repository at this point in the history
  • Loading branch information
favoyang committed Feb 27, 2024
1 parent f8ab256 commit 3fd2c01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"semantic-release": "semantic-release"
},
"bin": {
"openupm": "lib/index.js",
"openupm-cli": "lib/index.js",
"openupm-cn": "lib/index-cn.js"
"openupm": "lib/src/index.js",
"openupm-cli": "lib/src/index.js",
"openupm-cn": "lib/src/index-cn.js"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -90,4 +90,4 @@
"volta": {
"node": "16.20.2"
}
}
}
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { login } from "./cmd-login";
import log from "./logger";

// update-notifier
import pkg from "../package.json";
import pkg from "../../package.json";
import { eachValue, mustBeParsable, mustSatisfy } from "./cli-parsing";
import { isPackageReference } from "./types/package-reference";
import { isDomainName } from "./types/domain-name";
Expand Down

0 comments on commit 3fd2c01

Please sign in to comment.