Skip to content

Commit

Permalink
fix: update theme to add default ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Code-Monkey committed Jan 5, 2023
1 parent 107ace7 commit b3034c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"@techstack/react-feather": "0.2.117",
"@techstack/react-lazy-named": "0.2.116",
"@techstack/styled-system": "0.2.121",
"@techstack/theme": "^0.2.121",
"@techstack/theme": "0.2.121",
"@types/react-table": "7.7.14",
"classnames": "2.3.2",
"csstype": "3.1.1",
Expand Down
7 changes: 1 addition & 6 deletions packages/theme/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,7 @@ const generate = async (options: { b: string; brand: string }) => {

fs.removeSync(`./theme-dist`);

fs.copySync(`./ts`, tsFilesOutputDir);

// fs.copyFileSync('./ts/index.ts', `${outputDir}/index.ts`)
// fs.copyFileSync('./ts/colors.ts', `${outputDir}/colors.ts`)
// fs.copyFileSync('./ts/types.ts', `${outputDir}/types.ts`)
// fs.copyFileSync('./ts/defaultVariants.ts', `${outputDir}/defaultVariants.ts`)
fs.copySync(path.resolve(__dirname, 'ts'), tsFilesOutputDir)
};

const cli = sade('orchard');
Expand Down

0 comments on commit b3034c5

Please sign in to comment.