Skip to content

Commit 7e549c7

Browse files
rm tokens-next-private output folder (#852)
1 parent d17fac0 commit 7e549c7

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

.changeset/breezy-ravens-retire.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/primitives': patch
3+
---
4+
5+
rm private output fodlers which should not have been used

scripts/buildFallbacks.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,3 @@ fs.writeFileSync(
1010
JSON.stringify(Object.fromEntries(storybookFallbacks), null, 2),
1111
'utf8',
1212
)
13-
// build in tokens-next-private until it can be removed
14-
fs.mkdirSync('tokens-next-private/fallbacks', {recursive: true})
15-
fs.writeFileSync(
16-
'tokens-next-private/fallbacks/color-fallbacks.json',
17-
JSON.stringify(Object.fromEntries(storybookFallbacks), null, 2),
18-
'utf8',
19-
)

scripts/buildTokens.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,6 @@ export const buildDesignTokens = (buildOptions: ConfigGeneratorOptions): void =>
217217
/** -----------------------------------
218218
* Run build script
219219
* ----------------------------------- */
220-
// build to private directory for backwards compatibility
221-
buildDesignTokens({
222-
buildPath: 'tokens-next-private/',
223-
})
224-
225220
// build to dist
226221
buildDesignTokens({
227222
buildPath: 'dist/',

0 commit comments

Comments
 (0)