Skip to content

Commit 3259146

Browse files
committed
chore: testing
1 parent 0a2a1e7 commit 3259146

4 files changed

Lines changed: 13 additions & 6 deletions

File tree

next.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@ module.exports = {
1212
},
1313
i18n,
1414
};
15+
16+
// TODO: create a migration that migrates:
17+
// Project.type
18+
// ExampleSuggestion.translations.createdAt
19+
// ExampleSuggestion.translations.updatedAt
20+
// Example.translations.createdAt
21+
// Example.translations.updatedAt

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
"./node_modules/.bin/prettier --write",
7474
"./node_modules/.bin/eslint"
7575
],
76-
"src*.{ts,tsx}": [
77-
"echo \"run it back\"; exit 1"
76+
"**/*.ts?(x)": [
77+
"./node_modules/.bin/tsc"
7878
]
7979
},
8080
"license": "ISC",

src/controllers/utils/buildDocs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const cleanExamples = ({ examples, version }: { examples: IncomingExample[], ver
5454
['source', 'translations']
5555
);
5656
if (version === Version.VERSION_1) {
57-
cleanedExample.pronunciationss = example.source.pronunciations?.[0]?.audio || '';
57+
cleanedExample.pronunciation = example.source.pronunciations?.[0]?.audio || '';
5858
} else {
5959
cleanedExample.pronunciations = example.source.pronunciations.map(({ audio }) => audio);
6060
}

src/shared/utils/wrapConsole.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import chalk from 'chalk';
22

3-
console.green = (...args) => console.log(chalk.green(...args)); // eslint-disable-line
4-
console.blue = (...args) => console.log(chalk.blue(...args)); // eslint-disable-line
5-
console.red = (...args) => console.log(chalk.red(...args)); // eslint-disable-line
3+
console.green = (...args) => console.log(chalk.green(...args));
4+
console.blue = (...args) => console.log(chalk.blue(...args));
5+
console.red = (...args) => console.log(chalk.red(...args));

0 commit comments

Comments
 (0)