@squidcloud/cli 1.0.405 → 1.0.407
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.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1752,7 +1752,7 @@ function getEnvironmentPrefix(shard, region, cloudId, stage) {
|
|
|
1752
1752
|
}
|
|
1753
1753
|
return components.join('.');
|
|
1754
1754
|
}
|
|
1755
|
-
function getApplicationUrl(environmentPrefix, appId, path, appIdPlaceholder, environmentPrefixPlaceholder) {
|
|
1755
|
+
function getApplicationUrl(environmentPrefix, appId, path, appIdPlaceholder, environmentPrefixPlaceholder, forceKotlin) {
|
|
1756
1756
|
const baseDomain = new URL('https://squid.cloud').host;
|
|
1757
1757
|
const customHost = `${appIdPlaceholder || appId}.${environmentPrefixPlaceholder || environmentPrefix}.${baseDomain}`;
|
|
1758
1758
|
let protocol = 'https';
|
|
@@ -1760,7 +1760,7 @@ function getApplicationUrl(environmentPrefix, appId, path, appIdPlaceholder, env
|
|
|
1760
1760
|
let port = '';
|
|
1761
1761
|
if (isLocal(environmentPrefix)) {
|
|
1762
1762
|
protocol = 'http';
|
|
1763
|
-
port = exports.KOTLIN_CONTROLLERS.includes(path.replace(/^\//, '').split('/')[0] || '') ? '8001' : '8000';
|
|
1763
|
+
port = exports.KOTLIN_CONTROLLERS.includes(path.replace(/^\//, '').split('/')[0] || '') || forceKotlin ? '8001' : '8000';
|
|
1764
1764
|
if (isAndroid(environmentPrefix)) {
|
|
1765
1765
|
host = '10.0.2.2';
|
|
1766
1766
|
}
|
|
@@ -22759,7 +22759,7 @@ function isEnvVarTruthy(variableName) {
|
|
|
22759
22759
|
/***/ ((module) => {
|
|
22760
22760
|
|
|
22761
22761
|
"use strict";
|
|
22762
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.
|
|
22762
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.407","description":"The Squid CLI","main":"dist/index.js","scripts":{"start":"node dist/index.js","start-ts":"ts-node -r tsconfig-paths/register src/index.ts","prebuild":"rimraf dist","build":"webpack --mode=production","build:dev":"webpack --mode=development","lint":"eslint","link":"npm run build && chmod 755 dist/index.js && npm link","watch":"webpack --watch","deploy":"npm run build && npm pack --silent | xargs -I {} mv {} package.tgz && npm install -g package.tgz && rm -rf package.tgz","publish:public":"npm run build && npm publish --access public"},"files":["dist/**/*"],"bin":{"squid":"dist/index.js"},"keywords":[],"author":"","license":"ISC","engines":{"node":">=18.0.0"},"dependencies":{"@squidcloud/local-backend":"^1.0.407","copy-webpack-plugin":"^12.0.2","decompress":"^4.2.1","nodemon":"^3.1.3","terser-webpack-plugin":"^5.3.10","ts-loader":"^9.5.1","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.1.0","webpack":"^5.101.3","zip-webpack-plugin":"^4.0.1"},"devDependencies":{"@types/decompress":"^4.2.7","@types/node":"^20.19.9","terminal-link":"^3.0.0"}}');
|
|
22763
22763
|
|
|
22764
22764
|
/***/ }),
|
|
22765
22765
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.407",
|
|
4
4
|
"description": "The Squid CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"node": ">=18.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@squidcloud/local-backend": "^1.0.
|
|
31
|
+
"@squidcloud/local-backend": "^1.0.407",
|
|
32
32
|
"copy-webpack-plugin": "^12.0.2",
|
|
33
33
|
"decompress": "^4.2.1",
|
|
34
34
|
"nodemon": "^3.1.3",
|