@plasmicapp/cli 0.1.328 → 0.1.330
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 +1 -1
- package/dist/lib.js +1 -1
- package/package.json +2 -2
- package/src/api.ts +1 -0
- package/src/utils/resolve-utils.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -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
|
@@ -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.330",
|
|
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": "6fb29483b149d14f7d4efb6eb7a4dfce503d34cd"
|
|
87
87
|
}
|
package/src/api.ts
CHANGED
|
@@ -66,6 +66,7 @@ export interface ProjectMetaBundle {
|
|
|
66
66
|
jsBundleThemes?: JsBundleTheme[];
|
|
67
67
|
globalContextBundle?: GlobalContextBundle;
|
|
68
68
|
splitsProviderBundle?: SplitsProviderBundle;
|
|
69
|
+
// A list of files that are exported from the project and *can* be used by the user
|
|
69
70
|
reactWebExportedFiles?: Array<{
|
|
70
71
|
fileName: string;
|
|
71
72
|
content: string;
|
|
@@ -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) {
|