-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: Update planx-core to ESM module (#601)"
This reverts commit f8cdf5b.
- Loading branch information
1 parent
f8cdf5b
commit 618e462
Showing
103 changed files
with
596 additions
and
1,807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export default { | ||
testEnvironment: "node", | ||
preset: "ts-jest", | ||
transform: { | ||
"^.+\\.js$": [ | ||
"esbuild-jest", | ||
{ | ||
sourcemap: true, | ||
}, | ||
], | ||
}, | ||
testPathIgnorePatterns: ["dist/*"], | ||
collectCoverage: true, | ||
coverageReporters: ["html", "lcov", "text-summary"], | ||
coverageDirectory: "./coverage", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
"dist", | ||
"types" | ||
], | ||
"type": "module", | ||
"module": "./dist/index.js", | ||
"main": "./dist/index.js", | ||
"lint-staged": { | ||
|
@@ -33,12 +32,12 @@ | |
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"build": "rimraf ./types ./dist && tsc --project ./tsconfig.types.json && tsc --project ./tsconfig.build.json && pnpm copy-json-schema", | ||
"examples": "rimraf ./examples && tsx ./src/templates/generateExamples.ts", | ||
"examples": "rimraf ./examples && ts-node ./src/templates/generateExamples.ts", | ||
"lint": "eslint 'src/**/*.{js,ts}' && prettier -c src/**/*", | ||
"lint:fix": "eslint --fix 'src/**/*.{js,ts}' && prettier -w src/**/*", | ||
"test": "vitest run", | ||
"test:coverage": "vitest run --coverage && open coverage/lcov-report/index.html", | ||
"test:watch": "vitest --ui --coverage", | ||
"test": "jest", | ||
"test:coverage": "jest; open ./coverage/lcov-report/index.html", | ||
"test:watch": "jest --watch", | ||
"check": "tsc --project ./tsconfig.check.json && pnpm lint", | ||
"postinstall": "pnpm i rimraf && pnpm build", | ||
"prepare": "husky install", | ||
|
@@ -61,8 +60,8 @@ | |
"graphql": "^16.10.0", | ||
"graphql-request": "^6.1.0", | ||
"json-schema-to-typescript": "^15.0.3", | ||
"lodash": "^4.17.21", | ||
"marked": "^15.0.5", | ||
"lodash-es": "^4.17.21", | ||
"prettier": "^3.4.2", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
|
@@ -72,25 +71,25 @@ | |
}, | ||
"devDependencies": { | ||
"@types/geojson": "^7946.0.15", | ||
"@types/lodash-es": "^4.17.12", | ||
"@types/jest": "^29.5.14", | ||
"@types/lodash": "^4.17.14", | ||
"@types/node": "^22.10.5", | ||
"@types/react": "^18.3.12", | ||
"@types/react-dom": "^18.3.1", | ||
"@types/uuid": "^10.0.0", | ||
"@typescript-eslint/eslint-plugin": "^7.0.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"@vitest/coverage-istanbul": "2.1.8", | ||
"esbuild-jest": "^0.5.0", | ||
"esbuild": "^0.24.2", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
"esbuild-jest": "^0.5.0", | ||
"eslint": "^8.57.1", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
"husky": "^9.1.7", | ||
"jest": "^29.7.0", | ||
"lint-staged": "^15.3.0", | ||
"rimraf": "^5.0.10", | ||
"tsx": "^4.19.2", | ||
"typescript": "^5.5.4", | ||
"vitest": "^2.1.8" | ||
"ts-jest": "^29.2.5", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.5.4" | ||
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
|
Oops, something went wrong.