@verbaly/astro 0.48.0 → 0.50.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +6 -6
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { RenderConfig, RenderConfig as RenderConfig$1, VerbalyConfig } from "@verbaly/compiler";
2
2
  import { ViteVerbalyOptions, ViteVerbalyOptions as ViteVerbalyOptions$1 } from "@verbaly/vite";
3
3
  //#region src/index.d.ts
4
- interface VerbalyAstroOptions extends Omit<ViteVerbalyOptions$1, 'render'> {
4
+ export interface VerbalyAstroOptions extends Omit<ViteVerbalyOptions$1, 'render'> {
5
5
  render?: boolean | RenderConfig$1;
6
6
  }
7
7
  interface AstroConfigLike {
@@ -25,7 +25,7 @@ interface ConfigDoneLike {
25
25
  interface BuildDoneLike {
26
26
  dir: URL;
27
27
  }
28
- interface VerbalyAstroIntegration {
28
+ export interface VerbalyAstroIntegration {
29
29
  name: string;
30
30
  hooks: {
31
31
  'astro:config:setup'(options: ConfigSetupLike): void;
@@ -33,7 +33,7 @@ interface VerbalyAstroIntegration {
33
33
  'astro:build:done'(options: BuildDoneLike): Promise<void>;
34
34
  };
35
35
  }
36
- declare function verbaly(options?: VerbalyAstroOptions): VerbalyAstroIntegration;
36
+ export default function verbaly(options?: VerbalyAstroOptions): VerbalyAstroIntegration;
37
37
  //#endregion
38
- export { type RenderConfig, VerbalyAstroIntegration, VerbalyAstroOptions, type VerbalyConfig, type ViteVerbalyOptions, verbaly as default };
38
+ export type { RenderConfig, VerbalyConfig, ViteVerbalyOptions };
39
39
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verbaly/astro",
3
- "version": "0.48.0",
3
+ "version": "0.50.0",
4
4
  "description": "Astro integration for Verbaly: write-in-source extraction for .astro files plus automatic per-locale static rendering.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -41,15 +41,15 @@
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@verbaly/vite": "^0.48.0",
45
- "@verbaly/compiler": "^0.48.0"
44
+ "@verbaly/compiler": "^0.50.0",
45
+ "@verbaly/vite": "^0.50.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "verbaly": "^0.48.0"
48
+ "verbaly": "^0.50.0"
49
49
  },
50
50
  "devDependencies": {
51
- "astro": "^7.2.10",
52
- "verbaly": "^0.48.0"
51
+ "astro": "^7.3.1",
52
+ "verbaly": "^0.50.0"
53
53
  },
54
54
  "scripts": {
55
55
  "build": "tsdown",