@nexrender/core 1.61.0 → 1.62.0
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/package.json +5 -3
- package/src/assets/nexrender.jsx +6 -7
- package/src/helpers/autofind.js +1 -0
- package/src/helpers/state.js +1 -0
- package/src/index.js +2 -0
- package/src/tasks/render.js +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexrender/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.62.0",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"author": "Inlife",
|
|
6
6
|
"homepage": "https://www.nexrender.com",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"test": "mocha"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@nexrender/types": "^1.
|
|
14
|
+
"@nexrender/types": "^1.62.0",
|
|
15
15
|
"data-uri-to-buffer": "^3.0.0",
|
|
16
16
|
"file-uri-to-path": "^2.0.0",
|
|
17
17
|
"is-wsl": "^2.2.0",
|
|
@@ -25,12 +25,14 @@
|
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@nexrender/action-cache": "^1.53.2",
|
|
28
|
+
"@nexrender/action-compress": "^1.0.0",
|
|
28
29
|
"@nexrender/action-copy": "^1.0.0",
|
|
29
30
|
"@nexrender/action-decompress": "^1.48.2",
|
|
30
31
|
"@nexrender/action-encode": "^1.1.4",
|
|
31
32
|
"@nexrender/action-fonts": "^1.51.8",
|
|
32
33
|
"@nexrender/action-image": "^1.49.4",
|
|
33
34
|
"@nexrender/action-link": "^1.0.0",
|
|
35
|
+
"@nexrender/action-lottie": "^1.0.0",
|
|
34
36
|
"@nexrender/action-mogrt": "^1.0.2",
|
|
35
37
|
"@nexrender/action-upload": "^1.0.0",
|
|
36
38
|
"@nexrender/action-webhook": "^1.51.3",
|
|
@@ -43,5 +45,5 @@
|
|
|
43
45
|
"publishConfig": {
|
|
44
46
|
"access": "public"
|
|
45
47
|
},
|
|
46
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "6685318687feede05d00585d3830bb774a6a1f28"
|
|
47
49
|
}
|
package/src/assets/nexrender.jsx
CHANGED
|
@@ -13,6 +13,12 @@ var nexrender = {
|
|
|
13
13
|
types: [CompItem, FolderItem, FootageItem, AVLayer, ShapeLayer, TextLayer, CameraLayer, LightLayer, Property, PropertyGroup],
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
+
nexrender.log = function (message) {
|
|
17
|
+
if (gAECommandLineRenderer && gAECommandLineRenderer.log_file) {
|
|
18
|
+
gAECommandLineRenderer.log_file.writeln("NX: " + message);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
16
22
|
nexrender.typesMatch = function (types, layer) {
|
|
17
23
|
return nexrender.types.filter(function (t) {
|
|
18
24
|
return layer instanceof t;
|
|
@@ -253,13 +259,6 @@ nexrender.changeValueForKeypath = function (layer, keys, val) {
|
|
|
253
259
|
change(layer, keys, val);
|
|
254
260
|
};
|
|
255
261
|
|
|
256
|
-
nexrender.log = function(message) {
|
|
257
|
-
if (gAECommandLineRenderer && gAECommandLineRenderer.log_file) {
|
|
258
|
-
gAECommandLineRenderer.log_file.writeln("NX:" + message);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
263
262
|
/* end of nexrender script */
|
|
264
263
|
/* start of custom user script */
|
|
265
264
|
|
package/src/helpers/autofind.js
CHANGED
|
@@ -15,6 +15,7 @@ const defaultPaths = {
|
|
|
15
15
|
'/Applications/Adobe After Effects 2022',
|
|
16
16
|
'/Applications/Adobe After Effects 2023',
|
|
17
17
|
'/Applications/Adobe After Effects 2024',
|
|
18
|
+
'/Applications/Adobe After Effects 2025',
|
|
18
19
|
'/Applications/Adobe After Effects CC 2021',
|
|
19
20
|
'/Applications/Adobe After Effects CC 2022',
|
|
20
21
|
'/Applications/Adobe After Effects CC 2023',
|
package/src/helpers/state.js
CHANGED
package/src/index.js
CHANGED
|
@@ -30,6 +30,7 @@ if (process.env.NEXRENDER_REQUIRE_PLUGINS) {
|
|
|
30
30
|
require('@nexrender/action-copy');
|
|
31
31
|
require('@nexrender/action-encode');
|
|
32
32
|
require('@nexrender/action-upload');
|
|
33
|
+
require('@nexrender/action-compress');
|
|
33
34
|
require('@nexrender/action-decompress');
|
|
34
35
|
require('@nexrender/action-image');
|
|
35
36
|
require('@nexrender/action-fonts');
|
|
@@ -37,6 +38,7 @@ if (process.env.NEXRENDER_REQUIRE_PLUGINS) {
|
|
|
37
38
|
require('@nexrender/action-webhook');
|
|
38
39
|
require('@nexrender/action-mogrt');
|
|
39
40
|
require('@nexrender/action-cache');
|
|
41
|
+
require('@nexrender/action-lottie');
|
|
40
42
|
|
|
41
43
|
require('@nexrender/provider-s3');
|
|
42
44
|
require('@nexrender/provider-ftp');
|
package/src/tasks/render.js
CHANGED
|
@@ -107,7 +107,13 @@ Estimated date of change to the new behavior: 2023-06-01.\n`);
|
|
|
107
107
|
|
|
108
108
|
// setup parameters
|
|
109
109
|
params.push('-project', projectFile);
|
|
110
|
-
|
|
110
|
+
|
|
111
|
+
if (job.template.composition) {
|
|
112
|
+
params.push('-comp', job.template.composition);
|
|
113
|
+
} else {
|
|
114
|
+
settings.logger.log(`[${job.uid}] Warning: No composition specified in the template.`);
|
|
115
|
+
}
|
|
116
|
+
|
|
111
117
|
params.push('-output', outputFileAE);
|
|
112
118
|
|
|
113
119
|
if (!settings.skipRender) {
|