Skip to content

Commit

Permalink
Merge branch 'main' into am-data-attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
amanmahajan7 authored Jan 7, 2025
2 parents 0c9cce3 + 071dd8f commit 848ac91
Show file tree
Hide file tree
Showing 13 changed files with 431 additions and 133 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/patch-react19.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import fs from 'node:fs/promises';
const pkgText = await fs.readFile('./package.json', 'utf8');
const pkg = JSON.parse(pkgText);

pkg.devDependencies['@types/react'] = 'npm:types-react@rc';
pkg.devDependencies['@types/react-dom'] = 'npm:types-react-dom@rc';
pkg.devDependencies.react = 'rc';
pkg.devDependencies['react-dom'] = 'rc';
pkg.devDependencies['@types/react'] = '^19.0.0';
pkg.devDependencies['@types/react-dom'] = '^19.0.0';
pkg.devDependencies.react = '^19.0.0';
pkg.devDependencies['react-dom'] = '^19.0.0';
pkg.overrides = {
'@types/react': 'npm:types-react@rc',
'@types/react-dom': 'npm:types-react-dom@rc'
'@types/react': '^19.0.0',
'@types/react-dom': '^19.0.0'
};

fs.writeFile('./package.json', JSON.stringify(pkg, null, 2));
Loading

0 comments on commit 848ac91

Please sign in to comment.