create-video 3.3.14 → 3.3.16

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.
package/dist/templates.js CHANGED
@@ -53,8 +53,8 @@ exports.FEATURED_TEMPLATES = [
53
53
  {
54
54
  homePageLabel: 'Remix',
55
55
  shortName: 'Remix',
56
- org: 'florentpergoud',
57
- repoName: 'remotion-remix-template',
56
+ org: 'remotion-dev',
57
+ repoName: 'template-remix',
58
58
  description: 'Remotion + Remix Starter Kit',
59
59
  longerDescription: 'A software-as-a-service starter kit which has the Remotion Player and rendering via Remotion Lambda built-in. Built with remix.run.',
60
60
  promoBanner: {
@@ -7,14 +7,16 @@ const got_1 = __importDefault(require("got"));
7
7
  const vitest_1 = require("vitest");
8
8
  const templates_1 = require("../templates");
9
9
  const getFileForTemplate = (template, file) => {
10
- return `https://raw.githubusercontent.com/${template.org}/${template.repoName}/${template.defaultBranch}/${file}`;
10
+ return `https://github.com/${template.org}/${template.repoName}/raw/${template.defaultBranch}/${file}`;
11
11
  };
12
12
  for (const template of templates_1.FEATURED_TEMPLATES) {
13
13
  (0, vitest_1.test)(template.shortName + ' should have a valid package.json', async () => {
14
14
  var _a, _b;
15
- const packageLockJson = getFileForTemplate(template, 'package.json');
16
- const res = await (0, got_1.default)(packageLockJson, {
15
+ const packageJson = getFileForTemplate(template, 'package.json');
16
+ const res = await (0, got_1.default)(packageJson, {
17
17
  throwHttpErrors: false,
18
+ cache: false,
19
+ followRedirect: true,
18
20
  });
19
21
  (0, vitest_1.expect)(res.statusCode).toBe(200);
20
22
  const body = JSON.parse(res.body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-video",
3
- "version": "3.3.14",
3
+ "version": "3.3.16",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -37,5 +37,5 @@
37
37
  "typescript": "^4.7.0",
38
38
  "vitest": "0.24.3"
39
39
  },
40
- "gitHead": "85189b3037c37ec1a63dfc1f10a22981b3a56382"
40
+ "gitHead": "f9ad91106fe6fbcc61a25d917cc526a995d9322c"
41
41
  }