[PR #37] [MERGED] Dual CommonJS and ESM modules distributions #35

Closed
opened 2026-05-23 08:34:58 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase-client/pull/37
Author: @appy-one
Created: 11/7/2022
Status: Merged
Merged: 11/7/2022
Merged by: @appy-one

Base: masterHead: feature/dual-cjs-esm-dist


📝 Commits (5)

📊 Changes

9 files changed (+61 additions, -57 deletions)

View changed files

📝 dist/browser.js (+41 -37)
📝 dist/browser.min.js (+1 -1)
📝 dist/cjs/api-web.js.map (+1 -1)
📝 dist/esm/api-web.js.map (+1 -1)
📝 dist/types/api-web.d.ts (+2 -2)
📝 dist/types/api-web.d.ts.map (+1 -1)
📝 package-lock.json (+3 -3)
📝 package.json (+8 -8)
📝 src/api-web.ts (+3 -3)

📄 Description

This compiles the typescript sources to both CommonJS and ESM modules.

const { AceBaseClient } = require('acebase-client') exports the CommonJS modules
import { AceBaseClient } from 'acebase-client' exports the ESM modules


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase-client/pull/37 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 11/7/2022 **Status:** ✅ Merged **Merged:** 11/7/2022 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `feature/dual-cjs-esm-dist` --- ### 📝 Commits (5) - [`4b9a576`](https://github.com/appy-one/acebase-client/commit/4b9a57672f8ed72bcb17774c84806324c8eb4280) bump acebase-core to v1.24.0 - [`5c934fd`](https://github.com/appy-one/acebase-client/commit/5c934fd7b22495f1a5a7efc09cd771400a495179) Use TypedArrayLike instead of ArrayBufferView - [`88a3d8e`](https://github.com/appy-one/acebase-client/commit/88a3d8e0f557e16748aa1151bc621a3a27eae0b4) dual cjs and esm exports - [`376de8a`](https://github.com/appy-one/acebase-client/commit/376de8abad26a851956aeecac434c2a291da71dc) package-lock.json - [`ecf8153`](https://github.com/appy-one/acebase-client/commit/ecf81530a2048a4d773a658b7e226dc41b79d582) chore: build ### 📊 Changes **9 files changed** (+61 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `dist/browser.js` (+41 -37) 📝 `dist/browser.min.js` (+1 -1) 📝 `dist/cjs/api-web.js.map` (+1 -1) 📝 `dist/esm/api-web.js.map` (+1 -1) 📝 `dist/types/api-web.d.ts` (+2 -2) 📝 `dist/types/api-web.d.ts.map` (+1 -1) 📝 `package-lock.json` (+3 -3) 📝 `package.json` (+8 -8) 📝 `src/api-web.ts` (+3 -3) </details> ### 📄 Description This compiles the typescript sources to both CommonJS and ESM modules. `const { AceBaseClient } = require('acebase-client')` exports the CommonJS modules `import { AceBaseClient } from 'acebase-client'` exports the ESM modules --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:34:58 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase-client#35
No description provided.