@tolgee/cli 1.0.1 → 1.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolgee/cli",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "type": "commonjs",
5
5
  "description": "A tool to interact with the Tolgee Platform through CLI",
6
6
  "bin": {
@@ -10,14 +10,14 @@
10
10
  "build": "rimraf dist dist-types && tsc && cp dist-types/extractor/index.d.ts extractor.d.ts",
11
11
  "test": "npm run test:unit && npm run test:e2e && npm run test:package",
12
12
  "test:unit": "jest -c jest.unit.config.ts",
13
- "pretest:e2e": "npm run tolgee:start",
13
+ "pretest:e2e": "npm run build && npm run tolgee:start",
14
14
  "posttest:e2e": "npm run tolgee:stop",
15
15
  "test:e2e": "jest -c jest.e2e.config.ts --runInBand",
16
16
  "test:e2e-run": "jest -c jest.e2e.config.ts --runInBand",
17
17
  "test:package": "node scripts/validatePackage.mjs",
18
18
  "tolgee:start": "node scripts/startDocker.mjs",
19
19
  "tolgee:stop": "docker stop tolgee_cli_e2e",
20
- "lint": "prettier --check ./src ./test ./scripts jest.config.ts jest.*.config.ts",
20
+ "lint": "eslint --ext .ts --ext .js --ext .mjs ./src ./test ./scripts jest.config.ts jest.*.config.ts",
21
21
  "prettier": "prettier --write ./src ./test ./scripts jest.config.ts jest.*.config.ts",
22
22
  "run-dev": "ts-node ./src/index.ts",
23
23
  "schema": "openapi-typescript http://localhost:22222/v3/api-docs/All%20Internal%20-%20for%20Tolgee%20Web%20application --output src/client/internal/schema.generated.ts",
@@ -47,7 +47,13 @@
47
47
  "@types/jest": "^29.2.5",
48
48
  "@types/node": "^18.11.18",
49
49
  "@types/yauzl": "^2.10.0",
50
+ "@typescript-eslint/eslint-plugin": "^5.59.1",
51
+ "@typescript-eslint/parser": "^5.59.1",
52
+ "eslint": "^8.39.0",
53
+ "eslint-plugin-jest": "^27.2.1",
54
+ "eslint-plugin-prettier": "^4.2.1",
50
55
  "jest": "^29.3.1",
56
+ "js-yaml": "^4.1.0",
51
57
  "openapi-typescript": "^6.1.0",
52
58
  "prettier": "^2.8.3",
53
59
  "rimraf": "^4.0.7",