Skip to content

Commit 5403210

Browse files
authored
chore(i18n): Readapt build scripts (RocketChat#36960)
1 parent c31e428 commit 5403210

94 files changed

Lines changed: 2180 additions & 1860 deletions

File tree

Some content is hidden

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

apps/meteor/.mocharc.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"reporter": "spec",
44
"extension": ["js", "ts", "tsx"],
55
"require": [
6-
"ts-node/register",
6+
"tsx",
77
"./tests/setup/chaiPlugins.ts"
88
],
99
"watch-files": [

apps/meteor/.mocharc.definition.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@
66

77
const base = require('./.mocharc.base.json');
88

9-
/**
10-
* Mocha will run `ts-node` without doing type checking to speed-up the tests. It should be fine as `npm run typecheck`
11-
* covers test files too.
12-
*/
13-
14-
Object.assign(
15-
process.env,
16-
{
17-
TS_NODE_FILES: true,
18-
TS_NODE_TRANSPILE_ONLY: true,
19-
},
20-
process.env,
21-
);
22-
239
module.exports = {
2410
...base, // see https://github.com/mochajs/mocha/issues/3916
2511
require: [...base.require],

apps/meteor/.mocharc.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@
66

77
const base = require('./.mocharc.base.json');
88

9-
/**
10-
* Mocha will run `ts-node` without doing type checking to speed-up the tests. It should be fine as `npm run typecheck`
11-
* covers test files too.
12-
*/
13-
14-
Object.assign(
15-
process.env,
16-
{
17-
TS_NODE_FILES: true,
18-
TS_NODE_TRANSPILE_ONLY: true,
19-
},
20-
process.env,
21-
);
22-
239
module.exports = {
2410
...base, // see https://github.com/mochajs/mocha/issues/3916
2511
exit: true,

apps/meteor/.scripts/replaceTranslationSprintfParams.ts

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

0 commit comments

Comments
 (0)