@learnpack/learnpack 2.1.49 → 2.1.51
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +10 -10
- package/lib/commands/init.js +20 -14
- package/lib/managers/socket.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/src/commands/init.ts +182 -170
- package/src/commands/start.ts +320 -320
- package/src/managers/socket.ts +250 -250
- package/src/utils/fileQueue.ts +199 -199
- package/src/utils/templates/incremental/.vscode/schema.json +121 -0
- package/src/utils/templates/incremental/.vscode/settings.json +14 -0
- package/src/utils/templates/isolated/.vscode/schema.json +122 -0
- package/src/utils/templates/isolated/.vscode/settings.json +14 -0
- package/src/utils/templates/isolated/{01-hello-world → exercises/01-hello-world}/README.es.md +26 -26
- package/src/utils/templates/isolated/{01-hello-world → exercises/01-hello-world}/README.md +26 -26
package/src/utils/templates/isolated/{01-hello-world → exercises/01-hello-world}/README.es.md
RENAMED
@@ -1,26 +1,26 @@
|
|
1
|
-
# `01` Primer Ejercicio
|
2
|
-
|
3
|
-
Hemos creado este primer ejercicio como ejemplo. Lo puedes ubicar en la carpeta `./01-hello-world`.
|
4
|
-
|
5
|
-
1. Cada ejercicio debe estar ubicado en carpetas separadas y debe tener un archivo README.md con las instrucciones del ejercicio escrito en markdown.
|
6
|
-
2. Puedes tener un archivo README el cual será como una página de un libro, sin archivos de código.
|
7
|
-
3. También puedes agregar un archivo `README.[lenguaje].md` para traducciones, por ejemplo `README.es.md` para español.
|
8
|
-
|
9
|
-
## Inserta videos
|
10
|
-
|
11
|
-
Si quieres incluir algún video introductorio para cada ejercicio, agrega la propiedad `intro` en el inicio del README.md para ese ejercicio en particular:
|
12
|
-
|
13
|
-
```markdown
|
14
|
-
---
|
15
|
-
intro: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
16
|
-
---
|
17
|
-
```
|
18
|
-
|
19
|
-
Tambien puedes agregar un video explicando la solución para cada ejercicio agregando la propiedad `tutorial` al inicio del markdown del README.md correspondiente:
|
20
|
-
|
21
|
-
```markdown
|
22
|
-
---
|
23
|
-
intro: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
24
|
-
tutorial: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
25
|
-
---
|
26
|
-
```
|
1
|
+
# `01` Primer Ejercicio
|
2
|
+
|
3
|
+
Hemos creado este primer ejercicio como ejemplo. Lo puedes ubicar en la carpeta `./01-hello-world`.
|
4
|
+
|
5
|
+
1. Cada ejercicio debe estar ubicado en carpetas separadas y debe tener un archivo README.md con las instrucciones del ejercicio escrito en markdown.
|
6
|
+
2. Puedes tener un archivo README el cual será como una página de un libro, sin archivos de código.
|
7
|
+
3. También puedes agregar un archivo `README.[lenguaje].md` para traducciones, por ejemplo `README.es.md` para español.
|
8
|
+
|
9
|
+
## Inserta videos
|
10
|
+
|
11
|
+
Si quieres incluir algún video introductorio para cada ejercicio, agrega la propiedad `intro` en el inicio del README.md para ese ejercicio en particular:
|
12
|
+
|
13
|
+
```markdown
|
14
|
+
---
|
15
|
+
intro: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
16
|
+
---
|
17
|
+
```
|
18
|
+
|
19
|
+
Tambien puedes agregar un video explicando la solución para cada ejercicio agregando la propiedad `tutorial` al inicio del markdown del README.md correspondiente:
|
20
|
+
|
21
|
+
```markdown
|
22
|
+
---
|
23
|
+
intro: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
24
|
+
tutorial: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
25
|
+
---
|
26
|
+
```
|
@@ -1,26 +1,26 @@
|
|
1
|
-
# `01` First Exercise
|
2
|
-
|
3
|
-
We created this first exercise as an example, you can find it located in the folder `./01-hello-world`.
|
4
|
-
|
5
|
-
1. Every exercise must be located on a separate folder and it must have a README.md file inside with the exercise instructions written in markdown.
|
6
|
-
2. You can have just a README file and it will be like a page in a book, no code files.
|
7
|
-
3. You can also add a `README.[lang].md` file for translations, for example: `README.es.md` for spanish.
|
8
|
-
|
9
|
-
## Video compatibility
|
10
|
-
|
11
|
-
If you want to include some video introduction for each exercise, add a `intro` property in the markdown frontmatter of the README.md for that particular exercise:
|
12
|
-
|
13
|
-
```markdown
|
14
|
-
---
|
15
|
-
intro: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
16
|
-
---
|
17
|
-
```
|
18
|
-
|
19
|
-
You can also add a video solution for each exercise by adding a `tutorial` property on the markdown frontmatter of it's README.md:
|
20
|
-
|
21
|
-
```markdown
|
22
|
-
---
|
23
|
-
intro: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
24
|
-
tutorial: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
25
|
-
---
|
26
|
-
```
|
1
|
+
# `01` First Exercise
|
2
|
+
|
3
|
+
We created this first exercise as an example, you can find it located in the folder `./01-hello-world`.
|
4
|
+
|
5
|
+
1. Every exercise must be located on a separate folder and it must have a README.md file inside with the exercise instructions written in markdown.
|
6
|
+
2. You can have just a README file and it will be like a page in a book, no code files.
|
7
|
+
3. You can also add a `README.[lang].md` file for translations, for example: `README.es.md` for spanish.
|
8
|
+
|
9
|
+
## Video compatibility
|
10
|
+
|
11
|
+
If you want to include some video introduction for each exercise, add a `intro` property in the markdown frontmatter of the README.md for that particular exercise:
|
12
|
+
|
13
|
+
```markdown
|
14
|
+
---
|
15
|
+
intro: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
16
|
+
---
|
17
|
+
```
|
18
|
+
|
19
|
+
You can also add a video solution for each exercise by adding a `tutorial` property on the markdown frontmatter of it's README.md:
|
20
|
+
|
21
|
+
```markdown
|
22
|
+
---
|
23
|
+
intro: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
24
|
+
tutorial: "https://www.youtube.com/watch?v=YkgkThdzX-8"
|
25
|
+
---
|
26
|
+
```
|