bdy 1.17.18-dev → 1.17.20-dev
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/distTs/package.json
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bdy",
|
|
3
3
|
"preferGlobal": false,
|
|
4
|
-
"version": "1.17.
|
|
4
|
+
"version": "1.17.20-dev",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"lint": "eslint \"*/**\"",
|
|
9
9
|
"lint:types": "tsc --skipLibCheck --noEmit --project tsconfig.json",
|
|
10
10
|
"watch": "tsc --watch --project tsconfig.json & tsc --watch --project src/visualTest/utils/tsconfig.json",
|
|
11
|
-
"buildTs": "tsc --project tsconfig.json & tsc --project src/visualTest/utils/tsconfig.json"
|
|
11
|
+
"buildTs": "(tsc --project tsconfig.json & tsc --project src/visualTest/utils/tsconfig.json & wait) && cp package.json distTs/package.json",
|
|
12
|
+
"e2e": "npm run buildTs && vitest run --config e2e/vitest.config.ts",
|
|
13
|
+
"e2e:version": "vitest run --config e2e/vitest.config.ts e2e/modules/version/",
|
|
14
|
+
"e2e:tunnel-config": "vitest run --config e2e/vitest.config.ts e2e/modules/tunnel-config/",
|
|
15
|
+
"e2e:auth": "vitest run --config e2e/vitest.config.ts e2e/modules/auth/",
|
|
16
|
+
"e2e:workspace": "vitest run --config e2e/vitest.config.ts e2e/modules/workspace/",
|
|
17
|
+
"e2e:project": "vitest run --config e2e/vitest.config.ts e2e/modules/project/",
|
|
18
|
+
"e2e:package": "vitest run --config e2e/vitest.config.ts e2e/modules/package/",
|
|
19
|
+
"e2e:sandbox": "vitest run --config e2e/vitest.config.ts e2e/modules/sandbox/",
|
|
20
|
+
"e2e:api": "vitest run --config e2e/vitest.config.ts e2e/modules/api/",
|
|
21
|
+
"e2e:pipeline": "vitest run --config e2e/vitest.config.ts e2e/modules/pipeline/",
|
|
22
|
+
"e2e:tunnel": "vitest run --config e2e/vitest.config.ts e2e/modules/tunnel/",
|
|
23
|
+
"e2e:agent": "vitest run --config e2e/vitest.config.ts e2e/modules/agent/"
|
|
12
24
|
},
|
|
13
25
|
"files": [
|
|
14
26
|
"distTs"
|
|
@@ -95,6 +107,7 @@
|
|
|
95
107
|
"rollup": "4.24.2",
|
|
96
108
|
"rollup-plugin-natives": "0.7.8",
|
|
97
109
|
"typescript": "5.9.3",
|
|
98
|
-
"typescript-eslint": "8.54.0"
|
|
110
|
+
"typescript-eslint": "8.54.0",
|
|
111
|
+
"vitest": "^3.0.0"
|
|
99
112
|
}
|
|
100
113
|
}
|
package/distTs/src/api/client.js
CHANGED
|
@@ -678,7 +678,7 @@ class ApiClient {
|
|
|
678
678
|
}
|
|
679
679
|
async createPackageVersionZip(workspace, pkgId, versionId, file) {
|
|
680
680
|
const form = new undici_1.FormData();
|
|
681
|
-
form.append('file', file);
|
|
681
|
+
form.append('file', file, 'file.zip');
|
|
682
682
|
return await this.request({
|
|
683
683
|
method: 'POST',
|
|
684
684
|
path: `/workspaces/${encodeURIComponent(workspace)}/packages/${encodeURIComponent(pkgId)}/versions/${encodeURIComponent(versionId)}/upload`,
|
|
@@ -101,7 +101,7 @@ const initRepo = async (workspace, project, path, git, options) => {
|
|
|
101
101
|
output_1.default.exitNormal();
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
await (0, utils_1.execLocally)('git config credential.helper ""', {
|
|
104
|
+
await (0, utils_1.execLocally)('git config --replace-all credential.helper ""', {
|
|
105
105
|
cwd: path,
|
|
106
106
|
});
|
|
107
107
|
await (0, utils_1.execLocally)("git config --add credential.helper '!bdy project git credential'", {
|
package/package.json
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bdy",
|
|
3
3
|
"preferGlobal": false,
|
|
4
|
-
"version": "1.17.
|
|
4
|
+
"version": "1.17.20-dev",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"lint": "eslint \"*/**\"",
|
|
9
9
|
"lint:types": "tsc --skipLibCheck --noEmit --project tsconfig.json",
|
|
10
10
|
"watch": "tsc --watch --project tsconfig.json & tsc --watch --project src/visualTest/utils/tsconfig.json",
|
|
11
|
-
"buildTs": "tsc --project tsconfig.json & tsc --project src/visualTest/utils/tsconfig.json"
|
|
11
|
+
"buildTs": "(tsc --project tsconfig.json & tsc --project src/visualTest/utils/tsconfig.json & wait) && cp package.json distTs/package.json",
|
|
12
|
+
"e2e": "npm run buildTs && vitest run --config e2e/vitest.config.ts",
|
|
13
|
+
"e2e:version": "vitest run --config e2e/vitest.config.ts e2e/modules/version/",
|
|
14
|
+
"e2e:tunnel-config": "vitest run --config e2e/vitest.config.ts e2e/modules/tunnel-config/",
|
|
15
|
+
"e2e:auth": "vitest run --config e2e/vitest.config.ts e2e/modules/auth/",
|
|
16
|
+
"e2e:workspace": "vitest run --config e2e/vitest.config.ts e2e/modules/workspace/",
|
|
17
|
+
"e2e:project": "vitest run --config e2e/vitest.config.ts e2e/modules/project/",
|
|
18
|
+
"e2e:package": "vitest run --config e2e/vitest.config.ts e2e/modules/package/",
|
|
19
|
+
"e2e:sandbox": "vitest run --config e2e/vitest.config.ts e2e/modules/sandbox/",
|
|
20
|
+
"e2e:api": "vitest run --config e2e/vitest.config.ts e2e/modules/api/",
|
|
21
|
+
"e2e:pipeline": "vitest run --config e2e/vitest.config.ts e2e/modules/pipeline/",
|
|
22
|
+
"e2e:tunnel": "vitest run --config e2e/vitest.config.ts e2e/modules/tunnel/",
|
|
23
|
+
"e2e:agent": "vitest run --config e2e/vitest.config.ts e2e/modules/agent/"
|
|
12
24
|
},
|
|
13
25
|
"files": [
|
|
14
26
|
"distTs"
|
|
@@ -95,6 +107,7 @@
|
|
|
95
107
|
"rollup": "4.24.2",
|
|
96
108
|
"rollup-plugin-natives": "0.7.8",
|
|
97
109
|
"typescript": "5.9.3",
|
|
98
|
-
"typescript-eslint": "8.54.0"
|
|
110
|
+
"typescript-eslint": "8.54.0",
|
|
111
|
+
"vitest": "^3.0.0"
|
|
99
112
|
}
|
|
100
113
|
}
|