@superblocksteam/cli 2.0.0-next.18 → 2.0.0-next.19
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/README.md +1 -1
- package/dist/index.js +12 -18
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ $ npm install -g @superblocksteam/cli
|
|
|
14
14
|
$ superblocks COMMAND
|
|
15
15
|
running command...
|
|
16
16
|
$ superblocks (--version)
|
|
17
|
-
@superblocksteam/cli/2.0.0-next.
|
|
17
|
+
@superblocksteam/cli/2.0.0-next.19 linux-x64 node-v20.19.0
|
|
18
18
|
$ superblocks --help [COMMAND]
|
|
19
19
|
USAGE
|
|
20
20
|
$ superblocks COMMAND
|
package/dist/index.js
CHANGED
|
@@ -50599,12 +50599,12 @@ var require_application = __commonJS({
|
|
|
50599
50599
|
};
|
|
50600
50600
|
}
|
|
50601
50601
|
exports2.getDefaultRoute = getDefaultRoute;
|
|
50602
|
-
var
|
|
50603
|
-
(function(
|
|
50604
|
-
|
|
50605
|
-
|
|
50606
|
-
|
|
50607
|
-
})(
|
|
50602
|
+
var ThemeMode;
|
|
50603
|
+
(function(ThemeMode2) {
|
|
50604
|
+
ThemeMode2["LIGHT"] = "LIGHT";
|
|
50605
|
+
ThemeMode2["DARK"] = "DARK";
|
|
50606
|
+
ThemeMode2["AUTO"] = "AUTO";
|
|
50607
|
+
})(ThemeMode = exports2.ThemeMode || (exports2.ThemeMode = {}));
|
|
50608
50608
|
exports2.CUSTOM_THEME_TYPOGRAPHY_KEY = "custom";
|
|
50609
50609
|
function toExportedApplicationSettings(applicationSettings) {
|
|
50610
50610
|
return {
|
|
@@ -263726,7 +263726,7 @@ init_esm();
|
|
|
263726
263726
|
// ../sdk/package.json
|
|
263727
263727
|
var package_default = {
|
|
263728
263728
|
name: "@superblocksteam/sdk",
|
|
263729
|
-
version: "2.0.0-next.
|
|
263729
|
+
version: "2.0.0-next.19",
|
|
263730
263730
|
type: "module",
|
|
263731
263731
|
description: "Superblocks JS SDK",
|
|
263732
263732
|
homepage: "https://www.superblocks.com",
|
|
@@ -263763,8 +263763,8 @@ var package_default = {
|
|
|
263763
263763
|
"@rollup/wasm-node": "^4.35.0",
|
|
263764
263764
|
"@superblocksteam/bucketeer-sdk": "0.4.1",
|
|
263765
263765
|
"@superblocksteam/shared": "0.9132.0",
|
|
263766
|
-
"@superblocksteam/util": "2.0.0-next.
|
|
263767
|
-
"@superblocksteam/vite-plugin-file-sync": "2.0.0-next.
|
|
263766
|
+
"@superblocksteam/util": "2.0.0-next.19",
|
|
263767
|
+
"@superblocksteam/vite-plugin-file-sync": "2.0.0-next.19",
|
|
263768
263768
|
"@vitejs/plugin-react": "^4.3.4",
|
|
263769
263769
|
axios: "^1.4.0",
|
|
263770
263770
|
chokidar: "^4.0.3",
|
|
@@ -276236,12 +276236,6 @@ init_cjs_shims();
|
|
|
276236
276236
|
|
|
276237
276237
|
// ../../../library-shared/dist/types/theme.js
|
|
276238
276238
|
init_cjs_shims();
|
|
276239
|
-
var ThemeMode;
|
|
276240
|
-
(function(ThemeMode2) {
|
|
276241
|
-
ThemeMode2["LIGHT"] = "LIGHT";
|
|
276242
|
-
ThemeMode2["DARK"] = "DARK";
|
|
276243
|
-
ThemeMode2["AUTO"] = "AUTO";
|
|
276244
|
-
})(ThemeMode || (ThemeMode = {}));
|
|
276245
276239
|
|
|
276246
276240
|
// ../../../library-shared/dist/types/common.js
|
|
276247
276241
|
init_cjs_shims();
|
|
@@ -301621,13 +301615,13 @@ var updateThemeAst = (ast, updates) => {
|
|
|
301621
301615
|
traverse(ast, {
|
|
301622
301616
|
ExportDefaultDeclaration(path45) {
|
|
301623
301617
|
const themeObject = path45.get("declaration").get("expression");
|
|
301624
|
-
if (!(import_types19.default.isTSSatisfiesExpression(path45.node.declaration) && import_types19.default.isTSTypeReference(path45.node.declaration.typeAnnotation) && import_types19.default.isIdentifier(path45.node.declaration.typeAnnotation.typeName) && path45.node.declaration.typeAnnotation.typeName.name === "
|
|
301618
|
+
if (!(import_types19.default.isTSSatisfiesExpression(path45.node.declaration) && import_types19.default.isTSTypeReference(path45.node.declaration.typeAnnotation) && import_types19.default.isIdentifier(path45.node.declaration.typeAnnotation.typeName) && path45.node.declaration.typeAnnotation.typeName.name === "AppTheme" && !Array.isArray(themeObject) && import_types19.default.isObjectExpression(themeObject.node))) {
|
|
301625
301619
|
throw new Error(`Could not update theme because the default export is not an object expression. We currently only support exporting the theme as a default export which should satisfy the Theme type from @superblocks/library. Example:
|
|
301626
301620
|
|
|
301627
301621
|
import type { Theme } from "@superblocksteam/library";
|
|
301628
301622
|
export default {
|
|
301629
301623
|
borderRadius: { mode: 'px', value: 4 },
|
|
301630
|
-
} satisfies
|
|
301624
|
+
} satisfies AppTheme;
|
|
301631
301625
|
`);
|
|
301632
301626
|
}
|
|
301633
301627
|
mergeThemeUpdates(themeObject, updates);
|
|
@@ -308667,7 +308661,7 @@ async function startVite({ app, httpServer: httpServer2, root: root2, mode, port
|
|
|
308667
308661
|
};
|
|
308668
308662
|
const isCustomBuildEnabled2 = await isCustomComponentsEnabled();
|
|
308669
308663
|
const customFolder = path21.join(root2, "custom");
|
|
308670
|
-
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.0-next.
|
|
308664
|
+
const cdnUrl = "https://assets-cdn.superblocks.com/library/2.0.0-next.19";
|
|
308671
308665
|
const env3 = loadEnv(mode, root2, "");
|
|
308672
308666
|
const hmrPort = await getFreePort();
|
|
308673
308667
|
const hmrOptions = {
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/cli",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Official Superblocks CLI",
|
|
6
6
|
"homepage": "https://www.superblocks.com",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@eslint/js": "^9.16.0",
|
|
44
44
|
"@oclif/test": "^4.1.11",
|
|
45
|
-
"@superblocksteam/sdk": "2.0.0-next.
|
|
45
|
+
"@superblocksteam/sdk": "2.0.0-next.19",
|
|
46
46
|
"@superblocksteam/shared": "0.9132.0",
|
|
47
|
-
"@superblocksteam/util": "2.0.0-next.
|
|
47
|
+
"@superblocksteam/util": "2.0.0-next.19",
|
|
48
48
|
"@types/babel__core": "^7.20.0",
|
|
49
49
|
"@types/chai": "^4",
|
|
50
50
|
"@types/fs-extra": "^11.0.1",
|