@digigov/nextjs 0.6.1 → 0.6.3-alpha

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 (56) hide show
  1. package/.eslintrc.js +3 -0
  2. package/.prettierrc.js +3 -0
  3. package/.rush/temp/package-deps_build.json +21 -0
  4. package/.rush/temp/shrinkwrap-deps.json +334 -0
  5. package/CHANGELOG.json +918 -0
  6. package/CHANGELOG.md +8 -1
  7. package/{App.js → dist/App.js} +1 -9
  8. package/dist/CHANGELOG.md +248 -0
  9. package/{Document.js → dist/Document.js} +0 -0
  10. package/{Image.js → dist/Image.js} +0 -0
  11. package/{LICENSE → dist/LICENSE} +0 -0
  12. package/{Link.js → dist/Link.js} +0 -0
  13. package/dist/README.md +52 -0
  14. package/{es → dist/es}/App.js +1 -8
  15. package/{es → dist/es}/Document.js +0 -0
  16. package/{es → dist/es}/Image.js +0 -0
  17. package/{es → dist/es}/Link.js +0 -0
  18. package/{es → dist/es}/hooks.js +0 -0
  19. package/{es → dist/es}/i18n.js +0 -0
  20. package/{es → dist/es}/index.js +0 -0
  21. package/{esm → dist/esm}/App.js +1 -8
  22. package/{esm → dist/esm}/Document.js +0 -0
  23. package/{esm → dist/esm}/Image.js +0 -0
  24. package/{esm → dist/esm}/Link.js +0 -0
  25. package/{esm → dist/esm}/hooks.js +0 -0
  26. package/{esm → dist/esm}/i18n.js +0 -0
  27. package/{esm → dist/esm}/index.js +1 -1
  28. package/{hooks.js → dist/hooks.js} +0 -0
  29. package/{i18n.js → dist/i18n.js} +0 -0
  30. package/{index.js → dist/index.js} +0 -0
  31. package/{libs → dist/libs}/nextjs/src/App.d.ts +0 -2
  32. package/{libs → dist/libs}/nextjs/src/Document.d.ts +0 -0
  33. package/{libs → dist/libs}/nextjs/src/Image.d.ts +0 -0
  34. package/{libs → dist/libs}/nextjs/src/Link.d.ts +0 -0
  35. package/{libs → dist/libs}/nextjs/src/hooks.d.ts +0 -0
  36. package/{libs → dist/libs}/nextjs/src/i18n.d.ts +0 -0
  37. package/{libs → dist/libs}/nextjs/src/index.d.ts +0 -0
  38. package/dist/libs/ui/src/app/App.d.ts +7 -0
  39. package/{libs → dist/libs}/ui/src/app/i18n.d.ts +2 -2
  40. package/{libs → dist/libs}/ui/src/core/Link/index.d.ts +0 -0
  41. package/{libs → dist/libs}/ui/src/locales/el.d.ts +8 -1
  42. package/{libs-ui → dist/libs-ui}/react-core/src/Base/index.d.ts +0 -0
  43. package/{libs-ui → dist/libs-ui}/react-core/src/Link/index.d.ts +0 -0
  44. package/dist/package.json +26 -0
  45. package/nextjs.build.log +17 -0
  46. package/package.json +38 -25
  47. package/src/App.tsx +52 -0
  48. package/src/Document.tsx +86 -0
  49. package/src/Image.tsx +10 -0
  50. package/src/Link.tsx +33 -0
  51. package/src/hooks.ts +6 -0
  52. package/src/i18n.tsx +18 -0
  53. package/src/index.ts +0 -0
  54. package/tsconfig.json +14 -0
  55. package/libs/ui/src/app/App.d.ts +0 -14
  56. package/libs/ui/src/themes/govgr.d.ts +0 -3
package/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log - @digigov/nextjs
2
2
 
3
- This log was last generated on Wed, 31 Aug 2022 16:10:12 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 06 Sep 2022 08:27:15 GMT and should not be manually modified.
4
+
5
+ ## 0.6.2
6
+ Tue, 06 Sep 2022 08:27:15 GMT
7
+
8
+ ### Patches
9
+
10
+ - remove theme material-ui from App.tsx
4
11
 
5
12
  ## 0.6.1
6
13
  Wed, 31 Aug 2022 16:10:12 GMT
@@ -29,8 +29,6 @@ var _Link = require("@digigov/ui/core/Link");
29
29
 
30
30
  var _Link2 = _interopRequireDefault(require("@digigov/nextjs/Link"));
31
31
 
32
- var _govgr = _interopRequireDefault(require("@digigov/ui/themes/govgr"));
33
-
34
32
  var _dynamic = _interopRequireDefault(require("next/dynamic"));
35
33
 
36
34
  var _i18n = require("@digigov/ui/app/i18n");
@@ -84,7 +82,6 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
84
82
  var _this$props = this.props,
85
83
  Component = _this$props.Component,
86
84
  pageProps = _this$props.pageProps,
87
- theme = _this$props.theme,
88
85
  _t = _this$props.t,
89
86
  i18n = _this$props.i18n;
90
87
  return /*#__PURE__*/_react["default"].createElement(_i18n.I18NProvider, {
@@ -94,17 +91,12 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
94
91
  i18n: i18n
95
92
  }, /*#__PURE__*/_react["default"].createElement(_Link.LinkProvider, {
96
93
  component: _Link2["default"]
97
- }, _ref, /*#__PURE__*/_react["default"].createElement(DigiGOVApp, {
98
- theme: theme
99
- }, /*#__PURE__*/_react["default"].createElement(Component, pageProps))));
94
+ }, _ref, /*#__PURE__*/_react["default"].createElement(DigiGOVApp, null, /*#__PURE__*/_react["default"].createElement(Component, pageProps))));
100
95
  }
101
96
  }]);
102
97
  return DigiGOVNextApp;
103
98
  }(_app["default"]);
104
99
 
105
100
  var DigiGOVNextAppWithTranslation = (0, _reactI18next.withTranslation)()(DigiGOVNextApp);
106
- DigiGOVNextAppWithTranslation.defaultProps = {
107
- theme: _govgr["default"]
108
- };
109
101
  var _default = DigiGOVNextAppWithTranslation;
110
102
  exports["default"] = _default;
@@ -0,0 +1,248 @@
1
+ # Change Log - @digigov/nextjs
2
+
3
+ This log was last generated on Tue, 06 Sep 2022 08:27:15 GMT and should not be manually modified.
4
+
5
+ ## 0.6.2
6
+ Tue, 06 Sep 2022 08:27:15 GMT
7
+
8
+ ### Patches
9
+
10
+ - remove theme material-ui from App.tsx
11
+
12
+ ## 0.6.1
13
+ Wed, 31 Aug 2022 16:10:12 GMT
14
+
15
+ _Version update only_
16
+
17
+ ## 0.6.0
18
+ Tue, 16 Aug 2022 14:59:01 GMT
19
+
20
+ ### Minor changes
21
+
22
+ - add new Image wrapper with built-in basePath support
23
+
24
+ ## 0.5.4
25
+ Wed, 08 Jun 2022 13:32:34 GMT
26
+
27
+ ### Patches
28
+
29
+ - Fix i18NProvider string interpolation support
30
+
31
+ ## 0.5.3
32
+ Tue, 17 May 2022 11:04:22 GMT
33
+
34
+ _Version update only_
35
+
36
+ ## 0.5.2
37
+ Mon, 16 May 2022 14:42:45 GMT
38
+
39
+ ### Patches
40
+
41
+ - Change MIT License to BSD-2-Clause
42
+
43
+ ## 0.5.1
44
+ Tue, 19 Apr 2022 12:17:34 GMT
45
+
46
+ ### Patches
47
+
48
+ - Fix a bug where using target=_blank would not open the link at all. Now it opens in a new window using our CoreLink.
49
+
50
+ ## 0.5.0
51
+ Mon, 18 Apr 2022 13:00:33 GMT
52
+
53
+ ### Minor changes
54
+
55
+ - Upgrade @types/node version
56
+
57
+ ## 0.4.6
58
+ Thu, 14 Apr 2022 12:32:51 GMT
59
+
60
+ _Version update only_
61
+
62
+ ## 0.4.5
63
+ Wed, 30 Mar 2022 13:17:56 GMT
64
+
65
+ ### Patches
66
+
67
+ - incorrect regex pattern was causing build failure
68
+
69
+ ## 0.4.4
70
+ Wed, 30 Mar 2022 12:28:30 GMT
71
+
72
+ ### Patches
73
+
74
+ - allow file links to be used with internal Nextjs router
75
+
76
+ ## 0.4.2
77
+ Thu, 24 Feb 2022 14:51:06 GMT
78
+
79
+ _Version update only_
80
+
81
+ ## 0.4.1
82
+ Wed, 16 Feb 2022 12:49:28 GMT
83
+
84
+ _Version update only_
85
+
86
+ ## 0.4.0
87
+ Mon, 14 Feb 2022 09:56:29 GMT
88
+
89
+ ### Minor changes
90
+
91
+ - Replace <a> with Link from @digigov/react-core
92
+
93
+ ## 0.3.6
94
+ Thu, 10 Feb 2022 13:45:56 GMT
95
+
96
+ _Version update only_
97
+
98
+ ## 0.3.5
99
+ Tue, 08 Feb 2022 15:21:11 GMT
100
+
101
+ _Version update only_
102
+
103
+ ## 0.3.4
104
+ Thu, 03 Feb 2022 15:47:05 GMT
105
+
106
+ _Version update only_
107
+
108
+ ## 0.3.3
109
+ Wed, 02 Feb 2022 15:44:29 GMT
110
+
111
+ ### Patches
112
+
113
+ - fix package.json inconsistencies by running cli-lab verify-and-update-local-package-versions
114
+
115
+ ## 0.3.2
116
+ Thu, 30 Dec 2021 12:54:03 GMT
117
+
118
+ _Version update only_
119
+
120
+ ## 0.3.1
121
+ Tue, 02 Nov 2021 13:03:39 GMT
122
+
123
+ _Version update only_
124
+
125
+ ## 0.3.0
126
+ Tue, 12 Oct 2021 09:13:08 GMT
127
+
128
+ ### Minor changes
129
+
130
+ - Warn if browser is IE
131
+
132
+ ## 0.2.27
133
+ Wed, 22 Sep 2021 10:15:42 GMT
134
+
135
+ ### Patches
136
+
137
+ - Add missing props to the Link component
138
+
139
+ ## 0.2.26
140
+ Thu, 12 Aug 2021 08:56:35 GMT
141
+
142
+ _Version update only_
143
+
144
+ ## 0.2.25
145
+ Thu, 12 Aug 2021 06:18:14 GMT
146
+
147
+ _Version update only_
148
+
149
+ ## 0.2.24
150
+ Tue, 03 Aug 2021 12:09:02 GMT
151
+
152
+ _Version update only_
153
+
154
+ ## 0.2.23
155
+ Tue, 03 Aug 2021 10:22:51 GMT
156
+
157
+ _Version update only_
158
+
159
+ ## 0.2.22
160
+ Fri, 30 Jul 2021 13:01:30 GMT
161
+
162
+ _Version update only_
163
+
164
+ ## 0.2.21
165
+ Fri, 30 Jul 2021 11:35:29 GMT
166
+
167
+ _Version update only_
168
+
169
+ ## 0.2.20
170
+ Fri, 30 Jul 2021 10:46:37 GMT
171
+
172
+ _Version update only_
173
+
174
+ ## 0.2.19
175
+ Fri, 30 Jul 2021 08:49:46 GMT
176
+
177
+ _Version update only_
178
+
179
+ ## 0.2.18
180
+ Fri, 30 Jul 2021 07:46:24 GMT
181
+
182
+ _Version update only_
183
+
184
+ ## 0.2.17
185
+ Tue, 27 Jul 2021 10:14:43 GMT
186
+
187
+ _Version update only_
188
+
189
+ ## 0.2.16
190
+ Thu, 15 Jul 2021 11:16:22 GMT
191
+
192
+ _Version update only_
193
+
194
+ ## 0.2.15
195
+ Fri, 09 Jul 2021 08:59:32 GMT
196
+
197
+ _Version update only_
198
+
199
+ ## 0.2.14
200
+ Thu, 08 Jul 2021 15:08:50 GMT
201
+
202
+ _Version update only_
203
+
204
+ ## 0.2.13
205
+ Wed, 30 Jun 2021 12:09:21 GMT
206
+
207
+ _Version update only_
208
+
209
+ ## 0.2.12
210
+ Wed, 23 Jun 2021 13:04:19 GMT
211
+
212
+ _Version update only_
213
+
214
+ ## 0.2.11
215
+ Wed, 02 Jun 2021 12:04:27 GMT
216
+
217
+ _Version update only_
218
+
219
+ ## 0.2.10
220
+ Wed, 02 Jun 2021 08:33:44 GMT
221
+
222
+ _Version update only_
223
+
224
+ ## 0.2.9
225
+ Wed, 05 May 2021 14:11:41 GMT
226
+
227
+ _Version update only_
228
+
229
+ ## 0.2.8
230
+ Thu, 22 Apr 2021 15:04:42 GMT
231
+
232
+ _Version update only_
233
+
234
+ ## 0.2.7
235
+ Thu, 22 Apr 2021 14:39:18 GMT
236
+
237
+ _Version update only_
238
+
239
+ ## 0.2.6
240
+ Thu, 22 Apr 2021 14:06:40 GMT
241
+
242
+ _Version update only_
243
+
244
+ ## 0.2.5
245
+ Thu, 22 Apr 2021 12:56:25 GMT
246
+
247
+ _Initial release_
248
+
File without changes
File without changes
File without changes
File without changes
package/dist/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # @digigov/nextjs
2
+
3
+ Next.js utilities for @digigov projects.
4
+
5
+ Included,
6
+
7
+ * common `_app` and `_document` components with support for,
8
+ - SSR style handling.
9
+ - `@digigov/ui/app/App` component.
10
+ - use `@digigov/ui/core/Link/LinkProvider` to set `next/Link` as the default
11
+ Link component across app.
12
+
13
+ * react-i18next initializer
14
+
15
+
16
+ ## Usage
17
+
18
+ ```shell
19
+ $ yarn add @digigov/nextjs
20
+ ```
21
+
22
+ Create `_app` and `_document` components,
23
+
24
+ **pages/_app.js**
25
+
26
+ ```js
27
+ import initI18n from '@digigov/nextjs/i18n';
28
+ import el from '../locales/el';
29
+ initI18n({
30
+ el: {
31
+ translation: el
32
+ }
33
+ });
34
+
35
+ import App from '@digigov/nextjs/App';
36
+ export default App;
37
+ ```
38
+
39
+ **pages/_document.js**
40
+ ```js
41
+ import Document from '@digigov/nextjs/Document';
42
+ export default Document;
43
+ ```
44
+
45
+
46
+ ## Drawbacks
47
+
48
+ `next.js` spawns two transpilation processes for SSR and client code using
49
+ different configuration options. `_app`, `_doc` are provided as raw `.tsx`
50
+ modules to prevent transpilation conflicts. You need to modify `next.js`
51
+ webpack configuration to include `@digigov/nextjs` components as though they
52
+ where located in locally in your project.
@@ -13,7 +13,6 @@ import App from 'next/app';
13
13
  import Head from 'next/head';
14
14
  import { LinkProvider } from '@digigov/ui/core/Link';
15
15
  import NextLink from '@digigov/nextjs/Link';
16
- import GovGRTheme from '@digigov/ui/themes/govgr';
17
16
  import dynamic from 'next/dynamic';
18
17
  import { I18NProvider } from '@digigov/ui/app/i18n';
19
18
  import { withTranslation } from 'react-i18next';
@@ -55,7 +54,6 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
55
54
  var _this$props = this.props,
56
55
  Component = _this$props.Component,
57
56
  pageProps = _this$props.pageProps,
58
- theme = _this$props.theme,
59
57
  _t = _this$props.t,
60
58
  i18n = _this$props.i18n;
61
59
  return /*#__PURE__*/React.createElement(I18NProvider, {
@@ -65,9 +63,7 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
65
63
  i18n: i18n
66
64
  }, /*#__PURE__*/React.createElement(LinkProvider, {
67
65
  component: NextLink
68
- }, _ref, /*#__PURE__*/React.createElement(DigiGOVApp, {
69
- theme: theme
70
- }, /*#__PURE__*/React.createElement(Component, pageProps))));
66
+ }, _ref, /*#__PURE__*/React.createElement(DigiGOVApp, null, /*#__PURE__*/React.createElement(Component, pageProps))));
71
67
  }
