fix refresh-assets cache inputs

pull/3011/head^2
David Sheldrick 2024-02-29 18:02:22 +00:00
rodzic 752c30ac62
commit a25d58e9b6
5 zmienionych plików z 10 dodań i 5 usunięć

Wyświetl plik

@ -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'

Wyświetl plik

@ -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': {

Wyświetl plik

@ -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'

Wyświetl plik

@ -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'

Wyświetl plik

@ -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