@lbdudc/linea-core 0.2.0 → 0.2.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.
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
# Needs these CI/CD variables:
|
|
26
26
|
# LINEA_CI_TOKEN a token that can read the product repositories and the registry of packages, and
|
|
27
27
|
# comment on merge requests
|
|
28
|
-
# LINEA_CI_PACKAGE where linea-ci is installed from (
|
|
28
|
+
# LINEA_CI_PACKAGE where linea-ci is installed from (default: the latest @lbdudc/linea-ci on npm; pin one
|
|
29
|
+
# with "@lbdudc/linea-ci@0.2.0", or give a git URL or tarball)
|
|
29
30
|
# LINEA_URL, LINEA_TOKEN only for releases: the address of LINEA and a session token of a user who
|
|
30
31
|
# can generate the products
|
|
31
32
|
|
|
@@ -42,7 +43,7 @@ workflow:
|
|
|
42
43
|
- if: '$CI_COMMIT_TAG'
|
|
43
44
|
|
|
44
45
|
variables:
|
|
45
|
-
LINEA_CI_PACKAGE: "
|
|
46
|
+
LINEA_CI_PACKAGE: "@lbdudc/linea-ci"
|
|
46
47
|
LINEA_CI_MAX_PRODUCTS: "5"
|
|
47
48
|
LINEA_CI_MAX_SAMPLES: "30"
|
|
48
49
|
LINEA_CI_MAX_CCN: "15"
|
|
@@ -59,7 +60,7 @@ stages:
|
|
|
59
60
|
.linea-ci:
|
|
60
61
|
image: node:22
|
|
61
62
|
before_script:
|
|
62
|
-
#
|
|
63
|
+
# only needed when LINEA_CI_PACKAGE is a git URL on this GitLab: it is cloned with the token of the job
|
|
63
64
|
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}/".insteadOf "https://${CI_SERVER_HOST}/"
|
|
64
65
|
- npm install --global "$LINEA_CI_PACKAGE"
|
|
65
66
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lbdudc/linea-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Motor autocontenido de Líneas de Producto Software (SPL): feature models, validación de specs y derivación de productos. Funciona 100% offline.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Laboratorio de Bases de Datos (LBD) - Universidade da Coruña",
|
|
@@ -36,8 +36,7 @@
|
|
|
36
36
|
"feature-model",
|
|
37
37
|
"uvl",
|
|
38
38
|
"derivation",
|
|
39
|
-
"linea"
|
|
40
|
-
"splalm"
|
|
39
|
+
"linea"
|
|
41
40
|
],
|
|
42
41
|
"scripts": {
|
|
43
42
|
"build": "tsc && node scripts/copy-assets.mjs",
|