@gravito/constellation 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2018,6 +2018,8 @@ interface StaticSitemapOptions extends SitemapStreamOptions {
2018
2018
  filename?: string | undefined;
2019
2019
  /** List of sitemap entry providers to scan for content. */
2020
2020
  providers: SitemapProvider[];
2021
+ /** Maximum number of entries per individual sitemap file. @default 50000 */
2022
+ maxEntriesPerFile?: number | undefined;
2021
2023
  /** Custom storage backend. Defaults to DiskSitemapStorage using `outDir`. */
2022
2024
  storage?: SitemapStorage | undefined;
2023
2025
  /** Optional incremental generation settings to only update changed URLs. */
package/dist/index.d.ts CHANGED
@@ -2018,6 +2018,8 @@ interface StaticSitemapOptions extends SitemapStreamOptions {
2018
2018
  filename?: string | undefined;
2019
2019
  /** List of sitemap entry providers to scan for content. */
2020
2020
  providers: SitemapProvider[];
2021
+ /** Maximum number of entries per individual sitemap file. @default 50000 */
2022
+ maxEntriesPerFile?: number | undefined;
2021
2023
  /** Custom storage backend. Defaults to DiskSitemapStorage using `outDir`. */
2022
2024
  storage?: SitemapStorage | undefined;
2023
2025
  /** Optional incremental generation settings to only update changed URLs. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravito/constellation",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Powerful sitemap generation for Gravito applications with dynamic/static support, sharding, and caching.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -24,22 +24,22 @@
24
24
  "test": "bun test --timeout=10000",
25
25
  "test:coverage": "bun test --timeout=10000 --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run --bun scripts/check-coverage.ts",
26
26
  "test:ci": "bun test --timeout=10000 --coverage --coverage-reporter=lcov --coverage-dir coverage && bun run --bun scripts/check-coverage.ts",
27
- "test:unit": "bun test tests/ --timeout=10000",
27
+ "test:unit": "bun test $(find tests -name '*.test.ts' ! -name '*.integration.test.ts' 2>/dev/null | tr '\\n' ' ') --timeout=10000",
28
28
  "test:integration": "test $(find tests -name '*.integration.test.ts' 2>/dev/null | wc -l) -gt 0 && find tests -name '*.integration.test.ts' -print0 | xargs -0 bun test --timeout=10000 || echo 'No integration tests found'"
29
29
  },
30
30
  "peerDependencies": {
31
- "@gravito/core": "workspace:*"
31
+ "@gravito/core": "^1.6.1"
32
32
  },
33
33
  "dependencies": {
34
34
  "@aws-sdk/client-s3": "^3.956.0",
35
35
  "@google-cloud/storage": "^7.18.0",
36
- "@gravito/stream": "workspace:*",
37
- "@gravito/photon": "workspace:*"
36
+ "@gravito/stream": "^2.0.2",
37
+ "@gravito/photon": "^1.0.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "bun-plugin-dts": "^0.3.0",
41
41
  "bun-types": "latest",
42
- "@gravito/core": "workspace:*",
42
+ "@gravito/core": "^1.6.1",
43
43
  "tsup": "^8.5.1",
44
44
  "typescript": "^5.9.3"
45
45
  },