@mittwald/flow-codemods 1.1.0-next.11 → 1.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"migrations.generated.d.ts","sourceRoot":"","sources":["../src/migrations.generated.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,sEAAsE;AACtE,eAAO,MAAM,UAAU,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,EAwOpD,CAAC"}
1
+ {"version":3,"file":"migrations.generated.d.ts","sourceRoot":"","sources":["../src/migrations.generated.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,sEAAsE;AACtE,eAAO,MAAM,UAAU,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,EAmPpD,CAAC"}
@@ -3,6 +3,15 @@
3
3
  // Source: packages/codemods/src/migrations/<id>/entry.md
4
4
  /** Every migration, newest first. Bodies live in `src/migrations`. */
5
5
  export const migrations = [
6
+ {
7
+ id: "use-design-tokens-build-metadata-removed",
8
+ since: "1.0.16",
9
+ title: "useDesignTokens(): no longer returns style-dictionary build metadata",
10
+ kind: "migration",
11
+ action: "manual",
12
+ remotePackage: false,
13
+ apply: "Only affects code reading `filePath`, `isSource`, `original`, `name`, `attributes` or `key` off a token returned by `useDesignTokens()`. Those fields are gone; read them from `@mittwald/flow-design-tokens/json/all-light.json` (or `all-dark.json`) instead, and never from browser code. `value` and `path` are unchanged — code using only those needs no change.",
14
+ },
6
15
  {
7
16
  id: "segmented-control-deprecated",
8
17
  since: "0.2.0-alpha.1056",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-codemods",
3
- "version": "1.1.0-next.11",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "description": "Codemods and an upgrade CLI for consumers of Flow, mittwald's design system",
6
6
  "homepage": "https://flow.mittwald.de",
@@ -38,5 +38,5 @@
38
38
  "vitest": "^4.1.11",
39
39
  "yaml": "^2.8.1"
40
40
  },
41
- "gitHead": "bc0ae71617e1e8da950269f0c5a0e765fae2c7aa"
41
+ "gitHead": "3a17e79b1d0dcae9037add47eded28bbec98c038"
42
42
  }