@arcgis/lumina-compiler 6.0.0-next.11 → 6.0.0-next.13

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/dist/index.js CHANGED
@@ -1564,7 +1564,7 @@ function tn(e, t) {
1564
1564
  }
1565
1565
  const Ni = "packages/core-packages/core/src", sn = "packages/core-packages/core/output/npm/esm", te = !import.meta.url.includes("node_modules");
1566
1566
  function mt(e) {
1567
- return te && e.name !== "@esri/calcite-components" ? "6.0.0-next.11" : e.version;
1567
+ return te && e.name !== "@esri/calcite-components" ? "6.0.0-next.13" : e.version;
1568
1568
  }
1569
1569
  function ji({ command: e }) {
1570
1570
  return e === "serve" && process.argv.includes("--local-core");
@@ -1768,7 +1768,7 @@ async function dn(e) {
1768
1768
  ];
1769
1769
  e.server.middlewares.use("/builddate.txt", (n, r) => {
1770
1770
  r.setHeader("Cache-Control", "no-cache"), r.setHeader("Content-Type", "text/plain");
1771
- const a = t?.sourceLocation ? "6.0.0-next.11" : j(i).version;
1771
+ const a = t?.sourceLocation ? "6.0.0-next.13" : j(i).version;
1772
1772
  r.end(JSON.stringify({ version: a }));
1773
1773
  }), ie(e, s, [], "no-cache");
1774
1774
  }
@@ -2758,7 +2758,10 @@ const Ut = "@arcgis/lumina:configureVite", Yn = (e) => ({
2758
2758
  "lit-html",
2759
2759
  "lit-element",
2760
2760
  "@lit/reactive-element",
2761
- "@lit/context"
2761
+ "@lit/context",
2762
+ // Workaround for Vite bug in pnpm repos
2763
+ // https://github.com/vitejs/vite/issues/21088
2764
+ "@lit/task"
2762
2765
  ]
2763
2766
  };
2764
2767
  if (typeof p.setupFiles == "string" ? p.setupFiles = [...We, p.setupFiles] : Array.isArray(p.setupFiles) ? p.setupFiles = [...We, ...p.setupFiles] : p.setupFiles = [...We], e.isInPuppeteerTestBackEnd) {
@@ -71,8 +71,9 @@ export interface RenderOptions<Component extends HTMLElement = HTMLElement> {
71
71
  */
72
72
  readonly dynamicComponents?: (typeof LitElement)[];
73
73
  /**
74
- * Whether to cleanup the document body after the test. Set this to false if
75
- * you wish to reuse the same component between different test() blocks.
74
+ * Whether to remove the mounted container and its contents after the test,
75
+ * even if the test fails. Set this to false if you wish to reuse the same
76
+ * component between different test() blocks. You must then clean it up yourself, especially on test failure, to avoid flaky tests.
76
77
  *
77
78
  * @default true
78
79
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina-compiler",
3
- "version": "6.0.0-next.11",
3
+ "version": "6.0.0-next.13",
4
4
  "description": "Compiler for WebGIS web components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,9 +25,9 @@
25
25
  ],
26
26
  "license": "SEE LICENSE IN LICENSE.md",
27
27
  "dependencies": {
28
- "@arcgis/api-extractor": "6.0.0-next.11",
29
- "@arcgis/node-toolkit": "6.0.0-next.11",
30
- "@arcgis/toolkit": "~6.0.0-next.11",
28
+ "@arcgis/api-extractor": "6.0.0-next.13",
29
+ "@arcgis/node-toolkit": "6.0.0-next.13",
30
+ "@arcgis/toolkit": "~6.0.0-next.13",
31
31
  "esbuild": "~0.28.1",
32
32
  "js-beautify": "^1.15.4",
33
33
  "mime-types": "^3.0.1",
@@ -35,7 +35,7 @@
35
35
  "tslib": "^2.8.1"
36
36
  },
37
37
  "peerDependencies": {
38
- "@arcgis/lumina": "~6.0.0-next.11",
38
+ "@arcgis/lumina": "~6.0.0-next.13",
39
39
  "lit": "^3.3.0",
40
40
  "puppeteer": "^24.30.0",
41
41
  "typescript": "~6.0.3",