@squidcloud/cli 1.0.483 → 1.0.484
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 +7 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -31881,6 +31881,7 @@ exports.CONNECTOR_IDS = void 0;
|
|
|
31881
31881
|
* @category Platform
|
|
31882
31882
|
*/
|
|
31883
31883
|
exports.CONNECTOR_IDS = [
|
|
31884
|
+
'bitbucket',
|
|
31884
31885
|
'confluence',
|
|
31885
31886
|
'cotomi',
|
|
31886
31887
|
'essentials',
|
|
@@ -31932,6 +31933,7 @@ exports.INTEGRATION_TYPES = [
|
|
|
31932
31933
|
'azure_postgresql',
|
|
31933
31934
|
'azure_sql',
|
|
31934
31935
|
'bigquery',
|
|
31936
|
+
'bitbucket',
|
|
31935
31937
|
'built_in_azure_blob',
|
|
31936
31938
|
'built_in_db',
|
|
31937
31939
|
'built_in_gcs',
|
|
@@ -33498,9 +33500,10 @@ async function build({ verbose, dev, skipVersionCheck }) {
|
|
|
33498
33500
|
}
|
|
33499
33501
|
}
|
|
33500
33502
|
/**
|
|
33501
|
-
* These connectors
|
|
33503
|
+
* These connectors are selected by matching their connector ID to an integration type.
|
|
33504
|
+
* They do not need AI-function attributes solely to declare that match.
|
|
33502
33505
|
*/
|
|
33503
|
-
const
|
|
33506
|
+
const CONNECTORS_MATCHED_BY_ID = ['bitbucket', 'cotomi', 'ticketmind_companion'];
|
|
33504
33507
|
/** Generates connector metadata JSON file in the dist directory. */
|
|
33505
33508
|
async function generateConnectorMetadata(distPath) {
|
|
33506
33509
|
const packageJsonPath = path_1.default.resolve(process.cwd(), 'package.json');
|
|
@@ -33526,7 +33529,7 @@ async function generateConnectorMetadata(distPath) {
|
|
|
33526
33529
|
// Populate openApiControllersMap from openapi-spec-and-controllers.json.
|
|
33527
33530
|
await (0, openapi_utils_1.populateOpenApiControllersMap)(bundleData, distPath, 'connector');
|
|
33528
33531
|
console.debug('Populated openApiControllersMap in bundle metadata');
|
|
33529
|
-
const integrationTypes =
|
|
33532
|
+
const integrationTypes = CONNECTORS_MATCHED_BY_ID.includes(connectorId)
|
|
33530
33533
|
? []
|
|
33531
33534
|
: buildSupportedIntegrationTypesFromBundleData(bundleData);
|
|
33532
33535
|
const packageMetadata = {
|
|
@@ -39413,7 +39416,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"name":"seek-bzip","version":"1.0.6",
|
|
|
39413
39416
|
(module) {
|
|
39414
39417
|
|
|
39415
39418
|
"use strict";
|
|
39416
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.
|
|
39419
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@squidcloud/cli","version":"1.0.484","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.484","adm-zip":"^0.5.16","copy-webpack-plugin":"^14.0.0","decompress":"^4.2.1","logpipes":"^1.11.0","nodemon":"^3.1.9","terser-webpack-plugin":"^5.5.0","ts-loader":"^9.5.1","ts-node":"^10.9.2","tsconfig-paths":"^4.2.0","tsconfig-paths-webpack-plugin":"^4.1.0","webpack":"^5.106.2","zip-webpack-plugin":"^4.0.1"},"devDependencies":{"@types/adm-zip":"^0.5.7","@types/decompress":"^4.2.7","@types/node":"^20.19.9","terminal-link":"^3.0.0"}}');
|
|
39417
39420
|
|
|
39418
39421
|
/***/ }
|
|
39419
39422
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@squidcloud/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.484",
|
|
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.484",
|
|
32
32
|
"adm-zip": "^0.5.16",
|
|
33
33
|
"copy-webpack-plugin": "^14.0.0",
|
|
34
34
|
"decompress": "^4.2.1",
|