fimo 0.2.3-staging.9 → 0.2.3
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## Browsing Your Files
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Click the **Code** tab (the code icon) in the workspace navigation, or press **Option+4** (Mac) / **Alt+4** (Windows/Linux). A file tree appears showing all your project files and folders.
|
|
4
4
|
|
|
5
5
|
Inside the Code workspace, the left sidebar shows the **Files** tree. If you ever switch the sidebar to another view, press **Cmd+Shift+E** (Mac) / **Ctrl+Shift+E** (Windows/Linux) to bring the Files explorer back.
|
|
6
6
|
|
package/dist/cli/bundle.json
CHANGED
package/dist/cli/index.js
CHANGED
|
@@ -100555,6 +100555,7 @@ init_auth_errors();
|
|
|
100555
100555
|
import fs19 from "node:fs";
|
|
100556
100556
|
import path23 from "node:path";
|
|
100557
100557
|
var DEP_FIELDS = ["dependencies", "devDependencies"];
|
|
100558
|
+
var FALLBACK_FIMO_DEP = "latest";
|
|
100558
100559
|
function prepareDevFimoDependencyForDeploy(cwd) {
|
|
100559
100560
|
const packagePath = path23.join(cwd, "package.json");
|
|
100560
100561
|
if (!fs19.existsSync(packagePath)) {
|
|
@@ -100568,16 +100569,11 @@ function prepareDevFimoDependencyForDeploy(cwd) {
|
|
|
100568
100569
|
}
|
|
100569
100570
|
const localPackageRoot = resolveFileSpec(fileSpec, cwd);
|
|
100570
100571
|
const devJsonPath = findDevJson(localPackageRoot);
|
|
100571
|
-
|
|
100572
|
-
|
|
100573
|
-
`Found local fimo dependency "${fileSpec}", but no .fimo/dev.json exists above ${localPackageRoot}. Publish an experimental CLI build from the Fimo repo first.`
|
|
100574
|
-
);
|
|
100575
|
-
}
|
|
100576
|
-
const state = readDevReleaseState(devJsonPath);
|
|
100577
|
-
if (!state.version) {
|
|
100572
|
+
const version2 = devJsonPath ? readDevReleaseState(devJsonPath).version : FALLBACK_FIMO_DEP;
|
|
100573
|
+
if (!version2) {
|
|
100578
100574
|
throw new Error(`Missing "version" in ${devJsonPath}. Publish an experimental CLI build again.`);
|
|
100579
100575
|
}
|
|
100580
|
-
const changed = replaceLocalFimoSpecs(pkg,
|
|
100576
|
+
const changed = replaceLocalFimoSpecs(pkg, version2);
|
|
100581
100577
|
if (!changed) {
|
|
100582
100578
|
return null;
|
|
100583
100579
|
}
|
|
@@ -100585,7 +100581,7 @@ function prepareDevFimoDependencyForDeploy(cwd) {
|
|
|
100585
100581
|
return {
|
|
100586
100582
|
devJsonPath,
|
|
100587
100583
|
packagePath,
|
|
100588
|
-
version:
|
|
100584
|
+
version: version2,
|
|
100589
100585
|
restore: /* @__PURE__ */ __name(() => fs19.writeFileSync(packagePath, original), "restore")
|
|
100590
100586
|
};
|
|
100591
100587
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/runtime/templates.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,mBAAmB,oDAAqD,CAAC;AACtF,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACrE,eAAO,MAAM,gBAAgB,EAAE,iBAAkC,CAAC;AAElE;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,SAAS,GAAE,iBAAoC,GAAG,MAAM,CAEvF;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAM7C;
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/runtime/templates.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,mBAAmB,oDAAqD,CAAC;AACtF,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACrE,eAAO,MAAM,gBAAgB,EAAE,iBAAkC,CAAC;AAElE;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,SAAS,GAAE,iBAAoC,GAAG,MAAM,CAEvF;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,IAAI,MAAM,CAM7C;AAqBD,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,KAAK,GAAG,KAAK,GAAG,IAAI,CAAC;CAC9B;AAED,wBAAgB,eAAe,IAAI,WAAW,CAS7C;AAED,wBAAgB,aAAa,IAAI,MAAM,GAAG,IAAI,CAW7C;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,OAAO,GAAE;IAAE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAO,GAC/C,MAAM,GAAG,IAAI,CAUf;AAED,uDAAuD;AACvD,wBAAgB,cAAc,CAAC,OAAO,GAAE;IAAE,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAO,GAAG,MAAM,GAAG,IAAI,CAE9F;AAED,UAAU,WAAW;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,WAAW,EAAE,GAAG,GAAE,MAAM,GAAG,IAAuB,GAAG,OAAO,CA2B/F"}
|
package/package.json
CHANGED
package/release.json
CHANGED