@p8ec/shared 1.1.5 → 1.1.6
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.
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* 2023 Copyright P8 Enterprise Components, Inc.
|
|
5
5
|
* All Rights Reserved.
|
|
6
|
-
* Private and Confidential.
|
|
7
6
|
*/
|
|
8
7
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
8
|
if (k2 === undefined) k2 = k;
|
|
@@ -84,5 +83,4 @@ switch (args[0]) {
|
|
|
84
83
|
// eslint-disable-next-line no-console
|
|
85
84
|
console.error(`Unknown command: ${args[0]}`);
|
|
86
85
|
process.exit(1);
|
|
87
|
-
break;
|
|
88
86
|
}
|
|
@@ -13,7 +13,7 @@ const eslintConfigRecommended = {
|
|
|
13
13
|
project: 'tsconfig.json',
|
|
14
14
|
sourceType: 'module',
|
|
15
15
|
},
|
|
16
|
-
ignorePatterns: ['.
|
|
16
|
+
ignorePatterns: ['*.config.ts', '*.config.js', '*rc.ts', '*rc.js', 'dist/', 'node_modules/'],
|
|
17
17
|
plugins: ['@typescript-eslint/eslint-plugin', 'header'],
|
|
18
18
|
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
|
|
19
19
|
root: true,
|
|
@@ -11,7 +11,7 @@ const eslintConfigRecommended = {
|
|
|
11
11
|
project: 'tsconfig.json',
|
|
12
12
|
sourceType: 'module',
|
|
13
13
|
},
|
|
14
|
-
ignorePatterns: ['.
|
|
14
|
+
ignorePatterns: ['*.config.ts', '*.config.js', '*rc.ts', '*rc.js', 'dist/', 'node_modules/'],
|
|
15
15
|
plugins: ['@typescript-eslint/eslint-plugin', 'header'],
|
|
16
16
|
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
|
|
17
17
|
root: true,
|
|
@@ -6,5 +6,5 @@ import { ClassicConfig } from '@typescript-eslint/utils/ts-eslint';
|
|
|
6
6
|
/**
|
|
7
7
|
* Recommended ESLint configuration for TypeScript projects.
|
|
8
8
|
*/
|
|
9
|
-
declare const eslintConfigRecommended: ClassicConfig.Config
|
|
9
|
+
declare const eslintConfigRecommended: Partial<ClassicConfig.Config>;
|
|
10
10
|
export default eslintConfigRecommended;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@p8ec/shared",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "P(8) Global Shared Library",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"module": "dist/esm/index.js",
|
|
34
34
|
"types": "dist/types/index.d.ts",
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@commitlint/cli": "^19.2.
|
|
37
|
-
"@commitlint/config-conventional": "^19.
|
|
36
|
+
"@commitlint/cli": "^19.2.2",
|
|
37
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
38
38
|
"@swc/cli": "^0.3.12",
|
|
39
|
-
"@swc/core": "^1.4.
|
|
39
|
+
"@swc/core": "^1.4.16",
|
|
40
40
|
"@swc/jest": "^0.2.36",
|
|
41
41
|
"@types/jest": "^29.5.11",
|
|
42
42
|
"husky": "^9.0.11",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"lint-staged": "^15.2.0",
|
|
45
45
|
"rimraf": "^5.0.5",
|
|
46
46
|
"ts-node": "^10.9.2",
|
|
47
|
-
"typedoc": "^0.25.
|
|
48
|
-
"typescript": "^5.
|
|
47
|
+
"typedoc": "^0.25.13",
|
|
48
|
+
"typescript": "^5.4.5"
|
|
49
49
|
},
|
|
50
50
|
"eslintConfig": {
|
|
51
51
|
"env": {
|
|
@@ -66,7 +66,11 @@
|
|
|
66
66
|
"node_modules",
|
|
67
67
|
"build",
|
|
68
68
|
"dist",
|
|
69
|
-
"docs"
|
|
69
|
+
"docs",
|
|
70
|
+
"*.config.ts",
|
|
71
|
+
"*.config.js",
|
|
72
|
+
"*rc.ts",
|
|
73
|
+
"*rc.js"
|
|
70
74
|
],
|
|
71
75
|
"rules": {
|
|
72
76
|
"@typescript-eslint/interface-name-prefix": "off",
|
|
@@ -114,9 +118,9 @@
|
|
|
114
118
|
},
|
|
115
119
|
"peerDependencies": {
|
|
116
120
|
"ferramenta": "^1.3.0",
|
|
117
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
118
|
-
"@typescript-eslint/parser": "^7.
|
|
119
|
-
"eslint": "^8.
|
|
121
|
+
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
122
|
+
"@typescript-eslint/parser": "^7.7.0",
|
|
123
|
+
"eslint": "^8.57.0",
|
|
120
124
|
"eslint-config-prettier": "^9.1.0",
|
|
121
125
|
"eslint-plugin-header": "^3.1.1",
|
|
122
126
|
"eslint-plugin-prettier": "^5.1.0",
|