@mat3ra/ade 2025.10.2-2 → 2025.11.7-0
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 +14 -23
- package/package.json +12 -6
package/README.md
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
[](https://badge.fury.io/js/%40mat3ra%2Fade)
|
|
2
2
|
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# ade
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Application DEfinitions package. Houses the definitions for:
|
|
7
7
|
|
|
8
|
+
- `Application` - uniquely determined by `name, [version], [build]`
|
|
9
|
+
- `Executable` - defined for a given application and accessible from application by name
|
|
10
|
+
- `Flavor` - defined for a given executable and accessible from executable by name
|
|
11
|
+
- `Template` - a jinja template for an application input file
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
The relevant data parameterizing supported entities is housed in the
|
|
14
|
+
[Standata](https://github.com/Exabyte-io/standata) repository.
|
|
10
15
|
|
|
11
|
-
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
For usage within a JavaScript project:
|
|
12
20
|
|
|
13
21
|
```bash
|
|
14
22
|
npm install @mat3ra/ade
|
|
@@ -20,8 +28,7 @@ For development:
|
|
|
20
28
|
git clone https://github.com/Exabyte-io/ade.git
|
|
21
29
|
```
|
|
22
30
|
|
|
23
|
-
|
|
24
|
-
### Contribution
|
|
31
|
+
## Contributions
|
|
25
32
|
|
|
26
33
|
This repository is an [open-source](LICENSE.md) work-in-progress and we welcome contributions.
|
|
27
34
|
|
|
@@ -55,7 +62,7 @@ npm run test:coverage:check
|
|
|
55
62
|
npm run test:coverage:html
|
|
56
63
|
```
|
|
57
64
|
|
|
58
|
-
## Code Coverage
|
|
65
|
+
## Development: Code/Test Coverage
|
|
59
66
|
|
|
60
67
|
This project includes comprehensive code coverage reporting with multiple viewing options:
|
|
61
68
|
|
|
@@ -88,19 +95,3 @@ The project enforces minimum coverage thresholds:
|
|
|
88
95
|
|
|
89
96
|
### External Coverage Services
|
|
90
97
|
- **Codecov**: Coverage data is automatically uploaded to Codecov for historical tracking and trend analysis
|
|
91
|
-
|
|
92
|
-
ADe
|
|
93
|
-
===
|
|
94
|
-
|
|
95
|
-
The`ADe` package sits just below the `WoDe` package in the Mat3ra workflow
|
|
96
|
-
ecosystem, where `ADe` houses entity definitions for:
|
|
97
|
-
|
|
98
|
-
- `Application` - uniquely determined by `name, [version], [build]`
|
|
99
|
-
- `Executable` - defined for a given application and accessible from application by name
|
|
100
|
-
- `Flavor` - defined for a given executable and accessible from executable by name
|
|
101
|
-
- `Template` - a jinja template for an application input file
|
|
102
|
-
|
|
103
|
-
The relevant data parameterizing these entities is housed in
|
|
104
|
-
the [Application Flavors](https://github.com/Exabyte-io/standata)
|
|
105
|
-
repository. This includes the supported applications, executables, flavors,
|
|
106
|
-
and defined templates.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mat3ra/ade",
|
|
3
|
-
"version": "2025.
|
|
3
|
+
"version": "2025.11.7-0",
|
|
4
4
|
"description": "Application DEfinitions",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "nyc --reporter=text mocha --recursive --bail tests/js/**/*.ts",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"test:coverage:html": "nyc --reporter=html mocha --recursive --bail tests/js/**/*.ts",
|
|
9
9
|
"test:coverage:check": "nyc --reporter=text --check-coverage mocha --recursive --bail tests/js/**/*.ts",
|
|
10
10
|
"test:coverage:view": "node scripts/view-coverage.js",
|
|
11
|
-
"lint": "eslint src tests && prettier --write src tests",
|
|
12
|
-
"lint:fix": "eslint --fix --cache src tests && prettier --write src tests",
|
|
11
|
+
"lint": "eslint src/js tests/js && prettier --write src/js tests/js",
|
|
12
|
+
"lint:fix": "eslint --fix --cache src/js tests/js && prettier --write src/js tests/js",
|
|
13
13
|
"transpile": "tsc -p tsconfig-transpile.json",
|
|
14
|
-
"prettier": "prettier --check src tests",
|
|
14
|
+
"prettier": "prettier --check src/js tests/js",
|
|
15
15
|
"prepare": "husky install"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
@@ -82,7 +82,13 @@
|
|
|
82
82
|
"node": ">=20.0.0"
|
|
83
83
|
},
|
|
84
84
|
"lint-staged": {
|
|
85
|
-
"
|
|
86
|
-
|
|
85
|
+
"src/js/**/*.{js,ts}": [
|
|
86
|
+
"eslint --cache --fix",
|
|
87
|
+
"prettier --write"
|
|
88
|
+
],
|
|
89
|
+
"tests/js/**/*.{js,ts}": [
|
|
90
|
+
"eslint --cache --fix",
|
|
91
|
+
"prettier --write"
|
|
92
|
+
]
|
|
87
93
|
}
|
|
88
94
|
}
|