@scout9/app 1.0.0-alpha.0.2.0 → 1.0.0-alpha.0.2.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/dist/{index-7460cfee.cjs → index-332067ab.cjs} +5 -6
- package/dist/index.cjs +1 -1
- package/dist/{multipart-parser-d080fdee.cjs → multipart-parser-50a82502.cjs} +1 -1
- package/package.json +1 -1
- package/src/cli.js +0 -1
- package/src/platform.js +0 -2
- package/src/public.d.ts +1 -1
- package/types/index.d.ts +1 -1
|
@@ -29482,7 +29482,7 @@ class Body {
|
|
|
29482
29482
|
}
|
|
29483
29483
|
const {
|
|
29484
29484
|
toFormData
|
|
29485
|
-
} = await Promise.resolve().then(function () { return require("./multipart-parser-
|
|
29485
|
+
} = await Promise.resolve().then(function () { return require("./multipart-parser-50a82502.cjs"); });
|
|
29486
29486
|
return toFormData(this.body, ct);
|
|
29487
29487
|
}
|
|
29488
29488
|
|
|
@@ -41891,7 +41891,7 @@ function _loadUserPackageJson() {
|
|
|
41891
41891
|
targetPkgUrl = isTest ? packageTestJsonUrl : packageJsonUrl;
|
|
41892
41892
|
_context.t0 = JSON;
|
|
41893
41893
|
_context.next = 10;
|
|
41894
|
-
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-
|
|
41894
|
+
return fs__default["default"].readFile(new URL(targetPkgUrl, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-332067ab.js', document.baseURI).href))), 'utf-8');
|
|
41895
41895
|
case 10:
|
|
41896
41896
|
_context.t1 = _context.sent;
|
|
41897
41897
|
pkg = _context.t0.parse.call(_context.t0, _context.t1);
|
|
@@ -43097,7 +43097,7 @@ var ProjectFiles = /*#__PURE__*/function () {
|
|
|
43097
43097
|
return ProjectFiles;
|
|
43098
43098
|
}();
|
|
43099
43099
|
|
|
43100
|
-
var __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-
|
|
43100
|
+
var __filename$1 = node_url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-332067ab.js', document.baseURI).href)));
|
|
43101
43101
|
var __dirname$1 = path__default["default"].dirname(__filename$1);
|
|
43102
43102
|
function zipDirectory(source, out) {
|
|
43103
43103
|
var archive = archiver$1('tar', {
|
|
@@ -43312,7 +43312,7 @@ function _buildApp() {
|
|
|
43312
43312
|
case 11:
|
|
43313
43313
|
_context4.t0 = JSON;
|
|
43314
43314
|
_context4.next = 14;
|
|
43315
|
-
return fs__default["default"].readFile(new URL(templatePackagePath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-
|
|
43315
|
+
return fs__default["default"].readFile(new URL(templatePackagePath, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index-332067ab.js', document.baseURI).href))), 'utf-8');
|
|
43316
43316
|
case 14:
|
|
43317
43317
|
_context4.t1 = _context4.sent;
|
|
43318
43318
|
packageTemplate = _context4.t0.parse.call(_context4.t0, _context4.t1);
|
|
@@ -44046,7 +44046,6 @@ var Scout9Platform = {
|
|
|
44046
44046
|
* @param {string} [params.cwd=process.cwd()] - the working directory
|
|
44047
44047
|
* @param {string} [params.src='./src'] - the source directory
|
|
44048
44048
|
* @param {string} [params.dest='/tmp/project'] - the destination directory
|
|
44049
|
-
* @param {'development' | 'production'} [params.mode='production'] - the build mode
|
|
44050
44049
|
* @param {boolean} [params.sync=true] - whether to sync the project after deploying
|
|
44051
44050
|
* @returns {Promise<Scout9ProjectBuildConfig>}
|
|
44052
44051
|
*/
|
|
@@ -44072,7 +44071,7 @@ var Scout9Platform = {
|
|
|
44072
44071
|
return spirits._regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
44073
44072
|
while (1) switch (_context2.prev = _context2.next) {
|
|
44074
44073
|
case 0:
|
|
44075
|
-
_ref2 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}, _ref2$cwd = _ref2.cwd, cwd = _ref2$cwd === void 0 ? process.cwd() : _ref2$cwd, _ref2$src = _ref2.src, src = _ref2$src === void 0 ? './src' : _ref2$src, _ref2$dest = _ref2.dest, dest = _ref2$dest === void 0 ? '/tmp/project' : _ref2$dest, _ref2
|
|
44074
|
+
_ref2 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}, _ref2$cwd = _ref2.cwd, cwd = _ref2$cwd === void 0 ? process.cwd() : _ref2$cwd, _ref2$src = _ref2.src, src = _ref2$src === void 0 ? './src' : _ref2$src, _ref2$dest = _ref2.dest, dest = _ref2$dest === void 0 ? '/tmp/project' : _ref2$dest, _ref2$sync = _ref2.sync, sync$1 = _ref2$sync === void 0 ? true : _ref2$sync;
|
|
44076
44075
|
logger = new dev.ProgressLogger();
|
|
44077
44076
|
messages = [];
|
|
44078
44077
|
_context2.prev = 3;
|
package/dist/index.cjs
CHANGED
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -84,7 +84,6 @@ prog
|
|
|
84
84
|
prog
|
|
85
85
|
.command('deploy')
|
|
86
86
|
.describe('Deploy your scout9 app')
|
|
87
|
-
.option('--mode', 'Specify a mode for loading environment variables', 'production')
|
|
88
87
|
.option('--src', 'Project source code folder', 'src')
|
|
89
88
|
.option('--sync, -s', 'Syncs project after deploying (overwriting code)', true)
|
|
90
89
|
.option('--dest', 'Project local destination', './build')
|
package/src/platform.js
CHANGED
|
@@ -52,7 +52,6 @@ export const Scout9Platform = {
|
|
|
52
52
|
* @param {string} [params.cwd=process.cwd()] - the working directory
|
|
53
53
|
* @param {string} [params.src='./src'] - the source directory
|
|
54
54
|
* @param {string} [params.dest='/tmp/project'] - the destination directory
|
|
55
|
-
* @param {'development' | 'production'} [params.mode='production'] - the build mode
|
|
56
55
|
* @param {boolean} [params.sync=true] - whether to sync the project after deploying
|
|
57
56
|
* @returns {Promise<Scout9ProjectBuildConfig>}
|
|
58
57
|
*/
|
|
@@ -61,7 +60,6 @@ export const Scout9Platform = {
|
|
|
61
60
|
cwd = process.cwd(),
|
|
62
61
|
src = './src',
|
|
63
62
|
dest = '/tmp/project',
|
|
64
|
-
mode = 'production',
|
|
65
63
|
sync = true
|
|
66
64
|
} = {}
|
|
67
65
|
) {
|
package/src/public.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Application platform for managing auto reply workflows from personal communication methods
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
|
-
* NOTE: This file was auto generated
|
|
7
|
+
* NOTE: This file was auto generated 8/17/2024, 8:45:07 AM
|
|
8
8
|
* Do not edit the file manually.
|
|
9
9
|
*/
|
|
10
10
|
|
package/types/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare module '@scout9/app' {
|
|
|
4
4
|
* Application platform for managing auto reply workflows from personal communication methods
|
|
5
5
|
*
|
|
6
6
|
*
|
|
7
|
-
* NOTE: This file was auto generated
|
|
7
|
+
* NOTE: This file was auto generated 8/17/2024, 8:45:07 AM
|
|
8
8
|
* Do not edit the file manually.
|
|
9
9
|
*/
|
|
10
10
|
|