adapt-cli 3.0.0 → 3.0.7
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/.bowerrc +2 -2
- package/.eslintignore +1 -1
- package/.eslintrc.json +14 -14
- package/.github/CONTRIBUTING.md +8 -0
- package/.github/ISSUE_TEMPLATE.md +17 -0
- package/.github/pull_request_template.md +25 -0
- package/.github/workflows/addtomainproject.yml +19 -0
- package/.github/workflows/releases.yml +25 -0
- package/.travis.yml +46 -46
- package/README.md +266 -266
- package/bin/adapt.js +3 -3
- package/json/help-create/component.json +9 -9
- package/json/help-create/course.json +9 -9
- package/json/help-create/question.json +9 -9
- package/json/help-create.json +12 -12
- package/json/help-devinstall.json +9 -9
- package/json/help-install.json +10 -10
- package/json/help-ls.json +7 -7
- package/json/help-register.json +7 -7
- package/json/help-rename.json +7 -7
- package/json/help-search.json +8 -8
- package/json/help-uninstall.json +7 -7
- package/json/help-unregister.json +8 -8
- package/json/help-update.json +12 -12
- package/json/help-version.json +7 -7
- package/json/help.json +19 -19
- package/lib/api.js +273 -260
- package/lib/cli.js +70 -69
- package/lib/commands/authenticate.js +18 -18
- package/lib/commands/create/component.js +64 -64
- package/lib/commands/create/course.js +26 -26
- package/lib/commands/create/question.js +18 -18
- package/lib/commands/create.js +94 -85
- package/lib/commands/devinstall.js +35 -35
- package/lib/commands/help.js +31 -31
- package/lib/commands/install.js +16 -16
- package/lib/commands/ls.js +35 -9
- package/lib/commands/register.js +11 -11
- package/lib/commands/rename.js +14 -14
- package/lib/commands/search.js +11 -11
- package/lib/commands/uninstall.js +9 -9
- package/lib/commands/unregister.js +12 -12
- package/lib/commands/update.js +12 -12
- package/lib/commands/version.js +13 -13
- package/lib/econnreset.js +8 -0
- package/lib/integration/AdaptFramework/build.js +42 -39
- package/lib/integration/AdaptFramework/clone.js +27 -27
- package/lib/integration/AdaptFramework/deleteSrcCore.js +9 -9
- package/lib/integration/AdaptFramework/deleteSrcCourse.js +9 -9
- package/lib/integration/AdaptFramework/download.js +21 -21
- package/lib/integration/AdaptFramework/erase.js +34 -34
- package/lib/integration/AdaptFramework/getLatestVersion.js +74 -79
- package/lib/integration/AdaptFramework/npmInstall.js +21 -21
- package/lib/integration/AdaptFramework.js +19 -19
- package/lib/integration/Plugin.js +404 -403
- package/lib/integration/PluginManagement/autenticate.js +47 -56
- package/lib/integration/PluginManagement/install.js +224 -222
- package/lib/integration/PluginManagement/print.js +52 -52
- package/lib/integration/PluginManagement/register.js +130 -130
- package/lib/integration/PluginManagement/rename.js +95 -101
- package/lib/integration/PluginManagement/schemas.js +8 -8
- package/lib/integration/PluginManagement/search.js +37 -46
- package/lib/integration/PluginManagement/uninstall.js +141 -141
- package/lib/integration/PluginManagement/unregister.js +91 -101
- package/lib/integration/PluginManagement/update.js +224 -224
- package/lib/integration/PluginManagement.js +21 -21
- package/lib/integration/Project.js +146 -146
- package/lib/integration/Target.js +299 -296
- package/lib/integration/getBowerRegistryConfig.js +34 -34
- package/lib/logger.js +28 -28
- package/lib/util/JSONReadValidate.js +34 -34
- package/lib/util/constants.js +38 -38
- package/lib/util/createPromptTask.js +7 -7
- package/lib/util/download.js +45 -45
- package/lib/util/errors.js +58 -58
- package/lib/util/extract.js +24 -24
- package/lib/util/getDirNameFromImportMeta.js +6 -6
- package/lib/util/promises.js +36 -36
- package/package.json +74 -40
package/package.json
CHANGED
@@ -1,40 +1,74 @@
|
|
1
|
-
{
|
2
|
-
"name": "adapt-cli",
|
3
|
-
"version": "3.0.
|
4
|
-
"description": "Command line tools for Adapt",
|
5
|
-
"main": "./lib/api.js",
|
6
|
-
"type": "module",
|
7
|
-
"dependencies": {
|
8
|
-
"async": "^3.2.3",
|
9
|
-
"bower": "^1.8.13",
|
10
|
-
"bower-endpoint-parser": "^0.2.2",
|
11
|
-
"chalk": "^2.4.1",
|
12
|
-
"decompress": "^4.2.1",
|
13
|
-
"download": "^7.1.0",
|
14
|
-
"find-up": "^6.2.0",
|
15
|
-
"fs-extra": "^10.0.0",
|
16
|
-
"globs": "^0.1.4",
|
17
|
-
"inquirer": "^7.3.3",
|
18
|
-
"json-lint": "^0.1.0",
|
19
|
-
"lodash-es": "^4.17.21",
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"semver": "^7.3.5",
|
23
|
-
"speakingurl": "^14.0.1",
|
24
|
-
"url-join": "^4.0.0",
|
25
|
-
"uuid": "^
|
26
|
-
},
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
"eslint": "^
|
35
|
-
"eslint-
|
36
|
-
"eslint-plugin-
|
37
|
-
"eslint-plugin-
|
38
|
-
"
|
39
|
-
|
40
|
-
|
1
|
+
{
|
2
|
+
"name": "adapt-cli",
|
3
|
+
"version": "3.0.7",
|
4
|
+
"description": "Command line tools for Adapt",
|
5
|
+
"main": "./lib/api.js",
|
6
|
+
"type": "module",
|
7
|
+
"dependencies": {
|
8
|
+
"async": "^3.2.3",
|
9
|
+
"bower": "^1.8.13",
|
10
|
+
"bower-endpoint-parser": "^0.2.2",
|
11
|
+
"chalk": "^2.4.1",
|
12
|
+
"decompress": "^4.2.1",
|
13
|
+
"download": "^7.1.0",
|
14
|
+
"find-up": "^6.2.0",
|
15
|
+
"fs-extra": "^10.0.0",
|
16
|
+
"globs": "^0.1.4",
|
17
|
+
"inquirer": "^7.3.3",
|
18
|
+
"json-lint": "^0.1.0",
|
19
|
+
"lodash-es": "^4.17.21",
|
20
|
+
"node-fetch": "^3.2.10",
|
21
|
+
"parse-github-url": "^1.0.2",
|
22
|
+
"semver": "^7.3.5",
|
23
|
+
"speakingurl": "^14.0.1",
|
24
|
+
"url-join": "^4.0.0",
|
25
|
+
"uuid": "^8.3.2"
|
26
|
+
},
|
27
|
+
"license": "GPL-3.0",
|
28
|
+
"preferGlobal": true,
|
29
|
+
"bin": {
|
30
|
+
"adapt": "./bin/adapt.js"
|
31
|
+
},
|
32
|
+
"devDependencies": {
|
33
|
+
"eslint": "^7.31.0",
|
34
|
+
"eslint-config-standard": "^16.0.3",
|
35
|
+
"eslint-plugin-import": "^2.23.4",
|
36
|
+
"eslint-plugin-node": "^11.1.0",
|
37
|
+
"eslint-plugin-promise": "^5.1.0",
|
38
|
+
"@semantic-release/commit-analyzer": "^9.0.2",
|
39
|
+
"@semantic-release/git": "^10.0.1",
|
40
|
+
"@semantic-release/github": "^8.0.5",
|
41
|
+
"@semantic-release/npm": "^9.0.1",
|
42
|
+
"@semantic-release/release-notes-generator": "^10.0.3",
|
43
|
+
"conventional-changelog-eslint": "^3.0.9",
|
44
|
+
"semantic-release": "^19.0.3"
|
45
|
+
},
|
46
|
+
"release": {
|
47
|
+
"plugins": [
|
48
|
+
[
|
49
|
+
"@semantic-release/commit-analyzer",
|
50
|
+
{
|
51
|
+
"preset": "eslint"
|
52
|
+
}
|
53
|
+
],
|
54
|
+
[
|
55
|
+
"@semantic-release/release-notes-generator",
|
56
|
+
{
|
57
|
+
"preset": "eslint"
|
58
|
+
}
|
59
|
+
],
|
60
|
+
"@semantic-release/npm",
|
61
|
+
"@semantic-release/github",
|
62
|
+
[
|
63
|
+
"@semantic-release/git",
|
64
|
+
{
|
65
|
+
"assets": [
|
66
|
+
"package.json",
|
67
|
+
"bower.json"
|
68
|
+
],
|
69
|
+
"message": "Chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
70
|
+
}
|
71
|
+
]
|
72
|
+
]
|
73
|
+
}
|
74
|
+
}
|