@dhis2/expression-parser 1.1.0-beta.7 → 1.1.0-beta.9
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 +21 -0
- package/kotlin-kotlin-stdlib.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,3 +46,24 @@ To select which expression is used the `Expression` is parameterized with a `Mod
|
|
|
46
46
|
* `PROGRAM_INDICATOR_EXPRESSION`: Computes a number for a program indicator expression (persisted aggregate data computation)
|
|
47
47
|
* `RULE_ENGINE_CONDITION`: Computes a boolean to check if a rule applies
|
|
48
48
|
* `RULE_ENGINE_ACTION`: Computes a boolean, string, number or date from a rule
|
|
49
|
+
|
|
50
|
+
## Development
|
|
51
|
+
This library implements the semantic release setup, which means that version numbers are not manually maintained but
|
|
52
|
+
derived from the commit/PR history.
|
|
53
|
+
|
|
54
|
+
Branches:
|
|
55
|
+
- `main`: a push to `main` branch will trigger a new production release (both Maven and NPMJS).
|
|
56
|
+
- `beta`: a push to `beta` branch will trigger a SNAPSHOT release in Maven and a new beta release in NPMJS.
|
|
57
|
+
|
|
58
|
+
Version number are determined by the presence of commits with these suffixes:
|
|
59
|
+
- `fix:`: it will increase the patch number.
|
|
60
|
+
- `feat:`: it will increase the minor version number.
|
|
61
|
+
- `feat!:`: it will increase the major version number.
|
|
62
|
+
|
|
63
|
+
If there is not any commit with any of this tags between the previous version and the current commit, nothing will be published.
|
|
64
|
+
|
|
65
|
+
Typical workflow:
|
|
66
|
+
1. Do work in a feature branch. There is no need to add tags to the commits.
|
|
67
|
+
2. Create a PR to `beta` branch including a tag in the PR title depending on the kind of changes.
|
|
68
|
+
3. Merge the PR using **Squash and merge**. It will publish a SNAPSHOT/BETA release if there is a version change.
|
|
69
|
+
4. Create a PR to `main` branch. Once merged, it will publish a production release.
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -111,7 +111,7 @@ setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta
|
|
|
111
111
|
setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta);
|
|
112
112
|
setMetadataFor(ListIteratorImpl, 'ListIteratorImpl', classMeta, IteratorImpl);
|
|
113
113
|
setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
|
|
114
|
-
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection,
|
|
114
|
+
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, List, Collection]);
|
|
115
115
|
setMetadataFor(Map_0, 'Map', interfaceMeta);
|
|
116
116
|
setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map_0]);
|
|
117
117
|
setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map_0]);
|
|
@@ -119,7 +119,7 @@ setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
|
|
|
119
119
|
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Set, Collection]);
|
|
120
120
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
121
121
|
setMetadataFor(RandomAccess, 'RandomAccess', interfaceMeta);
|
|
122
|
-
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList,
|
|
122
|
+
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, List, Collection, RandomAccess], ArrayList_init_$Create$);
|
|
123
123
|
setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map_0], HashMap_init_$Create$);
|
|
124
124
|
setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [Set, Collection, AbstractMutableSet]);
|
|
125
125
|
setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [Set, Collection, AbstractMutableSet]);
|