@intuned/runtime-dev 1.0.6-cli.8.2.9 → 1.0.6-cli.8.3.2
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/bin/cli-build +3 -0
- package/bin/run-api +3 -0
- package/dist/commands/{intuned-build-project/intuned-build-project.js → cli-build/cli-build.js} +1 -1
- package/dist/commands/deploy/deploy.js +1 -1
- package/dist/commands/deploy/utils.js +11 -6
- package/dist/commands/init/utils.js +6 -5
- package/dist/common/cli/cliReadme.d.ts +1 -0
- package/dist/common/cli/cliReadme.js +65 -0
- package/dist/common/cli/constants.d.ts +3 -4
- package/dist/common/cli/constants.js +5 -41
- package/dist/common/cli/types.js +1 -1
- package/package.json +8 -8
- package/bin/intuned-build-project +0 -3
- package/bin/intuned-run +0 -3
- /package/bin/{intuned-deploy → deploy} +0 -0
- /package/bin/{intuned-init → init} +0 -0
- /package/dist/commands/{intuned-build-project/intuned-build-project.d.ts → cli-build/cli-build.d.ts} +0 -0
- /package/dist/commands/{intuned-run/intuned-run.d.ts → run-api-cli/run-api.d.ts} +0 -0
- /package/dist/commands/{intuned-run/intuned-run.js → run-api-cli/run-api.js} +0 -0
- /package/dist/commands/{intuned-run → run-api-cli}/utils.d.ts +0 -0
- /package/dist/commands/{intuned-run → run-api-cli}/utils.js +0 -0
package/bin/cli-build
ADDED
package/bin/run-api
ADDED
package/dist/commands/{intuned-build-project/intuned-build-project.js → cli-build/cli-build.js}
RENAMED
|
@@ -8,7 +8,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
8
8
|
_dotenv.default.config({
|
|
9
9
|
path: `.env`
|
|
10
10
|
});
|
|
11
|
-
_commander.program.name("intuned-build-project").description("Build your current
|
|
11
|
+
_commander.program.name("intuned-build-project").description("Build your current Intuned project").action(async () => {
|
|
12
12
|
try {
|
|
13
13
|
await (0, _utils.runBuild)();
|
|
14
14
|
} catch (error) {
|
|
@@ -37,7 +37,7 @@ _commander.program.description("Deploy an Intuned project to be public").argumen
|
|
|
37
37
|
if (!deployDone) {
|
|
38
38
|
throw new Error(`Project not deployed: ${deployErrorMessage}`);
|
|
39
39
|
}
|
|
40
|
-
const url = process.env.
|
|
40
|
+
const url = process.env.INTUNED_API_DEV_DOMAIN || `https://app.intuned.io`;
|
|
41
41
|
console.log(_chalk.default.green(`\n✅ Project "${_projectName}" deployed successfully!` + `\n\nYou can check your project on the platform: ${_chalk.default.bold(`${url}/projects/${projectId}/details`)}\n`));
|
|
42
42
|
} catch (error) {
|
|
43
43
|
console.error(_chalk.default.red(`\n${error.message}`));
|
|
@@ -19,7 +19,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
20
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
const execPromise = (0, _util.promisify)(_child_process.exec);
|
|
22
|
-
function
|
|
22
|
+
function ignoreFilesByPattern(filePath, patterns, projectPath) {
|
|
23
23
|
const relativePath = path.relative(projectPath, filePath);
|
|
24
24
|
if (relativePath.startsWith("node_modules")) {
|
|
25
25
|
return true;
|
|
@@ -43,7 +43,7 @@ function listFilesNotIgnored(projectPath, ignorePatterns) {
|
|
|
43
43
|
const entries = fs.readdirSync(dirPath);
|
|
44
44
|
for (const entry of entries) {
|
|
45
45
|
const fullPath = path.join(dirPath, entry);
|
|
46
|
-
if (
|
|
46
|
+
if (ignoreFilesByPattern(fullPath, ignorePatterns, projectPath)) {
|
|
47
47
|
continue;
|
|
48
48
|
}
|
|
49
49
|
try {
|
|
@@ -75,7 +75,7 @@ async function convertProjectToCodeTree(projectPath) {
|
|
|
75
75
|
const entries = fs.readdirSync(dirPath);
|
|
76
76
|
for (const entry of entries) {
|
|
77
77
|
const entryPath = path.join(dirPath, entry);
|
|
78
|
-
if (
|
|
78
|
+
if (ignoreFilesByPattern(entryPath, _projectExclusions.default, projectPath)) {
|
|
79
79
|
continue;
|
|
80
80
|
}
|
|
81
81
|
try {
|
|
@@ -117,7 +117,7 @@ async function deployProject(projectName, auth) {
|
|
|
117
117
|
workspaceId,
|
|
118
118
|
apiKey
|
|
119
119
|
} = auth;
|
|
120
|
-
const baseUrl = process.env.
|
|
120
|
+
const baseUrl = process.env.INTUNED_API_DEV_DOMAIN || `https://app.intuned.io`;
|
|
121
121
|
const url = `${baseUrl}/api/v1/workspace/${workspaceId}/projects/create`;
|
|
122
122
|
const headers = {
|
|
123
123
|
"x-api-key": apiKey,
|
|
@@ -125,6 +125,11 @@ async function deployProject(projectName, auth) {
|
|
|
125
125
|
};
|
|
126
126
|
const projectPath = process.cwd();
|
|
127
127
|
const codeTree = await convertProjectToCodeTree(projectPath);
|
|
128
|
+
codeTree["tsconfig.json"] = {
|
|
129
|
+
file: {
|
|
130
|
+
contents: JSON.stringify(_constants.tsConfigCli, null, 2)
|
|
131
|
+
}
|
|
132
|
+
};
|
|
128
133
|
const deployProjectPayload = {
|
|
129
134
|
name: projectName,
|
|
130
135
|
codeTree,
|
|
@@ -287,7 +292,7 @@ const validateIntunedProject = async () => {
|
|
|
287
292
|
exports.validateIntunedProject = validateIntunedProject;
|
|
288
293
|
const checkIntunedProjectDeployStatus = async (workspaceId, projectName, apiKey) => {
|
|
289
294
|
try {
|
|
290
|
-
const baseUrl = process.env.
|
|
295
|
+
const baseUrl = process.env.INTUNED_API_DEV_DOMAIN || `https://app.intuned.io`;
|
|
291
296
|
const url = `${baseUrl}/api/v1/workspace/${workspaceId}/projects/create/${projectName}/result`;
|
|
292
297
|
const headers = {
|
|
293
298
|
"x-api-key": apiKey,
|
|
@@ -329,7 +334,7 @@ const runBuild = async () => {
|
|
|
329
334
|
if (await fs.exists(distPath)) {
|
|
330
335
|
await fs.remove(distPath);
|
|
331
336
|
}
|
|
332
|
-
const buildCommand = "
|
|
337
|
+
const buildCommand = "tsc";
|
|
333
338
|
try {
|
|
334
339
|
await execPromise(buildCommand, {
|
|
335
340
|
cwd: currentProjectDirectory
|
|
@@ -16,6 +16,7 @@ var _path = _interopRequireDefault(require("path"));
|
|
|
16
16
|
var _boxen = _interopRequireDefault(require("boxen"));
|
|
17
17
|
var _projectExclusions = _interopRequireDefault(require("../common/projectExclusions"));
|
|
18
18
|
var _constants = require("../../common/cli/constants");
|
|
19
|
+
var _cliReadme = require("../../common/cli/cliReadme");
|
|
19
20
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
20
21
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
22
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -76,7 +77,7 @@ function getAuthCredentials(options) {
|
|
|
76
77
|
});
|
|
77
78
|
}
|
|
78
79
|
if (missingAuth.length) {
|
|
79
|
-
throw new Error(
|
|
80
|
+
throw new Error(`Authentication failed: Missing ${missingAuth.join(" and ")}.\n\n` + `To fix this issue:\n\n` + `1. For workspaceId:\n` + ` - Add it to your intuned.json file under the "workspaceId" property\n` + ` - OR provide via command line: --workspace-id YOUR_WORKSPACE_ID\n` + ` - See how to get your workspaceId: https://docs.intunedhq.com/docs/guides/platform/how-to-get-a-workspace-id\n\n` + `2. For API key:\n` + ` - Include in your .env file INTUNED_API_KEY=your_api_key_here \n` + ` - OR provide via command line: --api-key YOUR_API_KEY\n\n` + `Run commands from the project root directory where intuned.json is located.`);
|
|
80
81
|
}
|
|
81
82
|
return {
|
|
82
83
|
workspaceId,
|
|
@@ -132,7 +133,7 @@ async function scaffoldProject(templateId, isTargetDirectoryEmpty) {
|
|
|
132
133
|
console.log(_chalk.default.green(`✓ Template "${templateId}" fetched successfully`));
|
|
133
134
|
console.log(_chalk.default.cyan("🔨 Creating project files..."));
|
|
134
135
|
const codeTree = template;
|
|
135
|
-
prepareCLITemplate(codeTree);
|
|
136
|
+
await prepareCLITemplate(codeTree);
|
|
136
137
|
await mountFiles(cwd, codeTree);
|
|
137
138
|
console.log(_chalk.default.green("✓ Project files created"));
|
|
138
139
|
console.log((0, _boxen.default)(_chalk.default.green(`✅ Project initialized successfully`) + `\n\n${_chalk.default.cyan("Project details:")}` + `\n• Template: ${_chalk.default.bold(templateId)}` + `\n• Directory: ${_chalk.default.bold(process.cwd())}` + `\n\n${_chalk.default.cyan("Next steps:")}` + `\n1. ${_chalk.default.bold("cd")} into your project directory (if not already there)` + `\n2. Run ${_chalk.default.bold("npm/yarn install")} to install dependencies` + `\n3. Develop, test and run your automation APIs`, {
|
|
@@ -143,7 +144,7 @@ async function scaffoldProject(templateId, isTargetDirectoryEmpty) {
|
|
|
143
144
|
}));
|
|
144
145
|
}
|
|
145
146
|
async function fetchProjectTemplate(templateId) {
|
|
146
|
-
const baseUrl = process.env.
|
|
147
|
+
const baseUrl = process.env.INTUNED_API_DEV_DOMAIN || `https://app.intuned.io`;
|
|
147
148
|
const url = `${baseUrl}/api/templates/${templateId}`;
|
|
148
149
|
const response = await fetch(url);
|
|
149
150
|
if (!response.ok) {
|
|
@@ -155,7 +156,7 @@ async function fetchProjectTemplate(templateId) {
|
|
|
155
156
|
}
|
|
156
157
|
return data.template;
|
|
157
158
|
}
|
|
158
|
-
function prepareCLITemplate(codeTree) {
|
|
159
|
+
async function prepareCLITemplate(codeTree) {
|
|
159
160
|
codeTree["parameters"] = {
|
|
160
161
|
directory: {}
|
|
161
162
|
};
|
|
@@ -171,7 +172,7 @@ function prepareCLITemplate(codeTree) {
|
|
|
171
172
|
}
|
|
172
173
|
codeTree["README.md"] = {
|
|
173
174
|
file: {
|
|
174
|
-
contents:
|
|
175
|
+
contents: _cliReadme.cliReadme
|
|
175
176
|
}
|
|
176
177
|
};
|
|
177
178
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const cliReadme = "# Intuned CLI\n## Introduction\nThe Intuned CLI exposes a variaty of commands to develop your Intuned projects locally\n\n## Development Commands\n\n### Initialize a Project\n`npx -p @intuned/runtime init`\n\n### Run an API\n`yarn run-api <api-name>`\n\nOptions:\n- `-i, --parameters-file file-path`: JSON file containing API parameters\n- `-s, --store-results`: Store the results in `./output/[runId]/results.json` and `./output/[runId]/extendedPayloads.json`\n\n### Build a Project\n`yarn cli-build`\n\n### Deploy a Project\n`yarn deploy <project-name>`\n\n- `project-name`: Optional name that overrides the one in intuned.json\n- Options:\n - `--workspace-id`: Overrides the workspace ID in intuned.json\n - `--api-key`: Overrides the API key from environment variables\n\n## Configuration\n\n### Environment Variables and Settings\n- `workspaceId`: Your Intuned workspace ID ([How to get your workspaceId](https://docs.intunedhq.com/docs/guides/platform/how-to-get-a-workspace-id))\n - Set in `intuned.json` file under the `workspaceId` property\n - Or provide via CLI with `--workspace-id` flag during deployment\n \n- `projectName`: The name of your Intuned project\n - Set in `intuned.json` file under the `projectName` property\n - Or override via command line when deploying with `yarn deploy my-project-name`\n \n- `INTUNED_API_KEY`: Your Intuned API key\n - Set as an environment variable: `export INTUNED_API_KEY=your_api_key_here`\n - Or include in your .env file for development\n - Or provide via CLI with `--api-key` flag during deployment\n\n## Project Structure\n\n### Generated Artifacts\n- `./intuned.json`: Project configuration file\n- `./api`: Folder containing API implementation files\n- `./parameters`: Folder for API parameters injection\n- `./output`: Folder containing generated output files\n\n### Notes\n- You can use either `yarn` or `npm run` to execute commands\n- All commands must be run from the project root directory\n- Verify you're in the correct location by confirming the presence of package.json and intuned.json\n- Running commands from subdirectories may result in errors\n- You can manage your deployed projects through the Intuned platform\n- WARNING: \u26A0\uFE0F Changes to TS Config may break some Intuned functionalities\n";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.cliReadme = void 0;
|
|
7
|
+
const cliReadme = exports.cliReadme = `# Intuned CLI
|
|
8
|
+
## Introduction
|
|
9
|
+
The Intuned CLI exposes a variaty of commands to develop your Intuned projects locally
|
|
10
|
+
|
|
11
|
+
## Development Commands
|
|
12
|
+
|
|
13
|
+
### Initialize a Project
|
|
14
|
+
\`npx -p @intuned/runtime init\`
|
|
15
|
+
|
|
16
|
+
### Run an API
|
|
17
|
+
\`yarn run-api <api-name>\`
|
|
18
|
+
|
|
19
|
+
Options:
|
|
20
|
+
- \`-i, --parameters-file file-path\`: JSON file containing API parameters
|
|
21
|
+
- \`-s, --store-results\`: Store the results in \`./output/[runId]/results.json\` and \`./output/[runId]/extendedPayloads.json\`
|
|
22
|
+
|
|
23
|
+
### Build a Project
|
|
24
|
+
\`yarn cli-build\`
|
|
25
|
+
|
|
26
|
+
### Deploy a Project
|
|
27
|
+
\`yarn deploy <project-name>\`
|
|
28
|
+
|
|
29
|
+
- \`project-name\`: Optional name that overrides the one in intuned.json
|
|
30
|
+
- Options:
|
|
31
|
+
- \`--workspace-id\`: Overrides the workspace ID in intuned.json
|
|
32
|
+
- \`--api-key\`: Overrides the API key from environment variables
|
|
33
|
+
|
|
34
|
+
## Configuration
|
|
35
|
+
|
|
36
|
+
### Environment Variables and Settings
|
|
37
|
+
- \`workspaceId\`: Your Intuned workspace ID ([How to get your workspaceId](https://docs.intunedhq.com/docs/guides/platform/how-to-get-a-workspace-id))
|
|
38
|
+
- Set in \`intuned.json\` file under the \`workspaceId\` property
|
|
39
|
+
- Or provide via CLI with \`--workspace-id\` flag during deployment
|
|
40
|
+
|
|
41
|
+
- \`projectName\`: The name of your Intuned project
|
|
42
|
+
- Set in \`intuned.json\` file under the \`projectName\` property
|
|
43
|
+
- Or override via command line when deploying with \`yarn deploy my-project-name\`
|
|
44
|
+
|
|
45
|
+
- \`INTUNED_API_KEY\`: Your Intuned API key
|
|
46
|
+
- Set as an environment variable: \`export INTUNED_API_KEY=your_api_key_here\`
|
|
47
|
+
- Or include in your .env file for development
|
|
48
|
+
- Or provide via CLI with \`--api-key\` flag during deployment
|
|
49
|
+
|
|
50
|
+
## Project Structure
|
|
51
|
+
|
|
52
|
+
### Generated Artifacts
|
|
53
|
+
- \`./intuned.json\`: Project configuration file
|
|
54
|
+
- \`./api\`: Folder containing API implementation files
|
|
55
|
+
- \`./parameters\`: Folder for API parameters injection
|
|
56
|
+
- \`./output\`: Folder containing generated output files
|
|
57
|
+
|
|
58
|
+
### Notes
|
|
59
|
+
- You can use either \`yarn\` or \`npm run\` to execute commands
|
|
60
|
+
- All commands must be run from the project root directory
|
|
61
|
+
- Verify you're in the correct location by confirming the presence of package.json and intuned.json
|
|
62
|
+
- Running commands from subdirectories may result in errors
|
|
63
|
+
- You can manage your deployed projects through the Intuned platform
|
|
64
|
+
- WARNING: ⚠️ Changes to TS Config may break some Intuned functionalities
|
|
65
|
+
`;
|
|
@@ -6,9 +6,9 @@ export declare const userCLIScripts: {
|
|
|
6
6
|
"types-check": string;
|
|
7
7
|
"pre-publish": string;
|
|
8
8
|
start: string;
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
9
|
+
"run-api": string;
|
|
10
|
+
"cli-build": string;
|
|
11
|
+
deploy: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const tsConfigCli: {
|
|
14
14
|
compilerOptions: {
|
|
@@ -22,4 +22,3 @@ export declare const tsConfigCli: {
|
|
|
22
22
|
include: string[];
|
|
23
23
|
exclude: string[];
|
|
24
24
|
};
|
|
25
|
-
export declare const cliReadme = "# Intuned CLI Project\n\n## Usage Instructions\n\nThis CLI project is built with Intuned and provides the following commands:\n### Init a project\n`npx -p @intuned/runtime intuned-init`\n\n### Keys,Environment Variables and Settings\n- INTUNED_WORKSPACE_ID: Your Intuned workspace ID, either provided via command line or intuned.json\n- INTUNED_API_KEY: Your Intuned API key, either provided via command line or environment variable\n- INTUNED_PROJECT_NAME: The name of your Intuned project, either provided via command line or intuned.json\n\n### Running the project\n`npm run intuned-run`\n\n\n### Building the project\n`npm run intuned-build`\n\n### Deploying the project\n`npm run intuned-deploy`\n\n### Artifacts provided\n- `./intuned.json`: Intuned project configuration file\n- `./api`: Folder containing the API files\n- `./parameters`: Folder containing the parameters files\n- `./output`: Folder containing the output files\n\n### Run Parameters\n--parameters-file/ -i: Path to the parameters file\n\n### Storage\nResults from your runs and appended payloads will be stored in the `./output/[runId]` directory \nstructure when providing the --store-results option on the intuned run command.\n";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.userCLIScripts = exports.tsConfigCli = exports.
|
|
6
|
+
exports.userCLIScripts = exports.tsConfigCli = exports.ProjectDeploymentStatus = exports.PROJECT_DEPLOY_TIMEOUT = exports.CURRENT_PLAYWRIGHT_VERSION = void 0;
|
|
7
7
|
const CURRENT_PLAYWRIGHT_VERSION = exports.CURRENT_PLAYWRIGHT_VERSION = "1.44.1";
|
|
8
8
|
const ProjectDeploymentStatus = exports.ProjectDeploymentStatus = ["completed", "failed", "pending", "not_found"];
|
|
9
9
|
const PROJECT_DEPLOY_TIMEOUT = exports.PROJECT_DEPLOY_TIMEOUT = 600000;
|
|
@@ -12,9 +12,9 @@ const userCLIScripts = exports.userCLIScripts = {
|
|
|
12
12
|
"types-check": "intuned-ts-check",
|
|
13
13
|
"pre-publish": "intuned-ts-check && intuned-build",
|
|
14
14
|
start: "node ./output/bundle_v2.js",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
15
|
+
"run-api": "intuned-run",
|
|
16
|
+
"cli-build": "intuned-build-project",
|
|
17
|
+
deploy: "intuned-deploy"
|
|
18
18
|
};
|
|
19
19
|
const tsConfigCli = exports.tsConfigCli = {
|
|
20
20
|
compilerOptions: {
|
|
@@ -27,40 +27,4 @@ const tsConfigCli = exports.tsConfigCli = {
|
|
|
27
27
|
},
|
|
28
28
|
include: ["**/*.ts"],
|
|
29
29
|
exclude: ["node_modules", "dist"]
|
|
30
|
-
};
|
|
31
|
-
const cliReadme = exports.cliReadme = `# Intuned CLI Project
|
|
32
|
-
|
|
33
|
-
## Usage Instructions
|
|
34
|
-
|
|
35
|
-
This CLI project is built with Intuned and provides the following commands:
|
|
36
|
-
### Init a project
|
|
37
|
-
\`npx -p @intuned/runtime intuned-init\`
|
|
38
|
-
|
|
39
|
-
### Keys,Environment Variables and Settings
|
|
40
|
-
- INTUNED_WORKSPACE_ID: Your Intuned workspace ID, either provided via command line or intuned.json
|
|
41
|
-
- INTUNED_API_KEY: Your Intuned API key, either provided via command line or environment variable
|
|
42
|
-
- INTUNED_PROJECT_NAME: The name of your Intuned project, either provided via command line or intuned.json
|
|
43
|
-
|
|
44
|
-
### Running the project
|
|
45
|
-
\`npm run intuned-run\`
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
### Building the project
|
|
49
|
-
\`npm run intuned-build\`
|
|
50
|
-
|
|
51
|
-
### Deploying the project
|
|
52
|
-
\`npm run intuned-deploy\`
|
|
53
|
-
|
|
54
|
-
### Artifacts provided
|
|
55
|
-
- \`./intuned.json\`: Intuned project configuration file
|
|
56
|
-
- \`./api\`: Folder containing the API files
|
|
57
|
-
- \`./parameters\`: Folder containing the parameters files
|
|
58
|
-
- \`./output\`: Folder containing the output files
|
|
59
|
-
|
|
60
|
-
### Run Parameters
|
|
61
|
-
--parameters-file/ -i: Path to the parameters file
|
|
62
|
-
|
|
63
|
-
### Storage
|
|
64
|
-
Results from your runs and appended payloads will be stored in the \`./output/[runId]\` directory
|
|
65
|
-
structure when providing the --store-results option on the intuned run command.
|
|
66
|
-
`;
|
|
30
|
+
};
|
package/dist/common/cli/types.js
CHANGED
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.templateIds = void 0;
|
|
7
|
-
const templateIds = exports.templateIds = ["default", "empty", "linkedin-recorder", "api-auth-sessions", "nested-scheduling", "ai-extractors", "npm-auth-sessions"
|
|
7
|
+
const templateIds = exports.templateIds = ["default", "empty", "linkedin-recorder", "api-auth-sessions", "nested-scheduling", "ai-extractors", "npm-auth-sessions"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intuned/runtime-dev",
|
|
3
|
-
"version": "1.0.6-cli.8.2
|
|
3
|
+
"version": "1.0.6-cli.8.3.2",
|
|
4
4
|
"description": "Intuned runtime",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"intuned-browser-start": "./bin/intuned-browser-start",
|
|
51
51
|
"intuned-browser-save-state": "./bin/intuned-browser-save-state",
|
|
52
52
|
"intuned-ts-check": "./bin/intuned-ts-check",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
53
|
+
"init": "./bin/intuned-init",
|
|
54
|
+
"run-api": "./bin/intuned-run",
|
|
55
|
+
"deploy": "./bin/intuned-deploy",
|
|
56
|
+
"cli-build": "./bin/intuned-build-project"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"applicationinsights": "^2.9.2",
|
|
71
71
|
"async-retry": "^1.3.3",
|
|
72
72
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
73
|
-
"boxen": "
|
|
73
|
+
"boxen": "8.0.1",
|
|
74
74
|
"chalk": "^4.1.2",
|
|
75
75
|
"commander": "^11.0.0",
|
|
76
76
|
"cross-fetch": "^4.0.0",
|
|
@@ -81,11 +81,11 @@
|
|
|
81
81
|
"fs-extra": "^11.3.0",
|
|
82
82
|
"https-proxy-agent": "^7.0.5",
|
|
83
83
|
"image-size": "^1.1.1",
|
|
84
|
-
"inquirer": "
|
|
84
|
+
"inquirer": "12.6.0",
|
|
85
85
|
"jsonwebtoken": "^9.0.2",
|
|
86
86
|
"lodash": "^4.17.21",
|
|
87
87
|
"milliparsec": "^2.3.0",
|
|
88
|
-
"minimatch": "
|
|
88
|
+
"minimatch": "10.0.1",
|
|
89
89
|
"ms": "^2.1.3",
|
|
90
90
|
"nanoid": "3",
|
|
91
91
|
"neverthrow": "^6.1.0",
|
package/bin/intuned-run
DELETED
|
File without changes
|
|
File without changes
|
/package/dist/commands/{intuned-build-project/intuned-build-project.d.ts → cli-build/cli-build.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|