@liascript/exporter 2.0.0--preview → 2.0.0--preview1
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/dist/index.js +3 -4
- package/package.json +1 -1
- package/src/index.ts +7 -1
- package/docker/ilias/README.md +0 -11
- package/docker/ilias/docker-compose.yml +0 -23
- package/docker/moodle/README.md +0 -33
- package/docker/moodle/docker-compose.yml +0 -37
package/dist/index.js
CHANGED
|
@@ -12484,6 +12484,7 @@ function $ccdb061a5468de1f$var$help() {
|
|
|
12484
12484
|
console.log('--scorm-organization', ' set the organization title');
|
|
12485
12485
|
console.log('--scorm-masteryScore', ' set the scorm masteryScore (a value between 0 -- 100), default is 0');
|
|
12486
12486
|
console.log('--scorm-typicalDuration', ' set the scorm duration, default is PT0H5M0S');
|
|
12487
|
+
console.log('--scorm-iframe', ' use an iframe instead of SCORM starting parameter');
|
|
12487
12488
|
console.log('\nPDF settings:\n');
|
|
12488
12489
|
console.log('--pdf-stylesheet Inject an local CSS for changing the appearance.');
|
|
12489
12490
|
console.log('--pdf-theme LiaScript themes: default, turquoise, blue, red, yellow');
|
|
@@ -12541,10 +12542,8 @@ function $ccdb061a5468de1f$var$parseArguments() {
|
|
|
12541
12542
|
'pdf-theme': $ccdb061a5468de1f$var$argv['pdf-theme']
|
|
12542
12543
|
};
|
|
12543
12544
|
argument.format = argument.format.toLowerCase();
|
|
12544
|
-
if (!argument.path && !$320134ce32dd9048$export$bab98af026af71ac(argument.input))
|
|
12545
|
-
|
|
12546
|
-
argument.readme = $9Afec$path.basename(argument.input);
|
|
12547
|
-
}
|
|
12545
|
+
if (!argument.path && !$320134ce32dd9048$export$bab98af026af71ac(argument.input)) argument.path = $9Afec$path.dirname(argument.input);
|
|
12546
|
+
argument.readme = argument.input.replace(argument.path, '.');
|
|
12548
12547
|
return argument;
|
|
12549
12548
|
}
|
|
12550
12549
|
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -127,6 +127,11 @@ function help() {
|
|
|
127
127
|
' set the scorm duration, default is PT0H5M0S'
|
|
128
128
|
)
|
|
129
129
|
|
|
130
|
+
console.log(
|
|
131
|
+
'--scorm-iframe',
|
|
132
|
+
' use an iframe instead of SCORM starting parameter'
|
|
133
|
+
)
|
|
134
|
+
|
|
130
135
|
console.log('\nPDF settings:\n')
|
|
131
136
|
console.log(
|
|
132
137
|
'--pdf-stylesheet Inject an local CSS for changing the appearance.'
|
|
@@ -235,8 +240,9 @@ function parseArguments() {
|
|
|
235
240
|
|
|
236
241
|
if (!argument.path && !helper.isURL(argument.input)) {
|
|
237
242
|
argument.path = path.dirname(argument.input)
|
|
238
|
-
argument.readme = path.basename(argument.input)
|
|
239
243
|
}
|
|
240
244
|
|
|
245
|
+
argument.readme = argument.input.replace(argument.path, '.')
|
|
246
|
+
|
|
241
247
|
return argument
|
|
242
248
|
}
|
package/docker/ilias/README.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
version: '3'
|
|
2
|
-
services:
|
|
3
|
-
ilias:
|
|
4
|
-
image: srsolutions/ilias
|
|
5
|
-
ports:
|
|
6
|
-
- 8081:80
|
|
7
|
-
links:
|
|
8
|
-
- mysql
|
|
9
|
-
environment:
|
|
10
|
-
- ILIAS_AUTO_SETUP=1
|
|
11
|
-
- ILIAS_DB_USER=root
|
|
12
|
-
- ILIAS_ROOT_PASSWORD=test1234
|
|
13
|
-
- ILIAS_DB_PASSWORD=example
|
|
14
|
-
mysql:
|
|
15
|
-
image: mysql:5.7
|
|
16
|
-
command: |
|
|
17
|
-
--character-set-server=utf8
|
|
18
|
-
--collation-server=utf8_general_ci
|
|
19
|
-
--max-allowed-packet=32M
|
|
20
|
-
--default_authentication_plugin=mysql_native_password
|
|
21
|
-
environment:
|
|
22
|
-
- MYSQL_ROOT_PASSWORD=example
|
|
23
|
-
- MYSQL_DATABASE=ilias
|
package/docker/moodle/README.md
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Moodle settings
|
|
2
|
-
|
|
3
|
-
Source: https://hub.docker.com/r/bitnami/moodle/
|
|
4
|
-
|
|
5
|
-
run: `docker-compose up`
|
|
6
|
-
|
|
7
|
-
Starts at: http://127.0.0.1:8080
|
|
8
|
-
|
|
9
|
-
- `MOODLE_USERNAME`: Moodle application username.
|
|
10
|
-
|
|
11
|
-
Default: user
|
|
12
|
-
|
|
13
|
-
- `MOODLE_PASSWORD`: Moodle application password.
|
|
14
|
-
|
|
15
|
-
Default: bitnami
|
|
16
|
-
|
|
17
|
-
- `MOODLE_EMAIL`: Moodle application email.
|
|
18
|
-
|
|
19
|
-
Default: user@example.com
|
|
20
|
-
|
|
21
|
-
- `MOODLE_SITE_NAME`: Moodle site name.
|
|
22
|
-
|
|
23
|
-
Default: New Site
|
|
24
|
-
|
|
25
|
-
- `MOODLE_SITE_NAME`: Moodle www root.
|
|
26
|
-
|
|
27
|
-
No defaults.
|
|
28
|
-
|
|
29
|
-
- `MOODLE_SKIP_BOOTSTRAP`: Do not initialize the Moodle database for a new
|
|
30
|
-
deployment. This is necessary in case you use a database that already has
|
|
31
|
-
Moodle data.
|
|
32
|
-
|
|
33
|
-
Default: no
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
version: '2'
|
|
2
|
-
services:
|
|
3
|
-
mariadb:
|
|
4
|
-
image: docker.io/bitnami/mariadb:10.3
|
|
5
|
-
environment:
|
|
6
|
-
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
|
7
|
-
- ALLOW_EMPTY_PASSWORD=yes
|
|
8
|
-
- MARIADB_USER=bn_moodle
|
|
9
|
-
- MARIADB_DATABASE=bitnami_moodle
|
|
10
|
-
- MARIADB_CHARACTER_SET=utf8mb4
|
|
11
|
-
- MARIADB_COLLATE=utf8mb4_unicode_ci
|
|
12
|
-
volumes:
|
|
13
|
-
- 'mariadb_data:/bitnami/mariadb'
|
|
14
|
-
moodle:
|
|
15
|
-
image: docker.io/bitnami/moodle:3
|
|
16
|
-
ports:
|
|
17
|
-
- '8080:8080'
|
|
18
|
-
- '443:8443'
|
|
19
|
-
environment:
|
|
20
|
-
- MOODLE_DATABASE_HOST=mariadb
|
|
21
|
-
- MOODLE_DATABASE_PORT_NUMBER=3306
|
|
22
|
-
- MOODLE_DATABASE_USER=bn_moodle
|
|
23
|
-
- MOODLE_DATABASE_NAME=bitnami_moodle
|
|
24
|
-
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
|
25
|
-
- ALLOW_EMPTY_PASSWORD=yes
|
|
26
|
-
volumes:
|
|
27
|
-
- 'moodle_data:/bitnami/moodle'
|
|
28
|
-
- 'moodledata_data:/bitnami/moodledata'
|
|
29
|
-
depends_on:
|
|
30
|
-
- mariadb
|
|
31
|
-
volumes:
|
|
32
|
-
mariadb_data:
|
|
33
|
-
driver: local
|
|
34
|
-
moodle_data:
|
|
35
|
-
driver: local
|
|
36
|
-
moodledata_data:
|
|
37
|
-
driver: local
|