Skip to content

Commit

Permalink
feat: include only mobile and desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacper-RF committed Nov 29, 2023
1 parent 149c9c8 commit a7d17db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copy-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const packagesDir = path.resolve(rootDir, 'packages')

const rootChangelog = fs.readFileSync(path.resolve(rootDir, 'CHANGELOG.md'), 'utf8')

const packages = fs.readdirSync(packagesDir).filter(package => !['.DS_Store', '@types'].includes(package))
const packages = fs.readdirSync(packagesDir).filter(package => ['desktop', 'mobile'].includes(package))

packages.forEach(package => {
fs.writeFileSync(path.resolve(packagesDir, package, 'CHANGELOG.md'), rootChangelog)
Expand Down

0 comments on commit a7d17db

Please sign in to comment.