@jsenv/core 29.3.0-alpha.0 → 29.3.0-alpha.2

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/main.js CHANGED
@@ -20669,7 +20669,7 @@ const jsenvPluginRibbon = ({
20669
20669
  return {
20670
20670
  name: "jsenv:ribbon",
20671
20671
  appliesDuring: "*",
20672
- transformHtmlContent: {
20672
+ transformUrlContent: {
20673
20673
  html: (urlInfo, context) => {
20674
20674
  if (context.scenarios.build && !allowDuringBuild) {
20675
20675
  return null;
@@ -22960,6 +22960,7 @@ const startDevServer = async ({
22960
22960
  transpilation,
22961
22961
  explorer = true,
22962
22962
  // see jsenv_plugin_explorer.js
22963
+ ribbon = false,
22963
22964
  // toolbar = false,
22964
22965
 
22965
22966
  sourcemaps = "inline",
@@ -23100,6 +23101,7 @@ const startDevServer = async ({
23100
23101
  clientMainFileUrl,
23101
23102
  cooldownBetweenFileEvents,
23102
23103
  explorer,
23104
+ ribbon,
23103
23105
  sourcemaps,
23104
23106
  sourcemapsSourcesProtocol,
23105
23107
  sourcemapsSourcesContent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "29.3.0-alpha.0",
3
+ "version": "29.3.0-alpha.2",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -66,7 +66,7 @@
66
66
  "@c88/v8-coverage": "0.1.1",
67
67
  "@financial-times/polyfill-useragent-normaliser": "1.10.2",
68
68
  "@jsenv/abort": "4.2.4",
69
- "@jsenv/ast": "1.3.3",
69
+ "@jsenv/ast": "1.4.1",
70
70
  "@jsenv/babel-plugins": "1.0.8",
71
71
  "@jsenv/filesystem": "4.1.5",
72
72
  "@jsenv/importmap": "1.2.1",
@@ -64,6 +64,7 @@ export const startDevServer = async ({
64
64
  fileSystemMagicRedirection,
65
65
  transpilation,
66
66
  explorer = true, // see jsenv_plugin_explorer.js
67
+ ribbon = false,
67
68
  // toolbar = false,
68
69
 
69
70
  sourcemaps = "inline",
@@ -201,6 +202,7 @@ export const startDevServer = async ({
201
202
  clientMainFileUrl,
202
203
  cooldownBetweenFileEvents,
203
204
  explorer,
205
+ ribbon,
204
206
  sourcemaps,
205
207
  sourcemapsSourcesProtocol,
206
208
  sourcemapsSourcesContent,
@@ -21,7 +21,7 @@ export const jsenvPluginRibbon = ({
21
21
  return {
22
22
  name: "jsenv:ribbon",
23
23
  appliesDuring: "*",
24
- transformHtmlContent: {
24
+ transformUrlContent: {
25
25
  html: (urlInfo, context) => {
26
26
  if (context.scenarios.build && !allowDuringBuild) {
27
27
  return null