jspm 3.1.1 → 3.1.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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -7
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -24329,7 +24329,7 @@ var cac = (name = "") => new CAC(name);
24329
24329
  var dist_default = cac;
24330
24330
 
24331
24331
  // package.json
24332
- var version = "3.1.0";
24332
+ var version = "3.1.2";
24333
24333
 
24334
24334
  // src/clearCache.ts
24335
24335
  import c from "picocolors";
@@ -24432,11 +24432,7 @@ var availableProviders = [
24432
24432
  "jsdelivr",
24433
24433
  "skypack",
24434
24434
  "unpkg",
24435
- /*
24436
- Disabling esm.sh provider for now. There is a bug for installing lit.
24437
- https://github.com/jspm/generator/issues/335
24438
- */
24439
- // "esm.sh",
24435
+ "esm.sh",
24440
24436
  "jspm.io#system"
24441
24437
  ];
24442
24438
  var JspmError = class extends Error {
@@ -24544,7 +24540,6 @@ async function getGenerator(flags, setEnv = true) {
24544
24540
  log2(
24545
24541
  `Creating generator with mapUrl ${mapUrl}, baseUrl ${baseUrl}, rootUrl ${rootUrl}`
24546
24542
  );
24547
- console.log(await getInputMap(flags));
24548
24543
  return new Generator({
24549
24544
  mapUrl,
24550
24545
  baseUrl,
@@ -25010,6 +25005,7 @@ var isValidUrl2 = (url) => {
25010
25005
  };
25011
25006
  var RollupImportmapPlugin = async (flags) => {
25012
25007
  const generator = await getGenerator({ ...flags, freeze: true });
25008
+ await generator.install();
25013
25009
  return {
25014
25010
  name: "rollup-importmap-plugin",
25015
25011
  resolveId: async (id, importer) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jspm",
3
3
  "type": "module",
4
- "version": "3.1.1",
4
+ "version": "3.1.2",
5
5
  "description": "Import Map Package Manager",
6
6
  "license": "Apache-2.0",
7
7
  "bin": {