feat: make it npm installable#179
Open
JonasMH wants to merge 1 commit into
Open
Conversation
Owner
|
I actually don't want to do this yet.
…On Sat, Feb 14, 2026, 3:07 PM Jonas Hansen ***@***.***> wrote:
This will make the project installable through npm by exporting the types
and main entry point. Enabling
npm install --save https://github.com/theacodes/kicanvas
import "kicanvas";
To register the custom elements
Note, this is the first in a series of three pull-requests with the end
goal of making it easier to embed in a custom typescript based web
application. The pull requests will be as follows:
1. make it npm installable (this)
2. make it work with other bundles than esbuild
All non ts import must be converted to .ts, example are .glsl, .css
3. make it export custom element attribute typing
------------------------------
You can view, comment on, or merge this pull request online at:
#179
Commit Summary
- e3434d6
<e3434d6>
feat: make it npm installable
File Changes
(2 files <https://github.com/theacodes/kicanvas/pull/179/files>)
- *M* docs/docs/embedding.md
<https://github.com/theacodes/kicanvas/pull/179/files#diff-e0aefa98839f3280d834871164bb608a12efc2603f841b1151ba283d07f0ed97>
(14)
- *M* package.json
<https://github.com/theacodes/kicanvas/pull/179/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519>
(10)
Patch Links:
- https://github.com/theacodes/kicanvas/pull/179.patch
- https://github.com/theacodes/kicanvas/pull/179.diff
—
Reply to this email directly, view it on GitHub
<#179>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB5I47ZHHHVHWQFQUII27D4L557VAVCNFSM6AAAAACVEW2RGSVHI2DSMVQWIX3LMV43ASLTON2WKOZTHE2DEMJZGQ2TQMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will make the project installable through npm by exporting the types and main entry point. Enabling
To register the custom elements
Note, this is the first in a series of three pull-requests with the end goal of making it easier to embed in a custom typescript based web application. The pull requests will be as follows:
All non ts import must be converted to
.ts, example are.glsl,.css