vitral 0.7.2 → 0.9.0
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 +2 -0
- package/dist/angular.d.ts +2 -2
- package/dist/angular.js +8 -6
- package/dist/auto.js +5 -4
- package/dist/{chunk-72H4FXMD.js → chunk-6T25WKNK.js} +44 -13
- package/dist/chunk-EQZOJU3B.js +48 -0
- package/dist/chunk-JKNTXBZH.js +176 -0
- package/dist/{chunk-O7DV3EVB.js → chunk-NTXMEZIZ.js} +9 -46
- package/dist/chunk-P5JSFGPI.js +314 -0
- package/dist/{chunk-4NSPG6NK.js → chunk-PQXS2UDM.js} +1 -1
- package/dist/{chunk-TXSHK3SK.js → chunk-ZJ4IM2PZ.js} +2 -2
- package/dist/{chunk-V24ZNHUF.js → chunk-ZRAGLT3I.js} +4 -4
- package/dist/cli.js +1 -1
- package/dist/{contract-46EZFQPQ.js → contract-OMHCH6LI.js} +1 -1
- package/dist/{dedupe-S7BHQMOZ.js → dedupe-PZCSKL3L.js} +1 -1
- package/dist/edge.d.ts +1 -1
- package/dist/element.d.ts +2 -2
- package/dist/element.js +5 -4
- package/dist/embed.js +2 -2
- package/dist/{events-DLdbFqBM.d.ts → events-Cieg_far.d.ts} +1 -1
- package/dist/{expose-ZLYQZUP2.js → expose-V5ASGX4E.js} +2 -2
- package/dist/federation.d.ts +1 -1
- package/dist/{hydrate-NFZZMYWT.js → hydrate-6NE4MYOD.js} +7 -5
- package/dist/iframe.js +9 -7
- package/dist/index.d.ts +6 -19
- package/dist/index.js +6 -4
- package/dist/loader-BIXjuvvp.d.ts +25 -0
- package/dist/next-config.d.ts +95 -0
- package/dist/next-config.js +149 -0
- package/dist/next-host.d.ts +26 -0
- package/dist/next-host.js +105 -0
- package/dist/next.d.ts +190 -0
- package/dist/next.js +287 -0
- package/dist/portals-AK5XA2M5.js +22 -0
- package/dist/preact.d.ts +4 -4
- package/dist/preact.js +7 -5
- package/dist/prefetch.js +2 -2
- package/dist/react-server.d.ts +1 -1
- package/dist/react.d.ts +11 -4
- package/dist/react.js +17 -144
- package/dist/{reframe-7K5S6JC6.js → reframe-3ZN5CHEG.js} +4 -4
- package/dist/routes.d.ts +2 -2
- package/dist/routes.js +6 -4
- package/dist/single-spa.d.ts +1 -1
- package/dist/{slot-Ddzp7AgL.d.ts → slot-Dhczjs1E.d.ts} +1 -1
- package/dist/solid.d.ts +3 -3
- package/dist/solid.js +7 -5
- package/dist/{sri-576GTDIA.js → sri-TBZ6PYYY.js} +39 -24
- package/dist/svelte.d.ts +4 -4
- package/dist/svelte.js +6 -4
- package/dist/sw.d.ts +8 -0
- package/dist/sw.js +21 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +3 -2
- package/dist/{types-EOz1rOHs.d.ts → types-wsKR1gfx.d.ts} +19 -3
- package/dist/vite.d.ts +33 -1
- package/dist/vite.js +353 -158
- package/dist/vue.d.ts +2 -2
- package/dist/vue.js +6 -4
- package/package.json +48 -22
package/dist/vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType, App, ShallowRef, WritableComputedRef, ComputedRef, Component } from 'vue';
|
|
3
|
-
import { P as Props, I as Isolation, R as RemoteContext, S as Shared, a as RemoteModule } from './types-
|
|
4
|
-
export { e as events } from './events-
|
|
3
|
+
import { P as Props, I as Isolation, R as RemoteContext, S as Shared, a as RemoteModule } from './types-wsKR1gfx.js';
|
|
4
|
+
export { e as events } from './events-Cieg_far.js';
|
|
5
5
|
import { L as Loading, P as Prefetch } from './host-slot-Cz6EiGsB.js';
|
|
6
6
|
import './errors-kjBv6IH_.js';
|
|
7
7
|
|
package/dist/vue.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostSlot,
|
|
3
3
|
timings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZJ4IM2PZ.js";
|
|
5
5
|
import {
|
|
6
6
|
defineRemote,
|
|
7
|
-
events,
|
|
8
7
|
memoSelect,
|
|
9
8
|
same,
|
|
10
9
|
shared
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import
|
|
10
|
+
} from "./chunk-NTXMEZIZ.js";
|
|
11
|
+
import {
|
|
12
|
+
events
|
|
13
|
+
} from "./chunk-EQZOJU3B.js";
|
|
14
|
+
import "./chunk-6T25WKNK.js";
|
|
13
15
|
import "./chunk-KU6HF2EW.js";
|
|
14
16
|
import {
|
|
15
17
|
absolute
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitral",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Micro-frontends de qualquer framework numa página só, sem configuração de build no host. React, Next, Vue, Nuxt, Angular, Svelte, Solid, Preact, Lit e JS puro.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"micro-frontend",
|
|
@@ -132,6 +132,22 @@
|
|
|
132
132
|
"types": "./dist/federation.d.ts",
|
|
133
133
|
"import": "./dist/federation.js"
|
|
134
134
|
},
|
|
135
|
+
"./next": {
|
|
136
|
+
"types": "./dist/next.d.ts",
|
|
137
|
+
"import": "./dist/next.js"
|
|
138
|
+
},
|
|
139
|
+
"./next-host": {
|
|
140
|
+
"types": "./dist/next-host.d.ts",
|
|
141
|
+
"import": "./dist/next-host.js"
|
|
142
|
+
},
|
|
143
|
+
"./next-config": {
|
|
144
|
+
"types": "./dist/next-config.d.ts",
|
|
145
|
+
"default": "./dist/next-config.js"
|
|
146
|
+
},
|
|
147
|
+
"./sw": {
|
|
148
|
+
"types": "./dist/sw.d.ts",
|
|
149
|
+
"import": "./dist/sw.js"
|
|
150
|
+
},
|
|
135
151
|
"./vitals": {
|
|
136
152
|
"types": "./dist/vitals.d.ts",
|
|
137
153
|
"import": "./dist/vitals.js"
|
|
@@ -250,9 +266,10 @@
|
|
|
250
266
|
"./expose-*",
|
|
251
267
|
"./capture-*",
|
|
252
268
|
"./channel-*",
|
|
253
|
-
"./hydrate-*"
|
|
269
|
+
"./hydrate-*",
|
|
270
|
+
"./portals-*"
|
|
254
271
|
],
|
|
255
|
-
"limit": "4.
|
|
272
|
+
"limit": "4.83 kB"
|
|
256
273
|
},
|
|
257
274
|
{
|
|
258
275
|
"name": "núcleo",
|
|
@@ -269,19 +286,20 @@
|
|
|
269
286
|
"./expose-*",
|
|
270
287
|
"./capture-*",
|
|
271
288
|
"./channel-*",
|
|
272
|
-
"./hydrate-*"
|
|
289
|
+
"./hydrate-*",
|
|
290
|
+
"./portals-*"
|
|
273
291
|
],
|
|
274
292
|
"limit": "5.78 kB"
|
|
275
293
|
},
|
|
276
294
|
{
|
|
277
295
|
"name": "SRI e dedupe (sob demanda, com as dependências)",
|
|
278
296
|
"path": "dist/sri-*.js",
|
|
279
|
-
"limit": "2.
|
|
297
|
+
"limit": "2.76 kB"
|
|
280
298
|
},
|
|
281
299
|
{
|
|
282
300
|
"name": "dedupe (sob demanda, para hosts que oferecem dependências)",
|
|
283
301
|
"path": "dist/dedupe-*.js",
|
|
284
|
-
"limit": "
|
|
302
|
+
"limit": "690 B"
|
|
285
303
|
},
|
|
286
304
|
{
|
|
287
305
|
"name": "overrides (sob demanda)",
|
|
@@ -311,9 +329,10 @@
|
|
|
311
329
|
"./expose-*",
|
|
312
330
|
"./capture-*",
|
|
313
331
|
"./channel-*",
|
|
314
|
-
"./hydrate-*"
|
|
332
|
+
"./hydrate-*",
|
|
333
|
+
"./portals-*"
|
|
315
334
|
],
|
|
316
|
-
"limit": "5.
|
|
335
|
+
"limit": "5.53 kB"
|
|
317
336
|
},
|
|
318
337
|
{
|
|
319
338
|
"name": "host mínimo + store + persist + syncTabs",
|
|
@@ -330,9 +349,10 @@
|
|
|
330
349
|
"./expose-*",
|
|
331
350
|
"./capture-*",
|
|
332
351
|
"./channel-*",
|
|
333
|
-
"./hydrate-*"
|
|
352
|
+
"./hydrate-*",
|
|
353
|
+
"./portals-*"
|
|
334
354
|
],
|
|
335
|
-
"limit": "5.
|
|
355
|
+
"limit": "5.76 kB"
|
|
336
356
|
},
|
|
337
357
|
{
|
|
338
358
|
"name": "reframe: JS em iframe oculto, DOM no Shadow DOM (sob demanda, além do núcleo e do Shadow DOM)",
|
|
@@ -376,9 +396,10 @@
|
|
|
376
396
|
"./expose-*",
|
|
377
397
|
"./capture-*",
|
|
378
398
|
"./channel-*",
|
|
379
|
-
"./hydrate-*"
|
|
399
|
+
"./hydrate-*",
|
|
400
|
+
"./portals-*"
|
|
380
401
|
],
|
|
381
|
-
"limit": "6.
|
|
402
|
+
"limit": "6.33 kB"
|
|
382
403
|
},
|
|
383
404
|
{
|
|
384
405
|
"name": "vue",
|
|
@@ -396,7 +417,8 @@
|
|
|
396
417
|
"./expose-*",
|
|
397
418
|
"./capture-*",
|
|
398
419
|
"./channel-*",
|
|
399
|
-
"./hydrate-*"
|
|
420
|
+
"./hydrate-*",
|
|
421
|
+
"./portals-*"
|
|
400
422
|
],
|
|
401
423
|
"limit": "6.12 kB"
|
|
402
424
|
},
|
|
@@ -415,9 +437,10 @@
|
|
|
415
437
|
"./expose-*",
|
|
416
438
|
"./capture-*",
|
|
417
439
|
"./channel-*",
|
|
418
|
-
"./hydrate-*"
|
|
440
|
+
"./hydrate-*",
|
|
441
|
+
"./portals-*"
|
|
419
442
|
],
|
|
420
|
-
"limit": "6.
|
|
443
|
+
"limit": "6.49 kB"
|
|
421
444
|
},
|
|
422
445
|
{
|
|
423
446
|
"name": "devtools",
|
|
@@ -428,7 +451,7 @@
|
|
|
428
451
|
{
|
|
429
452
|
"name": "auto",
|
|
430
453
|
"path": "dist/auto.js",
|
|
431
|
-
"limit": "6.
|
|
454
|
+
"limit": "6.67 kB",
|
|
432
455
|
"ignore": [
|
|
433
456
|
"./shadow-*",
|
|
434
457
|
"./reframe-*",
|
|
@@ -440,20 +463,22 @@
|
|
|
440
463
|
"./expose-*",
|
|
441
464
|
"./capture-*",
|
|
442
465
|
"./channel-*",
|
|
443
|
-
"./hydrate-*"
|
|
466
|
+
"./hydrate-*",
|
|
467
|
+
"./portals-*"
|
|
444
468
|
]
|
|
445
469
|
},
|
|
446
470
|
{
|
|
447
471
|
"name": "routes",
|
|
448
472
|
"path": "dist/routes.js",
|
|
449
473
|
"import": "{ routes }",
|
|
450
|
-
"limit": "9.
|
|
474
|
+
"limit": "9.59 kB",
|
|
451
475
|
"ignore": [
|
|
452
476
|
"./overrides-*",
|
|
453
477
|
"./stale-*",
|
|
454
478
|
"./channel-*",
|
|
455
479
|
"./reframe-*",
|
|
456
|
-
"./hydrate-*"
|
|
480
|
+
"./hydrate-*",
|
|
481
|
+
"./portals-*"
|
|
457
482
|
]
|
|
458
483
|
},
|
|
459
484
|
{
|
|
@@ -472,7 +497,7 @@
|
|
|
472
497
|
"name": "prefetch",
|
|
473
498
|
"path": "dist/prefetch.js",
|
|
474
499
|
"import": "{ prefetch }",
|
|
475
|
-
"limit": "3.
|
|
500
|
+
"limit": "3.28 kB",
|
|
476
501
|
"ignore": [
|
|
477
502
|
"./shadow-*",
|
|
478
503
|
"./overrides-*",
|
|
@@ -495,13 +520,14 @@
|
|
|
495
520
|
"./stale-*",
|
|
496
521
|
"./channel-*",
|
|
497
522
|
"./reframe-*",
|
|
498
|
-
"./hydrate-*"
|
|
523
|
+
"./hydrate-*",
|
|
524
|
+
"./portals-*"
|
|
499
525
|
]
|
|
500
526
|
},
|
|
501
527
|
{
|
|
502
528
|
"name": "embed (loader de sites de terceiros, arquivo único com Shadow DOM, SRI e canal)",
|
|
503
529
|
"path": "dist/embed.js",
|
|
504
|
-
"limit": "12.
|
|
530
|
+
"limit": "12.59 kB"
|
|
505
531
|
},
|
|
506
532
|
{
|
|
507
533
|
"name": "vitals (Web Vitals por remote)",
|