@decocms/blocks-cli 7.71.6 → 8.0.0-next.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decocms/blocks-cli",
3
- "version": "7.71.6",
3
+ "version": "8.0.0-next.0",
4
4
  "type": "module",
5
5
  "description": "Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "lint:unused": "knip"
34
34
  },
35
35
  "dependencies": {
36
- "@decocms/blocks": "7.71.6",
36
+ "@decocms/blocks": "8.0.0-next.0",
37
37
  "ts-morph": "^27.0.0",
38
38
  "tsx": "^4.22.5"
39
39
  },
@@ -20,7 +20,9 @@ function makeCtx(sourceDir: string, dryRun = false): MigrationContext {
20
20
  importMap: {},
21
21
  discoveredNpmDeps: {},
22
22
  themeColors: {},
23
- tailwindConfig: { colors: {}, fontFamily: {}, screens: {}, safelist: [], safelistPatterns: [], plugins: [], reviewItems: [] },
23
+ tailwindConfig: { colors: {}, fontFamily: {}, screens: {}, animations: {}, keyframes: {}, safelist: [], safelistPatterns: [], plugins: [], reviewItems: [] },
24
+ layout: "classic",
25
+ googleFonts: { preconnects: [], stylesheets: [] },
24
26
  fontFamily: null,
25
27
  files: [],
26
28
  sectionMetas: [],
@@ -16,7 +16,9 @@ function makeCtx(sourceDir: string, dryRun = false): MigrationContext {
16
16
  importMap: {},
17
17
  discoveredNpmDeps: {},
18
18
  themeColors: {},
19
- tailwindConfig: { colors: {}, fontFamily: {}, screens: {}, safelist: [], safelistPatterns: [], plugins: [], reviewItems: [] },
19
+ tailwindConfig: { colors: {}, fontFamily: {}, screens: {}, animations: {}, keyframes: {}, safelist: [], safelistPatterns: [], plugins: [], reviewItems: [] },
20
+ layout: "classic",
21
+ googleFonts: { preconnects: [], stylesheets: [] },
20
22
  fontFamily: null,
21
23
  files: [],
22
24
  sectionMetas: [],
@@ -22,6 +22,8 @@ describe("report — CSS Migration section", () => {
22
22
  colors: { perola: "#F5F0E8", "brand-500": "#B10200" },
23
23
  fontFamily: { "bebas-neue": "Bebas Neue, sans-serif" },
24
24
  screens: {},
25
+ animations: {},
26
+ keyframes: {},
25
27
  safelist: ["bg-red-500"],
26
28
  safelistPatterns: [],
27
29
  plugins: [],
@@ -17,6 +17,7 @@ import type { MigrationContext } from "./types";
17
17
  function makeCtx(sourceDir: string): MigrationContext {
18
18
  return {
19
19
  sourceDir,
20
+ layout: "classic",
20
21
  siteName: "test-site",
21
22
  platform: "custom",
22
23
  vtexAccount: null,
@@ -25,6 +26,18 @@ function makeCtx(sourceDir: string): MigrationContext {
25
26
  discoveredNpmDeps: {},
26
27
  themeColors: {},
27
28
  fontFamily: null,
29
+ googleFonts: { preconnects: [], stylesheets: [] },
30
+ tailwindConfig: {
31
+ colors: {},
32
+ fontFamily: {},
33
+ screens: {},
34
+ animations: {},
35
+ keyframes: {},
36
+ safelist: [],
37
+ safelistPatterns: [],
38
+ plugins: [],
39
+ reviewItems: [],
40
+ },
28
41
  files: [],
29
42
  sectionMetas: [],
30
43
  islandClassifications: [],
@@ -28,7 +28,9 @@ function makeCtx(sourceDir: string): MigrationContext {
28
28
  importMap: {},
29
29
  discoveredNpmDeps: {},
30
30
  themeColors: {},
31
- tailwindConfig: { colors: {}, fontFamily: {}, screens: {}, safelist: [], safelistPatterns: [], plugins: [], reviewItems: [] },
31
+ tailwindConfig: { colors: {}, fontFamily: {}, screens: {}, animations: {}, keyframes: {}, safelist: [], safelistPatterns: [], plugins: [], reviewItems: [] },
32
+ layout: "classic",
33
+ googleFonts: { preconnects: [], stylesheets: [] },
32
34
  fontFamily: null,
33
35
  files: [],
34
36
  sectionMetas: [],
@@ -12,7 +12,9 @@ function makeCtx(platform: MigrationContext["platform"]): MigrationContext {
12
12
  importMap: {},
13
13
  discoveredNpmDeps: {},
14
14
  themeColors: {},
15
- tailwindConfig: { colors: {}, fontFamily: {}, screens: {}, safelist: [], safelistPatterns: [], plugins: [], reviewItems: [] },
15
+ tailwindConfig: { colors: {}, fontFamily: {}, screens: {}, animations: {}, keyframes: {}, safelist: [], safelistPatterns: [], plugins: [], reviewItems: [] },
16
+ layout: "classic",
17
+ googleFonts: { preconnects: [], stylesheets: [] },
16
18
  fontFamily: null,
17
19
  files: [],
18
20
  sectionMetas: [],