From f6ad4d595ba729544ab3450c18aad7035d16d03e Mon Sep 17 00:00:00 2001 From: Tristan Cartledge Date: Sat, 28 Jan 2023 17:48:25 +0000 Subject: [PATCH] fix: make underscore a public package --- engine.go | 2 +- {internal => pkg}/underscore/LICENSE | 0 {internal => pkg}/underscore/underscore-min.js | 0 {internal => pkg}/underscore/underscore.go | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {internal => pkg}/underscore/LICENSE (100%) rename {internal => pkg}/underscore/underscore-min.js (100%) rename {internal => pkg}/underscore/underscore.go (100%) diff --git a/engine.go b/engine.go index 2c50ced..32c009f 100644 --- a/engine.go +++ b/engine.go @@ -16,7 +16,7 @@ import ( "github.com/dop251/goja_nodejs/console" "github.com/dop251/goja_nodejs/require" "github.com/speakeasy-api/easytemplate/internal/template" - "github.com/speakeasy-api/easytemplate/internal/underscore" + "github.com/speakeasy-api/easytemplate/pkg/underscore" ) var ( diff --git a/internal/underscore/LICENSE b/pkg/underscore/LICENSE similarity index 100% rename from internal/underscore/LICENSE rename to pkg/underscore/LICENSE diff --git a/internal/underscore/underscore-min.js b/pkg/underscore/underscore-min.js similarity index 100% rename from internal/underscore/underscore-min.js rename to pkg/underscore/underscore-min.js diff --git a/internal/underscore/underscore.go b/pkg/underscore/underscore.go similarity index 100% rename from internal/underscore/underscore.go rename to pkg/underscore/underscore.go