quicktype 23.0.157 → 23.0.158

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -2
  2. package/package.json +17 -6
package/dist/index.js CHANGED
@@ -208,7 +208,6 @@ function inferCLIOptions(opts, targetLanguage) {
208
208
  }
209
209
  language = maybeLanguage;
210
210
  }
211
- /* tslint:disable:strict-boolean-expressions */
212
211
  const options = {
213
212
  src: opts.src || [],
214
213
  srcUrls: opts.srcUrls,
@@ -232,7 +231,6 @@ function inferCLIOptions(opts, targetLanguage) {
232
231
  debug: opts.debug,
233
232
  telemetry: opts.telemetry
234
233
  };
235
- /* tslint:enable */
236
234
  for (const flagName of quicktype_core_1.inferenceFlagNames) {
237
235
  const cliName = negatedInferenceFlagName(flagName);
238
236
  options[cliName] = !!opts[cliName];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype",
3
- "version": "23.0.157",
3
+ "version": "23.0.158",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,7 +14,9 @@
14
14
  "test": "script/test",
15
15
  "start": "script/watch",
16
16
  "clean": "rm -rf dist node_modules *~ packages/*/{dist,node_modules,out}",
17
- "debug": "node --inspect-brk --max-old-space-size=4096 ./dist/index.js"
17
+ "debug": "node --inspect-brk --max-old-space-size=4096 ./dist/index.js",
18
+ "lint": "eslint src/** packages/*/src/**",
19
+ "lint:fix": "eslint --fix src/** packages/*/src/**"
18
20
  },
19
21
  "workspaces": [
20
22
  "./packages/quicktype-core",
@@ -32,9 +34,9 @@
32
34
  "graphql": "^0.11.7",
33
35
  "lodash": "^4.17.21",
34
36
  "moment": "^2.30.1",
35
- "quicktype-core": "23.0.157",
36
- "quicktype-graphql-input": "23.0.157",
37
- "quicktype-typescript-input": "23.0.157",
37
+ "quicktype-core": "23.0.158",
38
+ "quicktype-graphql-input": "23.0.158",
39
+ "quicktype-typescript-input": "23.0.158",
38
40
  "readable-stream": "^4.5.2",
39
41
  "stream-json": "1.8.0",
40
42
  "string-to-stream": "^3.0.1",
@@ -50,16 +52,25 @@
50
52
  "@types/shelljs": "^0.8.15",
51
53
  "@types/stream-json": "^1.7.3",
52
54
  "@types/urijs": "^1.19.25",
55
+ "@typescript-eslint/eslint-plugin": "^6.3.0",
56
+ "@typescript-eslint/parser": "^6.3.0",
53
57
  "ajv": "^5.5.2",
54
58
  "deep-equal": "^2.2.3",
55
59
  "esbuild": "^0.20.2",
60
+ "eslint": "^8.57.0",
61
+ "eslint-config-canonical": "^41.1.7",
62
+ "eslint-config-prettier": "^6.10.0",
63
+ "eslint-import-resolver-typescript": "^3.6.1",
64
+ "eslint-plugin-canonical": "^3.4.0",
65
+ "eslint-plugin-import": "^2.26.0",
66
+ "eslint-plugin-json": "^3.1.0",
67
+ "eslint-plugin-prettier": "^4.2.1",
56
68
  "exit": "^0.1.2",
57
69
  "prettier": "^3.2.5",
58
70
  "promise-timeout": "^1.3.0",
59
71
  "semver": "^7.5.4",
60
72
  "shelljs": "^0.8.5",
61
73
  "ts-node": "^10.9.2",
62
- "tslint": "^6.1.3",
63
74
  "watch": "^1.0.2"
64
75
  },
65
76
  "files": [