[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]
remove-postinstall-postinstall
Steve Ruiz 2024-01-28 14:19:19 +00:00 zatwierdzone przez GitHub
rodzic 8b73e77ec2
commit a716ac36f6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 16 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

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