[dx] Add docs to lazy caching. (#2672)
Previously, our docs site would always get rebuilt. Now it'll be slightly smarter with lazy. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2]
This commit is contained in:
parent
8b73e77ec2
commit
a716ac36f6
2 changed files with 16 additions and 3 deletions
|
@ -12,6 +12,7 @@ const config = {
|
|||
exclude: [
|
||||
'<allWorkspaceDirs>/coverage/**/*',
|
||||
'<allWorkspaceDirs>/dist*/**/*',
|
||||
'<allWorkspaceDirs>/.next*/**/*',
|
||||
'**/*.tsbuildinfo',
|
||||
'<rootDir>/docs/gen/**/*',
|
||||
],
|
||||
|
@ -28,6 +29,20 @@ const config = {
|
|||
inputs: ['api/**/*', 'src/**/*'],
|
||||
},
|
||||
},
|
||||
'apps/docs': {
|
||||
cache: {
|
||||
inputs: [
|
||||
'app/**/*',
|
||||
'api/**/*',
|
||||
'components/**/*',
|
||||
'public/**/*',
|
||||
'scrips/**/*',
|
||||
'styles/**/*',
|
||||
'types/**/*',
|
||||
'utils/**/*',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
dev: {
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"packages": ["packages/*"],
|
||||
"version": "2.0.0-beta.2"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue