not-node 6.1.2 → 6.1.3

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.
Files changed (66) hide show
  1. package/.vscode/launch.json +19 -0
  2. package/bin/not-cli.mjs +3 -8
  3. package/package.json +1 -1
  4. package/src/cli/readers/hostname.mjs +1 -1
  5. package/src/cli/readers/user.mjs +8 -1
  6. package/src/init/lib/modules.js +1 -2
  7. package/src/init/lib/routes.js +4 -1
  8. package/tmpl/files/app/app.ejs +3 -0
  9. package/playground/.babelrc +0 -11
  10. package/playground/.eslintignore +0 -4
  11. package/playground/.eslintrc.json +0 -23
  12. package/playground/app/front/build/admin.css +0 -2
  13. package/playground/app/front/build/admin.js +0 -52427
  14. package/playground/app/front/build/client.css +0 -2
  15. package/playground/app/front/build/client.js +0 -52427
  16. package/playground/app/front/build/guest.css +0 -2
  17. package/playground/app/front/build/guest.js +0 -50907
  18. package/playground/app/front/build/root.css +0 -2
  19. package/playground/app/front/build/root.js +0 -60023
  20. package/playground/app/front/build/user.css +0 -2
  21. package/playground/app/front/build/user.js +0 -52425
  22. package/playground/app/front/build.env.js +0 -15
  23. package/playground/app/front/index.!.js +0 -64
  24. package/playground/app/front/index.admin.js +0 -160
  25. package/playground/app/front/index.client.js +0 -160
  26. package/playground/app/front/index.guest.js +0 -160
  27. package/playground/app/front/index.root.js +0 -224
  28. package/playground/app/front/index.user.js +0 -160
  29. package/playground/app/front/rollup.!.js +0 -70
  30. package/playground/app/front/rollup.admin.js +0 -70
  31. package/playground/app/front/rollup.client.js +0 -70
  32. package/playground/app/front/rollup.guest.js +0 -70
  33. package/playground/app/front/rollup.root.js +0 -70
  34. package/playground/app/front/rollup.user.js +0 -70
  35. package/playground/app/front/src/admin/main/index.js +0 -45
  36. package/playground/app/front/src/client/main/index.js +0 -45
  37. package/playground/app/front/src/common/index.js +0 -39
  38. package/playground/app/front/src/common/ncInit.js +0 -18
  39. package/playground/app/front/src/common/ws.client.main.js +0 -35
  40. package/playground/app/front/src/guest/main/index.js +0 -34
  41. package/playground/app/front/src/root/main/index.js +0 -45
  42. package/playground/app/front/src/user/main/index.js +0 -45
  43. package/playground/app/server/app.js +0 -22
  44. package/playground/app/server/config/common.json +0 -99
  45. package/playground/app/server/config/development.json +0 -33
  46. package/playground/app/server/config/production.json +0 -33
  47. package/playground/app/server/config/stage.json +0 -33
  48. package/playground/app/server/index.js +0 -20
  49. package/playground/app/server/routes/index.js +0 -34
  50. package/playground/app/server/routes/site.js +0 -71
  51. package/playground/app/server/views/admin/foot.pug +0 -1
  52. package/playground/app/server/views/admin/head.pug +0 -7
  53. package/playground/app/server/views/admin/menu.pug +0 -2
  54. package/playground/app/server/views/admin.pug +0 -19
  55. package/playground/app/server/views/dashboard.pug +0 -20
  56. package/playground/app/server/views/index.pug +0 -15
  57. package/playground/app/server/views/parts/header.android.pug +0 -6
  58. package/playground/app/server/views/parts/header.ios.pug +0 -5
  59. package/playground/app/server/views/parts/header.pug +0 -18
  60. package/playground/app/server/views/parts/menu.pug +0 -1
  61. package/playground/app/server/views/parts/overview.pug +0 -2
  62. package/playground/app/server/ws/auth.js +0 -41
  63. package/playground/app/server/ws/index.js +0 -84
  64. package/playground/bin/build.sh +0 -8
  65. package/playground/package.json +0 -85
  66. package/playground/project.manifest.json +0 -37
