@ttoss/config 1.29.4 → 1.30.0

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/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { Options } from 'tsup';
2
-
3
1
  declare const babelConfig: (config?: any, deepmergeConfig?: {
4
2
  arrayMerge: "append" | "overwrite";
5
3
  } | undefined) => any;
@@ -24,8 +22,8 @@ declare const syncpackConfig: (config?: any, deepmergeConfig?: {
24
22
  arrayMerge: "append" | "overwrite";
25
23
  } | undefined) => any;
26
24
 
27
- declare const tsupConfig: (config?: Options, deepmergeConfig?: {
25
+ declare const tsupConfig: (config?: any, deepmergeConfig?: {
28
26
  arrayMerge: "append" | "overwrite";
29
- } | undefined) => Options;
27
+ } | undefined) => any;
30
28
 
31
29
  export { babelConfig, commitlintConfig, jestConfig, lintstagedConfig, prettierConfig, syncpackConfig, tsupConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/config",
3
- "version": "1.29.4",
3
+ "version": "1.30.0",
4
4
  "description": "Default configuration for packages.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -21,21 +21,21 @@
21
21
  "typings": "dist/index.d.ts",
22
22
  "dependencies": {
23
23
  "@babel/core": "^7.21.4",
24
- "@babel/preset-env": "^7.20.2",
24
+ "@babel/preset-env": "^7.21.4",
25
25
  "@babel/preset-react": "^7.18.6",
26
- "@babel/preset-typescript": "^7.18.6",
27
- "@commitlint/config-conventional": "^17.3.0",
28
- "@formatjs/ts-transformer": "^3.11.5",
29
- "babel-plugin-formatjs": "^10.3.35",
26
+ "@babel/preset-typescript": "^7.21.4",
27
+ "@commitlint/config-conventional": "^17.6.1",
28
+ "@formatjs/ts-transformer": "^3.13.0",
29
+ "babel-plugin-formatjs": "^10.5.0",
30
30
  "deepmerge": "^4.3.1",
31
31
  "identity-obj-proxy": "^3.0.0",
32
32
  "prettier-package-json": "^2.8.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@jest/types": "^29.3.1",
36
- "@types/jest": "^29.5.0",
37
- "@types/node": "^18.15.11",
38
- "esbuild": "^0.17.16",
35
+ "@jest/types": "^29.5.0",
36
+ "@types/jest": "^29.5.1",
37
+ "@types/node": "^18.16.2",
38
+ "esbuild": "^0.17.18",
39
39
  "jest": "^29.5.0",
40
40
  "tsup": "^6.7.0"
41
41
  },
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "81c9da91988b338a6449d84b4dfc183ccf9ed941"
46
+ "gitHead": "33dbd7f434af69ce6e6bac1b618cb9dc1103f387"
47
47
  }
package/src/tsup.ts CHANGED
@@ -62,4 +62,9 @@ export const defaultConfig: Options = {
62
62
  esbuildPlugins: [formatjsPlugin],
63
63
  };
64
64
 
65
- export const tsupConfig = configCreator(defaultConfig);
65
+ export const tsupConfig = configCreator</**
66
+ * any on configCreator to avoid error "The inferred type of 'tsup' cannot
67
+ * be named without a reference to '.../node_modules/tsup'. This is likely not
68
+ * portable. A type annotation is necessary."
69
+ */
70
+ any>(defaultConfig);