Skip to content

Commit

Permalink
build: update package commands to build transformed tokens in a separ…
Browse files Browse the repository at this point in the history
…ate folder

Move transformed files into a separate folder
  • Loading branch information
alexandra-lim authored Aug 8, 2022
2 parents 4e5da9c + 9dc9114 commit b24593b
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions build/native/colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 08 Aug 2022 15:26:33 GMT
* Generated on Mon, 08 Aug 2022 16:30:42 GMT
*/

export const green100 : string;
Expand Down Expand Up @@ -53,4 +53,4 @@ export const grey700 : string;
export const grey800 : string;
export const white : string;
export const black : string;
export const transparent : string;
export const transparent : string;
4 changes: 2 additions & 2 deletions build/native/colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 08 Aug 2022 15:26:33 GMT
* Generated on Mon, 08 Aug 2022 16:30:42 GMT
*/

module.exports = {
Expand Down Expand Up @@ -55,4 +55,4 @@ module.exports = {
"white": "#FFFFFF",
"black": "#000000",
"transparent": "transparent"
};
};
4 changes: 2 additions & 2 deletions build/native/typography.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 08 Aug 2022 15:26:33 GMT
* Generated on Mon, 08 Aug 2022 16:30:42 GMT
*/

export const letterSpacingBase : number;
Expand Down Expand Up @@ -114,4 +114,4 @@ export const mobileH3FontSize : number;
export const mobileH3LetterSpacing : number;
export const mobileH3ParagraphSpacing : number;
export const mobileH3TextDecoration : string;
export const mobileH3TextCase : string;
export const mobileH3TextCase : string;
4 changes: 2 additions & 2 deletions build/native/typography.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 08 Aug 2022 15:26:33 GMT
* Generated on Mon, 08 Aug 2022 16:30:42 GMT
*/

module.exports = {
Expand Down Expand Up @@ -116,4 +116,4 @@ module.exports = {
"mobileH3ParagraphSpacing": 0,
"mobileH3TextDecoration": "none",
"mobileH3TextCase": "none"
};
};
4 changes: 2 additions & 2 deletions build/scss/colors.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Mon, 08 Aug 2022 15:26:33 GMT
// Generated on Mon, 08 Aug 2022 16:30:42 GMT

$green100: #FAFFFC;
$green200: #EBF2EF;
Expand Down Expand Up @@ -52,4 +52,4 @@ $grey700: #36485C;
$grey800: #2E3A47;
$white: #FFFFFF;
$black: #000000;
$transparent: transparent;
$transparent: transparent;
4 changes: 2 additions & 2 deletions build/scss/typography.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Mon, 08 Aug 2022 15:26:33 GMT
// Generated on Mon, 08 Aug 2022 16:30:42 GMT

$letterSpacingBase: 0;
$paragraphSpacingBase: 0;
Expand Down Expand Up @@ -113,4 +113,4 @@ $mobileH3FontSize: 22px;
$mobileH3LetterSpacing: 0;
$mobileH3ParagraphSpacing: 0;
$mobileH3TextDecoration: none;
$mobileH3TextCase: none;
$mobileH3TextCase: none;
4 changes: 2 additions & 2 deletions build/ts/colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 08 Aug 2022 15:26:33 GMT
* Generated on Mon, 08 Aug 2022 16:30:42 GMT
*/

export const green100 : string;
Expand Down Expand Up @@ -53,4 +53,4 @@ export const grey700 : string;
export const grey800 : string;
export const white : string;
export const black : string;
export const transparent : string;
export const transparent : string;
4 changes: 2 additions & 2 deletions build/ts/colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 08 Aug 2022 15:26:33 GMT
* Generated on Mon, 08 Aug 2022 16:30:42 GMT
*/

module.exports = {
Expand Down Expand Up @@ -55,4 +55,4 @@ module.exports = {
"white": "#FFFFFF",
"black": "#000000",
"transparent": "transparent"
};
};
4 changes: 2 additions & 2 deletions build/ts/typography.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 08 Aug 2022 15:26:33 GMT
* Generated on Mon, 08 Aug 2022 16:30:42 GMT
*/

export const letterSpacingBase : number;
Expand Down Expand Up @@ -114,4 +114,4 @@ export const mobileH3FontSize : string;
export const mobileH3LetterSpacing : number;
export const mobileH3ParagraphSpacing : number;
export const mobileH3TextDecoration : string;
export const mobileH3TextCase : string;
export const mobileH3TextCase : string;
4 changes: 2 additions & 2 deletions build/ts/typography.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 08 Aug 2022 15:26:33 GMT
* Generated on Mon, 08 Aug 2022 16:30:42 GMT
*/

module.exports = {
Expand Down Expand Up @@ -116,4 +116,4 @@ module.exports = {
"mobileH3ParagraphSpacing": 0,
"mobileH3TextDecoration": "none",
"mobileH3TextCase": "none"
};
};
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"source": ["data/transformed-core.json"]
"source": ["transformed/transformed-core.json"]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
],
"scripts": {
"build": "node build.js",
"transform-core": "yarn token-transformer data data/transformed-core.json core --expandTypography",
"transform-light": "yarn token-transformer data data/transformed-light.json core,light core",
"transform-core": "yarn token-transformer data transformed/transformed-core.json core --expandTypography",
"transform-light": "yarn token-transformer data transformed/transformed-light.json core,light core",
"transform": "yarn transform-core && yarn transform-light"
},
"devDependencies": {
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit b24593b

Please sign in to comment.