fix refresh-assets cache inputs
This commit is contained in:
parent
752c30ac62
commit
a25d58e9b6
5 changed files with 10 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
// This file is automatically generated by scripts/refresh-assets.ts.
|
// This file is automatically generated by scripts/refresh-assets.ts.
|
||||||
// Do not edit manually. Or do, I'm a comment, not a cop.
|
// 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'
|
||||||
|
|
|
@ -82,7 +82,12 @@ const config = {
|
||||||
execution: 'top-level',
|
execution: 'top-level',
|
||||||
baseCommand: `tsx <rootDir>/scripts/refresh-assets.ts`,
|
baseCommand: `tsx <rootDir>/scripts/refresh-assets.ts`,
|
||||||
cache: {
|
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': {
|
'build-types': {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file is automatically generated by scripts/refresh-assets.ts.
|
// This file is automatically generated by scripts/refresh-assets.ts.
|
||||||
// Do not edit manually. Or do, I'm a comment, not a cop.
|
// 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'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file is automatically generated by scripts/refresh-assets.ts.
|
// This file is automatically generated by scripts/refresh-assets.ts.
|
||||||
// Do not edit manually. Or do, I'm a comment, not a cop.
|
// 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'
|
||||||
|
|
|
@ -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'))
|
const lernaJson = JSON.parse(readFileSync('lerna.json', 'utf8'))
|
||||||
lernaJson.version = version
|
lernaJson.version = version
|
||||||
|
|
Loading…
Reference in a new issue