Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Build folders
dist/
lib/
!packages/react/codemods/lib/
lib-esm/
css/

# Editor
Expand Down
3 changes: 0 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
.changeset
packages/react/CHANGELOG.md
dist
lib
!codemods/lib/**
lib-esm
storybook-static
docs/.cache
docs/public
Expand Down
2 changes: 0 additions & 2 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
docs/public/**/*.css
**/lib-esm/**/*.css
**/lib/**/*.css
**/dist/**/*.css
**/.next/**/*.css
**/storybook-static/**
3 changes: 0 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const config = defineConfig([
'**/.cache',
'coverage/**/*',
'docs/public/**/*',
'lib/**/*',
'types/**/*',
'consumer-test/**/*',
'contributor-docs/adrs/*',
Expand All @@ -49,8 +48,6 @@ const config = defineConfig([
'**/storybook-static/**/*',
'**/.next/**/*',
'dist/**/*',
'**/lib/**/*',
'**/lib-esm/**/*',
'**/dist/**/*',
'script/**/*.ts',
'**/*.module.css.d.ts',
Expand Down
4 changes: 2 additions & 2 deletions packages/react/script/get-export-sizes.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function getPackageExports(exportMap, type = 'commonjs') {
//
// "exports": {
// ".": "./index.js",
// "./lib-esm/*": [],
// "./dist/*": [],
// }
Comment thread
joshblack marked this conversation as resolved.
//
if (typeof value === 'string') {
Expand All @@ -245,7 +245,7 @@ function getPackageExports(exportMap, type = 'commonjs') {
// "import": "./index.js",
// "require": "./index.js"
// },
// "./lib-esm/*": {
// "./dist/*": {
// "import": [],
// "require": []
// }
Expand Down
2 changes: 0 additions & 2 deletions packages/react/vitest.config.browser.mts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ export default defineConfig({
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/lib-esm/**',
'**/lib/**',
'**/generated/**',
'**/*.figma.tsx',
'**/*.types.test.ts',
Expand Down
4 changes: 2 additions & 2 deletions script/setup-react-19.mts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const versions = new Map([
])

const packageJsonPaths = glob.sync('{examples,packages}/**/package.json', {
ignore: ['**/node_modules/**', '**/dist/**', '**/lib/**', '**/lib-esm/**', '**/.next/**', '**/storybook-static/**'],
ignore: ['**/node_modules/**', '**/dist/**', '**/.next/**', '**/storybook-static/**'],
})

const dependencyTypes = new Set(['dependencies', 'devDependencies', 'peerDependencies'])
Expand All @@ -40,7 +40,7 @@ for (const packageJsonPath of packageJsonPaths) {
}
}

fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2) + '\n', 'utf8')
fs.writeFileSync(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}\n`, 'utf8')
}

execSync('npm install', {stdio: 'inherit'})
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "dist/**", "lib/**", "lib-esm/**", "generated/**"]
"outputs": [".next/**", "dist/**", "generated/**"]
},
"build:storybook": {
"dependsOn": ["^build"],
Expand Down
Loading