72
68
  }]);
73
69
 
@@ -75,7 +71,4 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
75
71
  }(App);
76
72
 
77
73
  var DigiGOVNextAppWithTranslation = withTranslation()(DigiGOVNextApp);
78
- DigiGOVNextAppWithTranslation.defaultProps = {
79
- theme: GovGRTheme
80
- };
81
74
  export default DigiGOVNextAppWithTranslation;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -13,7 +13,6 @@ import App from 'next/app';
13
13
  import Head from 'next/head';
14
14
  import { LinkProvider } from '@digigov/ui/core/Link';
15
15
  import NextLink from '@digigov/nextjs/Link';
16
- import GovGRTheme from '@digigov/ui/themes/govgr';
17
16
  import dynamic from 'next/dynamic';
18
17
  import { I18NProvider } from '@digigov/ui/app/i18n';
19
18
  import { withTranslation } from 'react-i18next';
@@ -55,7 +54,6 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
55
54
  var _this$props = this.props,
56
55
  Component = _this$props.Component,
57
56
  pageProps = _this$props.pageProps,
58
- theme = _this$props.theme,
59
57
  _t = _this$props.t,
60
58
  i18n = _this$props.i18n;
61
59
  return /*#__PURE__*/React.createElement(I18NProvider, {
@@ -65,9 +63,7 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
65
63
  i18n: i18n
66
64
  }, /*#__PURE__*/React.createElement(LinkProvider, {
67
65
  component: NextLink
68
- }, _ref, /*#__PURE__*/React.createElement(DigiGOVApp, {
69
- theme: theme
70
- }, /*#__PURE__*/React.createElement(Component, pageProps))));
66
+ }, _ref, /*#__PURE__*/React.createElement(DigiGOVApp, null, /*#__PURE__*/React.createElement(Component, pageProps))));
71
67
  }
72
68
  }]);
73
69
 
@@ -75,7 +71,4 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
75
71
  }(App);
76
72
 
77
73
  var DigiGOVNextAppWithTranslation = withTranslation()(DigiGOVNextApp);
