@nuvler/cli 0.5.10 → 0.5.12

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 CHANGED
@@ -193,7 +193,7 @@ SDK pode ser maior que a da Theme API. Os scripts do projeto usam esse CLI local
193
193
  Para versões específicas:
194
194
 
195
195
  ```bash
196
- nuvler theme upgrade --sdk 1.4.2 --cli 0.5.10
196
+ nuvler theme upgrade --sdk 1.4.3 --cli 0.5.12
197
197
  ```
198
198
 
199
199
  Não altere o `id` do tema: ele identifica o mesmo tema no Registry.
@@ -362,7 +362,7 @@ Atualiza o Theme SDK e o CLI local sem alterar a versão publicada do tema:
362
362
 
363
363
  ```bash
364
364
  nuvler theme upgrade
365
- nuvler theme upgrade --sdk 1.4.2 --cli 0.5.10
365
+ nuvler theme upgrade --sdk 1.4.3 --cli 0.5.12
366
366
  nuvler theme upgrade --bump patch
367
367
  ```
368
368
 
@@ -6,7 +6,7 @@ import { fileURLToPath } from "node:url";
6
6
  const THEME_ID_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
7
7
  const NEW_THEME_VERSION = "0.1.0";
8
8
  const CLI_VERSION_RANGE = `^${CLI_VERSION}`;
9
- const SDK_VERSION_RANGE = "^1.3.3";
9
+ const SDK_VERSION_RANGE = "^1.4.3";
10
10
  export const THEME_TEMPLATES = [
11
11
  {
12
12
  id: "starter",
package/dist/nuvler.js CHANGED
@@ -35,7 +35,7 @@ var CLI_VERSION = JSON.parse(readFileSync(packagePath, "utf8")).version;
35
35
  var THEME_ID_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
36
36
  var NEW_THEME_VERSION = "0.1.0";
37
37
  var CLI_VERSION_RANGE = `^${CLI_VERSION}`;
38
- var SDK_VERSION_RANGE = "^1.3.3";
38
+ var SDK_VERSION_RANGE = "^1.4.3";
39
39
  var THEME_TEMPLATES = [
40
40
  {
41
41
  id: "starter",
@@ -7027,6 +7027,7 @@ var ThemeMiniBannerItemSchema = object({
7027
7027
  image: ThemeImageSchema.nullable().optional(),
7028
7028
  imageAlt: string$1().trim().max(300).optional(),
7029
7029
  title: string$1().trim().max(120).optional(),
7030
+ linkLabel: string$1().trim().max(80).optional(),
7030
7031
  link: publicHrefSchema.or(literal("")).optional()
7031
7032
  }).strict().superRefine((item, context) => {
7032
7033
  if (!item.image?.url && !item.imageUrl) context.addIssue({