Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 18fba61

Browse files
Shared root tsconfig.json with overrides (#1003)
* Shared root tsconfig.json with overrides Also move test hook to repo root and reference in mocha.opts * Fix dialog compilation issues * Luis compilation issue fixes * Chatdown test fixes * Luis test fixes * Fix dialog verify test * Bump ts-node and clean up test tsconfigs
1 parent 7e5e1b8 commit 18fba61

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+307
-546
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 142 additions & 292 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/chatdown/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@oclif/test": "^1.2.4",
3131
"@oclif/tslint": "^3.1.1",
3232
"@types/chai": "^4.1.7",
33+
"@types/fs-extra": "^5.0.5",
3334
"@types/mocha": "^5.2.6",
3435
"@types/node": "^10.14.6",
3536
"@types/rimraf": "^2.0.2",
@@ -38,9 +39,9 @@
3839
"mocha": "^6.2.2",
3940
"nyc": "^14.1.1",
4041
"rimraf": "^2.6.3",
41-
"ts-node": "^8.1.0",
42+
"ts-node": "^9.0.0",
4243
"tslint": "^5.16.0",
43-
"typescript": "3.5.3"
44+
"typescript": "^4.0.3"
4445
},
4546
"engines": {
4647
"node": ">=8.0.0"

packages/chatdown/test/commands/chatdown/convert.test.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import {expect, test} from '@oclif/test'
21
import * as cp from 'child_process';
3-
import * as rimraf from 'rimraf';
4-
let pkg = require('../../../package.json');
5-
let assert = require('assert');
6-
const fs = require('fs-extra')
2+
import assert from 'assert';
3+
import fs from 'fs-extra';
4+
import rimraf from 'rimraf';
5+
import {expect, test} from '@oclif/test'
6+
7+
const pkg = require('../../../package.json');
78

89
describe('chatdown:convert', function() {
910

packages/chatdown/test/hook.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/chatdown/test/mocha.opts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--require test/hook.js
1+
--require ../../test/hook.js
22
--require source-map-support/register
33
--recursive
44
--timeout 10000
5-
**/*.test.{ts,js}
5+
**/*.test.{ts,js}

packages/chatdown/test/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
2-
"extends": "../tsconfig",
3-
"compilerOptions": {
4-
"noEmit": true,
5-
"noImplicitAny": false
6-
},
2+
"extends": "../tsconfig.json",
73
"references": [
84
{"path": ".."}
95
]

packages/chatdown/tsconfig.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
2+
"extends": "../../tsconfig.json",
23
"compilerOptions": {
3-
"declaration": true,
4-
"importHelpers": true,
5-
"module": "commonjs",
64
"outDir": "lib",
7-
"rootDir": "src",
8-
"strict": true,
9-
"target": "es2017",
10-
"composite": true
5+
"rootDir": "src"
116
},
127
"include": [
138
"src/**/*"

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
"nock": "^11.7.0",
9090
"nyc": "^14.1.1",
9191
"rimraf": "^2.6.3",
92-
"ts-node": "^8.1.0",
92+
"ts-node": "^9.0.0",
9393
"tslint": "^5.16.0",
94-
"typescript": "^3.5.3"
94+
"typescript": "^4.0.3"
9595
}
9696
}

packages/cli/test/hook.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/cli/test/mocha.opts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
--require test/hook.js
1+
--require ../../test/hook.js
22
--require source-map-support/register
33
--recursive
44
--timeout 60000
5-
**/*.test.{ts,js}
5+
**/*.test.{ts,js}

0 commit comments

Comments
 (0)