cob-cli 2.42.0 → 2.42.1
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/.tap/processinfo/0db03a1d-f054-4ba8-9873-7efb81723721.json +32 -0
- package/.tap/processinfo/9d97e24f-ae90-4c49-af20-075bbcc46260.json +38 -0
- package/.tap/repl_history +2 -0
- package/.tap/test-results/lib/commands/test.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/common_enviromentHandler.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/common_helpers.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/common_releaseManager.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/common_syncFiles.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/deploy_execute.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/deploy_validate.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/init_newProject.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/test_customUIsContinuosReload.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/test_otherFilesContiousReload.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/test_syncFile.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/test_validate.js.tap +0 -0
- package/.tap/test-results/lib/task_lists/updateFromServer_validate.js.tap +0 -0
- package/.tap/test-results/lib/webpack/fake_customizations2.js.tap +1 -0
- package/.tap/test-results/lib/webpack/webpack.config.js.tap +0 -0
- package/.tap/test-results/test/test_common_environmentHandler.js.tap +40 -0
- package/lib/task_lists/common_syncFiles.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"date": "2023-10-19T08:52:33.010Z",
|
|
3
|
+
"argv": [
|
|
4
|
+
"/Users/jnelas/.nvm/versions/node/v16.18.0/bin/node",
|
|
5
|
+
"/Users/jnelas/reps/cob/cob-cli/test/test_common_environmentHandler.js"
|
|
6
|
+
],
|
|
7
|
+
"execArgv": [
|
|
8
|
+
"--loader=file:///Users/jnelas/reps/cob/cob-cli/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/esm.mjs",
|
|
9
|
+
"--loader=file:///Users/jnelas/reps/cob/cob-cli/node_modules/@tapjs/mock/dist/esm/legacy-loader.mjs",
|
|
10
|
+
"--no-warnings",
|
|
11
|
+
"--enable-source-maps",
|
|
12
|
+
"--loader=file:///Users/jnelas/reps/cob/cob-cli/node_modules/@tapjs/processinfo/dist/esm/loader-legacy.mjs"
|
|
13
|
+
],
|
|
14
|
+
"NODE_OPTIONS": "\"--loader=file:///Users/jnelas/reps/cob/cob-cli/node_modules/@tapjs/processinfo/dist/esm/loader-legacy.mjs\" \"--no-warnings\"",
|
|
15
|
+
"cwd": "/Users/jnelas/reps/cob/cob-cli",
|
|
16
|
+
"pid": 12082,
|
|
17
|
+
"ppid": 12080,
|
|
18
|
+
"parent": null,
|
|
19
|
+
"uuid": "0db03a1d-f054-4ba8-9873-7efb81723721",
|
|
20
|
+
"files": [
|
|
21
|
+
"/Users/jnelas/reps/cob/cob-cli/test/test_common_environmentHandler.js",
|
|
22
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/common_enviromentHandler.js",
|
|
23
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/common_releaseManager.js",
|
|
24
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/common_helpers.js"
|
|
25
|
+
],
|
|
26
|
+
"sources": {},
|
|
27
|
+
"root": "0db03a1d-f054-4ba8-9873-7efb81723721",
|
|
28
|
+
"externalID": "test/test_common_environmentHandler.js",
|
|
29
|
+
"code": 0,
|
|
30
|
+
"signal": null,
|
|
31
|
+
"runtime": 1840.771843
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"date": "2023-10-19T08:52:33.000Z",
|
|
3
|
+
"argv": [
|
|
4
|
+
"/Users/jnelas/.nvm/versions/node/v16.18.0/bin/node",
|
|
5
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/commands/test.js"
|
|
6
|
+
],
|
|
7
|
+
"execArgv": [
|
|
8
|
+
"--loader=file:///Users/jnelas/reps/cob/cob-cli/node_modules/@isaacs/ts-node-temp-fork-for-pr-2009/esm.mjs",
|
|
9
|
+
"--loader=file:///Users/jnelas/reps/cob/cob-cli/node_modules/@tapjs/mock/dist/esm/legacy-loader.mjs",
|
|
10
|
+
"--no-warnings",
|
|
11
|
+
"--enable-source-maps",
|
|
12
|
+
"--loader=file:///Users/jnelas/reps/cob/cob-cli/node_modules/@tapjs/processinfo/dist/esm/loader-legacy.mjs"
|
|
13
|
+
],
|
|
14
|
+
"NODE_OPTIONS": "\"--loader=file:///Users/jnelas/reps/cob/cob-cli/node_modules/@tapjs/processinfo/dist/esm/loader-legacy.mjs\" \"--no-warnings\"",
|
|
15
|
+
"cwd": "/Users/jnelas/reps/cob/cob-cli",
|
|
16
|
+
"pid": 12081,
|
|
17
|
+
"ppid": 12080,
|
|
18
|
+
"parent": null,
|
|
19
|
+
"uuid": "9d97e24f-ae90-4c49-af20-075bbcc46260",
|
|
20
|
+
"files": [
|
|
21
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/commands/test.js",
|
|
22
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/test_validate.js",
|
|
23
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/common_helpers.js",
|
|
24
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/common_releaseManager.js",
|
|
25
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/common_syncFiles.js",
|
|
26
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/test_otherFilesContiousReload.js",
|
|
27
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/test_syncFile.js",
|
|
28
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/test_customUIsContinuosReload.js",
|
|
29
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/task_lists/common_enviromentHandler.js",
|
|
30
|
+
"/Users/jnelas/reps/cob/cob-cli/lib/commands/upgradeRepo.js"
|
|
31
|
+
],
|
|
32
|
+
"sources": {},
|
|
33
|
+
"root": "9d97e24f-ae90-4c49-af20-075bbcc46260",
|
|
34
|
+
"externalID": "lib/commands/test.js",
|
|
35
|
+
"code": 0,
|
|
36
|
+
"signal": null,
|
|
37
|
+
"runtime": 290.537245
|
|
38
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[CoB] Starting live-reload
|
|
File without changes
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
TAP version 14
|
|
2
|
+
# Subtest: smoke
|
|
3
|
+
ok 1 - should match pattern
|
|
4
|
+
1..1
|
|
5
|
+
ok 1 - smoke # time=33.202ms
|
|
6
|
+
|
|
7
|
+
# Subtest: there's an ENV file, but no default
|
|
8
|
+
ok 1 - should match pattern
|
|
9
|
+
ok 2 - should be equal
|
|
10
|
+
ok 3 - should match pattern
|
|
11
|
+
ok 4 - should match pattern
|
|
12
|
+
ok 5 - should be equal
|
|
13
|
+
1..5
|
|
14
|
+
ok 2 - there's an ENV file, but no default # time=266.343ms
|
|
15
|
+
|
|
16
|
+
# Subtest: there's an ENV and a default
|
|
17
|
+
ok 1 - should match pattern
|
|
18
|
+
ok 2 - should match pattern
|
|
19
|
+
ok 3 - should match pattern
|
|
20
|
+
ok 4 - should be equal
|
|
21
|
+
1..4
|
|
22
|
+
ok 3 - there's an ENV and a default # time=411.658ms
|
|
23
|
+
|
|
24
|
+
# Subtest: there's multiple ENVs but no default
|
|
25
|
+
ok 1 - should match pattern
|
|
26
|
+
ok 2 - should match pattern
|
|
27
|
+
ok 3 - should match pattern
|
|
28
|
+
ok 4 - should be equal
|
|
29
|
+
1..4
|
|
30
|
+
ok 4 - there's multiple ENVs but no default # time=274.577ms
|
|
31
|
+
|
|
32
|
+
# Subtest: there's multiple ENVs and a default
|
|
33
|
+
ok 1 - should match pattern
|
|
34
|
+
ok 2 - should match pattern
|
|
35
|
+
ok 3 - should match pattern
|
|
36
|
+
ok 4 - should be equal
|
|
37
|
+
1..4
|
|
38
|
+
ok 5 - there's multiple ENVs and a default # time=403.779ms
|
|
39
|
+
|
|
40
|
+
1..5
|
|
@@ -49,8 +49,8 @@ async function _syncFiles(executionType, cmdEnv, from, to, extraOptions = []) {
|
|
|
49
49
|
toPath,
|
|
50
50
|
"-acvi",
|
|
51
51
|
"--delete",
|
|
52
|
-
"--chmod=
|
|
53
|
-
"--
|
|
52
|
+
"--chmod=g+w",
|
|
53
|
+
"--perms",
|
|
54
54
|
"--filter='merge " + path.resolve(__dirname,"rsyncFilter-pre.txt") + "'",
|
|
55
55
|
cmdEnv.rsyncFilter ? "--filter='merge " + cmdEnv.rsyncFilter + "'" : "",
|
|
56
56
|
"--filter='merge " + path.resolve(__dirname,"rsyncFilter-post.txt") + "'",
|
package/package.json
CHANGED