From 2bc82fd560d7fcf6ef16fc542413f693ffccd5f8 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 26 Jun 2024 11:47:46 -0700 Subject: [PATCH] Sort configs by file name --- packages/tokens/config.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/tokens/config.js b/packages/tokens/config.js index e5a479a1..f5ff39a1 100644 --- a/packages/tokens/config.js +++ b/packages/tokens/config.js @@ -13,19 +13,23 @@ module.exports = { buildPath: './dist/', prefix: '', files: [ + { + destination: 'index.d.ts', + format: 'typescript/es6-declarations/module', + }, { destination: 'js/colors.js', format: 'javascript/es6/vads-colors', filter: 'filter/color/is-color', }, - { - destination: 'js/themes.js', - format: 'javascript/es6/vads-colors-themes', - }, { destination: 'js/index.js', format: 'javascript/es6/vads-module-export', }, + { + destination: 'js/themes.js', + format: 'javascript/es6/vads-colors-themes', + }, { destination: 'types/colors.d.ts', format: 'typescript/es6-declarations/colors', @@ -36,10 +40,6 @@ module.exports = { format: 'typescript/es6-declarations/theme', filter: 'filter/color/light-mode', }, - { - destination: 'index.d.ts', - format: 'typescript/es6-declarations/module', - }, ], }, figma: { @@ -47,14 +47,14 @@ module.exports = { buildPath: './figma/', files: [ { - destination: `light.json`, + destination: `dark.json`, format: 'json/dtcg', - filter: 'filter/color/light-mode', + filter: 'filter/color/dark-mode', }, { - destination: `dark.json`, + destination: `light.json`, format: 'json/dtcg', - filter: 'filter/color/dark-mode', + filter: 'filter/color/light-mode', }, ], },