@p8ec/shared 2.5.1 → 2.5.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 CHANGED
@@ -6,13 +6,6 @@ Shared TypeScript/JavaScript libraries for P(8) products.
6
6
 
7
7
  Shared (**and very opinionated**) configuration for P(8) projects.
8
8
 
9
- **Contents:**
10
-
11
- - ESLint configuration
12
- - Prettier configuration
13
- - Commitlint configuration
14
- - Lefthook configuration
15
-
16
9
  ### Usage
17
10
 
18
11
  #### Installation
@@ -73,6 +66,6 @@ p8-cli [command] [options]
73
66
  - `run` - Returns a script string using the detected or specified package manager. Options: `script` - script name,
74
67
  `packageManager` - npm, yarn, or pnpm (auto-detected by default), `workspaceMode` - mode of concurrency for workspaces
75
68
  (if applicable): `seq` (default) or `par`.
76
- - Example: `p8-cli run build` - runs the `build` script using the detected package manager.
77
- - Example: `p8-cli run test pnpm par` - runs the `test` script using
69
+ - Example: `p8-cli run build` - returns the `build` script using the detected package manager.
70
+ - Example: `p8-cli run test pnpm par` - returns the `test` script using
78
71
  `pnpm` in parallel mode for workspaces.
@@ -8,5 +8,5 @@ interface EslintConfigOverrideInterface {
8
8
  eslintConfig?: ConfigWithExtends;
9
9
  }
10
10
  export type EslintConfigOverride = EslintConfigOverrideInterface;
11
- declare const _default: (override?: EslintConfigOverride) => import("@typescript-eslint/utils/ts-eslint").FlatConfig.ConfigArray;
11
+ declare const _default: (override?: EslintConfigOverride) => import("typescript-eslint").FlatConfig.ConfigArray;
12
12
  export default _default;
@@ -28,7 +28,7 @@ declare const _default: (overrides?: PrettierConfigOverride) => {
28
28
  requirePragma?: boolean | undefined;
29
29
  insertPragma?: boolean | undefined;
30
30
  checkIgnorePragma?: boolean | undefined;
31
- proseWrap?: "preserve" | "always" | "never" | undefined;
31
+ proseWrap?: "always" | "never" | "preserve" | undefined;
32
32
  arrowParens?: "always" | "avoid" | undefined;
33
33
  plugins?: (string | URL | import("prettier").Plugin<any>)[] | undefined;
34
34
  htmlWhitespaceSensitivity?: "strict" | "ignore" | "css" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@p8ec/shared",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "P(8) Global Shared Library for Javascript",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,9 +23,9 @@
23
23
  "test:cov": "jest --coverage --no-cache --runInBand",
24
24
  "lint": "eslint --cache \"src/**/*.{js,jsx,ts,tsx}\"",
25
25
  "lint:fix": "eslint --cache --fix \"src/**/*.{js,jsx,ts,tsx}\"",
26
- "docs:build": "typedoc --name 'P(8) Global Shared Library' --includeVersion --readme README_GENERATED.md --out docs src",
27
- "docs:patch": "mv docs/functions docs/funcs && sed -i'.bak' 's/href=\\\"functions/href=\\\"funcs/g' docs/*.html",
28
- "docs:clean": "rimraf docs"
26
+ "docs:build": "typedoc --name 'P(8) Global Shared Library' --includeVersion --out docs src",
27
+ "docs:patch": "(mv docs/functions docs/funcs && sed -i'.bak' 's/href=\\\"functions/href=\\\"funcs/g' docs/*.html) || true",
28
+ "docs:clean": "rm -rf docs"
29
29
  },
30
30
  "bin": {
31
31
  "p8-cli": "dist/cjs/bin/p8-shared-cli.js"
@@ -35,13 +35,13 @@
35
35
  "types": "dist/types/index.d.ts",
36
36
  "license": "MIT",
37
37
  "dependencies": {
38
- "@eslint/js": "^9.32.0",
39
- "eslint": "^9.32.0",
38
+ "@eslint/js": "^9.39.2",
39
+ "eslint": "^9.39.2",
40
40
  "eslint-config-prettier": "^10.1.8",
41
41
  "eslint-plugin-headers": "^1.3.3",
42
42
  "eslint-plugin-prettier": "^5.5.4",
43
43
  "ferramenta": "^1.3.2",
44
- "prettier": "^3.6.2",
45
- "typescript-eslint": "^8.39.0"
44
+ "prettier": "^3.7.4",
45
+ "typescript-eslint": "^8.52.0"
46
46
  }
47
47
  }