Skip to content

Commit

Permalink
rm tokens-next-private output folder (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann authored Apr 17, 2024
1 parent 7329865 commit 58cce33
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-ravens-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/primitives': patch
---

rm private output fodlers which should not have been used
7 changes: 0 additions & 7 deletions scripts/buildFallbacks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@ fs.writeFileSync(
JSON.stringify(Object.fromEntries(storybookFallbacks), null, 2),
'utf8',
)
// build in tokens-next-private until it can be removed
fs.mkdirSync('tokens-next-private/fallbacks', {recursive: true})
fs.writeFileSync(
'tokens-next-private/fallbacks/color-fallbacks.json',
JSON.stringify(Object.fromEntries(storybookFallbacks), null, 2),
'utf8',
)
5 changes: 0 additions & 5 deletions scripts/buildTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,6 @@ export const buildDesignTokens = (buildOptions: ConfigGeneratorOptions): void =>
/** -----------------------------------
* Run build script
* ----------------------------------- */
// build to private directory for backwards compatibility
buildDesignTokens({
buildPath: 'tokens-next-private/',
})

// build to dist
buildDesignTokens({
buildPath: 'dist/',
Expand Down

0 comments on commit 58cce33

Please sign in to comment.