@uipath/solution-sdk 1.196.0 → 1.197.0-preview.59
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 +162 -1476
- package/dist/scripts/generate-sdk.js +2 -0
- package/dist/src/zip-utils.d.ts +17 -1
- package/package.json +33 -42
- package/dist/index.js.map +0 -159
- package/dist/scripts/generate-sdk.js.map +0 -10
package/dist/src/zip-utils.d.ts
CHANGED
|
@@ -19,6 +19,19 @@ import type { IFileSystem } from "@uipath/filesystem";
|
|
|
19
19
|
* (sourced from a `.uipignore` file at the solution root by bundle-service).
|
|
20
20
|
*/
|
|
21
21
|
export declare const DEFAULT_EXCLUDED_DIR_NAMES: ReadonlySet<string>;
|
|
22
|
+
/**
|
|
23
|
+
* File-name patterns that are never part of a solution bundle. Skipped at walk
|
|
24
|
+
* time so the bundle doesn't ship developer-local secrets to Studio Web.
|
|
25
|
+
*
|
|
26
|
+
* /^\.env($|\..+)/ Dotenv credential files: `.env`, `.env.local`,
|
|
27
|
+
* `.env.production`, etc. These conventionally hold API
|
|
28
|
+
* keys, database passwords, and OAuth client secrets and
|
|
29
|
+
* must never leave the developer's machine. Does not
|
|
30
|
+
* match `.envrc`, `.environment`, or `myenv.txt`.
|
|
31
|
+
*/
|
|
32
|
+
export declare const DEFAULT_EXCLUDED_FILE_PATTERNS: ReadonlyArray<RegExp>;
|
|
33
|
+
/** True when `name` matches any of the default-excluded file patterns. */
|
|
34
|
+
export declare function isDefaultExcludedFileName(name: string): boolean;
|
|
22
35
|
/** File name read by bundle-service to extend the default exclude set. */
|
|
23
36
|
export declare const UIPIGNORE_FILENAME = ".uipignore";
|
|
24
37
|
/**
|
|
@@ -36,7 +49,10 @@ export declare function parseUipignore(body: string): Set<string>;
|
|
|
36
49
|
* fflate creates parent directory records implicitly when it sees `a/b/c/`.
|
|
37
50
|
*
|
|
38
51
|
* Skips DEFAULT_EXCLUDED_DIR_NAMES plus any `additionalExcludeDirs` the
|
|
39
|
-
* caller provides.
|
|
52
|
+
* caller provides. Directory exclusion is by exact directory name at any
|
|
53
|
+
* depth. Files matching DEFAULT_EXCLUDED_FILE_PATTERNS (e.g. `.env`,
|
|
54
|
+
* `.env.local`) are also skipped at any depth — they conventionally hold
|
|
55
|
+
* credentials and must not be shipped in the bundle.
|
|
40
56
|
*/
|
|
41
57
|
export declare function collectTree(fs: IFileSystem, dir: string, options?: {
|
|
42
58
|
additionalExcludeDirs?: Iterable<string>;
|
package/package.json
CHANGED
|
@@ -1,44 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"@openapitools/openapi-generator-cli": "^2.31.1",
|
|
36
|
-
"@uipath/common": "1.196.0",
|
|
37
|
-
"@uipath/filesystem": "1.196.0",
|
|
38
|
-
"@uipath/studioweb-sdk": "1.196.0",
|
|
39
|
-
"@types/node": "^25.5.2",
|
|
40
|
-
"fflate": "^0.8.2",
|
|
41
|
-
"typescript": "^6.0.2"
|
|
42
|
-
},
|
|
43
|
-
"gitHead": "bed2b46f1ec33a47a7dcae2e6d4b7ab99bd06981"
|
|
2
|
+
"name": "@uipath/solution-sdk",
|
|
3
|
+
"license": "MIT",
|
|
4
|
+
"version": "1.197.0-preview.59",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/UiPath/cli.git",
|
|
8
|
+
"directory": "packages/solution-sdk"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"uipath",
|
|
15
|
+
"solution",
|
|
16
|
+
"sdk"
|
|
17
|
+
],
|
|
18
|
+
"type": "module",
|
|
19
|
+
"main": "./dist/index.js",
|
|
20
|
+
"types": "./dist/src/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/src/index.d.ts",
|
|
24
|
+
"default": "./dist/index.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"bin": {
|
|
28
|
+
"generate-sdk": "./dist/scripts/generate-sdk.js"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"private": false,
|
|
34
|
+
"gitHead": "df0e2b8140cced13f463b487214927c82bc0f85b"
|
|
44
35
|
}
|