jekyll-esm 0.1.0 → 0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a0c78f818f77fd849f9607aaafb450596ecf19cfc734a1e6c94a261ced383d3
4
- data.tar.gz: 0312d0bc24f988fe6aca12f7a06f46cb66fb8b42e8a19d4e1b964a0b0749f8e3
3
+ metadata.gz: 874a4a2123da08d7db10936aa7c1ef9c0ad4bd4b40e1bbdba9c112c362834648
4
+ data.tar.gz: 7eb4809d66b456733505bf68cbad740528c333a116bc8c15f05fe68884ed1b5f
5
5
  SHA512:
6
- metadata.gz: de5aa84406b28865a4187efdbe990a5064a435980fd28480048d0adda66e5ecad7c0d4d7fb94b4c585b81ad37379ee8357a10e20d785f1b3fd6dc67b1a7367e5
7
- data.tar.gz: 9960ff7fb28d4af09c00bdacdb515002362beeec21c9c8381ceab90df4f69c786363b2afa464f0cab82e2c79a2d09aa7ed9abf5794bbb47f7087c02289932e30
6
+ metadata.gz: e80869a7324675efcec4ee35c88dc8fba77f82f4068a30aee3aa896e512bc2db17eaa3bce7c736f6ad26ec44bc7ff1ceeae1c3c57a4e452c3352687e8298a676
7
+ data.tar.gz: 3929653faeb53d75ea0754f48dbdacd39c8e2f59b2f0defbccdfdda323e4328b3021542af40055c4865fa5b0dbe7ea1a8e6759a7fa9b6c051825c60822ffa2c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-esm (0.0.3)
4
+ jekyll-esm (0.1.1)
5
5
  jekyll
6
6
  listen
7
7
  nokogiri
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Steve Martin
3
+ Copyright (c) 2021 Steve Martin
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/lib/jekyll/esm.rb CHANGED
@@ -22,7 +22,8 @@ module Jekyll
22
22
  import_maps.each do |value|
23
23
  importmap = JSON.parse(value.children[0].content)
24
24
  imports = importmap["imports"]
25
- imports.keys.each do |import|
25
+ imports.keys.each do |import_key|
26
+ import = import_key.split('/').first
26
27
  pkg_path = File.join(page.site.source, 'node_modules', import)
27
28
 
28
29
  # don't repeatedly attempt to install a package
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Esm
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-esm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Martin