Skip to content

Commit 796cdc7

Browse files
committed
Don't require package-lock.json in publish
1 parent efcbee5 commit 796cdc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd_publish.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ var publishCmd = &cobra.Command{
3333
zipWriter := zip.NewWriter(zipPipeWriter)
3434

3535
selected := make(map[string]bool)
36-
optionalFiles := []string{"README.md"}
37-
requiredFiles := []string{"package.json", "package-lock.json", "build/index.js"}
36+
optionalFiles := []string{"README.md", "package-lock.json"}
37+
requiredFiles := []string{"package.json", "build/index.js"}
3838
for _, name := range optionalFiles {
3939
selected[filepath.Clean(name)] = true
4040
}

0 commit comments

Comments
 (0)