@10stars/config 9.0.2 → 9.1.1

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/.eslintrc.js CHANGED
@@ -47,6 +47,13 @@ const type = {
47
47
  module.exports = {
48
48
  root: true, // https://eslint.org/docs/latest/use/configure/configuration-files#using-configuration-files
49
49
  parser: `@typescript-eslint/parser`, // Specifies the ESLint parser
50
+ parserOptions: {
51
+ ecmaVersion: `latest`, // Allows for the parsing of modern ECMAScript features
52
+ sourceType: `module`, // Allows for the use of imports
53
+ ecmaFeatures: {
54
+ jsx: true, // Allows for the parsing of JSX
55
+ },
56
+ },
50
57
  ignorePatterns: [`**/node_modules`, `**/.git`, `**/dist`, `**/tmp`],
51
58
  plugins: [
52
59
  `@typescript-eslint`,
@@ -64,8 +71,8 @@ module.exports = {
64
71
  },
65
72
  extends: [
66
73
  `eslint:recommended`,
67
- `plugin:@typescript-eslint/recommended`,
68
- `plugin:@typescript-eslint/recommended-requiring-type-checking`,
74
+ `plugin:@typescript-eslint/strict-type-checked`,
75
+ `plugin:@typescript-eslint/stylistic-type-checked`,
69
76
  `plugin:react/recommended`,
70
77
  `plugin:@10stars/react-hooks/recommended`,
71
78
  `plugin:regexp/recommended`,
@@ -76,13 +83,6 @@ module.exports = {
76
83
  // "plugin:import/errors",
77
84
  `prettier`, // see: https://github.com/prettier/eslint-config-prettier
78
85
  ],
79
- parserOptions: {
80
- ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
81
- sourceType: `module`, // Allows for the use of imports
82
- ecmaFeatures: {
83
- jsx: true, // Allows for the parsing of JSX
84
- },
85
- },
86
86
  settings: {
87
87
  "import/parsers": { "@typescript-eslint/parser": [`.ts`, `.tsx`] },
88
88
  "import/extensions": [`.ts`, `.tsx`, `.js`, `.jsx`],
@@ -162,7 +162,6 @@ module.exports = {
162
162
  * List of ignored (not recommended) rules we also explored:
163
163
  * - @typescript-eslint/consistent-type-assertions
164
164
  * - @typescript-eslint/explicit-module-boundary-types
165
- * - @typescript-eslint/no-parameter-properties
166
165
  * - @typescript-eslint/no-require-imports
167
166
  * - @typescript-eslint/no-type-alias
168
167
  * - @typescript-eslint/no-unnecessary-condition
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@10stars/config",
7
- "version": "9.0.2",
7
+ "version": "9.1.1",
8
8
  "author": "10stars.dev <web@alexandrov.co> (https://alexandrov.co)",
9
9
  "license": "MIT",
10
10
  "module": "./src/index.ts",
@@ -29,10 +29,10 @@
29
29
  "@types/lodash": "^4.0.0",
30
30
  "@types/node": "^20.0.0",
31
31
  "@types/react": "^18.0.0",
32
- "@typescript-eslint/eslint-plugin": "^5.0.0",
33
- "@typescript-eslint/parser": "^5.0.0",
32
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
33
+ "@typescript-eslint/parser": "^6.0.0",
34
34
  "builtin-modules": "^3.3.0",
35
- "esbuild": "~0.18.10",
35
+ "esbuild": "~0.18.11",
36
36
  "tsx": "^3.8.0",
37
37
  "eslint": "^8.0.0",
38
38
  "eslint-config-prettier": "^8.0.0",
@@ -43,8 +43,8 @@
43
43
  "eslint-plugin-sort-keys-fix": "^1.0.0",
44
44
  "eslint-watch": "^8.0.0",
45
45
  "husky": "^8.0.0",
46
- "prettier": "^2.0.0",
46
+ "prettier": "^3.0.0",
47
47
  "type-fest": "^3.0.0",
48
- "typescript": "^5.1.5"
48
+ "typescript": "^5.1.6"
49
49
  }
50
50
  }
@@ -22,6 +22,8 @@ export const linkPackages = async (
22
22
  cwd: string,
23
23
  packagesToLink: { relativePath: string; isMonorepo?: boolean }[],
24
24
  ) => {
25
+ console.info(`Linking local packages`)
26
+
25
27
  const linkPackage = async (pathPkg: string) => {
26
28
  const pkgJson: TF.PackageJson = await import(
27
29
  path.join(pathPkg, `package.json`)
@@ -64,5 +66,7 @@ export const linkPackages = async (
64
66
  }
65
67
  }
66
68
 
67
- return Promise.all(promises)
69
+ await Promise.all(promises)
70
+
71
+ console.info(`Successfully linked local packages!`)
68
72
  }