From 1904435e5f7f09e3aaf9d5fb94895d7d6de8fcc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20B=C3=A9rtoli?= Date: Mon, 11 Mar 2019 08:07:38 -0300 Subject: [PATCH] Add npm example starting with @ --- pillar.example | 2 ++ test/integration/default/npms_spec.rb | 1 + 2 files changed, 3 insertions(+) diff --git a/pillar.example b/pillar.example index 17d1b4b..681d04d 100644 --- a/pillar.example +++ b/pillar.example @@ -79,6 +79,8 @@ packages: # @foobar # buffer-equal-constant-time@1.0.1 # coffee-script + # You need to quote the package if it starts with '@' + - '@davidodio/hello@2.3.0' - hello-world-npm - sax - coffee-script@1.0.1 diff --git a/test/integration/default/npms_spec.rb b/test/integration/default/npms_spec.rb index 829aed1..d5f766b 100644 --- a/test/integration/default/npms_spec.rb +++ b/test/integration/default/npms_spec.rb @@ -4,6 +4,7 @@ npms_path = '/home/kitchen/npms' wanted_npms = { + '@davidodio/hello': '2.3.0', 'hello-world-npm': '1.1.1', 'sax': '1.2.4', 'coffee-script': '1.0.1'