@mackenly/planningcenterkit 0.2.2 → 0.3.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.
@@ -0,0 +1,3 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: mackenly
@@ -0,0 +1,21 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "npm" # See documentation for possible values
9
+ directory: "/" # Location of package manifests
10
+ schedule:
11
+ interval: "monthly"
12
+ groups:
13
+ production-dependencies:
14
+ dependency-type: "production"
15
+ development-dependencies:
16
+ dependency-type: "development"
17
+ labels:
18
+ - "npm"
19
+ - "dependencies"
20
+ assignees:
21
+ - "mackenly"
@@ -4,6 +4,7 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - main
7
+ - '*beta*'
7
8
  tags:
8
9
  - 'v*'
9
10
  paths-ignore:
@@ -35,7 +36,7 @@ jobs:
35
36
  publish:
36
37
  needs: build-and-test
37
38
  runs-on: ubuntu-latest
38
- if : github.repository_owner == 'mackenly' && github.ref == 'refs/heads/main'
39
+ if : github.repository_owner == 'mackenly' && (github.ref == 'refs/heads/main' || contains(github.ref, 'beta'))
39
40
  permissions:
40
41
  contents: write
41
42
  packages: write
@@ -57,6 +58,8 @@ jobs:
57
58
  minor-wording: 'bump-minor,adds,Adds,new'
58
59
  major-wording: 'bump-major,MAJOR,removes,Removes,delete,Delete'
59
60
  patch-wording: 'bump-patch,fixes,Fixes,bugfix,Bugfix,patch,hotfix,Hotfix'
61
+ preid: ${{ contains(github.ref, 'beta') && 'beta' || '' }}
62
+ tag-suffix: ${{ contains(github.ref, 'beta') && '-beta' || '' }}
60
63
  env:
61
64
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62
65
  - name: Publish to GitHub Packages
@@ -74,7 +77,12 @@ jobs:
74
77
  env:
75
78
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
76
79
  - name: Publish to npm
77
- run: npm publish --access public --tag latest
80
+ run: |
81
+ if [[ "${{ github.ref }}" == *beta* ]]; then
82
+ npm publish --access public --tag beta
83
+ else
84
+ npm publish --access public --tag latest
85
+ fi
78
86
  env:
79
87
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
80
88
  - name: Create GitHub Release
@@ -86,4 +94,4 @@ jobs:
86
94
  release_name: Release ${{ steps.versioning.outputs.newTag }}
87
95
  body: ${{ steps.versioning.outputs.changelog }}
88
96
  draft: false
89
- prerelease: false
97
+ prerelease: ${{ contains(github.ref, 'beta') }}
package/SECURITY.md ADDED
@@ -0,0 +1,13 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ No version is officially supported since this is a community-driven open-source project. However, we aim to keep the latest version up to date.
6
+
7
+ ## Reporting a Vulnerability
8
+
9
+ Thank you for wanting to report a vulnerability. To get in touch, please go to [Tricities Media Group's contact form](https://tricitiesmediagroup.com/contact) and select "Security" as the purpose. This will go straight to one of the maintainers.
10
+
11
+ If this is a vulnerability of an upstream dependency, we certainly want to do what we can to update those dependencies to minimize the risk to our users.
12
+
13
+ Thanks!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mackenly/planningcenterkit",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Unofficial ORM for Planning Center Online",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",