create-domis 1.0.46 → 1.0.49

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 (61) hide show
  1. package/dist/index.js +41 -128
  2. package/package.json +5 -6
  3. package/templates/domisdocs-free/.firebaserc +0 -5
  4. package/templates/domisdocs-free/README.md +0 -70
  5. package/templates/domisdocs-free/firebase.json +0 -29
  6. package/templates/domisdocs-free/package.json +0 -10
  7. package/templates/domisdocs-lite/.firebaserc +0 -5
  8. package/templates/domisdocs-lite/README.md +0 -229
  9. package/templates/domisdocs-lite/domisdocs-602fc/hosting/404.html +0 -155
  10. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/NQ3kax0_fweCAqnNXt6Ej/_buildManifest.js +0 -81
  11. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/NQ3kax0_fweCAqnNXt6Ej/_ssgManifest.js +0 -2
  12. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/341.df3329d77a5faa19.js +0 -369
  13. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/472.a3826d29d6854395.js +0 -37
  14. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/4bd1b696-67ee12fb04071d3b.js +0 -11130
  15. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/684-71b0b1461a73105d.js +0 -9987
  16. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/874-992333f59fd2c78c.js +0 -525
  17. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/app/_not-found/page-f08302ee705a96b1.js +0 -113
  18. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/app/dashboard/page-bd672c78e74e0ca7.js +0 -12
  19. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/app/layout-1415b7c12bd25ba1.js +0 -13
  20. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/app/page-202ca2a6f090766b.js +0 -12
  21. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/framework-859199dea06580b0.js +0 -11894
  22. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/main-9d4372fbc380071d.js +0 -6431
  23. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/main-app-9e36547c97a174da.js +0 -20
  24. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/pages/_app-a66f9296699c5863.js +0 -49
  25. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/pages/_error-7688f4c9a69e67c8.js +0 -386
  26. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -7940
  27. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/chunks/webpack-880aef799750a911.js +0 -209
  28. package/templates/domisdocs-lite/domisdocs-602fc/hosting/_next/static/css/f913f2bf40d109a3.css +0 -1056
  29. package/templates/domisdocs-lite/domisdocs-602fc/hosting/dashboard.html +0 -520
  30. package/templates/domisdocs-lite/domisdocs-602fc/hosting/index.html +0 -129
  31. package/templates/domisdocs-lite/domispacks/hosting/404.html +0 -155
  32. package/templates/domisdocs-lite/domispacks/hosting/_next/static/FUOO1M6iev6fYpEjnXpyc/_buildManifest.js +0 -81
  33. package/templates/domisdocs-lite/domispacks/hosting/_next/static/FUOO1M6iev6fYpEjnXpyc/_ssgManifest.js +0 -2
  34. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/341.df3329d77a5faa19.js +0 -369
  35. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/472.a3826d29d6854395.js +0 -37
  36. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/4bd1b696-67ee12fb04071d3b.js +0 -11130
  37. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/684-71b0b1461a73105d.js +0 -9987
  38. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/874-992333f59fd2c78c.js +0 -525
  39. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/app/_not-found/page-f08302ee705a96b1.js +0 -113
  40. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/app/dashboard/page-bd672c78e74e0ca7.js +0 -12
  41. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/app/layout-1415b7c12bd25ba1.js +0 -13
  42. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/app/page-202ca2a6f090766b.js +0 -12
  43. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/framework-859199dea06580b0.js +0 -11894
  44. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/main-9d4372fbc380071d.js +0 -6431
  45. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/main-app-9e36547c97a174da.js +0 -20
  46. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/pages/_app-a66f9296699c5863.js +0 -49
  47. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/pages/_error-7688f4c9a69e67c8.js +0 -386
  48. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -7940
  49. package/templates/domisdocs-lite/domispacks/hosting/_next/static/chunks/webpack-880aef799750a911.js +0 -209
  50. package/templates/domisdocs-lite/domispacks/hosting/_next/static/css/f913f2bf40d109a3.css +0 -1056
  51. package/templates/domisdocs-lite/domispacks/hosting/dashboard.html +0 -520
  52. package/templates/domisdocs-lite/domispacks/hosting/index.html +0 -129
  53. package/templates/domisdocs-lite/firebase.json +0 -29
  54. package/templates/domisdocs-lite/hosting.LmZpcmViYXNlXGRvbWlzZG9jcy02MDJmY1xob3N0aW5n.cache +0 -22
  55. package/templates/domisdocs-lite/hosting.LmZpcmViYXNlXGRvbWlzcGFja3NcaG9zdGluZw.cache +0 -22
  56. package/templates/domisdocs-lite/next-env.d.ts +0 -5
  57. package/templates/domisdocs-lite/next.config.ts +0 -9
  58. package/templates/domisdocs-lite/package-lock.json +0 -1783
  59. package/templates/domisdocs-lite/package.json +0 -25
  60. package/templates/domisdocs-lite/postcss.config.mjs +0 -3
  61. package/templates/domisdocs-lite/tsconfig.json +0 -22
