@module-federation/sdk 0.0.0-next-20231220075455 → 0.0.0-next-20231220081137

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 (47) hide show
  1. package/dist/LICENSE +21 -0
  2. package/dist/index.cjs.d.ts +1 -0
  3. package/dist/index.cjs.js +793 -0
  4. package/dist/index.esm.js +761 -0
  5. package/dist/normalize-webpack-path.cjs.d.ts +1 -0
  6. package/dist/normalize-webpack-path.cjs.js +42 -0
  7. package/dist/normalize-webpack-path.esm.js +33 -0
  8. package/dist/package.json +44 -0
  9. package/dist/src/constant.d.ts +16 -0
  10. package/dist/src/dom.d.ts +10 -0
  11. package/dist/src/env.d.ts +7 -0
  12. package/dist/src/generateSnapshotFromManifest.d.ts +10 -0
  13. package/{src/index.ts → dist/src/index.d.ts} +1 -4
  14. package/dist/src/logger.d.ts +8 -0
  15. package/dist/src/normalize-webpack-path.d.ts +3 -0
  16. package/{src/types/common.ts → dist/src/types/common.d.ts} +4 -12
  17. package/dist/src/types/manifest.d.ts +26 -0
  18. package/dist/src/types/snapshot.d.ts +62 -0
  19. package/dist/src/types/stats.d.ts +79 -0
  20. package/dist/src/utils.d.ts +17 -0
  21. package/package.json +5 -1
  22. package/CHANGELOG.md +0 -2190
  23. package/__tests__/decodeName.spec.ts +0 -11
  24. package/__tests__/encodeName.spec.ts +0 -10
  25. package/__tests__/generateSnapshotFromManifest.spec.ts +0 -147
  26. package/__tests__/parseEntry.spec.ts +0 -36
  27. package/__tests__/resources/constant.ts +0 -6
  28. package/__tests__/resources/getId.ts +0 -5
  29. package/__tests__/resources/manifestSnapshotMap.ts +0 -1541
  30. package/__tests__/simpleJoinRemoteEntry.spec.ts +0 -53
  31. package/jest.config.js +0 -27
  32. package/project.json +0 -65
  33. package/rollup.config.js +0 -11
  34. package/src/constant.ts +0 -24
  35. package/src/dom.ts +0 -115
  36. package/src/env.ts +0 -25
  37. package/src/generateSnapshotFromManifest.ts +0 -176
  38. package/src/logger.ts +0 -59
  39. package/src/normalize-webpack-path.ts +0 -33
  40. package/src/types/manifest.ts +0 -44
  41. package/src/types/snapshot.ts +0 -87
  42. package/src/types/stats.ts +0 -101
  43. package/src/utils.ts +0 -213
  44. package/tsconfig.json +0 -29
  45. package/tsconfig.lib.json +0 -10
  46. package/tsconfig.spec.json +0 -14
  47. /package/{src/types/index.ts → dist/src/types/index.d.ts} +0 -0
package/dist/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present zhanghang(2heal1)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ export * from "./src/index";