78
- DigiGOVNextAppWithTranslation.defaultProps = {
79
- theme: GovGRTheme
80
- };
81
74
  export default DigiGOVNextAppWithTranslation;
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- /** @license Digigov v0.6.1
1
+ /** @license Digigov v0.6.2
2
2
  *
3
3
  * This source code is licensed under the BSD-2-Clause license found in the
4
4
  * LICENSE file in the root directory of this source tree.
File without changes
File without changes
File without changes
@@ -1,11 +1,9 @@
1
1
  import React from 'react';
2
- import { Theme } from '@material-ui/core/styles';
3
2
  import type { AppProps } from '@digigov/ui/app/App';
4
3
  import { WithTranslation } from 'react-i18next';
5
4
  import { i18n } from 'i18next';
6
5
  export interface DigiGOVNextAppProps extends AppProps, WithTranslation {
7
6
  children?: React.ReactNode;
8
- theme: Theme;
9
7
  t: (string: any) => string;
10
8
  i18n: i18n;
11
9
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export interface AppProps {
3
+ children?: React.ReactNode;
4
+ }
5
+ declare const App: React.FC<AppProps>;
6
+ export declare const StaticApp: React.FC<AppProps>;
7
+ export default App;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  export interface I18NContextProps {
3
3
  Trans?: any;
4
- t: (str: string) => string;
4
+ t: (str: string, context?: any) => string;
5
5
  children?: React.ReactNode;
6
6
  i18n?: any;
7
7
  }
8
- export declare const defaultTranslate: (key: any) => any;
8
+ export declare const defaultTranslate: (key: string, context?: Record<string, any> | undefined) => string;
9
9
  export declare const I18NContext: React.Context<I18NContextProps>;
10
10
  export declare const I18NProvider: React.FC<I18NContextProps>;
11
11
  export declare const useTranslation: () => I18NContextProps;
File without changes
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  error: {
9
9
  required: string;
10
10
  number: string;
11
- positive_number: string;
11
+ positive_integer_number: string;
12
12
  string: string;
13
13
  email: string;
14
14
  afm: string;
@@ -19,6 +19,12 @@ declare const _default: {
19
19
  uuid4: string;
20
20
  iban: string;
21
21
  postalCode: string;
22
+ 'needs-more': string;
23
+ array: {
24
+ min: string;
25
+ max: string;
26
+ length: string;
27
+ };
22
28
  date: {
23
29
  invalid: string;
24
30
  earlier_than: string;
@@ -69,6 +75,7 @@ declare const _default: {
69
75
  choose_file: string;
70
76
  change_file: string;
71
77
  no_file: string;
78
+ reset_file: string;
72
79
  };
73
80
  'copy-to-clipboard': {
74
81
  message: string;
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@digigov/nextjs",
3
+ "version": "0.6.2",
4
+ "description": "next specific utilities for @digigov apps",
5
+ "author": "GRNET Developers <devs@lists.grnet.gr>",
6
+ "license": "BSD-2-Clause",
7
+ "main": "./index.js",
8
+ "module": "./esm/index.js",
9
+ "publishConfig": {
10
+ "main": "dist/index.js"
11
+ },
12
+ "peerDependencies": {
13
+ "@digigov/ui": "0.26.4",
14
+ "@material-ui/core": "4.11.3",
15
+ "@material-ui/icons": "4.11.2",
16
+ "clsx": "1.1.1",
17
+ "i18next": "19.1.0",
18
+ "react": ">= 16.14.0 <= 18.2.0",
19
+ "react-dom": ">= 16.14.0 <= 18.2.0",
20
+ "next": "10.0.9",
21
+ "react-i18next": "11.3.3"
22
+ },
23
+ "gitHead": "7237a2d58c6b30979837579e51251543aff0c240",
24
+ "private": false,
25
+ "typings": "./index.d.ts"
26
+ }
@@ -0,0 +1,17 @@
1
+ Invoking: digigov build --subpackages
2
+
3
+ Running /Users/dimitristsironis/grnet/digigov-sdk/tooling/cli-build/node_modules/.bin/rimraf dist
4
+ Running /Users/dimitristsironis/grnet/digigov-sdk/tooling/cli-build/node_modules/.bin/tsc --emitDeclarationOnly --outDir dist
5
+ Running /Users/dimitristsironis/grnet/digigov-sdk/tooling/cli-build/node_modules/.bin/babel --config-file /Users/dimitristsironis/grnet/digigov-sdk/tooling/cli-build/babel.config.js src --extensions .tsx,.ts,.js,.jsx --copy-files --out-dir dist/esm
6
+ Successfully compiled 7 files with Babel (2276ms).
7
+ Running /Users/dimitristsironis/grnet/digigov-sdk/tooling/cli-build/node_modules/.bin/babel --config-file /Users/dimitristsironis/grnet/digigov-sdk/tooling/cli-build/babel.config.js src --extensions .tsx,.ts,.js,.jsx --copy-files --out-dir dist/es
8
+ Successfully compiled 7 files with Babel (1864ms).
9
+ Created package.json in /Users/dimitristsironis/grnet/digigov-sdk/libs/nextjs/dist/package.json
10
+ Copied /Users/dimitristsironis/grnet/digigov-sdk/libs/nextjs/CHANGELOG.md to /Users/dimitristsironis/grnet/digigov-sdk/libs/nextjs/dist/CHANGELOG.md
11
+ Copied /Users/dimitristsironis/grnet/digigov-sdk/LICENSE to /Users/dimitristsironis/grnet/digigov-sdk/libs/nextjs/dist/LICENSE
12
+ Copied /Users/dimitristsironis/grnet/digigov-sdk/libs/nextjs/README.md to /Users/dimitristsironis/grnet/digigov-sdk/libs/nextjs/dist/README.md
13
+ Skipped license for ./index.js
14
+ Skipped license for ./umd/digigov-ui.production.min.js
15
+ Skipped license for ./umd/digigov-ui.development.js
16
+ Running /Users/dimitristsironis/grnet/digigov-sdk/tooling/cli-build/node_modules/.bin/babel --config-file /Users/dimitristsironis/grnet/digigov-sdk/tooling/cli-build/babel.config.js src --extensions .tsx,.ts,.js,.jsx --copy-files --out-dir dist
17
+ Successfully compiled 7 files with Babel (1560ms).
package/package.json CHANGED
@@ -1,26 +1,39 @@
1
1
  {
2
- "name": "@digigov/nextjs",
3
- "version": "0.6.1",
4
- "description": "next specific utilities for @digigov apps",
5
- "author": "GRNET Developers <devs@lists.grnet.gr>",
6
- "license": "BSD-2-Clause",
7
- "main": "dist/index.js",
8
- "module": "./esm/index.js",
9
- "publishConfig": {
10
- "main": "dist/index.js"
11
- },
12
- "peerDependencies": {
13
- "@digigov/ui": "0.25.0",
14
- "@material-ui/core": "4.11.3",
15
- "@material-ui/icons": "4.11.2",
16
- "clsx": "1.1.1",
17
- "i18next": "19.1.0",
18
- "react": "16.14.0",
19
- "react-dom": "16.14.0",
20
- "next": "10.0.9",
21
- "react-i18next": "11.3.3"
22
- },
23
- "gitHead": "7237a2d58c6b30979837579e51251543aff0c240",
24
- "private": false,
25
- "typings": "./index.d.ts"
26
- }
2
+ "name": "@digigov/nextjs",
3
+ "version": "0.6.3-alpha",
4
+ "description": "next specific utilities for @digigov apps",
5
+ "author": "GRNET Developers <devs@lists.grnet.gr>",
6
+ "license": "BSD-2-Clause",
7
+ "main": "dist/index.js",
8
+ "module": "src/index.ts",
9
+ "publishConfig": {
10
+ "main": "dist/index.js"
11
+ },
12
+ "peerDependencies": {
13
+ "@digigov/ui": "0.26.5-alpha",
14
+ "@material-ui/core": "4.11.3",
15
+ "@material-ui/icons": "4.11.2",
16
+ "clsx": "1.1.1",
17
+ "i18next": "19.1.0",
18
+ "react": ">= 16.14.0 <= 18.2.0",
19
+ "react-dom": ">= 16.14.0 <= 18.2.0",
20
+ "next": "10.0.9",
21
+ "react-i18next": "11.3.3"
22
+ },
23
+ "devDependencies": {
24
+ "@digigov/cli": "0.6.1",
25
+ "@digigov/cli-lint": "0.5.31",
26
+ "@digigov/cli-build": "0.8.2",
27
+ "@digigov/cli-test": "0.7.1",
28
+ "@types/node": "16.6.2",
29
+ "@types/react": "16.9.56",
30
+ "@types/react-dom": "16.9.9",
31
+ "typescript": "4.2.3"
32
+ },
33
+ "gitHead": "7237a2d58c6b30979837579e51251543aff0c240",
34
+ "scripts": {
35
+ "lint": "digigov lint",
36
+ "test": "digigov test",
37
+ "build": "digigov build --subpackages"
38
+ }
39
+ }