-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from bjuppa/enable-tree-shaking
Remove type-lift
- Loading branch information
Showing
8 changed files
with
66 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Development | ||
|
||
```sh | ||
# Run tests | ||
deno test | ||
|
||
# Linter | ||
deno lint | ||
|
||
# Formatter | ||
deno fmt --check | ||
deno fmt | ||
``` | ||
|
||
## Releases | ||
|
||
Releases are to be created and managed through | ||
[GitHub Releases](https://github.com/bjuppa/com-plain-date/releases). | ||
|
||
New releases are automatically published to | ||
[deno.land](https://deno.land/x/complaindate) with a | ||
[GitHub Webhook](https://github.com/bjuppa/com-plain-date/settings/hooks) and to | ||
[npm](https://www.npmjs.com/package/complaindate) with a | ||
[GitHub Action](https://github.com/bjuppa/com-plain-date/actions). | ||
|
||
## Testing the package | ||
|
||
There's a script (using [dnt](https://github.com/denoland/dnt)) that generates | ||
an npm package from the current code into [the `npm/` directory](/npm): | ||
|
||
```sh | ||
# Version tag is not required for local testing | ||
deno run -A scripts/build_npm.ts | ||
``` | ||
|
||
If you have an npm project setup locally for testing, you may install the built | ||
package using a local path: | ||
|
||
```sh | ||
npm install path/to/com-plain-date/npm | ||
``` |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"lock": false, | ||
"lint": { | ||
"exclude": [ | ||
"npm/" | ||
] | ||
}, | ||
"fmt": { | ||
"exclude": [ | ||
"npm/" | ||
] | ||
}, | ||
"test": { | ||
"exclude": [ | ||
"npm/" | ||
] | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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