jspm 3.1.0 → 3.1.1

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 +7 -3
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -24432,7 +24432,11 @@ var availableProviders = [
24432
24432
  "jsdelivr",
24433
24433
  "skypack",
24434
24434
  "unpkg",
24435
- "esm.sh",
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",
24436
24440
  "jspm.io#system"
24437
24441
  ];
24438
24442
  var JspmError = class extends Error {
@@ -24540,6 +24544,7 @@ async function getGenerator(flags, setEnv = true) {
24540
24544
  log2(
24541
24545
  `Creating generator with mapUrl ${mapUrl}, baseUrl ${baseUrl}, rootUrl ${rootUrl}`
24542
24546
  );
24547
+ console.log(await getInputMap(flags));
24543
24548
  return new Generator({
24544
24549
  mapUrl,
24545
24550
  baseUrl,
@@ -25005,7 +25010,6 @@ var isValidUrl2 = (url) => {
25005
25010
  };
25006
25011
  var RollupImportmapPlugin = async (flags) => {
25007
25012
  const generator = await getGenerator({ ...flags, freeze: true });
25008
- await generator.install();
25009
25013
  return {
25010
25014
  name: "rollup-importmap-plugin",
25011
25015
  resolveId: async (id, importer) => {
@@ -25261,7 +25265,7 @@ cli.command("clear-cache", "clear the local package cache").usage(
25261
25265
 
25262
25266
  Clears the global module fetch cache, for situations where the contents of a dependency may have changed without a version bump. This can happen during local development, for instance.`
25263
25267
  ).alias("cc").action(wrapCommand(clearCache));
25264
- cli.command("build [entry]", "Build the module using importmap").option(...buildConfigOpt).option(...buildOutputOpt).action(wrapCommand(build));
25268
+ cli.command("build [entry]", "Build the module using importmap").option(...resolutionOpt).option(...mapOpt).option(...buildConfigOpt).option(...buildOutputOpt).action(wrapCommand(build));
25265
25269
  function defaultHelpCb(helpSections) {
25266
25270
  for (const section of Object.values(helpSections)) {
25267
25271
  if (section.title === "Commands") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jspm",
3
3
  "type": "module",
4
- "version": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "description": "Import Map Package Manager",
6
6
  "license": "Apache-2.0",
7
7
  "bin": {
@@ -12,7 +12,7 @@
12
12
  "jspm.js"
13
13
  ],
14
14
  "dependencies": {
15
- "@jspm/generator": "^1.1.10",
15
+ "@jspm/generator": "^1.1.12",
16
16
  "cac": "^6.7.14",
17
17
  "ora": "^6.3.0",
18
18
  "picocolors": "^1.0.0",