@beauraines/toggl-cli 2.3.2 → 2.3.3
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/CHANGELOG.md +2 -0
- package/eslint.config.mjs +30 -0
- package/package.json +7 -8
- package/.eslintrc.json +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.3.3](https://github.com/beauraines/toggl-cli/compare/v2.3.2...v2.3.3) (2024-06-21)
|
|
6
|
+
|
|
5
7
|
### [2.3.2](https://github.com/beauraines/toggl-cli/compare/v2.3.1...v2.3.2) (2024-06-20)
|
|
6
8
|
|
|
7
9
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import globals from "globals";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
import js from "@eslint/js";
|
|
5
|
+
import { FlatCompat } from "@eslint/eslintrc";
|
|
6
|
+
|
|
7
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
8
|
+
const __dirname = path.dirname(__filename);
|
|
9
|
+
const compat = new FlatCompat({
|
|
10
|
+
baseDirectory: __dirname,
|
|
11
|
+
recommendedConfig: js.configs.recommended,
|
|
12
|
+
allConfig: js.configs.all
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export default [...compat.extends("eslint:recommended"), {
|
|
16
|
+
languageOptions: {
|
|
17
|
+
globals: {
|
|
18
|
+
...globals.browser,
|
|
19
|
+
...globals.node,
|
|
20
|
+
...globals.es2021
|
|
21
|
+
},
|
|
22
|
+
|
|
23
|
+
ecmaVersion: "latest",
|
|
24
|
+
sourceType: "module",
|
|
25
|
+
},
|
|
26
|
+
|
|
27
|
+
rules: {
|
|
28
|
+
"no-unused-expressions": "warn",
|
|
29
|
+
},
|
|
30
|
+
}];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beauraines/toggl-cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "CLI client for Toggl Time Tracker",
|
|
5
5
|
"main": "cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -40,14 +40,13 @@
|
|
|
40
40
|
"yargs": "^17.6.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"eslint": "^
|
|
44
|
-
"eslint
|
|
45
|
-
"eslint
|
|
46
|
-
"eslint-plugin-jest": "^
|
|
47
|
-
"
|
|
48
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
43
|
+
"@eslint/eslintrc": "^3.1.0",
|
|
44
|
+
"@eslint/js": "^9.5.0",
|
|
45
|
+
"eslint": "^9.5.0",
|
|
46
|
+
"eslint-plugin-jest": "^28.6.0",
|
|
47
|
+
"globals": "^15.6.0",
|
|
49
48
|
"jest": "^29.4.3",
|
|
50
|
-
"should-release": "
|
|
49
|
+
"should-release": "github:beauraines/should-release",
|
|
51
50
|
"standard-version": "^9.5.0"
|
|
52
51
|
}
|
|
53
52
|
}
|
package/.eslintrc.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"browser": true,
|
|
4
|
-
"es2021": true,
|
|
5
|
-
"node": true
|
|
6
|
-
},
|
|
7
|
-
"extends": "eslint:recommended",
|
|
8
|
-
"overrides": [
|
|
9
|
-
],
|
|
10
|
-
"parserOptions": {
|
|
11
|
-
"ecmaVersion": "latest",
|
|
12
|
-
"sourceType": "module"
|
|
13
|
-
},
|
|
14
|
-
"rules": {
|
|
15
|
-
"no-unused-expressions": "warn"
|
|
16
|
-
}
|
|
17
|
-
}
|