@inlang/paraglide-js 2.0.0-beta.4 → 2.0.0-beta.6

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.
@@ -1,5 +1,5 @@
1
1
  export const ENV_VARIABLES = {
2
2
  PARJS_APP_ID: "library.inlang.paraglideJs",
3
3
  PARJS_POSTHOG_TOKEN: "phc_m5yJZCxjOGxF8CJvP5sQ3H0d76xpnLrsmiZHduT4jDz",
4
- PARJS_PACKAGE_VERSION: "2.0.0-beta.3",
4
+ PARJS_PACKAGE_VERSION: "2.0.0-beta.6",
5
5
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@inlang/paraglide-js",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.4",
4
+ "version": "2.0.0-beta.6",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public",
@@ -29,7 +29,7 @@
29
29
  "prettier-plugin-jsdoc": "^1.3.0",
30
30
  "unplugin": "^2.1.2",
31
31
  "typescript": "^5.7.3",
32
- "@inlang/sdk": "2.0.0-beta.5"
32
+ "@inlang/sdk": "2.0.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@eslint/js": "^9.12.0",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=emit-dts.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emit-dts.test.d.ts","sourceRoot":"","sources":["../../src/compiler/emit-dts.test.ts"],"names":[],"mappings":""}
@@ -1,43 +0,0 @@
1
- // import { test, expect } from "vitest";
2
- // import { emitDts } from "./emit-dts.js";
3
- export {};
4
- // test("emits dts files", () => {
5
- // // mock paraglide js input of a project
6
- // const inputs = {
7
- // "runtime.js": `
8
- // /**
9
- // * Some comment
10
- // */
11
- // export const availableLocales = /** @type {const} */ (["en","de"]);
12
- // /**
13
- // * @typedef {(typeof availableLocales)[number]} AvailableLocale
14
- // */`,
15
- // "messages.js": `
16
- // import * as runtime from "./runtime.js";
17
- // export const my_mesage = () => "Hello World";
18
- // `,
19
- // };
20
- // // const dts = emitDts(inputs);
21
- // expect(dts).toMatchInlineSnapshot(
22
- // {
23
- // "messages.d.ts": `/* eslint-disable */
24
- // export function my_mesage(): string;
25
- // `,
26
- // "runtime.d.ts": `/* eslint-disable */\n/**\n * Some comment\n */\nexport const availableLocales: readonly ["en", "de"];\nexport type AvailableLocale = (typeof availableLocales)[number];\n`,
27
- // },
28
- // `
29
- // {
30
- // "messages.d.ts": "/* eslint-disable */
31
- // export function my_mesage(): string;
32
- // ",
33
- // "runtime.d.ts": "/* eslint-disable */
34
- // /**
35
- // * Some comment
36
- // */
37
- // export const availableLocales: readonly ["en", "de"];
38
- // export type AvailableLocale = (typeof availableLocales)[number];
39
- // ",
40
- // }
41
- // `
42
- // );
43
- // });