postal-mime 1.0.15 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yaml +37 -0
- package/CHANGELOG.md +14 -0
- package/LICENSE.txt +16 -661
- package/dist/node.js +1 -1
- package/dist/postal-mime.js +1 -1
- package/package.json +16 -8
- package/postal-mime.d.ts +34 -36
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- master
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: write
|
|
8
|
+
pull-requests: write
|
|
9
|
+
id-token: write
|
|
10
|
+
|
|
11
|
+
name: release
|
|
12
|
+
jobs:
|
|
13
|
+
release-please:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: google-github-actions/release-please-action@v3
|
|
17
|
+
id: release
|
|
18
|
+
with:
|
|
19
|
+
release-type: node
|
|
20
|
+
package-name: ${{vars.NPM_MODULE_NAME}}
|
|
21
|
+
pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
|
|
22
|
+
# The logic below handles the npm publication:
|
|
23
|
+
- uses: actions/checkout@v3
|
|
24
|
+
# these if statements ensure that a publication only occurs when
|
|
25
|
+
# a new release is created:
|
|
26
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
27
|
+
- uses: actions/setup-node@v3
|
|
28
|
+
with:
|
|
29
|
+
node-version: 18
|
|
30
|
+
registry-url: 'https://registry.npmjs.org'
|
|
31
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
32
|
+
- run: npm ci
|
|
33
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
34
|
+
- run: npm publish --provenance --access public
|
|
35
|
+
env:
|
|
36
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
37
|
+
if: ${{ steps.release.outputs.release_created }}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.1.0](https://github.com/postalsys/postal-mime/compare/v1.0.16...v1.1.0) (2023-11-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **deploy:** automatic publishing ([64f9a81](https://github.com/postalsys/postal-mime/commit/64f9a814414ff4a6f3e33c23a5c4821ab0099c5f))
|
|
9
|
+
* **license:** changed license from AGPL to MIT-0 ([d0ca0dc](https://github.com/postalsys/postal-mime/commit/d0ca0dce40315ae63d8ebd6420c0d1467baac01e))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **ts:** Update postal-mime.d.ts ([#13](https://github.com/postalsys/postal-mime/issues/13)) ([6cee404](https://github.com/postalsys/postal-mime/commit/6cee40477c711959f94def4c33baf4330a6a249f))
|