Skip to content

Commit

Permalink
fix: update registry directories
Browse files Browse the repository at this point in the history
  • Loading branch information
andrre-ls committed Nov 11, 2024
1 parent e9f0055 commit c933546
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const { buildRegistry } = require('./scripts/build-registry.cjs');

const REGISTRY_WATCH_DIRECTORIES = ['src/foundations', 'src/lib/utils'];
const REGISTRY_WATCH_DIRECTORIES = ['src/foundations'];

const withNextra = require('nextra')({
theme: 'nextra-theme-docs',
Expand Down
1 change: 0 additions & 1 deletion scripts/build-registry.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const ROOT_DIRECTORY = 'src/';
const TARGET_DIRECTORY = '__registry__';
const SOURCE_GLOB_PATTERNS = [
'src/foundations/**/*.{ts,tsx}',
'src/lib/utils/**.ts',
'src/lib/tailwind.ts',
'tailwind.config.cjs'
];
Expand Down

0 comments on commit c933546

Please sign in to comment.