@plasmicapp/cli 0.1.329 → 0.1.331
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.
- package/dist/index.js +2 -2
- package/dist/lib.js +2 -2
- package/package.json +2 -2
- package/src/utils/auth-utils.ts +2 -2
- package/src/utils/resolve-utils.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -502315,7 +502315,7 @@ function authByPrompt(host) {
|
|
|
502315
502315
|
},
|
|
502316
502316
|
{
|
|
502317
502317
|
name: "token",
|
|
502318
|
-
message: `Your personal access token (create one at ${host}/
|
|
502318
|
+
message: `Your personal access token (create one at ${host}/settings)`
|
|
502319
502319
|
}
|
|
502320
502320
|
]);
|
|
502321
502321
|
const cancel = () => {
|
|
@@ -503854,7 +503854,7 @@ async function checkProjectMeta(meta, root, context, opts) {
|
|
|
503854
503854
|
}
|
|
503855
503855
|
const newVersionIsLatest = isLatest(newVersion) || !valid2(newVersion);
|
|
503856
503856
|
const versionOnDiskIsLatest = isLatest(versionOnDisk) || !valid2(versionOnDisk);
|
|
503857
|
-
if (versionOnDiskIsLatest &&
|
|
503857
|
+
if (versionOnDiskIsLatest && meta !== root) {
|
|
503858
503858
|
if (!isOnDiskCodeInvalid) {
|
|
503859
503859
|
logger.warn(
|
|
503860
503860
|
`'${root.projectName}' depends on ${projectName}@${newVersion}. To update this project, explicitly specify this project for sync. Skipping...`
|
package/dist/lib.js
CHANGED
|
@@ -497657,7 +497657,7 @@ function authByPrompt(host) {
|
|
|
497657
497657
|
},
|
|
497658
497658
|
{
|
|
497659
497659
|
name: "token",
|
|
497660
|
-
message: `Your personal access token (create one at ${host}/
|
|
497660
|
+
message: `Your personal access token (create one at ${host}/settings)`
|
|
497661
497661
|
}
|
|
497662
497662
|
]);
|
|
497663
497663
|
const cancel = () => {
|
|
@@ -499152,7 +499152,7 @@ async function checkProjectMeta(meta, root, context, opts) {
|
|
|
499152
499152
|
}
|
|
499153
499153
|
const newVersionIsLatest = isLatest(newVersion) || !valid2(newVersion);
|
|
499154
499154
|
const versionOnDiskIsLatest = isLatest(versionOnDisk) || !valid2(versionOnDisk);
|
|
499155
|
-
if (versionOnDiskIsLatest &&
|
|
499155
|
+
if (versionOnDiskIsLatest && meta !== root) {
|
|
499156
499156
|
if (!isOnDiskCodeInvalid) {
|
|
499157
499157
|
logger.warn(
|
|
499158
499158
|
`'${root.projectName}' depends on ${projectName}@${newVersion}. To update this project, explicitly specify this project for sync. Skipping...`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.331",
|
|
4
4
|
"description": "plasmic cli for syncing local code with Plasmic designs",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=12"
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"wrap-ansi": "^7.0.0",
|
|
84
84
|
"yargs": "^15.4.1"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "403492bad81b3b581cb09618ae4fd66cf488a79c"
|
|
87
87
|
}
|
package/src/utils/auth-utils.ts
CHANGED
|
@@ -10,8 +10,8 @@ import { logger } from "../deps";
|
|
|
10
10
|
import { CommonArgs } from "../index";
|
|
11
11
|
import { HandledError } from "../utils/error";
|
|
12
12
|
import {
|
|
13
|
-
AuthConfig,
|
|
14
13
|
AUTH_FILE_NAME,
|
|
14
|
+
AuthConfig,
|
|
15
15
|
DEFAULT_HOST,
|
|
16
16
|
ENV_AUTH_HOST,
|
|
17
17
|
ENV_AUTH_TOKEN,
|
|
@@ -80,7 +80,7 @@ function authByPrompt(host: string) {
|
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
name: "token",
|
|
83
|
-
message: `Your personal access token (create one at ${host}/
|
|
83
|
+
message: `Your personal access token (create one at ${host}/settings)`,
|
|
84
84
|
},
|
|
85
85
|
]);
|
|
86
86
|
|
|
@@ -106,7 +106,7 @@ async function checkProjectMeta(
|
|
|
106
106
|
const versionOnDiskIsLatest =
|
|
107
107
|
semver.isLatest(versionOnDisk) || !semver.valid(versionOnDisk);
|
|
108
108
|
|
|
109
|
-
if (versionOnDiskIsLatest &&
|
|
109
|
+
if (versionOnDiskIsLatest && meta !== root) {
|
|
110
110
|
// If this is a dependency (not root), and we're dealing with latest dep version
|
|
111
111
|
// just skip, it's confusing
|
|
112
112
|
if (!isOnDiskCodeInvalid) {
|