From e8ca18653442729f2924824984a869c5d2101471 Mon Sep 17 00:00:00 2001 From: Omar Azmi <64020006+omar-azmi@users.noreply.github.com> Date: Sun, 18 Feb 2024 17:07:37 -0500 Subject: [PATCH] forgot to add import `mappings` to the npm package converter --- build_npm.ts | 12 ++++++++++++ src/license.md | 1 - src/readme.md | 1 - 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/build_npm.ts b/build_npm.ts index 0489efc..3fd92e4 100644 --- a/build_npm.ts +++ b/build_npm.ts @@ -38,6 +38,18 @@ await build({ esModule: true, scriptModule: false, test: false, + mappings: Object.fromEntries( + ["binder", "builtin_aliases_deps", "lambda", "struct", "typedefs",].map((submodule_path) => { + return [ + "https://deno.land/x/kitchensink_ts@v0.7.3/" + submodule_path + ".ts", + { + name: "kitchensink_ts", + version: "^v0.7.3", + subPath: submodule_path, + } + ] + }) + ) }) // copy other files diff --git a/src/license.md b/src/license.md index 98a19d3..97c2d96 100644 --- a/src/license.md +++ b/src/license.md @@ -30,4 +30,3 @@ This is to prevent the intent of diverting existing or potential users away from THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - diff --git a/src/readme.md b/src/readme.md index d04f8da..6e274b3 100644 --- a/src/readme.md +++ b/src/readme.md @@ -78,4 +78,3 @@ Moreover, the compositions form a tree structure that preserves invertibility - It also makes diagnosing issues easier - if there is a decoding error, it must be within one of the composed Steps. The composition tree narrows down where the issue lies. -