create-video 3.3.81 → 3.3.83

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.
@@ -103,6 +103,16 @@ const getFileForTemplate = (template, file) => {
103
103
  (0, vitest_1.expect)(contents).not.toContain('Config.Output');
104
104
  (0, vitest_1.expect)(contents).not.toContain('Config.Preview');
105
105
  }, 12000);
106
+ (0, vitest_1.it)(template.shortName + ' should use noUnusedLocals', async () => {
107
+ if (template.shortName.includes('JavaScript')) {
108
+ return;
109
+ }
110
+ const { contents } = await findFile([
111
+ getFileForTemplate(template, 'tsconfig.json'),
112
+ ]);
113
+ const json = JSON.parse(contents);
114
+ (0, vitest_1.expect)(json.compilerOptions.noUnusedLocals).toBe(true);
115
+ }, 12000);
106
116
  }
107
117
  });
108
118
  const findFile = async (options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-video",
3
- "version": "3.3.81",
3
+ "version": "3.3.83",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {