Skip to content

Commit

Permalink
fix: fast-json-patch commonjs import is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
nadilas committed Apr 27, 2024
1 parent 350df5d commit 2494677
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 43 deletions.
117 changes: 77 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ogre/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"private": false,
"main": "lib/index.js",
"types": "lib/index.d.ts",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"test": "nyc --reporter=lcov tap --coverage-report=none --allow-incomplete-coverage",
Expand All @@ -22,7 +23,6 @@
"dependencies": {
"fast-json-patch": "^3.1.1",
"fflate": "^0.8.2",
"immutable-json-patch": "^6.0.1",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
7 changes: 5 additions & 2 deletions packages/ogre/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"declaration": true,
"importHelpers": true,
"module": "commonjs",
"module": "umd",
"outDir": "./lib",
"rootDir": "./src",
"strict": true,
Expand All @@ -12,5 +12,8 @@
"include": [
"./src/**/*.ts"
],
"exclude": ["lib", "node_modules"]
"exclude": [
"lib",
"node_modules"
]
}

0 comments on commit 2494677

Please sign in to comment.