create-video 4.0.429 → 4.0.430

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.
@@ -1,3 +1,2 @@
1
- export declare const addPostcssConfig: (projectRoot: string) => void;
2
1
  export declare const addTailwindRootCss: (projectRoot: string) => void;
3
2
  export declare const addTailwindToConfig: (projectRoot: string) => void;
@@ -3,20 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.addTailwindToConfig = exports.addTailwindRootCss = exports.addPostcssConfig = void 0;
6
+ exports.addTailwindToConfig = exports.addTailwindRootCss = void 0;
7
7
  const fs_1 = __importDefault(require("fs"));
8
8
  const path_1 = __importDefault(require("path"));
9
- const addPostcssConfig = (projectRoot) => {
10
- const postcssConfigMjs = path_1.default.join(projectRoot, 'postcss.config.mjs');
11
- fs_1.default.writeFileSync(postcssConfigMjs, `
12
- export default {
13
- plugins: {
14
- "@tailwindcss/postcss": {},
15
- },
16
- };
17
- `.trim() + '\n');
18
- };
19
- exports.addPostcssConfig = addPostcssConfig;
20
9
  const addTailwindRootCss = (projectRoot) => {
21
10
  const rootFileTsx = path_1.default.join(projectRoot, 'src', 'Root.tsx');
22
11
  const rootFileJsx = path_1.default.join(projectRoot, 'src', 'Root.jsx');
@@ -392,52 +392,6 @@ var FEATURED_TEMPLATES = [
392
392
  contributedBy: null,
393
393
  showStackblitz: true
394
394
  },
395
- {
396
- homePageLabel: "Text-To-Speech (Azure)",
397
- shortName: "TTS (Azure)",
398
- org: "FelippeChemello",
399
- repoName: "Remotion-TTS-Example",
400
- description: "Turns text into speech and makes a video",
401
- longerDescription: "A template that turns text into a spoken video. Integrates with Azure Cloud for Speech synthesis.",
402
- promoVideo: {
403
- muxId: "8vJJ01lNuFmQCx7n59VILevqQGxRuQHp9a7VBR7B4C8k",
404
- width: 1920,
405
- height: 1080
406
- },
407
- cliId: "tts",
408
- type: "video",
409
- defaultBranch: "master",
410
- featuredOnHomePage: null,
411
- previewURL: null,
412
- previewLabel: null,
413
- templateInMonorepo: "template-tts-azure",
414
- allowEnableTailwind: false,
415
- contributedBy: null,
416
- showStackblitz: true
417
- },
418
- {
419
- homePageLabel: "Text-To-Speech (Google)",
420
- shortName: "TTS (Google)",
421
- org: "thecmdrunner",
422
- repoName: "remotion-gtts-template",
423
- description: "Turns text into speech and makes a video",
424
- longerDescription: "A template that turns text into a spoken video. Integrates with Firebase for Storage, and Google Cloud for Speech synthesis.",
425
- promoVideo: {
426
- muxId: "82dzhGhv3bl3p8LW009cFGd8oltqt6UvxTWdP27202BAY",
427
- width: 1920,
428
- height: 1080
429
- },
430
- cliId: "google-tts",
431
- type: "video",
432
- defaultBranch: "master",
433
- featuredOnHomePage: null,
434
- previewURL: null,
435
- previewLabel: null,
436
- templateInMonorepo: "template-tts-google",
437
- allowEnableTailwind: false,
438
- contributedBy: null,
439
- showStackblitz: true
440
- },
441
395
  {
442
396
  homePageLabel: "Audiogram",
443
397
  shortName: "Audiogram",
package/dist/init.js CHANGED
@@ -123,7 +123,6 @@ const init = async () => {
123
123
  (0, patch_readme_1.patchReadmeMd)(projectRoot, pkgManager, selectedTemplate);
124
124
  if (shouldOverrideTailwind) {
125
125
  (0, add_tailwind_1.addTailwindToConfig)(projectRoot);
126
- (0, add_tailwind_1.addPostcssConfig)(projectRoot);
127
126
  (0, add_tailwind_1.addTailwindRootCss)(projectRoot);
128
127
  }
129
128
  (0, create_public_folder_1.createPublicFolder)(projectRoot);
@@ -20,7 +20,7 @@ export type Template = {
20
20
  repoName: string;
21
21
  homePageLabel: string;
22
22
  longerDescription: string;
23
- cliId: 'hello-world' | 'javascript' | 'blank' | 'next' | 'next-no-tailwind' | 'next-pages-dir' | 'react-router' | 'three' | 'still' | 'tts' | 'google-tts' | 'audiogram' | 'music-visualization' | 'prompt-to-video' | 'skia' | 'overlay' | 'stargazer' | 'tiktok' | 'code-hike' | 'render-server' | 'recorder' | 'prompt-to-motion-graphics' | 'vercel';
23
+ cliId: 'hello-world' | 'javascript' | 'blank' | 'next' | 'next-no-tailwind' | 'next-pages-dir' | 'react-router' | 'three' | 'still' | 'audiogram' | 'music-visualization' | 'prompt-to-video' | 'skia' | 'overlay' | 'stargazer' | 'tiktok' | 'code-hike' | 'render-server' | 'recorder' | 'prompt-to-motion-graphics' | 'vercel';
24
24
  defaultBranch: string;
25
25
  featuredOnHomePage: string | null;
26
26
  previewURL: string | null;
package/dist/templates.js CHANGED
@@ -304,52 +304,6 @@ exports.FEATURED_TEMPLATES = [
304
304
  contributedBy: null,
305
305
  showStackblitz: true,
306
306
  },
307
- {
308
- homePageLabel: 'Text-To-Speech (Azure)',
309
- shortName: 'TTS (Azure)',
310
- org: 'FelippeChemello',
311
- repoName: 'Remotion-TTS-Example',
312
- description: 'Turns text into speech and makes a video',
313
- longerDescription: 'A template that turns text into a spoken video. Integrates with Azure Cloud for Speech synthesis.',
314
- promoVideo: {
315
- muxId: '8vJJ01lNuFmQCx7n59VILevqQGxRuQHp9a7VBR7B4C8k',
316
- width: 1920,
317
- height: 1080,
318
- },
319
- cliId: 'tts',
320
- type: 'video',
321
- defaultBranch: 'master',
322
- featuredOnHomePage: null,
323
- previewURL: null,
324
- previewLabel: null,
325
- templateInMonorepo: 'template-tts-azure',
326
- allowEnableTailwind: false,
327
- contributedBy: null,
328
- showStackblitz: true,
329
- },
330
- {
331
- homePageLabel: 'Text-To-Speech (Google)',
332
- shortName: 'TTS (Google)',
333
- org: 'thecmdrunner',
334
- repoName: 'remotion-gtts-template',
335
- description: 'Turns text into speech and makes a video',
336
- longerDescription: 'A template that turns text into a spoken video. Integrates with Firebase for Storage, and Google Cloud for Speech synthesis.',
337
- promoVideo: {
338
- muxId: '82dzhGhv3bl3p8LW009cFGd8oltqt6UvxTWdP27202BAY',
339
- width: 1920,
340
- height: 1080,
341
- },
342
- cliId: 'google-tts',
343
- type: 'video',
344
- defaultBranch: 'master',
345
- featuredOnHomePage: null,
346
- previewURL: null,
347
- previewLabel: null,
348
- templateInMonorepo: 'template-tts-google',
349
- allowEnableTailwind: false,
350
- contributedBy: null,
351
- showStackblitz: true,
352
- },
353
307
  {
354
308
  homePageLabel: 'Audiogram',
355
309
  shortName: 'Audiogram',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/create-video"
4
4
  },
5
5
  "name": "create-video",
6
- "version": "4.0.429",
6
+ "version": "4.0.430",
7
7
  "description": "Create a new Remotion project",
8
8
  "main": "dist/index.js",
9
9
  "bin": {
@@ -11,6 +11,7 @@
11
11
  },
12
12
  "scripts": {
13
13
  "formatting": "oxfmt src --check",
14
+ "format": "oxfmt src",
14
15
  "lint": "eslint src",
15
16
  "test": "bun test src",
16
17
  "make": "tsgo -d && bun --env-file=../.env.bundle bundle.ts"