Skip to content

Commit

Permalink
Remove skipLibCheck and add missing tsconfig options
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZoker committed Mar 7, 2019
1 parent 9426aea commit d393a55
Show file tree
Hide file tree
Showing 10 changed files with 122 additions and 100 deletions.
45 changes: 24 additions & 21 deletions generator-jsonforms/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion generator-jsonforms/src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// tslint:disable:no-require-imports
'use strict';

import * as Generator from 'yeoman-generator';
import Generator from 'yeoman-generator';
import chalk from 'chalk';
const clear = require('clear');
const figlet = require('figlet');
Expand Down
20 changes: 14 additions & 6 deletions jsonforms-tooling-common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions jsonforms-tooling-common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// tslint:disable:no-require-imports
// tslint:disable:no-use-before-declare

import * as jsonforms from '@jsonforms/core';
import { generateDefaultUISchema } from '@jsonforms/core';
import { readFile, writeFile } from 'fs';
import * as Ajv from 'ajv';
import Ajv from 'ajv';
import { sep } from 'path';
const yeoman = require('yeoman-environment');

Expand Down Expand Up @@ -96,7 +96,7 @@ const asyncGenerateUiSchema = (editorInstance: any, path: string) => {
return;
}

const jsonUISchema = jsonforms.generateDefaultUISchema(jsonSchema);
const jsonUISchema = generateDefaultUISchema(jsonSchema);

// Check if windows or linux filesystem
let newPath = path.substring(0, path.lastIndexOf(sep));
Expand Down
34 changes: 21 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions theia-plugin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions theia-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"extends": "../tsconfig.base",
"compilerOptions": {
"downlevelIteration": true,
"lib": [
"es6",
"webworker"
],
"baseUrl": "src",
"outDir": "out",
"skipLibCheck": true
},
"include": [
"src"
]
"extends": "../tsconfig.base",
"compilerOptions": {
"downlevelIteration": true,
"lib": [
"es6",
"webworker"
],
"baseUrl": "src",
"outDir": "out",
"skipLibCheck": true
},
"include": [
"src"
]
}
18 changes: 10 additions & 8 deletions theia-plugin/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@
resolved "https://registry.yarnpkg.com/@theia/plugin/-/plugin-0.4.0-next.811ac888.tgz#0c143568ef42e13b1fc0b8152e76ce0ebce98cb1"

"@types/cheerio@*":
version "0.22.10"
resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.10.tgz#780d552467824be4a241b29510a7873a7432c4a6"
version "0.22.11"
resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.11.tgz#61c0facf9636d14ba5f77fc65ed8913aa845d717"
dependencies:
"@types/node" "*"

"@types/enzyme-adapter-react-16@^1.0.3":
version "1.0.5"
Expand Down Expand Up @@ -81,12 +83,12 @@
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"

"@types/node@*":
version "11.10.4"
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.10.4.tgz#3f5fc4f0f322805f009e00ab35a2ff3d6b778e42"
version "11.10.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.10.5.tgz#fbaca34086bdc118011e1f05c47688d432f2d571"

"@types/node@^10.12.10":
version "10.12.29"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.29.tgz#c2c8d2d27bb55649fbafe8ea1731658421f38acf"
version "10.12.30"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.30.tgz#4c2b4f0015f214f8158a347350481322b3b29b2f"

"@types/prop-types@*":
version "15.7.0"
Expand All @@ -100,8 +102,8 @@
redux "^3.6.0"

"@types/react@*", "@types/react@^16.4.14":
version "16.8.6"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.6.tgz#fa1de3fe56cc9b6afeddc73d093d7f30fd5e31cc"
version "16.8.7"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.7.tgz#7b1c0223dd5494f9b4501ad2a69aa6acb350a29b"
dependencies:
"@types/prop-types" "*"
csstype "^2.2.0"
Expand Down
41 changes: 21 additions & 20 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{
"compilerOptions": {
"baseUrl": "src",
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es6"
],
"module": "commonjs",
"moduleResolution": "node",
"target": "es6",
"noUnusedLocals": true,
"sourceMap": true,
"strict": true,
"types": ["node", "jest"],
"skipLibCheck": true,
},
"exclude": [
"node_modules"
]
"compilerOptions": {
"baseUrl": "src",
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es6"
],
"module": "commonjs",
"moduleResolution": "node",
"target": "es6",
"noUnusedLocals": true,
"sourceMap": true,
"strict": true,
"types": ["node", "jest"],
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
},
"exclude": [
"node_modules"
]
}
22 changes: 11 additions & 11 deletions vscode-extension/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"extends": "../tsconfig.base",
"exclude": [
".vscode-test"
],
"compilerOptions": {
"baseUrl": "src",
"outDir": "out"
},
"include": [
"src"
]
"extends": "../tsconfig.base",
"exclude": [
".vscode-test"
],
"compilerOptions": {
"baseUrl": "src",
"outDir": "out"
},
"include": [
"src"
]
}

0 comments on commit d393a55

Please sign in to comment.