@contrail/cli 3.8.0-alpha.8de44ff → 3.8.0-alpha.c55a61b
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/README.md +83 -244
- package/dist/auth/login.js +1 -2
- package/dist/auth/login.spec.js +0 -17
- package/dist/baseFlags.d.ts +0 -4
- package/dist/baseFlags.js +1 -9
- package/dist/basecommand.d.ts +0 -2
- package/dist/basecommand.js +1 -7
- package/dist/commands/app/create.d.ts +0 -1
- package/dist/commands/app/delete.d.ts +0 -1
- package/dist/commands/app/extension/deploy.d.ts +0 -1
- package/dist/commands/app/extension/deployment/list.d.ts +0 -1
- package/dist/commands/app/getApiKey.d.ts +0 -1
- package/dist/commands/app/init.d.ts +0 -1
- package/dist/commands/app/install.d.ts +0 -1
- package/dist/commands/app/publish.d.ts +0 -1
- package/dist/commands/app/uninstall.d.ts +0 -1
- package/dist/commands/app/upgrade.d.ts +0 -1
- package/dist/commands/app/version/major.d.ts +0 -1
- package/dist/commands/app/version/minor.d.ts +0 -1
- package/dist/commands/app/version/patch.d.ts +0 -1
- package/dist/commands/app/version/premajor.d.ts +0 -1
- package/dist/commands/app/version/preminor.d.ts +0 -1
- package/dist/commands/app/version/prepatch.d.ts +0 -1
- package/dist/commands/app/version/prerelease.d.ts +0 -1
- package/dist/commands/config/create.d.ts +0 -2
- package/dist/commands/config/create.js +0 -1
- package/dist/commands/config/describe.d.ts +0 -2
- package/dist/commands/config/describe.js +4 -7
- package/dist/commands/config/list.d.ts +0 -2
- package/dist/commands/config/list.js +3 -2
- package/dist/commands/config/set.d.ts +0 -1
- package/dist/commands/config/set.js +6 -11
- package/dist/commands/config/use.d.ts +0 -2
- package/dist/commands/config/use.js +0 -4
- package/dist/commands/entities/create.d.ts +0 -1
- package/dist/commands/entities/delete.d.ts +0 -1
- package/dist/commands/entities/get.d.ts +0 -1
- package/dist/commands/entities/update.d.ts +0 -1
- package/dist/commands/feature-flags/export.d.ts +0 -1
- package/dist/commands/feature-flags/import.d.ts +0 -1
- package/dist/commands/file/upload.d.ts +0 -1
- package/dist/commands/groups/export.d.ts +0 -1
- package/dist/commands/groups/import.d.ts +0 -1
- package/dist/commands/instance/export.d.ts +0 -1
- package/dist/commands/instance/import.d.ts +0 -1
- package/dist/commands/load/colors.d.ts +0 -1
- package/dist/commands/load/custom-entity.d.ts +0 -1
- package/dist/commands/load/line-sheet.d.ts +0 -1
- package/dist/commands/load/upload-and-load.d.ts +0 -1
- package/dist/commands/load-local/index.d.ts +0 -1
- package/dist/commands/login.d.ts +0 -1
- package/dist/commands/org-config/export.d.ts +0 -1
- package/dist/commands/org-config/import.d.ts +0 -1
- package/dist/commands/projects/export.d.ts +0 -1
- package/dist/commands/projects/list.d.ts +0 -1
- package/dist/commands/projects/load.d.ts +0 -1
- package/dist/commands/types/exportOptionSetHierarchies.d.ts +0 -1
- package/dist/commands/types/getAll.d.ts +0 -1
- package/dist/commands/types/getOptionSets.d.ts +0 -1
- package/dist/commands/types/loadAll.d.ts +0 -1
- package/dist/commands/types/mergeOptionSets.d.ts +0 -1
- package/dist/commands/types/mergeTypeProperties.d.ts +0 -1
- package/dist/commands/types/parseOptionSetsHierarchyLocalFile.d.ts +0 -1
- package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.d.ts +0 -1
- package/dist/commands/types/parseOptionSetsLocalFiles.d.ts +0 -1
- package/dist/commands/types/parseOptionSetsToFolderStructure.d.ts +0 -1
- package/dist/commands/types/parseTypesFromFiles.d.ts +0 -1
- package/dist/commands/types/parseTypesFromLocalFiles.d.ts +0 -1
- package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.d.ts +0 -1
- package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.d.ts +0 -1
- package/dist/commands/types/uploadOptionSetHierarchies.d.ts +0 -1
- package/dist/commands/types/uploadOptionSets.d.ts +0 -1
- package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.d.ts +0 -1
- package/dist/commands/types/uploadRuleSets.d.ts +0 -1
- package/dist/commands/types/uploadTypeOverrides.d.ts +0 -1
- package/dist/commands/types/uploadTypePolicies.d.ts +0 -1
- package/dist/commands/types/uploadTypePropertyPolicies.d.ts +0 -1
- package/dist/commands/types/uploadTypes.d.ts +0 -1
- package/dist/commands/users/export.d.ts +0 -1
- package/dist/commands/users/import.d.ts +0 -1
- package/dist/commands/webhooks/create.d.ts +0 -1
- package/dist/commands/webhooks/delete.d.ts +0 -1
- package/dist/commands/webhooks/getWebhookTrigger.d.ts +0 -1
- package/dist/commands/webhooks/list.d.ts +0 -1
- package/dist/commands/workflow-template-definitions/install.d.ts +0 -1
- package/dist/commands/workflow-template-definitions/list.d.ts +0 -1
- package/dist/commands/workflow-templates/delete.d.ts +0 -1
- package/dist/commands/workflow-templates/export.d.ts +0 -1
- package/dist/commands/workflow-templates/list.d.ts +0 -1
- package/dist/commands/workflow-templates/load.d.ts +0 -1
- package/dist/helpers/app/app-config-validators.d.ts +2 -0
- package/dist/helpers/app/app-config-validators.js +20 -3
- package/dist/helpers/app/app-config-validators.spec.js +36 -0
- package/dist/helpers/app/app-deployer.js +2 -0
- package/dist/helpers/app/app-deployer.spec.js +90 -0
- package/dist/helpers/config/config.d.ts +2 -3
- package/dist/helpers/config/config.js +42 -49
- package/dist/interfaces.d.ts +2 -0
- package/dist/templates/typescript/app.yml +2 -0
- package/oclif.manifest.json +9 -549
- package/package.json +1 -1
- package/dist/basecommand.spec.js +0 -69
- package/dist/helpers/config/config.spec.d.ts +0 -1
- package/dist/helpers/config/config.spec.js +0 -79
- package/dist/helpers/config/redact-tokens.d.ts +0 -1
- package/dist/helpers/config/redact-tokens.js +0 -14
- package/dist/helpers/config/redact-tokens.spec.d.ts +0 -1
- package/dist/helpers/config/redact-tokens.spec.js +0 -24
- /package/dist/{basecommand.spec.d.ts → helpers/app/app-deployer.spec.d.ts} +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const apps_1 = require("../../api/apps");
|
|
4
|
+
const app_deployer_1 = require("./app-deployer");
|
|
5
|
+
const createSpy = jest.fn();
|
|
6
|
+
const updateSpy = jest.fn();
|
|
7
|
+
const getSpy = jest.fn();
|
|
8
|
+
jest.mock('@contrail/sdk', () => ({
|
|
9
|
+
Entities: jest.fn().mockImplementation(() => ({
|
|
10
|
+
create: (...args) => createSpy(...args),
|
|
11
|
+
update: (...args) => updateSpy(...args),
|
|
12
|
+
get: (...args) => getSpy(...args),
|
|
13
|
+
})),
|
|
14
|
+
}));
|
|
15
|
+
jest.mock('../../api/apps');
|
|
16
|
+
jest.mock('../../logger');
|
|
17
|
+
jest.mock('fs');
|
|
18
|
+
jest.mock('child_process');
|
|
19
|
+
jest.mock('zip-a-folder');
|
|
20
|
+
jest.mock('axios');
|
|
21
|
+
jest.mock('./metadata-extractor');
|
|
22
|
+
jest.mock('./actions-deployer');
|
|
23
|
+
jest.mock('./extensions-deployer');
|
|
24
|
+
jest.mock('../workflow-template-definitions/workflow-template-definition-deployer');
|
|
25
|
+
const GITHUB_REPOSITORY_URL = 'https://github.com/acme/vibeiq-apps';
|
|
26
|
+
const existingApp = { id: 'app-1', identifier: '@acme/board-tools' };
|
|
27
|
+
const appDeclaration = {
|
|
28
|
+
appIdentifier: '@acme/board-tools',
|
|
29
|
+
appName: 'Board Tools',
|
|
30
|
+
visibility: 'private',
|
|
31
|
+
publisher: 'Acme',
|
|
32
|
+
version: '1.4.0',
|
|
33
|
+
};
|
|
34
|
+
const sentBody = (spy, entityName) => {
|
|
35
|
+
const call = spy.mock.calls.find(([options]) => options.entityName === entityName);
|
|
36
|
+
return call && JSON.parse(JSON.stringify(call[0].object));
|
|
37
|
+
};
|
|
38
|
+
describe('AppDeployer githubRepositoryUrl', () => {
|
|
39
|
+
beforeEach(() => {
|
|
40
|
+
jest.clearAllMocks();
|
|
41
|
+
getSpy.mockResolvedValue([existingApp]);
|
|
42
|
+
createSpy.mockImplementation(async ({ object }) => ({ id: 'created-1', ...object }));
|
|
43
|
+
updateSpy.mockImplementation(async ({ id, object }) => ({ id, ...object }));
|
|
44
|
+
});
|
|
45
|
+
describe('first publish', () => {
|
|
46
|
+
beforeEach(() => apps_1.getAvailableApps.mockResolvedValue([]));
|
|
47
|
+
it('should create the app with the declared repository', async () => {
|
|
48
|
+
await new app_deployer_1.AppDeployer().deploy({
|
|
49
|
+
...appDeclaration,
|
|
50
|
+
githubRepositoryUrl: GITHUB_REPOSITORY_URL,
|
|
51
|
+
});
|
|
52
|
+
expect(sentBody(createSpy, 'app').githubRepositoryUrl).toBe(GITHUB_REPOSITORY_URL);
|
|
53
|
+
});
|
|
54
|
+
it('should create the app without a repository when none is declared', async () => {
|
|
55
|
+
await new app_deployer_1.AppDeployer().deploy(appDeclaration);
|
|
56
|
+
expect(sentBody(createSpy, 'app')).not.toHaveProperty('githubRepositoryUrl');
|
|
57
|
+
});
|
|
58
|
+
it('should create the app with the declared repository when the first version is a pre-release', async () => {
|
|
59
|
+
await new app_deployer_1.AppDeployer().deploy({
|
|
60
|
+
...appDeclaration,
|
|
61
|
+
version: '1.4.0-alpha.1',
|
|
62
|
+
githubRepositoryUrl: GITHUB_REPOSITORY_URL,
|
|
63
|
+
});
|
|
64
|
+
expect(sentBody(createSpy, 'app').githubRepositoryUrl).toBe(GITHUB_REPOSITORY_URL);
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
describe('publish of an existing app', () => {
|
|
68
|
+
beforeEach(() => apps_1.getAvailableApps.mockResolvedValue([existingApp]));
|
|
69
|
+
it('should update the app with the declared repository on a stable publish', async () => {
|
|
70
|
+
await new app_deployer_1.AppDeployer().deploy({
|
|
71
|
+
...appDeclaration,
|
|
72
|
+
githubRepositoryUrl: GITHUB_REPOSITORY_URL,
|
|
73
|
+
});
|
|
74
|
+
expect(sentBody(updateSpy, 'app').githubRepositoryUrl).toBe(GITHUB_REPOSITORY_URL);
|
|
75
|
+
});
|
|
76
|
+
it('should leave the repository out of a stable publish when none is declared', async () => {
|
|
77
|
+
await new app_deployer_1.AppDeployer().deploy(appDeclaration);
|
|
78
|
+
expect(sentBody(updateSpy, 'app')).not.toHaveProperty('githubRepositoryUrl');
|
|
79
|
+
});
|
|
80
|
+
it('should not update the app or send the repository on a pre-release publish', async () => {
|
|
81
|
+
await new app_deployer_1.AppDeployer().deploy({
|
|
82
|
+
...appDeclaration,
|
|
83
|
+
version: '1.4.1-alpha.0',
|
|
84
|
+
githubRepositoryUrl: GITHUB_REPOSITORY_URL,
|
|
85
|
+
});
|
|
86
|
+
expect(sentBody(updateSpy, 'app')).toBeUndefined();
|
|
87
|
+
expect(sentBody(createSpy, 'app-version')).not.toHaveProperty('githubRepositoryUrl');
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
});
|
|
@@ -9,10 +9,9 @@ export declare function readVibeIQConfig(): Promise<any>;
|
|
|
9
9
|
export declare function writeVibeIQConfig(config: any): Promise<void>;
|
|
10
10
|
export declare function storeVibeIQConfig(incomingConfig: any): Promise<void>;
|
|
11
11
|
export declare function createConfig(fileName: any): Promise<void>;
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function fetchConfigNameForRun(): Promise<string>;
|
|
12
|
+
export declare function writeConfig(config: any, configName?: string | null): Promise<void>;
|
|
14
13
|
export declare function getConfig(): Promise<any>;
|
|
15
|
-
export declare function storeConfig(incomingConfig: any): Promise<void>;
|
|
14
|
+
export declare function storeConfig(incomingConfig: any, configName?: string | null, merge?: boolean): Promise<void>;
|
|
16
15
|
export declare function getConfigFiles(): Promise<any>;
|
|
17
16
|
export declare function getConfigContent(fileName: string): Promise<any>;
|
|
18
17
|
export declare function validateEnvironments(envName?: string | null): Promise<any>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.checkTelemetry = exports.validateEnvironments = exports.getConfigContent = exports.getConfigFiles = exports.storeConfig = exports.getConfig = exports.
|
|
3
|
+
exports.checkTelemetry = exports.validateEnvironments = exports.getConfigContent = exports.getConfigFiles = exports.storeConfig = exports.getConfig = exports.writeConfig = exports.createConfig = exports.storeVibeIQConfig = exports.writeVibeIQConfig = exports.readVibeIQConfig = exports.initializeVibeIQConfig = exports.findEnvironmentName = exports.ENVIRONMENTS = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const node_fs_1 = require("node:fs");
|
|
6
6
|
const node_path_1 = require("node:path");
|
|
7
7
|
const node_os_1 = require("node:os");
|
|
8
|
-
const node_crypto_1 = require("node:crypto");
|
|
9
8
|
const logger_1 = tslib_1.__importDefault(require("../../logger"));
|
|
10
9
|
const configFileName = 'config.json';
|
|
11
10
|
const defaultConfigFileName = 'default.json';
|
|
@@ -13,8 +12,6 @@ const userHomeDir = (0, node_os_1.homedir)();
|
|
|
13
12
|
const configDirectoryLocation = (0, node_path_1.join)(userHomeDir, '.vibeiq', 'configs');
|
|
14
13
|
const configFileLocation = (0, node_path_1.join)(configDirectoryLocation, configFileName);
|
|
15
14
|
const defaultConfigFileLocation = (0, node_path_1.join)(configDirectoryLocation, defaultConfigFileName);
|
|
16
|
-
let requestedConfigName;
|
|
17
|
-
let configNameForRun;
|
|
18
15
|
exports.ENVIRONMENTS = {
|
|
19
16
|
dev: 'https://api.dev.vibeiq.com/dev/api',
|
|
20
17
|
prod: 'https://api.vibeiq.com/prod/api',
|
|
@@ -37,8 +34,8 @@ async function initializeVibeIQConfig() {
|
|
|
37
34
|
configInUse: (0, node_path_1.parse)(defaultConfigFileName).name,
|
|
38
35
|
logLevel: 'debug',
|
|
39
36
|
};
|
|
40
|
-
await
|
|
41
|
-
await
|
|
37
|
+
await node_fs_1.promises.writeFile(configFileLocation, JSON.stringify(config, null, 2));
|
|
38
|
+
await node_fs_1.promises.writeFile(defaultConfigFileLocation, '{}');
|
|
42
39
|
}
|
|
43
40
|
catch (error) {
|
|
44
41
|
logger_1.default.error(`could not initialize config file (${configFileLocation}).`);
|
|
@@ -67,7 +64,7 @@ async function readVibeIQConfig() {
|
|
|
67
64
|
exports.readVibeIQConfig = readVibeIQConfig;
|
|
68
65
|
async function writeVibeIQConfig(config) {
|
|
69
66
|
try {
|
|
70
|
-
await
|
|
67
|
+
await node_fs_1.promises.writeFile(configFileLocation, JSON.stringify(config, null, 2));
|
|
71
68
|
}
|
|
72
69
|
catch (error) {
|
|
73
70
|
logger_1.default.error(`Could not open config file (${configFileLocation}) for writing.`);
|
|
@@ -85,7 +82,7 @@ async function storeVibeIQConfig(incomingConfig) {
|
|
|
85
82
|
exports.storeVibeIQConfig = storeVibeIQConfig;
|
|
86
83
|
async function createConfig(fileName) {
|
|
87
84
|
try {
|
|
88
|
-
await
|
|
85
|
+
await node_fs_1.promises.writeFile((0, node_path_1.join)(configDirectoryLocation, `${fileName}.json`), '{}');
|
|
89
86
|
}
|
|
90
87
|
catch (error) {
|
|
91
88
|
logger_1.default.error('Could not create config file.');
|
|
@@ -93,63 +90,59 @@ async function createConfig(fileName) {
|
|
|
93
90
|
}
|
|
94
91
|
}
|
|
95
92
|
exports.createConfig = createConfig;
|
|
96
|
-
async function writeConfig(config, configName) {
|
|
93
|
+
async function writeConfig(config, configName = null) {
|
|
97
94
|
try {
|
|
98
|
-
|
|
95
|
+
let configFileName = configName;
|
|
96
|
+
if (!configName) {
|
|
97
|
+
const fileContent = await readVibeIQConfig();
|
|
98
|
+
configFileName = fileContent.configInUse;
|
|
99
|
+
}
|
|
100
|
+
await node_fs_1.promises.writeFile((0, node_path_1.join)(configDirectoryLocation, `${configFileName}.json`), JSON.stringify(config, null, 2));
|
|
99
101
|
}
|
|
100
102
|
catch (error) {
|
|
101
103
|
logger_1.default.error('Could not open config file for writing.');
|
|
102
104
|
throw error;
|
|
103
105
|
}
|
|
104
106
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
function fetchConfigNameForRun() {
|
|
111
|
-
configNameForRun ??= fetchConfigNameFromFlagOrPointer();
|
|
112
|
-
return configNameForRun;
|
|
113
|
-
}
|
|
114
|
-
exports.fetchConfigNameForRun = fetchConfigNameForRun;
|
|
115
|
-
async function fetchConfigNameFromFlagOrPointer() {
|
|
116
|
-
if (!requestedConfigName) {
|
|
117
|
-
const configInUse = (await readVibeIQConfig())?.configInUse;
|
|
118
|
-
if (!configInUse) {
|
|
119
|
-
throw new Error('No config selected. Pass --config, set CONTRAIL_CLI_CONFIG, or run `contrail config use`.');
|
|
120
|
-
}
|
|
121
|
-
return configInUse;
|
|
107
|
+
exports.writeConfig = writeConfig;
|
|
108
|
+
async function getConfig() {
|
|
109
|
+
let fileContent;
|
|
110
|
+
try {
|
|
111
|
+
fileContent = (await node_fs_1.promises.readFile(configFileLocation)).toString();
|
|
122
112
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
113
|
+
catch {
|
|
114
|
+
logger_1.default.debug(`failed to open config file (${configFileLocation}) for reading.`);
|
|
115
|
+
logger_1.default.debug('trying to initialize config file');
|
|
116
|
+
await initializeVibeIQConfig();
|
|
117
|
+
fileContent = (await node_fs_1.promises.readFile(configFileLocation)).toString();
|
|
118
|
+
}
|
|
119
|
+
try {
|
|
120
|
+
const configFileJSON = JSON.parse(fileContent);
|
|
121
|
+
return getConfigContent(configFileJSON.configInUse);
|
|
122
|
+
}
|
|
123
|
+
catch {
|
|
124
|
+
logger_1.default.error('Could not parse local vibeiq config.');
|
|
126
125
|
}
|
|
127
|
-
return requestedConfigName;
|
|
128
|
-
}
|
|
129
|
-
async function getConfig() {
|
|
130
|
-
return getConfigContent(await fetchConfigNameForRun());
|
|
131
126
|
}
|
|
132
127
|
exports.getConfig = getConfig;
|
|
133
|
-
async function storeConfig(incomingConfig) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
128
|
+
async function storeConfig(incomingConfig, configName = null, merge = true) {
|
|
129
|
+
let configContent;
|
|
130
|
+
if (!configName) {
|
|
131
|
+
configContent = await getConfig();
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
configContent = await getConfigContent(configName);
|
|
135
|
+
}
|
|
136
|
+
let config = {
|
|
137
|
+
...configContent,
|
|
137
138
|
...incomingConfig,
|
|
138
139
|
};
|
|
140
|
+
if (!merge) {
|
|
141
|
+
config = incomingConfig;
|
|
142
|
+
}
|
|
139
143
|
await writeConfig(config, configName);
|
|
140
144
|
}
|
|
141
145
|
exports.storeConfig = storeConfig;
|
|
142
|
-
async function writeFileAtomically(path, content) {
|
|
143
|
-
const tempPath = `${path}.${(0, node_crypto_1.randomUUID)()}.tmp`;
|
|
144
|
-
try {
|
|
145
|
-
await node_fs_1.promises.writeFile(tempPath, content, { mode: 0o600 });
|
|
146
|
-
await node_fs_1.promises.rename(tempPath, path);
|
|
147
|
-
}
|
|
148
|
-
catch (error) {
|
|
149
|
-
await node_fs_1.promises.rm(tempPath, { force: true });
|
|
150
|
-
throw error;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
146
|
async function getConfigFiles() {
|
|
154
147
|
try {
|
|
155
148
|
const dirContent = (await node_fs_1.promises.readdir(configDirectoryLocation, { withFileTypes: true }))
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface AppDeclaration {
|
|
|
13
13
|
version: string;
|
|
14
14
|
eventWorkflowTriggerKeyMapping: string;
|
|
15
15
|
thumbnail?: string;
|
|
16
|
+
githubRepositoryUrl?: string;
|
|
16
17
|
keywords?: Array<string>;
|
|
17
18
|
actions?: {
|
|
18
19
|
[key: string]: AppActionDeclaration;
|
|
@@ -147,6 +148,7 @@ export interface App {
|
|
|
147
148
|
description?: string;
|
|
148
149
|
publisher: string;
|
|
149
150
|
thumbnail: string;
|
|
151
|
+
githubRepositoryUrl?: string;
|
|
150
152
|
eventWorkflowTriggerKeyMapping: string;
|
|
151
153
|
configProperties?: ConfigProperty[];
|
|
152
154
|
triggerKeyDefinitions?: TriggerKeyDefinition[];
|
|
@@ -10,6 +10,8 @@ visibility: private # This should be private unless you want to develop an app f
|
|
|
10
10
|
# permissions:
|
|
11
11
|
# - install
|
|
12
12
|
publisher: 'APP_PUBLISHER_STUB' # Your company name, used for public apps
|
|
13
|
+
# The GitHub repository that holds this app's source.
|
|
14
|
+
# githubRepositoryUrl: 'https://github.com/OWNER/NAME'
|
|
13
15
|
version: '1.0.0'
|
|
14
16
|
|
|
15
17
|
# Properties you can configure when you install the app.
|