uni-run 1.1.7 → 1.1.9
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/app.js +1 -1
- package/dist/scriptExecutors/index.js +13 -0
- package/package.json +1 -1
- package/dist/output +0 -0
- package/dist/output.exe +0 -0
package/dist/app.js
CHANGED
|
@@ -86,7 +86,7 @@ arg.list.on(() => {
|
|
|
86
86
|
});
|
|
87
87
|
});
|
|
88
88
|
arg.clean.on(() => {
|
|
89
|
-
console.log(colors_1.default.bgGreen('CACHE:'),
|
|
89
|
+
console.log(colors_1.default.bgGreen('CACHE:'), (0, helpers_1.getCacheDir)());
|
|
90
90
|
(0, helpers_1.cleanCacheDir)();
|
|
91
91
|
console.log(colors_1.default.green('Cache directory cleaned.'));
|
|
92
92
|
});
|
|
@@ -260,6 +260,19 @@ exports.default = (0, as_1.default)([
|
|
|
260
260
|
};
|
|
261
261
|
},
|
|
262
262
|
},
|
|
263
|
+
{
|
|
264
|
+
name: 'PHP',
|
|
265
|
+
exts: ['php'],
|
|
266
|
+
getRuntime(args, options, config) {
|
|
267
|
+
return {
|
|
268
|
+
exec: ['php', ...args],
|
|
269
|
+
install: {
|
|
270
|
+
check: ['php', '--version'],
|
|
271
|
+
hints: ['Please install PHP from https://www.php.net'],
|
|
272
|
+
},
|
|
273
|
+
};
|
|
274
|
+
},
|
|
275
|
+
},
|
|
263
276
|
{
|
|
264
277
|
name: 'HTML Server',
|
|
265
278
|
exts: ['html', 'htm'],
|
package/package.json
CHANGED
package/dist/output
DELETED
|
Binary file
|
package/dist/output.exe
DELETED
|
Binary file
|