@cocreate/plugins 1.0.2

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: CoCreate-app
@@ -0,0 +1,44 @@
1
+ name: Automated Workflow
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ jobs:
7
+ about:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v3
12
+ - name: Setup Node.js
13
+ uses: actions/setup-node@v3
14
+ with:
15
+ node-version: 16
16
+ - name: Jaid/action-sync-node-meta
17
+ uses: jaid/action-sync-node-meta@v1.4.0
18
+ with:
19
+ direction: overwrite-github
20
+ githubToken: "${{ secrets.GITHUB }}"
21
+ release:
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - name: Checkout
25
+ uses: actions/checkout@v4
26
+ - name: Setup Node.js
27
+ uses: actions/setup-node@v4
28
+ with:
29
+ node-version: 22 # Required for the latest semantic-release plugins
30
+ - name: Semantic Release
31
+ uses: cycjimmy/semantic-release-action@v4 # Update to v4 for better Node 20+ support
32
+ id: semantic
33
+ with:
34
+ extra_plugins: |
35
+ @semantic-release/changelog
36
+ @semantic-release/git
37
+ @semantic-release/github
38
+ env:
39
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" # Use the built-in token if possible
40
+ NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
41
+ outputs:
42
+ new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
43
+ new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
44
+
@@ -0,0 +1,44 @@
1
+ name: Manual Workflow
2
+ on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ invalidations:
6
+ description: |
7
+ If set to 'true', invalidates previous upload.
8
+ default: "true"
9
+ required: true
10
+
11
+ jobs:
12
+ cdn:
13
+ runs-on: ubuntu-latest
14
+ env:
15
+ DRY_RUN: ${{ github.event.inputs.dry_run }}
16
+ GITHUB_TOKEN: "${{ secrets.GITHUB }}"
17
+ NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
18
+
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v3
22
+ - name: setup nodejs
23
+ uses: actions/setup-node@v3
24
+ with:
25
+ node-version: 16
26
+ - name: yarn install
27
+ run: >
28
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
29
+ .npmrc
30
+
31
+ yarn install
32
+ - name: yarn build
33
+ run: yarn build
34
+ - name: upload latest bundle
35
+ uses: CoCreate-app/CoCreate-s3@master
36
+ with:
37
+ aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
38
+ aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
39
+ distributionId: "${{ secrets.DISTRIBUTION_ID }}"
40
+ bucket: testcrudbucket
41
+ source: ./dist
42
+ destination: /plugins/latest
43
+ acl: public-read
44
+ invalidations: ${{ github.event.inputs.invalidations }}
package/CHANGELOG.md ADDED
@@ -0,0 +1,27 @@
1
+ ## [1.0.2](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.0.1...v1.0.2) (2025-12-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * workflow ([3da40b3](https://github.com/CoCreate-app/CoCreate-plugins/commit/3da40b3572bdc84f1c555b2be4ae5e1fcc1a4533))
7
+
8
+ ## [1.0.1](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.0.0...v1.0.1) (2025-12-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * workflow ([b1478b3](https://github.com/CoCreate-app/CoCreate-plugins/commit/b1478b3b6e014add5a7cb25fe83ce420147450f0))
14
+ * workflow ([dbab32c](https://github.com/CoCreate-app/CoCreate-plugins/commit/dbab32cc403943faad190acf2f1b3284f14965b7))
15
+
16
+ # 1.0.0 (2025-12-25)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * workflow ([044ec07](https://github.com/CoCreate-app/CoCreate-plugins/commit/044ec07b501298a17a61b604f37b9d5e76f1756c))
22
+ * workflow ([cb2ec43](https://github.com/CoCreate-app/CoCreate-plugins/commit/cb2ec438b2b1e69f19f0fe29bf11791631d7fb67))
23
+
24
+
25
+ ### Features
26
+
27
+ * Initial Release ([4d46a70](https://github.com/CoCreate-app/CoCreate-plugins/commit/4d46a70880c086733fa175531096d20f04a7f149))
@@ -0,0 +1,96 @@
1
+ # Contributing to CoCreate-plugins
2
+
3
+ This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-plugins/graphs/contributors).
4
+ You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-plugins/pulls),
5
+ [propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-plugins/issues).
6
+
7
+ In the examples below, substitute your Github username for `contributor` in URLs.
8
+
9
+ ## Fork the Project
10
+
11
+ Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-plugins) and check out your copy.
12
+
13
+ ```
14
+ git clone https://github.com/contributor/CoCreate-plugins.git
15
+ cd CoCreate-plugins
16
+ git remote add upstream https://github.com/CoCreate-app/CoCreate-plugins.git
17
+ ```
18
+
19
+ ## Create a Topic Branch
20
+
21
+ Make sure your fork is up-to-date and create a topic branch for your feature or bug fix on dev branch.
22
+
23
+ ```
24
+ git checkout dev
25
+ git pull upstream dev
26
+ git checkout -b my-feature-branch
27
+ ```
28
+
29
+ ## Write Tests
30
+
31
+ Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build.
32
+
33
+ We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix.
34
+
35
+ ## Write Code
36
+
37
+ Implement your feature or bug fix.
38
+
39
+ ## Write Documentation
40
+
41
+ Document any external behavior in the [README](README.md).
42
+
43
+ ## Commit Changes
44
+
45
+ Make sure git knows your name and email address:
46
+
47
+ ```
48
+ git config --global user.name "Your Name"
49
+ git config --global user.email "contributor@example.com"
50
+ ```
51
+
52
+ We use [semantic-release](https://github.com/semantic-release/semantic-release) as process to generate changelog
53
+ and to release. Write meaningful commits according to
54
+ [Commit Message Formats](https://github.com/semantic-release/semantic-release#commit-message-format) is important.
55
+
56
+ ```
57
+ git add ...
58
+ git commit -am "commit-type(optional topic): a meaningful message"
59
+ ```
60
+
61
+ Here is an example of the release type that should be done based on a [semantic-release](https://github.com/semantic-release/semantic-release):
62
+
63
+ | Commit message | Release type |
64
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------- |
65
+ | `fix(pencil): stop graphite breaking when too much pressure applied` | Patch Release |
66
+ | `feat(pencil): add 'graphiteWidth' option` | ~~Minor~~ Feature Release |
67
+ | `perf(pencil): remove graphiteWidth option`<br><br>`BREAKING CHANGE: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | ~~Major~~ Breaking Release |
68
+
69
+ ## Push
70
+
71
+ ```
72
+ git push origin my-feature-branch
73
+ ```
74
+
75
+ ## Make a Pull Request
76
+
77
+ Go to [https://github.com/CoCreate-app/CoCreate-plugins](https://github.com/CoCreate-app/CoCreate-plugins) and select your feature branch.
78
+ Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
79
+
80
+ ## Rebase
81
+
82
+ If you've been working on a change for a while, rebase with upstream/dev.
83
+
84
+ ```
85
+ git fetch upstream
86
+ git rebase upstream/dev
87
+ git push origin my-feature-branch -f
88
+ ```
89
+
90
+ ## Be Patient
91
+
92
+ It's likely that your change will not be merged and that the nitpicky maintainers will ask you to do more, or fix seemingly benign problems. Hang in there!
93
+
94
+ ## Thank You
95
+
96
+ Please do know that we really appreciate and value your time and work. We love you, really.
@@ -0,0 +1,23 @@
1
+ module.exports = {
2
+ "organization_id": "",
3
+ "key": "",
4
+ "host": "",
5
+ "sources": [
6
+ {
7
+ "array": "files",
8
+ "object": {
9
+ "_id": "6019e6794eea0817df303b10",
10
+ "name": "index.html",
11
+ "path": "/docs/plugins",
12
+ "pathname": "/docs/plugins/index.html",
13
+ "src": "{{./docs/index.html}}",
14
+ "host": [
15
+ "*"
16
+ ],
17
+ "directory": "plugins",
18
+ "content-type": "{{content-type}}",
19
+ "public": "true"
20
+ }
21
+ }
22
+ ]
23
+ };