Skip to content

Commit

Permalink
Change Transformer static class to getResponse function and replace e…
Browse files Browse the repository at this point in the history
…slint with biome
  • Loading branch information
geoperez committed Nov 15, 2024
1 parent 99f52d1 commit a9942f9
Show file tree
Hide file tree
Showing 24 changed files with 161 additions and 1,332 deletions.
6 changes: 3 additions & 3 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
semi: true,
trailingComma: "all",
trailingComma: 'all',
singleQuote: true,
printWidth: 120,
tabWidth: 4,
endOfLine: "auto"
};
endOfLine: 'auto',
};
27 changes: 0 additions & 27 deletions eslint.config.js

This file was deleted.

45 changes: 12 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,23 @@
{
"name": "tubular-common",
"version": "6.10.4",
"version": "7.0.0",
"description": "Tubular Common Models and Data Transformer",
"main": "dist/index.js",
"scripts": {
"test": "jest --runInBand",
"cest": "jest --collectCoverage --runInBand",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"lint": "pnpm biome check src/",
"lint:fix": "pnpm biome check --write src/",
"build": "tsc",
"watch": "tsc -w",
"preparepackage": "npm run build && npm run copypackage",
"preparepackage": "pnpm build && pnpm copypackage",
"copypackage": "npx shx cp package.json dist"
},
"jest": {
"automock": false,
"setupFiles": [
"./setupJest.ts",
"./test/browserMocks.js"
],
"coverageReporters": [
"lcov",
"text"
],
"moduleFileExtensions": [
"ts",
"js"
],
"setupFiles": ["./setupJest.ts", "./test/browserMocks.js"],
"coverageReporters": ["lcov", "text"],
"moduleFileExtensions": ["ts", "js"],
"transform": {
"^.+\\.(ts|tsx)$": [
"ts-jest",
Expand All @@ -36,9 +27,7 @@
}
]
},
"testMatch": [
"<rootDir>/test/**/*.spec.ts"
],
"testMatch": ["<rootDir>/test/**/*.spec.ts"],
"coverageThreshold": {
"global": {
"branches": 60,
Expand All @@ -48,37 +37,27 @@
}
}
},
"files": [
"dist/**/*",
"src/**/*"
],
"files": ["dist/**/*", "src/**/*"],
"repository": {
"type": "git",
"url": "git+https://github.com/unosquare/tubular-common.git"
},
"keywords": [
"tubular",
"data",
"grid"
],
"keywords": ["tubular", "data", "grid"],
"author": "Unosquare",
"license": "MIT",
"bugs": {
"url": "https://github.com/unosquare/tubular-common/issues"
},
"homepage": "https://github.com/unosquare/tubular-common#readme",
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/eslint__js": "^8.42.3",
"@biomejs/biome": "1.9.4",
"@types/jest": "^29.5.14",
"eslint": "^9.14.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3",
"typescript-eslint": "^8.14.0"
"typescript": "^5.6.3"
},
"dependencies": {
"dayjs": "^1.11.13"
Expand Down
Loading

0 comments on commit a9942f9

Please sign in to comment.