aleman 2.0.1 → 2.0.2
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/ChangeLog +6 -0
- package/README.md +2 -2
- package/menu/importmap.js +1 -1
- package/menu/rules/set-position/index.js +1 -0
- package/menu/rules/submenu/index.js +1 -0
- package/nemo/addons/index.js +3 -1
- package/nemo/addons/up.js +1 -0
- package/nemo/addons/up.json +5 -0
- package/nemo/rules/set-position/index.js +1 -0
- package/nemo/rules/submenu/index.js +1 -0
- package/package.json +3 -3
package/ChangeLog
CHANGED
package/README.md
CHANGED
|
@@ -27,12 +27,12 @@ Aleman supports two main concepts:
|
|
|
27
27
|
- ✅ addons - events;
|
|
28
28
|
- ✅ rules - 🐊**Putout** rules that changes HTML;
|
|
29
29
|
|
|
30
|
-
All interaction with DOM made using rules, and we interact not with DOM directly, but with JSX AST.
|
|
30
|
+
All interaction with DOM made by using the rules, and we interact not with DOM directly, but with JSX AST.
|
|
31
31
|
It makes testing simple, states predictable and independent.
|
|
32
32
|
|
|
33
33
|
### Addons
|
|
34
34
|
|
|
35
|
-
Addon responsible for UI and
|
|
35
|
+
Addon responsible for UI and interaction with outer world: clicks, fetches and everything like this.
|
|
36
36
|
Aleman supports next types of addons:
|
|
37
37
|
|
|
38
38
|
- ✅ [Global](#globals);
|
package/menu/importmap.js
CHANGED
package/nemo/addons/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as click from './click/click.js';
|
|
2
2
|
import * as escape from './escape/escape.js';
|
|
3
3
|
import * as down from './down/down.js';
|
|
4
|
-
import * as up from './up.js';
|
|
5
4
|
import * as enter from './enter/enter.js';
|
|
6
5
|
import * as left from './left.js';
|
|
7
6
|
import * as right from './right.js';
|
|
@@ -9,6 +8,9 @@ import * as shiftG from './shift-g/shift-g.js';
|
|
|
9
8
|
import * as gg from './gg/gg.js';
|
|
10
9
|
import * as j from './j/j.js';
|
|
11
10
|
import * as k from './k/k.js';
|
|
11
|
+
import up from './up.json' with {
|
|
12
|
+
type: 'json',
|
|
13
|
+
};
|
|
12
14
|
|
|
13
15
|
export const addons = [
|
|
14
16
|
click,
|
package/nemo/addons/up.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aleman",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "🐊Putout-based framework for web",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"eslint-plugin-putout": "^31.1.2",
|
|
50
50
|
"just-kebab-case": "^4.2.0",
|
|
51
51
|
"madrun": "^13.0.1",
|
|
52
|
-
"montag": "^
|
|
52
|
+
"montag": "^2.0.1",
|
|
53
53
|
"nodemon": "^3.0.1",
|
|
54
54
|
"superc8": "^12.3.1",
|
|
55
|
-
"supertape": "^
|
|
55
|
+
"supertape": "^13.2.0",
|
|
56
56
|
"try-catch": "^4.0.7"
|
|
57
57
|
},
|
|
58
58
|
"license": "MIT",
|