@uxf/datepicker 11.122.2 → 11.124.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.
@@ -7,16 +7,17 @@
7
7
  * Tests are expected to FAIL until the DateString refactor (Tasks 2–10) is complete.
8
8
  */
9
9
 
10
- /** @type {import('ts-jest').JestConfigWithTsJest} */
10
+ const babelPresets = require("../../jest.babel-presets.js");
11
+
12
+ /** @type {import('jest').Config} */
11
13
  module.exports = {
12
- preset: "ts-jest",
13
- // "node" overrides the project-wide jsdom default (set in root jest.config.js via ts-jest preset).
14
- // DST tests must run in node environment — jsdom swallows timezone behaviour.
14
+ // "node" instead of the jsdom that root jest.config.js sets — this config is standalone, not an
15
+ // extension of it. DST tests must run in node environment: jsdom swallows timezone behaviour.
15
16
  testEnvironment: "node",
16
17
  globalSetup: "<rootDir>/jest.dst.global-setup.js",
17
18
  rootDir: ".",
18
19
  testMatch: ["<rootDir>/utils/dst-robustness.test.ts"],
19
20
  transform: {
20
- "\\.[t]sx?$": ["ts-jest", { diagnostics: false }],
21
+ "\\.[jt]sx?$": ["babel-jest", { presets: babelPresets, babelrc: false, configFile: false }],
21
22
  },
22
23
  };
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@uxf/datepicker",
3
- "version": "11.122.2",
3
+ "version": "11.124.0",
4
4
  "description": "A set of React hooks to create an awesome datepicker.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "build": "tsc -P tsconfig.json",
8
- "typecheck": "tsc --noEmit --skipLibCheck",
8
+ "typecheck": "tsc --noEmit",
9
9
  "test:tz:prague": "TZ=Europe/Prague jest --config=jest.dst.config.js --no-coverage",
10
10
  "test:tz:ny": "TZ=America/New_York jest --config=jest.dst.config.js --no-coverage",
11
11
  "test:tz:tokyo": "TZ=Asia/Tokyo jest --config=jest.dst.config.js --no-coverage",
@@ -26,18 +26,18 @@
26
26
  },
27
27
  "homepage": "https://gitlab.com/uxf-npm/datepicker#readme",
28
28
  "peerDependencies": {
29
- "@uxf/core": "11.114.0",
30
- "@uxf/core-react": "11.122.2",
31
- "dayjs": "^1.11.19",
29
+ "@uxf/core": "11.124.0",
30
+ "@uxf/core-react": "11.124.0",
31
+ "dayjs": "^1.11.21",
32
32
  "react": ">=18.2.0",
33
33
  "react-dom": ">=18.2.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@types/react": "18.3.27",
36
+ "@types/react": "18.3.31",
37
37
  "@types/react-dom": "18.3.7",
38
- "@uxf/core": "11.114.0",
39
- "@uxf/core-react": "11.122.2",
40
- "dayjs": "^1.11.19",
38
+ "@uxf/core": "11.124.0",
39
+ "@uxf/core-react": "11.124.0",
40
+ "dayjs": "^1.11.21",
41
41
  "react": "18.3.1",
42
42
  "react-dom": "18.3.1"
43
43
  }