[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:
Steve Ruiz 2024-01-28 14:19:19 +00:00 committed by GitHub
parent 8b73e77ec2
commit a716ac36f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 3 deletions

View file

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

View file

@ -1,7 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"packages": [
"packages/*"
],
"packages": ["packages/*"],
"version": "2.0.0-beta.2"
}