@@ -1,15 +0,0 @@
1
-
2
- let replaceSets = {
3
- development: {},
4
- production: {},
5
- stage: {},
6
- };
7
-
8
- let babelOn = () => {
9
- return ['production', 'stage', 'development'].indexOf(process.env.NODE_ENV) > -1;
10
- };
11
-
12
- export {
13
- babelOn,
14
- replaceSets
15
- };
@@ -1,64 +0,0 @@
1
-
2
-
3
- import {
4
- Frame
5
- } from 'not-bulma';
6
-
7
- const {notCommon, notApp, COMPONENTS} = Frame;
8
-
9
- notCommon.register('backlog', true);
10
- window.dumpBacklog = notCommon.dumpBacklog.bind(notCommon);
11
-
12
- let appDefaultOptions = {
13
- manifestURL: '/api/manifest',
14
- router: {
15
- root: '/',
16
- manifest: [],
17
- index: ''
18
- },
19
- language: 'ru',
20
- crud: {
21
- navigateBackAfter: ['create', 'update', 'delete']
22
- },
23
- modules: {
24
- user: {
25
- redirectTimout: 1000,
26
- afterLoginURL: '/dashboard',
27
- loginForm: {
28
- modes: [
29
- 'login',
30
- 'requestLoginCodeOnEmail',
31
- 'loginByCode'
32
- ]
33
- },
34
- loginFormContainerSelector: '.main-container',
35
- restoreFormContainerSelector: '.main-container',
36
- registerFormContainerSelector: '.main-container'
37
- }
38
- }
39
- };
40
-
41
- let services = {}, uis = {}, wsc = {}, fields = {};
42
-
43
- <% for(var i = 0; i < mods.length; i++) { %>
44
- import * as mod_<%= i %>
45
- from '<%= mods[i] %>';
46
- appDefaultOptions = notCommon.absorbModule({
47
- defaultConf: appDefaultOptions,
48
- mod: mod_<%= i %>,
49
- services, uis, wsc, fields
50
- });
51
- <% } %>
52
-
53
- COMPONENTS.import(uis);
54
-
55
- import 'bulma';
56
-
57
- <% for(var i = 0; i < scss.length; i++) { %>
58
- import '<%= scss[i] %>';
59
- <% } %>
60
-
61
- appDefaultOptions.services = services;
62
- appDefaultOptions.wsc = wsc;
63
-
64
- notCommon.startApp(() => new notApp(appDefaultOptions));
@@ -1,160 +0,0 @@
1
-
2
-
3
- import {
4
- Frame
5
- } from 'not-bulma';
6
-
7
- const {notCommon, notApp, COMPONENTS} = Frame;
8
-
9
- notCommon.register('backlog', true);
10
- window.dumpBacklog = notCommon.dumpBacklog.bind(notCommon);
11
-
12
- let appDefaultOptions = {
13
- manifestURL: '/api/manifest',
14
- router: {
15
- root: '/',
16
- manifest: [],
17
- index: ''
18
- },
19
- language: 'ru',
20
- crud: {
21
- navigateBackAfter: ['create', 'update', 'delete']
22
- },
23
- modules: {
24
- user: {
25
- redirectTimout: 1000,
26
- afterLoginURL: '/dashboard',
27
- loginForm: {
28
- modes: [
29
- 'login',
30
- 'requestLoginCodeOnEmail',
31
- 'loginByCode'
32
- ]
33
- },
34
- loginFormContainerSelector: '.main-container',
35
- restoreFormContainerSelector: '.main-container',
36
- registerFormContainerSelector: '.main-container'
37
- }
38
- }
39
- };
40
-
41
- let services = {}, uis = {}, wsc = {}, fields = {};
42
-
43
-
44
- import * as mod_0
45
- from '/var/server/nn/playground/node_modules/not-options/src/controllers/common';
46
- appDefaultOptions = notCommon.absorbModule({
47
- defaultConf: appDefaultOptions,
48
- mod: mod_0,
49
- services, uis, wsc, fields
50
- });
51
-
52
- import * as mod_1
53
- from '/var/server/nn/playground/node_modules/not-filter/src/controllers/common';
54
- appDefaultOptions = notCommon.absorbModule({
55
- defaultConf: appDefaultOptions,
56
- mod: mod_1,
57
- services, uis, wsc, fields
58
- });
59
-
60
- import * as mod_2
61
- from '/var/server/nn/playground/node_modules/not-notification/src/controllers/admin';
62
- appDefaultOptions = notCommon.absorbModule({
63
- defaultConf: appDefaultOptions,
64
- mod: mod_2,
65
- services, uis, wsc, fields
66
- });
67
-
68
- import * as mod_3
69
- from '/var/server/nn/playground/node_modules/not-locale/src/controllers/common';
70
- appDefaultOptions = notCommon.absorbModule({
71
- defaultConf: appDefaultOptions,
72
- mod: mod_3,
73
- services, uis, wsc, fields
74
- });
75
-
76
- import * as mod_4
77
- from '/var/server/nn/playground/node_modules/not-key/src/controllers/common';
78
- appDefaultOptions = notCommon.absorbModule({
79
- defaultConf: appDefaultOptions,
80
- mod: mod_4,
81
- services, uis, wsc, fields
82
- });
83
-
84
- import * as mod_5
85
- from '/var/server/nn/playground/node_modules/not-ws/src/controllers/common';
86
- appDefaultOptions = notCommon.absorbModule({
87
- defaultConf: appDefaultOptions,
88
- mod: mod_5,
89
- services, uis, wsc, fields
90
- });
91
-
92
- import * as mod_6
93
- from '/var/server/nn/playground/node_modules/not-store/src/controllers/common';
94
- appDefaultOptions = notCommon.absorbModule({
95
- defaultConf: appDefaultOptions,
96
- mod: mod_6,
97
- services, uis, wsc, fields
98
- });
99
-
100
- import * as mod_7
101
- from '/var/server/nn/playground/node_modules/not-dbdump/src/controllers/common';
102
- appDefaultOptions = notCommon.absorbModule({
103
- defaultConf: appDefaultOptions,
104
- mod: mod_7,
105
- services, uis, wsc, fields
106
- });
107
-
108
- import * as mod_8
109
- from '/var/server/nn/playground/node_modules/not-user/src/controllers/admin';
110
- appDefaultOptions = notCommon.absorbModule({
111
- defaultConf: appDefaultOptions,
112
- mod: mod_8,
113
- services, uis, wsc, fields
114
- });
115
-
116
- import * as mod_9
117
- from '/var/server/nn/playground/node_modules/not-user/src/controllers/common';
118
- appDefaultOptions = notCommon.absorbModule({
119
- defaultConf: appDefaultOptions,
120
- mod: mod_9,
121
- services, uis, wsc, fields
122
- });
123
-
124
- import * as mod_10
125
- from '/var/server/nn/playground/node_modules/not-error/src/controllers/common';
126
- appDefaultOptions = notCommon.absorbModule({
127
- defaultConf: appDefaultOptions,
128
- mod: mod_10,
129
- services, uis, wsc, fields
130
- });
131
-
132
- import * as mod_11
133
- from '/var/server/nn/playground/app/front/src/common';
134
- appDefaultOptions = notCommon.absorbModule({
135
- defaultConf: appDefaultOptions,
136
- mod: mod_11,
137
- services, uis, wsc, fields
138
- });
139
-
140
- import * as mod_12
141
- from '/var/server/nn/playground/app/front/src/admin/main';
142
- appDefaultOptions = notCommon.absorbModule({
143
- defaultConf: appDefaultOptions,
144
- mod: mod_12,
145
- services, uis, wsc, fields
146
- });
147
-
148
-
149
- COMPONENTS.import(uis);
150
-
151
- import 'bulma';
152
-
153
-
154
- import '/var/server/nn/playground/node_modules/not-user/src/styles/common/common.scss';
155
-
156
-
157
- appDefaultOptions.services = services;
158
- appDefaultOptions.wsc = wsc;
159
-
160
- notCommon.startApp(() => new notApp(appDefaultOptions));
@@ -1,160 +0,0 @@
1
-
2
-
3
- import {
4
- Frame
5
- } from 'not-bulma';
6
-
7
- const {notCommon, notApp, COMPONENTS} = Frame;
8
-
9
- notCommon.register('backlog', true);
10
- window.dumpBacklog = notCommon.dumpBacklog.bind(notCommon);
11
-
12
- let appDefaultOptions = {
13
- manifestURL: '/api/manifest',
14
- router: {
15
- root: '/',
16
- manifest: [],
17
- index: ''
18
- },
19
- language: 'ru',
20
- crud: {
21
- navigateBackAfter: ['create', 'update', 'delete']
22
- },
23
- modules: {
24
- user: {
25
- redirectTimout: 1000,
26
- afterLoginURL: '/dashboard',
27
- loginForm: {
28
- modes: [
29
- 'login',
30
- 'requestLoginCodeOnEmail',
31
- 'loginByCode'
32
- ]
33
- },
34
- loginFormContainerSelector: '.main-container',
35
- restoreFormContainerSelector: '.main-container',
36
- registerFormContainerSelector: '.main-container'
37
- }
38
- }
39
- };
40
-
41
- let services = {}, uis = {}, wsc = {}, fields = {};
42
-
43
-
44
- import * as mod_0
45
- from '/var/server/nn/playground/node_modules/not-options/src/controllers/common';
46
- appDefaultOptions = notCommon.absorbModule({
47
- defaultConf: appDefaultOptions,
48
- mod: mod_0,
49
- services, uis, wsc, fields
50
- });
51
-
52
- import * as mod_1
53
- from '/var/server/nn/playground/node_modules/not-filter/src/controllers/common';
54
- appDefaultOptions = notCommon.absorbModule({
55
- defaultConf: appDefaultOptions,
56
- mod: mod_1,
57
- services, uis, wsc, fields
58
- });
59
-
60
- import * as mod_2
61
- from '/var/server/nn/playground/node_modules/not-notification/src/controllers/client';
62
- appDefaultOptions = notCommon.absorbModule({
63
- defaultConf: appDefaultOptions,
64
- mod: mod_2,
65
- services, uis, wsc, fields
66
- });
67
-
68
- import * as mod_3
69
- from '/var/server/nn/playground/node_modules/not-locale/src/controllers/common';
70
- appDefaultOptions = notCommon.absorbModule({
71
- defaultConf: appDefaultOptions,
72
- mod: mod_3,
73
- services, uis, wsc, fields
74
- });
75
-
76
- import * as mod_4
77
- from '/var/server/nn/playground/node_modules/not-key/src/controllers/common';
78
- appDefaultOptions = notCommon.absorbModule({
79
- defaultConf: appDefaultOptions,
80
- mod: mod_4,
81
- services, uis, wsc, fields
82
- });
83
-
84
- import * as mod_5
85
- from '/var/server/nn/playground/node_modules/not-ws/src/controllers/common';
86
- appDefaultOptions = notCommon.absorbModule({
87
- defaultConf: appDefaultOptions,
88
- mod: mod_5,
89
- services, uis, wsc, fields
90
- });
91
-
92
- import * as mod_6
93
- from '/var/server/nn/playground/node_modules/not-store/src/controllers/common';
94
- appDefaultOptions = notCommon.absorbModule({
95
- defaultConf: appDefaultOptions,
96
- mod: mod_6,
97
- services, uis, wsc, fields
98
- });
99
-
100
- import * as mod_7
101
- from '/var/server/nn/playground/node_modules/not-dbdump/src/controllers/common';
102
- appDefaultOptions = notCommon.absorbModule({
103
- defaultConf: appDefaultOptions,
104
- mod: mod_7,
105
- services, uis, wsc, fields
106
- });
107
-
108
- import * as mod_8
109
- from '/var/server/nn/playground/node_modules/not-user/src/controllers/client';
110
- appDefaultOptions = notCommon.absorbModule({
111
- defaultConf: appDefaultOptions,
112
- mod: mod_8,
113
- services, uis, wsc, fields
114
- });
115
-
116
- import * as mod_9
117
- from '/var/server/nn/playground/node_modules/not-user/src/controllers/common';
118
- appDefaultOptions = notCommon.absorbModule({
119
- defaultConf: appDefaultOptions,
120
- mod: mod_9,
121
- services, uis, wsc, fields
122
- });
123
-
124
- import * as mod_10
125
- from '/var/server/nn/playground/node_modules/not-error/src/controllers/common';
126
- appDefaultOptions = notCommon.absorbModule({
127
- defaultConf: appDefaultOptions,
128
- mod: mod_10,
129
- services, uis, wsc, fields
130
- });
131
-
132
- import * as mod_11
133
- from '/var/server/nn/playground/app/front/src/common';
134
- appDefaultOptions = notCommon.absorbModule({
135
- defaultConf: appDefaultOptions,
136
- mod: mod_11,
137
- services, uis, wsc, fields
138
- });
139
-
140
- import * as mod_12
141
- from '/var/server/nn/playground/app/front/src/client/main';
142
- appDefaultOptions = notCommon.absorbModule({
143
- defaultConf: appDefaultOptions,
144
- mod: mod_12,
145
- services, uis, wsc, fields
146
- });
147
-
148
-
149
- COMPONENTS.import(uis);
150
-
151
- import 'bulma';
152
-
153
-
154
- import '/var/server/nn/playground/node_modules/not-user/src/styles/common/common.scss';
155
-
156
-
157
- appDefaultOptions.services = services;
158
- appDefaultOptions.wsc = wsc;
159
-
160
- notCommon.startApp(() => new notApp(appDefaultOptions));
@@ -1,160 +0,0 @@
1
-
2
-
3
- import {
4
- Frame
5
- } from 'not-bulma';
6
-
7
- const {notCommon, notApp, COMPONENTS} = Frame;
8
-
9
- notCommon.register('backlog', true);
10
- window.dumpBacklog = notCommon.dumpBacklog.bind(notCommon);
11
-
12
- let appDefaultOptions = {
13
- manifestURL: '/api/manifest',
14
- router: {
15
- root: '/',
16
- manifest: [],
17
- index: ''
18
- },
19
- language: 'ru',
20
- crud: {
21
- navigateBackAfter: ['create', 'update', 'delete']
22
- },
23
- modules: {
24
- user: {
25
- redirectTimout: 1000,
26
- afterLoginURL: '/dashboard',
27
- loginForm: {
28
- modes: [
29
- 'login',
30
- 'requestLoginCodeOnEmail',
31
- 'loginByCode'
32
- ]
33
- },
34
- loginFormContainerSelector: '.main-container',
35
- restoreFormContainerSelector: '.main-container',
36
- registerFormContainerSelector: '.main-container'
37
- }
38
- }
39
- };
40
-
41
- let services = {}, uis = {}, wsc = {}, fields = {};
42
-
43
-
44
- import * as mod_0
45
- from '/var/server/nn/playground/node_modules/not-options/src/controllers/common';
46
- appDefaultOptions = notCommon.absorbModule({
47
- defaultConf: appDefaultOptions,
48
- mod: mod_0,
49
- services, uis, wsc, fields
50
- });
51
-
52
- import * as mod_1
53
- from '/var/server/nn/playground/node_modules/not-filter/src/controllers/common';
54
- appDefaultOptions = notCommon.absorbModule({
55
- defaultConf: appDefaultOptions,
56
- mod: mod_1,
57
- services, uis, wsc, fields
58
- });
59
-
60
- import * as mod_2
61
- from '/var/server/nn/playground/node_modules/not-notification/src/controllers/guest';
62
- appDefaultOptions = notCommon.absorbModule({
63
- defaultConf: appDefaultOptions,
64
- mod: mod_2,
65
- services, uis, wsc, fields
66
- });
67
-
68
- import * as mod_3
69
- from '/var/server/nn/playground/node_modules/not-locale/src/controllers/common';
70
- appDefaultOptions = notCommon.absorbModule({
71
- defaultConf: appDefaultOptions,
72
- mod: mod_3,
73
- services, uis, wsc, fields
74
- });
75
-
76
- import * as mod_4
77
- from '/var/server/nn/playground/node_modules/not-key/src/controllers/common';
78
- appDefaultOptions = notCommon.absorbModule({
79
- defaultConf: appDefaultOptions,
80
- mod: mod_4,
81
- services, uis, wsc, fields
82
- });
83
-
84
- import * as mod_5
85
- from '/var/server/nn/playground/node_modules/not-ws/src/controllers/common';
86
- appDefaultOptions = notCommon.absorbModule({
87
- defaultConf: appDefaultOptions,
88
- mod: mod_5,
89
- services, uis, wsc, fields
90
- });
91
-
92
- import * as mod_6
93
- from '/var/server/nn/playground/node_modules/not-store/src/controllers/common';
94
- appDefaultOptions = notCommon.absorbModule({
95
- defaultConf: appDefaultOptions,
96
- mod: mod_6,
97
- services, uis, wsc, fields
98
- });
99
-
100
- import * as mod_7
101
- from '/var/server/nn/playground/node_modules/not-dbdump/src/controllers/common';
102
- appDefaultOptions = notCommon.absorbModule({
103
- defaultConf: appDefaultOptions,
104
- mod: mod_7,
105
- services, uis, wsc, fields
106
- });
107
-
108
- import * as mod_8
109
- from '/var/server/nn/playground/node_modules/not-user/src/controllers/guest';
110
- appDefaultOptions = notCommon.absorbModule({
111
- defaultConf: appDefaultOptions,
112
- mod: mod_8,
113
- services, uis, wsc, fields
114
- });
115
-
116
- import * as mod_9
117
- from '/var/server/nn/playground/node_modules/not-user/src/controllers/common';
118
- appDefaultOptions = notCommon.absorbModule({
119
- defaultConf: appDefaultOptions,
120
- mod: mod_9,
121
- services, uis, wsc, fields
122
- });
123
-
124
- import * as mod_10
125
- from '/var/server/nn/playground/node_modules/not-error/src/controllers/common';
126
- appDefaultOptions = notCommon.absorbModule({
127
- defaultConf: appDefaultOptions,
128
- mod: mod_10,
129
- services, uis, wsc, fields
130
- });
131
-
132
- import * as mod_11
133
- from '/var/server/nn/playground/app/front/src/common';
134
- appDefaultOptions = notCommon.absorbModule({
135
- defaultConf: appDefaultOptions,
136
- mod: mod_11,
137
- services, uis, wsc, fields
138
- });
139
-
140
- import * as mod_12
141
- from '/var/server/nn/playground/app/front/src/guest/main';
142
- appDefaultOptions = notCommon.absorbModule({
143
- defaultConf: appDefaultOptions,
144
- mod: mod_12,
145
- services, uis, wsc, fields
146
- });
147
-
148
-
149
- COMPONENTS.import(uis);
150
-
151
- import 'bulma';
152
-
153
-
154
- import '/var/server/nn/playground/node_modules/not-user/src/styles/common/common.scss';
155
-
156
-
157
- appDefaultOptions.services = services;
158
- appDefaultOptions.wsc = wsc;
159
-
160
- notCommon.startApp(() => new notApp(appDefaultOptions));