mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[PR #173] [MERGED] Dual CommonJS and ESM modules distributions #147
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#147
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase/pull/173
Author: @appy-one
Created: 11/7/2022
Status: ✅ Merged
Merged: 11/7/2022
Merged by: @appy-one
Base:
master← Head:feature/dual-cjs-esm-dist📝 Commits (10+)
66b5979Moved generated files to dist, ts to src0be84femoved types & maps into own dirbd947dfupdate build settings & paths8ec49a0chore: build898ff05type improvements07cb6cdcommonjs and esm distributions8537d1fremove old types0796ecfchange import paths to dist8b884ebchore: build1b1e239export throwing browser classes📊 Changes
852 files changed (+25255 additions, -814 deletions)
View changed files
📝
README.md(+12 -1)➕
create-package-files(+47 -0)📝
dist/browser.js(+166 -63)📝
dist/browser.min.js(+1 -1)📝
dist/cjs/acebase-browser.js(+0 -0)➕
dist/cjs/acebase-browser.js.map(+1 -0)📝
dist/cjs/acebase-local.js(+0 -0)➕
dist/cjs/acebase-local.js.map(+1 -0)📝
dist/cjs/api-local.js(+3 -2)➕
dist/cjs/api-local.js.map(+1 -0)📝
dist/cjs/async-task-batch.js(+0 -0)➕
dist/cjs/async-task-batch.js.map(+1 -0)📝
dist/cjs/binary.js(+0 -0)➕
dist/cjs/binary.js.map(+1 -0)📝
dist/cjs/browser.js(+0 -0)➕
dist/cjs/browser.js.map(+1 -0)📝
dist/cjs/btree/binary-pointer.js(+1 -1)➕
dist/cjs/btree/binary-pointer.js.map(+1 -0)📝
dist/cjs/btree/binary-reader.js(+0 -0)➕
dist/cjs/btree/binary-reader.js.map(+1 -0)...and 80 more files
📄 Description
This compiles the typescript sources to both CommonJS and ESM modules.
const { AceBase } = require('acebase')exports the CommonJS modulesimport { AceBase } from 'acebase'exports the ESM modules🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.