@@ -1,20 +0,0 @@
1
- (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
2
- [358],
3
- {
4
- 6721: (e, s, n) => {
5
- (Promise.resolve().then(n.t.bind(n, 894, 23)),
6
- Promise.resolve().then(n.t.bind(n, 4970, 23)),
7
- Promise.resolve().then(n.t.bind(n, 6614, 23)),
8
- Promise.resolve().then(n.t.bind(n, 6975, 23)),
9
- Promise.resolve().then(n.t.bind(n, 7555, 23)),
10
- Promise.resolve().then(n.t.bind(n, 4911, 23)),
11
- Promise.resolve().then(n.t.bind(n, 9665, 23)),
12
- Promise.resolve().then(n.t.bind(n, 1295, 23)));
13
- },
14
- 9393: () => {},
15
- },
16
- (e) => {
17
- var s = (s) => e((e.s = s));
18
- (e.O(0, [441, 684], () => (s(5415), s(6721))), (_N_E = e.O()));
19
- },
20
- ]);
@@ -1,49 +0,0 @@
1
- (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
2
- [472, 636],
3
- {
4
- 326: (e, t, n) => {
5
- (window.__NEXT_P = window.__NEXT_P || []).push([
6
- "/_app",
7
- function () {
8
- return n(472);
9
- },
10
- ]);
11
- },
12
- 472: (e, t, n) => {
13
- "use strict";
14
- (Object.defineProperty(t, "__esModule", { value: !0 }),
15
- Object.defineProperty(t, "default", {
16
- enumerable: !0,
17
- get: function () {
18
- return s;
19
- },
20
- }));
21
- let u = n(4252),
22
- l = n(7876),
23
- a = u._(n(4232)),
24
- o = n(2746);
25
- async function r(e) {
26
- let { Component: t, ctx: n } = e;
27
- return { pageProps: await (0, o.loadGetInitialProps)(t, n) };
28
- }
29
- class s extends a.default.Component {
30
- render() {
31
- let { Component: e, pageProps: t } = this.props;
32
- return (0, l.jsx)(e, { ...t });
33
- }
34
- }
35
- ((s.origGetInitialProps = r),
36
- (s.getInitialProps = r),
37
- ("function" == typeof t.default ||
38
- ("object" == typeof t.default && null !== t.default)) &&
39
- void 0 === t.default.__esModule &&
40
- (Object.defineProperty(t.default, "__esModule", { value: !0 }),
41
- Object.assign(t.default, t),
42
- (e.exports = t.default)));
43
- },
44
- },
45
- (e) => {
46
- var t = (t) => e((e.s = t));
47
- (e.O(0, [593, 792], () => (t(326), t(4294))), (_N_E = e.O()));
48
- },
49
- ]);
@@ -1,386 +0,0 @@
1
- (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
2
- [341, 731],
3
- {
4
- 303: (e, t, n) => {
5
- "use strict";
6
- (Object.defineProperty(t, "__esModule", { value: !0 }),
7
- Object.defineProperty(t, "AmpStateContext", {
8
- enumerable: !0,
9
- get: function () {
10
- return r;
11
- },
12
- }));
13
- let r = n(4252)._(n(4232)).default.createContext({});
14
- },
15
- 2164: (e, t, n) => {
16
- (window.__NEXT_P = window.__NEXT_P || []).push([
17
- "/_error",
18
- function () {
19
- return n(9341);
20
- },
21
- ]);
22
- },
23
- 3776: (e, t, n) => {
24
- "use strict";
25
- (Object.defineProperty(t, "__esModule", { value: !0 }),
26
- Object.defineProperty(t, "default", {
27
- enumerable: !0,
28
- get: function () {
29
- return i;
30
- },
31
- }));
32
- let r = n(4232),
33
- o = r.useLayoutEffect,
34
- l = r.useEffect;
35
- function i(e) {
36
- let { headManager: t, reduceComponentsToState: n } = e;
37
- function i() {
38
- if (t && t.mountedInstances) {
39
- let o = r.Children.toArray(
40
- Array.from(t.mountedInstances).filter(Boolean),
41
- );
42
- t.updateHead(n(o, e));
43
- }
44
- }
45
- return (
46
- o(() => {
47
- var n;
48
- return (
49
- null == t ||
50
- null == (n = t.mountedInstances) ||
51
- n.add(e.children),
52
- () => {
53
- var n;
54
- null == t ||
55
- null == (n = t.mountedInstances) ||
56
- n.delete(e.children);
57
- }
58
- );
59
- }),
60
- o(
61
- () => (
62
- t && (t._pendingUpdate = i),
63
- () => {
64
- t && (t._pendingUpdate = i);
65
- }
66
- ),
67
- ),
68
- l(
69
- () => (
70
- t &&
71
- t._pendingUpdate &&
72
- (t._pendingUpdate(), (t._pendingUpdate = null)),
73
- () => {
74
- t &&
75
- t._pendingUpdate &&
76
- (t._pendingUpdate(), (t._pendingUpdate = null));
77
- }
78
- ),
79
- ),
80
- null
81
- );
82
- }
83
- },
84
- 5679: (e, t, n) => {
85
- "use strict";
86
- var r = n(5364);
87
- (Object.defineProperty(t, "__esModule", { value: !0 }),
88
- !(function (e, t) {
89
- for (var n in t)
90
- Object.defineProperty(e, n, { enumerable: !0, get: t[n] });
91
- })(t, {
92
- default: function () {
93
- return y;
94
- },
95
- defaultHead: function () {
96
- return p;
97
- },
98
- }));
99
- let o = n(4252),
100
- l = n(8365),
101
- i = n(7876),
102
- a = l._(n(4232)),
103
- s = o._(n(3776)),
104
- d = n(303),
105
- u = n(8831),
106
- c = n(6807);
107
- function p(e) {
108
- void 0 === e && (e = !1);
109
- let t = [(0, i.jsx)("meta", { charSet: "utf-8" }, "charset")];
110
- return (
111
- e ||
112
- t.push(
113
- (0, i.jsx)(
114
- "meta",
115
- { name: "viewport", content: "width=device-width" },
116
- "viewport",
117
- ),
118
- ),
119
- t
120
- );
121
- }
122
- function f(e, t) {
123
- return "string" == typeof t || "number" == typeof t
124
- ? e
125
- : t.type === a.default.Fragment
126
- ? e.concat(
127
- a.default.Children.toArray(t.props.children).reduce(
128
- (e, t) =>
129
- "string" == typeof t || "number" == typeof t
130
- ? e
131
- : e.concat(t),
132
- [],
133
- ),
134
- )
135
- : e.concat(t);
136
- }
137
- n(6079);
138
- let h = ["name", "httpEquiv", "charSet", "itemProp"];
139
- function m(e, t) {
140
- let { inAmpMode: n } = t;
141
- return e
142
- .reduce(f, [])
143
- .reverse()
144
- .concat(p(n).reverse())
145
- .filter(
146
- (function () {
147
- let e = new Set(),
148
- t = new Set(),
149
- n = new Set(),
150
- r = {};
151
- return (o) => {
152
- let l = !0,
153
- i = !1;
154
- if (
155
- o.key &&
156
- "number" != typeof o.key &&
157
- o.key.indexOf("$") > 0
158
- ) {
159
- i = !0;
160
- let t = o.key.slice(o.key.indexOf("$") + 1);
161
- e.has(t) ? (l = !1) : e.add(t);
162
- }
163
- switch (o.type) {
164
- case "title":
165
- case "base":
166
- t.has(o.type) ? (l = !1) : t.add(o.type);
167
- break;
168
- case "meta":
169
- for (let e = 0, t = h.length; e < t; e++) {
170
- let t = h[e];
171
- if (o.props.hasOwnProperty(t))
172
- if ("charSet" === t) n.has(t) ? (l = !1) : n.add(t);
173
- else {
174
- let e = o.props[t],
175
- n = r[t] || new Set();
176
- ("name" !== t || !i) && n.has(e)
177
- ? (l = !1)
178
- : (n.add(e), (r[t] = n));
179
- }
180
- }
181
- }
182
- return l;
183
- };
184
- })(),
185
- )
186
- .reverse()
187
- .map((e, t) => {
188
- let o = e.key || t;
189
- if (
190
- r.env.__NEXT_OPTIMIZE_FONTS &&
191
- !n &&
192
- "link" === e.type &&
193
- e.props.href &&
194
- [
195
- "https://fonts.googleapis.com/css",
196
- "https://use.typekit.net/",
197
- ].some((t) => e.props.href.startsWith(t))
198
- ) {
199
- let t = { ...(e.props || {}) };
200
- return (
201
- (t["data-href"] = t.href),
202
- (t.href = void 0),
203
- (t["data-optimized-fonts"] = !0),
204
- a.default.cloneElement(e, t)
205
- );
206
- }
207
- return a.default.cloneElement(e, { key: o });
208
- });
209
- }
210
- let y = function (e) {
211
- let { children: t } = e,
212
- n = (0, a.useContext)(d.AmpStateContext),
213
- r = (0, a.useContext)(u.HeadManagerContext);
214
- return (0, i.jsx)(s.default, {
215
- reduceComponentsToState: m,
216
- headManager: r,
217
- inAmpMode: (0, c.isInAmpMode)(n),
218
- children: t,
219
- });
220
- };
221
- ("function" == typeof t.default ||
222
- ("object" == typeof t.default && null !== t.default)) &&
223
- void 0 === t.default.__esModule &&
224
- (Object.defineProperty(t.default, "__esModule", { value: !0 }),
225
- Object.assign(t.default, t),
226
- (e.exports = t.default));
227
- },
228
- 6079: (e, t) => {
229
- "use strict";
230
- (Object.defineProperty(t, "__esModule", { value: !0 }),
231
- Object.defineProperty(t, "warnOnce", {
232
- enumerable: !0,
233
- get: function () {
234
- return n;
235
- },
236
- }));
237
- let n = (e) => {};
238
- },
239
- 6807: (e, t) => {
240
- "use strict";
241
- function n(e) {
242
- let {
243
- ampFirst: t = !1,
244
- hybrid: n = !1,
245
- hasQuery: r = !1,
246
- } = void 0 === e ? {} : e;
247
- return t || (n && r);
248
- }
249
- (Object.defineProperty(t, "__esModule", { value: !0 }),
250
- Object.defineProperty(t, "isInAmpMode", {
251
- enumerable: !0,
252
- get: function () {
253
- return n;
254
- },
255
- }));
256
- },
257
- 9341: (e, t, n) => {
258
- "use strict";
259
- (Object.defineProperty(t, "__esModule", { value: !0 }),
260
- Object.defineProperty(t, "default", {
261
- enumerable: !0,
262
- get: function () {
263
- return u;
264
- },
265
- }));
266
- let r = n(4252),
267
- o = n(7876),
268
- l = r._(n(4232)),
269
- i = r._(n(5679)),
270
- a = {
271
- 400: "Bad Request",
272
- 404: "This page could not be found",
273
- 405: "Method Not Allowed",
274
- 500: "Internal Server Error",
275
- };
276
- function s(e) {
277
- let { req: t, res: n, err: r } = e;
278
- return {
279
- statusCode: n && n.statusCode ? n.statusCode : r ? r.statusCode : 404,
280
- hostname: window.location.hostname,
281
- };
282
- }
283
- let d = {
284
- error: {
285
- fontFamily:
286
- 'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',
287
- height: "100vh",
288
- textAlign: "center",
289
- display: "flex",
290
- flexDirection: "column",
291
- alignItems: "center",
292
- justifyContent: "center",
293
- },
294
- desc: { lineHeight: "48px" },
295
- h1: {
296
- display: "inline-block",
297
- margin: "0 20px 0 0",
298
- paddingRight: 23,
299
- fontSize: 24,
300
- fontWeight: 500,
301
- verticalAlign: "top",
302
- },
303
- h2: { fontSize: 14, fontWeight: 400, lineHeight: "28px" },
304
- wrap: { display: "inline-block" },
305
- };
306
- class u extends l.default.Component {
307
- render() {
308
- let { statusCode: e, withDarkMode: t = !0 } = this.props,
309
- n = this.props.title || a[e] || "An unexpected error has occurred";
310
- return (0, o.jsxs)("div", {
311
- style: d.error,
312
- children: [
313
- (0, o.jsx)(i.default, {
314
- children: (0, o.jsx)("title", {
315
- children: e
316
- ? e + ": " + n
317
- : "Application error: a client-side exception has occurred",
318
- }),
319
- }),
320
- (0, o.jsxs)("div", {
321
- style: d.desc,
322
- children: [
323
- (0, o.jsx)("style", {
324
- dangerouslySetInnerHTML: {
325
- __html:
326
- "body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}" +
327
- (t
328
- ? "@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"
329
- : ""),
330
- },
331
- }),
332
- e
333
- ? (0, o.jsx)("h1", {
334
- className: "next-error-h1",
335
- style: d.h1,
336
- children: e,
337
- })
338
- : null,
339
- (0, o.jsx)("div", {
340
- style: d.wrap,
341
- children: (0, o.jsxs)("h2", {
342
- style: d.h2,
343
- children: [
344
- this.props.title || e
345
- ? n
346
- : (0, o.jsxs)(o.Fragment, {
347
- children: [
348
- "Application error: a client-side exception has occurred",
349
- " ",
350
- !!this.props.hostname &&
351
- (0, o.jsxs)(o.Fragment, {
352
- children: [
353
- "while loading ",
354
- this.props.hostname,
355
- ],
356
- }),
357
- " ",
358
- "(see the browser console for more information)",
359
- ],
360
- }),
361
- ".",
362
- ],
363
- }),
364
- }),
365
- ],
366
- }),
367
- ],
368
- });
369
- }
370
- }
371
- ((u.displayName = "ErrorPage"),
372
- (u.getInitialProps = s),
373
- (u.origGetInitialProps = s),
374
- ("function" == typeof t.default ||
375
- ("object" == typeof t.default && null !== t.default)) &&
376
- void 0 === t.default.__esModule &&
377
- (Object.defineProperty(t.default, "__esModule", { value: !0 }),
378
- Object.assign(t.default, t),
379
- (e.exports = t.default)));
380
- },
381
- },
382
- (e) => {
383
- var t = (t) => e((e.s = t));
384
- (e.O(0, [636, 593, 792], () => t(2164)), (_N_E = e.O()));
385
- },
386
- ]);