@gapi/gcli 1.8.168 → 1.8.170

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.
@@ -0,0 +1,38 @@
1
+ import { defineConfig, globalIgnores } from 'eslint/config';
2
+ import tsParser from '@typescript-eslint/parser';
3
+ import tsPlugin from '@typescript-eslint/eslint-plugin';
4
+ import prettierPlugin from 'eslint-plugin-prettier';
5
+ import simpleImportSort from 'eslint-plugin-simple-import-sort';
6
+ import prettierConfig from 'eslint-config-prettier';
7
+
8
+ export default defineConfig([
9
+ globalIgnores(['dist/*', './release', './example']),
10
+ {
11
+ files: ['./src/**/*.ts', './src/**/*.tsx'],
12
+ languageOptions: {
13
+ parser: tsParser,
14
+ ecmaVersion: 2018,
15
+ sourceType: 'module',
16
+ },
17
+ plugins: {
18
+ '@typescript-eslint': tsPlugin,
19
+ prettier: prettierPlugin,
20
+ 'simple-import-sort': simpleImportSort, // ✅ MUST MATCH RULE PREFIX
21
+ },
22
+ rules: {
23
+ ...tsPlugin.configs.recommended.rules,
24
+ ...prettierConfig.rules,
25
+
26
+ '@typescript-eslint/explicit-function-return-type': 'off',
27
+ '@typescript-eslint/camelcase': 'off',
28
+ '@typescript-eslint/interface-name-prefix': 'off',
29
+
30
+ 'simple-import-sort/imports': 'error',
31
+ 'simple-import-sort/exports': 'error',
32
+ 'sort-imports': 'off',
33
+ 'import/order': 'off',
34
+
35
+ 'prettier/prettier': 'error',
36
+ },
37
+ },
38
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gapi/gcli",
3
- "version": "1.8.168",
3
+ "version": "1.8.170",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Stradivario/gapi.git"
@@ -34,34 +34,34 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@babel/core": "^7.10.2",
37
- "@rxdi/compressor": "^0.7.192",
38
- "@rxdi/parcel-plugin-shebang": "^0.7.192",
37
+ "@rxdi/compressor": "^0.7.194",
38
+ "@rxdi/parcel-plugin-shebang": "^0.7.194",
39
39
  "@types/jest": "^25.2.1",
40
40
  "@types/js-yaml": "^4.0.3",
41
- "@types/node": "^13.11.1",
41
+ "@types/node": "^25.0.3",
42
42
  "@types/node-fetch": "^2.5.7",
43
- "@typescript-eslint/eslint-plugin": "^2.10.0",
44
- "@typescript-eslint/parser": "^2.10.0",
43
+ "@typescript-eslint/eslint-plugin": "^8.50.1",
44
+ "@typescript-eslint/parser": "^8.50.1",
45
45
  "archiver": "^5.3.0",
46
46
  "babel-plugin-module-resolver": "^4.0.0",
47
47
  "chalk": "2.4.2",
48
48
  "commander": "8.2.0",
49
49
  "dotenv-load": "^2.0.1",
50
- "eslint": "^6.7.2",
51
- "eslint-config-prettier": "^6.7.0",
52
- "eslint-plugin-prettier": "^3.1.1",
53
- "eslint-plugin-simple-import-sort": "^5.0.0",
50
+ "eslint": "^9.39.2",
51
+ "eslint-config-prettier": "^10.1.8",
52
+ "eslint-plugin-prettier": "^5.5.4",
53
+ "eslint-plugin-simple-import-sort": "^12.1.1",
54
54
  "firebase": "7.14.6",
55
55
  "form-data": "^4.0.0",
56
- "jest": "^25.5.4",
56
+ "jest": "^30.2.0",
57
57
  "js-yaml": "^4.1.0",
58
58
  "node-fetch": "^2.1.2",
59
59
  "parcel-plugin-electron-dotenv": "^0.1.0",
60
- "prettier": "^2.0.4",
60
+ "prettier": "^3.7.4",
61
61
  "rxjs": "6.5.2",
62
62
  "stream-to-buffer": "^0.1.0",
63
- "ts-jest": "^25.4.0",
64
- "typescript": "^3.8.3",
63
+ "ts-jest": "^29.4.6",
64
+ "typescript": "^5.9.3",
65
65
  "@anatine/esbuild-decorators": "^0.2.19"
66
66
  },
67
67
  "bin": {
package/release/index.js CHANGED
@@ -211191,7 +211191,7 @@ var init_js_yaml = __esm({
211191
211191
  decimal: function(obj) {
211192
211192
  return obj.toString(10);
211193
211193
  },
211194
- /* eslint-disable max-len */
211194
+
211195
211195
  hexadecimal: function(obj) {
211196
211196
  return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1);
211197
211197
  }