@learnpack/learnpack 5.0.57 → 5.0.58
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/README.md +13 -13
- package/lib/commands/serve.js +154 -26
- package/oclif.manifest.json +1 -1
- package/package.json +2 -1
- package/src/commands/serve.ts +209 -30
- package/src/creatorDist/index.html +3 -3
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +352 -352
- package/src/ui/app.tar.gz +0 -0
- package/src/utils/convertCreds.js +30 -0
- package/src/utils/creds.json +0 -13
package/README.md
CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @learnpack/learnpack
|
|
21
21
|
$ learnpack COMMAND
|
22
22
|
running command...
|
23
23
|
$ learnpack (-v|--version|version)
|
24
|
-
@learnpack/learnpack/5.0.
|
24
|
+
@learnpack/learnpack/5.0.58 win32-x64 node-v22.14.0
|
25
25
|
$ learnpack --help [COMMAND]
|
26
26
|
USAGE
|
27
27
|
$ learnpack COMMAND
|
@@ -80,7 +80,7 @@ DESCRIPTION
|
|
80
80
|
12. If there is a file within the exercises folder but not inside of any particular exercise's folder. (Warning)
|
81
81
|
```
|
82
82
|
|
83
|
-
_See code: [src\commands\audit.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
83
|
+
_See code: [src\commands\audit.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\audit.ts)_
|
84
84
|
|
85
85
|
## `learnpack breakToken`
|
86
86
|
|
@@ -95,7 +95,7 @@ OPTIONS
|
|
95
95
|
-y, --yes Skip all prompts and initialize an empty project
|
96
96
|
```
|
97
97
|
|
98
|
-
_See code: [src\commands\breakToken.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
98
|
+
_See code: [src\commands\breakToken.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\breakToken.ts)_
|
99
99
|
|
100
100
|
## `learnpack clean`
|
101
101
|
|
@@ -110,7 +110,7 @@ DESCRIPTION
|
|
110
110
|
Extra documentation goes here
|
111
111
|
```
|
112
112
|
|
113
|
-
_See code: [src\commands\clean.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
113
|
+
_See code: [src\commands\clean.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\clean.ts)_
|
114
114
|
|
115
115
|
## `learnpack download [PACKAGE]`
|
116
116
|
|
@@ -128,7 +128,7 @@ DESCRIPTION
|
|
128
128
|
Extra documentation goes here
|
129
129
|
```
|
130
130
|
|
131
|
-
_See code: [src\commands\download.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
131
|
+
_See code: [src\commands\download.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\download.ts)_
|
132
132
|
|
133
133
|
## `learnpack help [COMMAND]`
|
134
134
|
|
@@ -160,7 +160,7 @@ OPTIONS
|
|
160
160
|
-y, --yes Skip all prompts and initialize an empty project
|
161
161
|
```
|
162
162
|
|
163
|
-
_See code: [src\commands\init.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
163
|
+
_See code: [src\commands\init.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\init.ts)_
|
164
164
|
|
165
165
|
## `learnpack login [PACKAGE]`
|
166
166
|
|
@@ -178,7 +178,7 @@ DESCRIPTION
|
|
178
178
|
Extra documentation goes here
|
179
179
|
```
|
180
180
|
|
181
|
-
_See code: [src\commands\login.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
181
|
+
_See code: [src\commands\login.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\login.ts)_
|
182
182
|
|
183
183
|
## `learnpack logout [PACKAGE]`
|
184
184
|
|
@@ -196,7 +196,7 @@ DESCRIPTION
|
|
196
196
|
Extra documentation goes here
|
197
197
|
```
|
198
198
|
|
199
|
-
_See code: [src\commands\logout.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
199
|
+
_See code: [src\commands\logout.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\logout.ts)_
|
200
200
|
|
201
201
|
## `learnpack plugins`
|
202
202
|
|
@@ -328,7 +328,7 @@ OPTIONS
|
|
328
328
|
-s, --strict strict mode
|
329
329
|
```
|
330
330
|
|
331
|
-
_See code: [src\commands\publish.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
331
|
+
_See code: [src\commands\publish.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\publish.ts)_
|
332
332
|
|
333
333
|
## `learnpack serve`
|
334
334
|
|
@@ -345,7 +345,7 @@ OPTIONS
|
|
345
345
|
-y, --yes Skip all prompts and initialize an empty project
|
346
346
|
```
|
347
347
|
|
348
|
-
_See code: [src\commands\serve.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
348
|
+
_See code: [src\commands\serve.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\serve.ts)_
|
349
349
|
|
350
350
|
## `learnpack start`
|
351
351
|
|
@@ -367,7 +367,7 @@ OPTIONS
|
|
367
367
|
-y, --yes Skip all prompts and initialize an empty project
|
368
368
|
```
|
369
369
|
|
370
|
-
_See code: [src\commands\start.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
370
|
+
_See code: [src\commands\start.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\start.ts)_
|
371
371
|
|
372
372
|
## `learnpack test [EXERCISESLUG]`
|
373
373
|
|
@@ -384,7 +384,7 @@ OPTIONS
|
|
384
384
|
-y, --yes Skip all prompts and initialize an empty project
|
385
385
|
```
|
386
386
|
|
387
|
-
_See code: [src\commands\test.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
387
|
+
_See code: [src\commands\test.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\test.ts)_
|
388
388
|
|
389
389
|
## `learnpack translate`
|
390
390
|
|
@@ -398,7 +398,7 @@ OPTIONS
|
|
398
398
|
-y, --yes Skip all prompts and initialize an empty project
|
399
399
|
```
|
400
400
|
|
401
|
-
_See code: [src\commands\translate.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.
|
401
|
+
_See code: [src\commands\translate.ts](https://github.com/learnpack/learnpack-cli/blob/v5.0.58/src\commands\translate.ts)_
|
402
402
|
<!-- commandsstop -->
|
403
403
|
|
404
404
|
> > > > > > > 0cb3e56d84c197f9d008836bb573eade212b7e57
|
package/lib/commands/serve.js
CHANGED
@@ -8,15 +8,18 @@ const SessionCommand_1 = require("../utils/SessionCommand");
|
|
8
8
|
const storage_1 = require("@google-cloud/storage");
|
9
9
|
const file_1 = require("../managers/file");
|
10
10
|
const fs = require("fs");
|
11
|
+
const rigoActions_1 = require("../utils/rigoActions");
|
12
|
+
const dotenv = require("dotenv");
|
13
|
+
dotenv.config();
|
11
14
|
const frontMatter = require("front-matter");
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
return parts[parts.length - 2];
|
15
|
+
const crendsEnv = process.env.GCP_CREDENTIALS_JSON;
|
16
|
+
if (!crendsEnv) {
|
17
|
+
console.log("GCP_CREDENTIALS_JSON is not set");
|
18
|
+
process.exit(1);
|
17
19
|
}
|
20
|
+
const credentials = JSON.parse(crendsEnv);
|
18
21
|
const bucketStorage = new storage_1.Storage({
|
19
|
-
|
22
|
+
credentials,
|
20
23
|
});
|
21
24
|
const bucket = bucketStorage.bucket("learnpack");
|
22
25
|
async function listFilesWithPrefix(prefix) {
|
@@ -80,41 +83,166 @@ class ServeCommand extends SessionCommand_1.default {
|
|
80
83
|
res.sendFile(file);
|
81
84
|
});
|
82
85
|
app.get("/config", async (req, res) => {
|
83
|
-
|
84
|
-
|
85
|
-
const files = await listFilesWithPrefix("courses/" + req.query.slug);
|
86
|
+
const courseSlug = req.query.slug;
|
87
|
+
const files = await listFilesWithPrefix(`courses/${courseSlug}`);
|
86
88
|
const learnJson = files.find(file => file.name.endsWith("learn.json"));
|
87
89
|
const learnJsonContent = await (learnJson === null || learnJson === void 0 ? void 0 : learnJson.download());
|
88
90
|
const learnJsonParsed = JSON.parse((learnJsonContent === null || learnJsonContent === void 0 ? void 0 : learnJsonContent.toString()) || "{}");
|
89
|
-
const
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
91
|
+
const exerciseMap = {};
|
92
|
+
// Agrupar archivos por ejercicio
|
93
|
+
for (const file of files) {
|
94
|
+
const pathParts = file.name.split("/");
|
95
|
+
const isExercise = pathParts.includes("exercises");
|
96
|
+
if (!isExercise)
|
97
|
+
continue;
|
98
|
+
const slug = pathParts[pathParts.indexOf("exercises") + 1];
|
99
|
+
if (!exerciseMap[slug]) {
|
100
|
+
exerciseMap[slug] = {
|
101
|
+
title: slug,
|
102
|
+
slug: slug,
|
103
|
+
graded: false,
|
104
|
+
files: [],
|
105
|
+
translations: {},
|
106
|
+
};
|
107
|
+
}
|
108
|
+
const fileName = pathParts.at(-1);
|
109
|
+
// Traducciones
|
110
|
+
const readmeMatch = fileName === null || fileName === void 0 ? void 0 : fileName.match(/^readme(?:\.([a-z]{2}))?\.md$/i);
|
111
|
+
if (readmeMatch) {
|
112
|
+
const lang = readmeMatch[1] || "us";
|
113
|
+
exerciseMap[slug].translations[lang] = fileName || "";
|
114
|
+
}
|
115
|
+
else {
|
116
|
+
exerciseMap[slug].files.push(fileName || "");
|
117
|
+
}
|
118
|
+
}
|
119
|
+
const exercises = Object.values(exerciseMap).map((ex, index) => (Object.assign(Object.assign({}, ex), { position: index })));
|
120
|
+
res.set("X-Creator-Web", "true");
|
121
|
+
res.set("Access-Control-Expose-Headers", "X-Creator-Web");
|
99
122
|
res.send({
|
100
|
-
config: Object.assign({}, learnJsonParsed),
|
123
|
+
config: Object.assign(Object.assign({}, learnJsonParsed), { title: { us: courseSlug } }),
|
101
124
|
exercises,
|
102
125
|
});
|
103
126
|
});
|
104
127
|
app.get("/exercise/:slug/readme", async (req, res) => {
|
105
128
|
console.log("GET /exercise/:slug/readme");
|
106
129
|
const { slug } = req.params;
|
130
|
+
const courseSlug = req.query.slug;
|
131
|
+
const lang = req.query.lang || "us";
|
132
|
+
const basePath = `courses/${courseSlug}/exercises/${slug}/`;
|
133
|
+
const filename = lang === "us" ? "README.md" : `README.${lang}.md`;
|
134
|
+
const file = bucket.file(basePath + filename);
|
135
|
+
let contentBuffer;
|
136
|
+
try {
|
137
|
+
contentBuffer = await file.download();
|
138
|
+
}
|
139
|
+
catch (_a) {
|
140
|
+
if (lang !== "us") {
|
141
|
+
console.warn(`No README for lang '${lang}', falling back to 'us'`);
|
142
|
+
const fallbackFile = bucket.file(basePath + "README.md");
|
143
|
+
contentBuffer = await fallbackFile.download();
|
144
|
+
}
|
145
|
+
else {
|
146
|
+
return res.status(404).json({ error: "README not found" });
|
147
|
+
}
|
148
|
+
}
|
149
|
+
const { attributes, body } = frontMatter(contentBuffer[0].toString());
|
150
|
+
res.send({ attributes, body });
|
151
|
+
});
|
152
|
+
app.put("/exercise/:slug/file/:fileName", express.text(), async (req, res) => {
|
153
|
+
const { slug, fileName } = req.params;
|
107
154
|
const query = req.query;
|
108
|
-
console.log(
|
155
|
+
console.log(`PUT /exercise/${slug}/file/${fileName}`);
|
109
156
|
const courseSlug = query.slug;
|
110
|
-
|
111
|
-
|
112
|
-
const
|
157
|
+
console.log("COURSE SLUG", courseSlug);
|
158
|
+
// Update the file in the bucket
|
159
|
+
const file = await bucket.file("courses/" + courseSlug + "/exercises/" + slug + "/" + fileName);
|
160
|
+
await file.save(req.body);
|
161
|
+
const created = await file.exists();
|
162
|
+
console.log("File updated", created);
|
113
163
|
res.send({
|
114
|
-
|
115
|
-
|
164
|
+
message: "File updated",
|
165
|
+
created,
|
116
166
|
});
|
117
167
|
});
|
168
|
+
app.post("/exercise/:slug/create", async (req, res) => {
|
169
|
+
console.log("POST /exercise/:slug/create");
|
170
|
+
const query = req.query;
|
171
|
+
const { title, readme, language } = req.body;
|
172
|
+
if (!title || !readme) {
|
173
|
+
return res
|
174
|
+
.status(400)
|
175
|
+
.json({ error: "Missing title or readme content" });
|
176
|
+
}
|
177
|
+
const courseSlug = query.slug;
|
178
|
+
const fileName = `courses/${courseSlug}/exercises/${title}/README${language === "us" || language === "en" ? "" : `.${language}`}.md`;
|
179
|
+
const file = bucket.file(fileName);
|
180
|
+
await file.save(readme);
|
181
|
+
const created = await file.exists();
|
182
|
+
res.send({
|
183
|
+
message: "File updated",
|
184
|
+
created,
|
185
|
+
});
|
186
|
+
});
|
187
|
+
app.put("/actions/rename", async (req, res) => {
|
188
|
+
console.log("PUT /actions/rename");
|
189
|
+
const { slug, newSlug } = req.body;
|
190
|
+
const query = req.query;
|
191
|
+
const courseSlug = query.slug;
|
192
|
+
const filePrefix = `courses/${courseSlug}/exercises/${slug}/`;
|
193
|
+
const [files] = await bucket.getFiles({ prefix: filePrefix });
|
194
|
+
for (const file of files) {
|
195
|
+
const newFileName = file.name.replace(slug, newSlug);
|
196
|
+
// eslint-disable-next-line no-await-in-loop
|
197
|
+
await file.rename(newFileName);
|
198
|
+
}
|
199
|
+
res.send({ message: "Files renamed" });
|
200
|
+
});
|
201
|
+
app.post("/actions/translate", express.json(), async (req, res) => {
|
202
|
+
console.log("POST /actions/translate");
|
203
|
+
const { exerciseSlugs, languages, rigoToken } = req.body;
|
204
|
+
const query = req.query;
|
205
|
+
const courseSlug = query.slug;
|
206
|
+
console.log("EXERCISE SLUGS", exerciseSlugs);
|
207
|
+
console.log("LANGUAGES", languages);
|
208
|
+
console.log("RIGO TOKEN", rigoToken);
|
209
|
+
if (!rigoToken) {
|
210
|
+
return res.status(400).json({ error: "RigoToken not found" });
|
211
|
+
}
|
212
|
+
const languagesToTranslate = languages.split(",");
|
213
|
+
try {
|
214
|
+
await Promise.all(exerciseSlugs.map(async (slug) => {
|
215
|
+
const readmePath = `courses/${courseSlug}/exercises/${slug}/README.md`;
|
216
|
+
const readme = await bucket.file(readmePath).download();
|
217
|
+
await Promise.all(languagesToTranslate.map(async (language) => {
|
218
|
+
const response = await (0, rigoActions_1.translateExercise)(rigoToken, {
|
219
|
+
text_to_translate: readme.toString(),
|
220
|
+
output_language: language,
|
221
|
+
exercise_slug: slug,
|
222
|
+
});
|
223
|
+
const translatedReadme = await bucket.file(`courses/${courseSlug}/exercises/${slug}/README.${response.parsed.output_language_code}.md`);
|
224
|
+
await translatedReadme.save(response.parsed.translation);
|
225
|
+
}));
|
226
|
+
}));
|
227
|
+
return res.status(200).json({ message: "Translated exercises" });
|
228
|
+
}
|
229
|
+
catch (error) {
|
230
|
+
console.log(error, "ERROR");
|
231
|
+
return res.status(400).json({ error: error.message });
|
232
|
+
}
|
233
|
+
});
|
234
|
+
app.delete("/exercise/:slug/delete", async (req, res) => {
|
235
|
+
const { slug } = req.params;
|
236
|
+
const query = req.query;
|
237
|
+
const courseSlug = query.slug;
|
238
|
+
const filePrefix = `courses/${courseSlug}/exercises/${slug}/`;
|
239
|
+
const [files] = await bucket.getFiles({ prefix: filePrefix });
|
240
|
+
for (const file of files) {
|
241
|
+
// eslint-disable-next-line no-await-in-loop
|
242
|
+
await file.delete();
|
243
|
+
}
|
244
|
+
res.send({ message: "Files deleted" });
|
245
|
+
});
|
118
246
|
app.get("/assets/:file", (req, res) => {
|
119
247
|
const file = path.join(localAppPath, req.params.file);
|
120
248
|
res.sendFile(file);
|
package/oclif.manifest.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":"5.0.
|
1
|
+
{"version":"5.0.58","commands":{"audit":{"id":"audit","description":"learnpack audit is the command in charge of creating an auditory of the repository\n...\nlearnpack audit checks for the following information in a repository:\n 1. The configuration object has slug, repository and description. (Error)\n 2. The command learnpack clean has been run. (Error)\n 3. If a markdown or test file doesn't have any content. (Error)\n 4. The links are accessing to valid servers. (Error)\n 5. The relative images are working (If they have the shortest path to the image or if the images exists in the assets). (Error)\n 6. The external images are working (If they are pointing to a valid server). (Error)\n 7. The exercises directory names are valid. (Error)\n 8. If an exercise doesn't have a README file. (Error)\n 9. The exercises array (Of the config file) has content. (Error)\n 10. The exercses have the same translations. (Warning)\n 11. The .gitignore file exists. (Warning)\n 12. If there is a file within the exercises folder but not inside of any particular exercise's folder. (Warning)\n","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"strict":{"name":"strict","type":"boolean","char":"s","description":"strict mode","allowNo":false}},"args":[]},"breakToken":{"id":"breakToken","description":"Break the token","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false},"grading":{"name":"grading","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"clean":{"id":"clean","description":"Clean the configuration object\n ...\n Extra documentation goes here\n ","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[]},"download":{"id":"download","description":"Describe the command here\n...\nExtra documentation goes here\n","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"package","description":"The unique string that identifies this package on learnpack","required":false,"hidden":false}]},"init":{"id":"init","description":"Create a new learning package: Book, Tutorial or Exercise","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false},"grading":{"name":"grading","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"login":{"id":"login","description":"Describe the command here\n ...\n Extra documentation goes here\n ","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"package","description":"The unique string that identifies this package on learnpack","required":false,"hidden":false}]},"logout":{"id":"logout","description":"Describe the command here\n ...\n Extra documentation goes here\n ","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"package","description":"The unique string that identifies this package on learnpack","required":false,"hidden":false}]},"publish":{"id":"publish","description":"Builds the project by copying necessary files and directories into a zip file","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"strict":{"name":"strict","type":"boolean","char":"s","description":"strict mode","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"serve":{"id":"serve","description":"Runs a small server to build tutorials","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false},"port":{"name":"port","type":"option","char":"p","description":"server port"},"host":{"name":"host","type":"option","char":"h","description":"server host"},"debug":{"name":"debug","type":"boolean","char":"d","description":"debugger mode for more verbage","allowNo":false}},"args":[]},"start":{"id":"start","description":"Runs a small server with all the exercise instructions","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false},"port":{"name":"port","type":"option","char":"p","description":"server port"},"host":{"name":"host","type":"option","char":"h","description":"server host"},"disableGrading":{"name":"disableGrading","type":"boolean","char":"D","description":"disble grading functionality","allowNo":false},"watch":{"name":"watch","type":"boolean","char":"w","description":"Watch for file changes","allowNo":false},"editor":{"name":"editor","type":"option","char":"e","description":"[preview, extension]","options":["extension","preview"]},"version":{"name":"version","type":"option","char":"v","description":"E.g: 1.0.1"},"grading":{"name":"grading","type":"option","char":"g","description":"[isolated, incremental]","options":["isolated","incremental"]},"debug":{"name":"debug","type":"boolean","char":"d","description":"debugger mode for more verbage","allowNo":false}},"args":[]},"test":{"id":"test","description":"Test exercises","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false}},"args":[{"name":"exerciseSlug","description":"The name of the exercise to test","required":false,"hidden":false}]},"translate":{"id":"translate","description":"List all the lessons, the user is able of select many of them to translate to the given languages","pluginName":"@learnpack/learnpack","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip all prompts and initialize an empty project","allowNo":false}},"args":[]}}}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@learnpack/learnpack",
|
3
3
|
"description": "Seamlessly build, sell and/or take interactive & auto-graded tutorials, start learning now or build a new tutorial to your audience.",
|
4
|
-
"version": "5.0.
|
4
|
+
"version": "5.0.58",
|
5
5
|
"author": "Alejandro Sanchez @alesanchezr",
|
6
6
|
"contributors": [
|
7
7
|
{
|
@@ -34,6 +34,7 @@
|
|
34
34
|
"chalk": "^4.1.0",
|
35
35
|
"chokidar": "^3.4.0",
|
36
36
|
"cli-ux": "^5.4.6",
|
37
|
+
"clipboardy": "^4.0.0",
|
37
38
|
"cors": "^2.8.5",
|
38
39
|
"debounce": "^1.2.0",
|
39
40
|
"dotenv": "^8.2.0",
|