fix refresh-assets cache inputs

This commit is contained in:
David Sheldrick 2024-02-29 18:02:22 +00:00
parent 752c30ac62
commit a25d58e9b6
5 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,4 @@
// This file is automatically generated by scripts/refresh-assets.ts.
// Do not edit manually. Or do, I'm a comment, not a cop.
export const version = '2.0.0-beta.7'
export const version = '2.0.0-beta.8'

View file

@ -82,7 +82,12 @@ const config = {
execution: 'top-level',
baseCommand: `tsx <rootDir>/scripts/refresh-assets.ts`,
cache: {
inputs: ['package.json', `<rootDir>/scripts/refresh-assets.ts`, `<rootDir>/assets/**/*`],
inputs: [
'package.json',
`<rootDir>/scripts/refresh-assets.ts`,
`<rootDir>/assets/**/*`,
`<rootDir>/packages/*/package.json`,
],
},
},
'build-types': {

View file

@ -1,4 +1,4 @@
// This file is automatically generated by scripts/refresh-assets.ts.
// Do not edit manually. Or do, I'm a comment, not a cop.
export const version = '2.0.0-beta.7'
export const version = '2.0.0-beta.8'

View file

@ -1,4 +1,4 @@
// This file is automatically generated by scripts/refresh-assets.ts.
// Do not edit manually. Or do, I'm a comment, not a cop.
export const version = '2.0.0-beta.7'
export const version = '2.0.0-beta.8'

View file

@ -57,7 +57,7 @@ export async function setAllVersions(version: string) {
)
}
await exec('yarn', ['refresh-assets'])
await exec('yarn', ['refresh-assets', '--force'])
const lernaJson = JSON.parse(readFileSync('lerna.json', 'utf8'))
lernaJson.version = version