@ttoss/config 1.34.1 → 1.34.2
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.
- package/README.md +2 -18
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -91,26 +91,10 @@ module.exports = babelConfig();
|
|
|
91
91
|
Install [Jest](https://jestjs.io/) and its types on your package:
|
|
92
92
|
|
|
93
93
|
```shell
|
|
94
|
-
pnpm add -D jest @types/jest
|
|
94
|
+
pnpm add -D jest @types/jest ts-node
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
```ts title="jest.config.ts"
|
|
100
|
-
import { jestConfig } from '@ttoss/config';
|
|
101
|
-
|
|
102
|
-
const config = jestConfig();
|
|
103
|
-
|
|
104
|
-
export default config;
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
Configure the `test` script on `package.json` of your package:
|
|
108
|
-
|
|
109
|
-
```json title="package.json"
|
|
110
|
-
"scripts": {
|
|
111
|
-
"test": "jest",
|
|
112
|
-
}
|
|
113
|
-
```
|
|
97
|
+
Follow our [tests guidelines](https://ttoss.dev/docs/engineering/guidelines/tests) to configure and run your tests.
|
|
114
98
|
|
|
115
99
|
### Tsup
|
|
116
100
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/config",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.2",
|
|
4
4
|
"description": "Default configuration for packages.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"typings": "dist/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@babel/core": "^7.
|
|
26
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
27
|
-
"@babel/preset-env": "^7.
|
|
28
|
-
"@babel/preset-react": "^7.
|
|
29
|
-
"@babel/preset-typescript": "^7.
|
|
30
|
-
"@commitlint/config-conventional": "^19.
|
|
31
|
-
"@formatjs/ts-transformer": "^3.13.
|
|
32
|
-
"babel-plugin-formatjs": "^10.5.
|
|
25
|
+
"@babel/core": "^7.26.0",
|
|
26
|
+
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
27
|
+
"@babel/preset-env": "^7.26.0",
|
|
28
|
+
"@babel/preset-react": "^7.25.9",
|
|
29
|
+
"@babel/preset-typescript": "^7.26.0",
|
|
30
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
31
|
+
"@formatjs/ts-transformer": "^3.13.23",
|
|
32
|
+
"babel-plugin-formatjs": "^10.5.26",
|
|
33
33
|
"babel-plugin-transform-import-meta": "^2.2.1",
|
|
34
34
|
"deepmerge": "^4.3.1",
|
|
35
35
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@jest/types": "^29.6.3",
|
|
40
|
-
"@types/jest": "^29.5.
|
|
41
|
-
"@types/node": "^20.
|
|
42
|
-
"esbuild": "^0.
|
|
40
|
+
"@types/jest": "^29.5.14",
|
|
41
|
+
"@types/node": "^20.17.8",
|
|
42
|
+
"esbuild": "^0.24.0",
|
|
43
43
|
"jest": "^29.7.0",
|
|
44
|
-
"tsup": "^8.3.
|
|
44
|
+
"tsup": "^8.3.5"
|
|
45
45
|
},
|
|
46
46
|
"keywords": [],
|
|
47
47
|
"publishConfig": {
|