Skip to content

Commit 118d223

Browse files
committed
feat(package)!: rework to hybrid ESM+CJS package
BREAKING CHANGE: For most people there should be no breaking changes, e.g. if you require this package, you'll get CJS, if you import this package, you'll get ESM. However, I'm sure there will be edge cases and this will require some migration steps for some so I'm labeling it as a major (breaking) release. In case of edge cases, it should suffice to rewrite imports.
1 parent 11a465f commit 118d223

File tree

100 files changed

+7971
-7629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+7971
-7629
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
executors:
44
node:
55
docker:
6-
- image: cimg/node:22.17.0
6+
- image: cimg/node:24.3.0
77
resource_class: medium
88
working_directory: ~/repo
99
environment:
@@ -14,7 +14,7 @@ executors:
1414

1515
node-browsers:
1616
docker:
17-
- image: cimg/node:22.17.0-browsers
17+
- image: cimg/node:24.3.0-browsers
1818
resource_class: medium
1919
working_directory: ~/repo
2020
environment:
File renamed without changes.

.mocharc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"extension": ["ts", "js"],
3-
"require": ["vis-dev-utils/babel-register"],
43
"spec": ["./test/**/*.test.js", "./test/**/*.test.ts"]
54
}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.17.0
1+
24.3.0

__snapshots__/test/package.test.ts.js

Lines changed: 717 additions & 207 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)