react-native-update-cli 1.24.0 → 1.25.1
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/lib/bundle.js +3 -3
- package/lib/package.js +1 -1
- package/package.json +1 -1
- package/src/bundle.js +3 -3
- package/src/package.js +1 -1
package/lib/bundle.js
CHANGED
|
@@ -175,9 +175,9 @@ async function compileHermesByteCode(bundleName, outputFolder, sourcemapOutput)
|
|
|
175
175
|
const hermesCommand = `${hermesPath}/hermesc`;
|
|
176
176
|
|
|
177
177
|
const args = ['-emit-binary', '-out', _path2.default.join(outputFolder, bundleName), _path2.default.join(outputFolder, bundleName), '-O'];
|
|
178
|
-
if (sourcemapOutput) {
|
|
179
|
-
|
|
180
|
-
}
|
|
178
|
+
// if (sourcemapOutput) {
|
|
179
|
+
// args.push('-output-source-map');
|
|
180
|
+
// }
|
|
181
181
|
console.log('Running hermesc: ' + hermesCommand + ' ' + args.join(' ') + '\n');
|
|
182
182
|
(0, _child_process.spawnSync)(hermesCommand, args, {
|
|
183
183
|
stdio: 'ignore'
|
package/lib/package.js
CHANGED
|
@@ -61,7 +61,7 @@ async function choosePackage(appId) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
const commands = exports.commands = {
|
|
64
|
-
uploadIpa: async function ({ args }) {
|
|
64
|
+
uploadIpa: async function ({ args, options }) {
|
|
65
65
|
const fn = args[0];
|
|
66
66
|
if (!fn || !fn.endsWith('.ipa')) {
|
|
67
67
|
throw new Error('使用方法: pushy uploadIpa ipa后缀文件');
|
package/package.json
CHANGED
package/src/bundle.js
CHANGED
|
@@ -208,9 +208,9 @@ async function compileHermesByteCode(
|
|
|
208
208
|
path.join(outputFolder, bundleName),
|
|
209
209
|
'-O',
|
|
210
210
|
];
|
|
211
|
-
if (sourcemapOutput) {
|
|
212
|
-
|
|
213
|
-
}
|
|
211
|
+
// if (sourcemapOutput) {
|
|
212
|
+
// args.push('-output-source-map');
|
|
213
|
+
// }
|
|
214
214
|
console.log(
|
|
215
215
|
'Running hermesc: ' + hermesCommand + ' ' + args.join(' ') + '\n',
|
|
216
216
|
);
|
package/src/package.js
CHANGED
|
@@ -48,7 +48,7 @@ export async function choosePackage(appId) {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export const commands = {
|
|
51
|
-
uploadIpa: async function ({ args }) {
|
|
51
|
+
uploadIpa: async function ({ args, options }) {
|
|
52
52
|
const fn = args[0];
|
|
53
53
|
if (!fn || !fn.endsWith('.ipa')) {
|
|
54
54
|
throw new Error('使用方法: pushy uploadIpa ipa后缀文件');
|