[PR #40] [MERGED] ESM module distribution #38

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

📋 Pull Request Information

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

Base: masterHead: fix/esm-bundle


📝 Commits (10+)

  • 31e4590 temp: use acebase-core from github branch
  • a069766 use esm bundle when imported
  • 95bccd7 browserify ignore rxjs Observable
  • 5b35f92 chore: build
  • b935cbe use latest acebase-core commit
  • 2f0c797 use latest acebase-core commit from master branch
  • d317a8d only import request from http & https
  • 5a38ab6 chore: build
  • 39e32ea add tests - simple starter
  • 7b77e28 ignore test .js

📊 Changes

28 files changed (+1195 additions, -71 deletions)

View changed files

📝 .eslintrc.json (+1 -1)
📝 .gitignore (+2 -1)
📝 .npmignore (+8 -7)
📝 dist/browser.js (+75 -42)
📝 dist/browser.min.js (+1 -1)
📝 dist/cjs/request/index.js (+3 -3)
📝 dist/cjs/request/index.js.map (+1 -1)
📝 dist/esm/request/index.js (+3 -3)
📝 dist/esm/request/index.js.map (+1 -1)
📝 package-lock.json (+22 -3)
📝 package.json (+3 -4)
📝 src/request/index.ts (+3 -3)
test/README.md (+6 -0)
test/cjs/index.js (+4 -0)
test/cjs/package.json (+4 -0)
test/cjs/run.js (+48 -0)
test/cjs/settings.js (+8 -0)
test/esm/index.js (+4 -0)
test/esm/package.json (+4 -0)
test/esm/run.js (+44 -0)

...and 8 more files

📄 Description

Compile to CommonJS and ESM module distributions, use ESM for import, CommonJS otherwise. Also adds simple test package that connects to a local AceBase server.


🔄 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/40 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 11/22/2022 **Status:** ✅ Merged **Merged:** 11/22/2022 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `fix/esm-bundle` --- ### 📝 Commits (10+) - [`31e4590`](https://github.com/appy-one/acebase-client/commit/31e45909424f4efbb7bfb162a0811f053b30618c) temp: use acebase-core from github branch - [`a069766`](https://github.com/appy-one/acebase-client/commit/a06976676a96df4d3be5e7d4dd9e11a8d8192eeb) use esm bundle when `import`ed - [`95bccd7`](https://github.com/appy-one/acebase-client/commit/95bccd740f77e33193a34e748461aa1c3024cc22) browserify ignore rxjs Observable - [`5b35f92`](https://github.com/appy-one/acebase-client/commit/5b35f9232ee4d3d4dbfc2be14b3a82514a71adbe) chore: build - [`b935cbe`](https://github.com/appy-one/acebase-client/commit/b935cbe8b8ba811d902ad3f32cb33db302cf17fd) use latest acebase-core commit - [`2f0c797`](https://github.com/appy-one/acebase-client/commit/2f0c797a1a442ea7bbb306df9056ef397e536f12) use latest acebase-core commit from master branch - [`d317a8d`](https://github.com/appy-one/acebase-client/commit/d317a8df7344da3e70d0bee213650580693780ec) only import `request` from http & https - [`5a38ab6`](https://github.com/appy-one/acebase-client/commit/5a38ab625b28cbc3011d0e7c06b5c63749f21a41) chore: build - [`39e32ea`](https://github.com/appy-one/acebase-client/commit/39e32ea7eae64f0bdf07ad7f17f2152d39955c70) add tests - simple starter - [`7b77e28`](https://github.com/appy-one/acebase-client/commit/7b77e28c584bafbea32d1ad48f4c65228468ab34) ignore test .js ### 📊 Changes **28 files changed** (+1195 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `.eslintrc.json` (+1 -1) 📝 `.gitignore` (+2 -1) 📝 `.npmignore` (+8 -7) 📝 `dist/browser.js` (+75 -42) 📝 `dist/browser.min.js` (+1 -1) 📝 `dist/cjs/request/index.js` (+3 -3) 📝 `dist/cjs/request/index.js.map` (+1 -1) 📝 `dist/esm/request/index.js` (+3 -3) 📝 `dist/esm/request/index.js.map` (+1 -1) 📝 `package-lock.json` (+22 -3) 📝 `package.json` (+3 -4) 📝 `src/request/index.ts` (+3 -3) ➕ `test/README.md` (+6 -0) ➕ `test/cjs/index.js` (+4 -0) ➕ `test/cjs/package.json` (+4 -0) ➕ `test/cjs/run.js` (+48 -0) ➕ `test/cjs/settings.js` (+8 -0) ➕ `test/esm/index.js` (+4 -0) ➕ `test/esm/package.json` (+4 -0) ➕ `test/esm/run.js` (+44 -0) _...and 8 more files_ </details> ### 📄 Description Compile to CommonJS and ESM module distributions, use ESM for `import`, CommonJS otherwise. Also adds simple test package that connects to a local AceBase server. --- <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:35:07 -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#38
No description provided.