@cocreate/plugins 1.8.0 → 2.0.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.
@@ -1,3 +1,3 @@
1
1
  # These are supported funding model platforms
2
2
 
3
- github: CoCreate-app
3
+ github: CoCreateJS
@@ -12,16 +12,27 @@ jobs:
12
12
  - name: Checkout repository
13
13
  uses: actions/checkout@v7
14
14
 
15
- - name: Sync package.json description to GitHub About
15
+ - name: Sync package.json description and keywords to GitHub repository
16
16
  env:
17
- GITHUB_TOKEN: ${{ secrets.GITHUB }}
17
+ GH_TOKEN: ${{ secrets.GITHUB }}
18
18
  run: |
19
- DESC=$(jq -r '.description // empty' package.json)
20
- if [ -n "$DESC" ]; then
21
- echo "Updating repository description to: $DESC"
22
- gh api -X PATCH repos/${{ github.repository }} -f description="$DESC"
19
+ if [ ! -f package.json ]; then
20
+ echo "No package.json found; skipping repository metadata sync."
21
+ exit 0
22
+ fi
23
+
24
+ DESCRIPTION=$(jq -r '.description // empty' package.json)
25
+ if [ -n "$DESCRIPTION" ]; then
26
+ gh api --method PATCH "repos/${GITHUB_REPOSITORY}" -f description="$DESCRIPTION"
27
+ else
28
+ echo "No package description found; leaving GitHub description unchanged."
29
+ fi
30
+
31
+ if jq -e '.keywords | type == "array"' package.json >/dev/null; then
32
+ TOPICS=$(jq -c '.keywords | map(ascii_downcase | gsub("[^a-z0-9-]+"; "-") | gsub("(^-+|-+$)"; "") | .[0:50]) | map(select(length > 0)) | unique | .[0:20]' package.json)
33
+ printf '{"names":%s}' "$TOPICS" | gh api --method PUT -H "Accept: application/vnd.github+json" "repos/${GITHUB_REPOSITORY}/topics" --input -
23
34
  else
24
- echo "No description found in package.json."
35
+ echo "No package keywords found; leaving GitHub topics unchanged."
25
36
  fi
26
37
 
27
38
  release:
package/CHANGELOG.md CHANGED
@@ -1,115 +1,150 @@
1
- ## [1.4.2](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.4.1...v1.4.2) (2026-07-19)
1
+ # [2.0.0](https://github.com/CoCreateJS/plugins/compare/v1.4.2...v2.0.0) (2026-11-02)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * set default branch to main ([6252e49](https://github.com/CoCreate-app/CoCreate-plugins/commit/6252e49ac94bf14ba903943788cc443c5a5fd113))
6
+ * add Deno specific entries to .gitignore ([2e77744](https://github.com/CoCreateJS/plugins/commit/2e77744e33cab2968d7f9c2bf41f9dae38f25455))
7
+ * await pending plugin initialization ([d500cd2](https://github.com/CoCreateJS/plugins/commit/d500cd23245ddbbca0f31951dd8356888981ee4a))
8
+ * bump [@cocreate](https://github.com/cocreate) dependencies ([7893b9e](https://github.com/CoCreateJS/plugins/commit/7893b9ea09c130488553d33bdb4a7c6dd71e68f0))
9
+ * bump versions ([e70fdfa](https://github.com/CoCreateJS/plugins/commit/e70fdfadbbebb13880dc1cd2c40d5ade30092f37))
10
+ * bump versions ([321063f](https://github.com/CoCreateJS/plugins/commit/321063f9c223b5107629dcf516ea18380e0a5ad5))
11
+ * execute plugin configurations directly through AST ([f507b05](https://github.com/CoCreateJS/plugins/commit/f507b05fa7a831f9a7686067f1eaf506543b29e9))
12
+ * improve dynamic plugin initialization ([f834366](https://github.com/CoCreateJS/plugins/commit/f834366dda96db9aaf678780f14edbca159f6fb4))
13
+ * prevent duplicate plugin initialization ([7e36818](https://github.com/CoCreateJS/plugins/commit/7e368188c7cfd8804b7401cca609989dcfe99d2e))
14
+ * remove trailing slash from node_modules entry in .gitignore ([77ec08a](https://github.com/CoCreateJS/plugins/commit/77ec08a37696cba91aea9fcde55a1bd0e644e02c))
15
+ * stabilize dynamic plugin initialization ([4bd1763](https://github.com/CoCreateJS/plugins/commit/4bd176386f1e18a5ae865b7df1c19f43c5948b24))
16
+ * update git url ([06fdd2d](https://github.com/CoCreateJS/plugins/commit/06fdd2d13142a4614e0f983c0248753df2f0250d))
17
+ * update GitHub Actions to use latest versions and sync package.json description ([bf390e2](https://github.com/CoCreateJS/plugins/commit/bf390e24d9dbcb1738358fa6beba2d0546ce94ac))
18
+ * update string escape for plugin name checks ([2d99094](https://github.com/CoCreateJS/plugins/commit/2d9909486f23a6b6e38efbd107faa475893c03a4))
7
19
 
8
- ## [1.4.1](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.4.0...v1.4.1) (2026-07-17)
20
+
21
+ ### chore
22
+
23
+ * record package identity migration as breaking ([9926af9](https://github.com/CoCreateJS/plugins/commit/9926af94d90d5330def0245d22348f6616d31188))
24
+
25
+
26
+ ### Features
27
+
28
+ * execute plugin configs through AST ([4e4d3a5](https://github.com/CoCreateJS/plugins/commit/4e4d3a509ea742fcc6b4c62902760438fa9c220c))
29
+ * replace uuid import and usage with utils ([f92a5a3](https://github.com/CoCreateJS/plugins/commit/f92a5a33ad9bcdfde6fb75d56dac8f0ff7a6b679))
30
+
31
+
32
+ ### BREAKING CHANGES
33
+
34
+ * Consumers must install @cocreate/plugins and use the renamed CoCreateJS repository identity; the previous package and repository identities are no longer supported.
35
+
36
+ ## [1.4.2](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.4.1...v1.4.2) (2026-07-19)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * set default branch to main ([6252e49](https://github.com/CoCreateJS/CoCreate-plugins/commit/6252e49ac94bf14ba903943788cc443c5a5fd113))
42
+
43
+ ## [1.4.1](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.4.0...v1.4.1) (2026-07-17)
9
44
 
10
45
 
11
46
  ### Bug Fixes
12
47
 
13
- * bump dependencies ([0bcc639](https://github.com/CoCreate-app/CoCreate-plugins/commit/0bcc6392a3f033f26f9d8d1145e10a6df7de7ab2))
48
+ * bump dependencies ([0bcc639](https://github.com/CoCreateJS/CoCreate-plugins/commit/0bcc6392a3f033f26f9d8d1145e10a6df7de7ab2))
14
49
 
15
- # [1.4.0](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.3.1...v1.4.0) (2026-07-17)
50
+ # [1.4.0](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.3.1...v1.4.0) (2026-07-17)
16
51
 
17
52
 
18
53
  ### Features
19
54
 
20
- * enhance plugin initialization and resource preloading logic ([ee17bc1](https://github.com/CoCreate-app/CoCreate-plugins/commit/ee17bc12b47c09085cd2527ef18a6fce36f21123))
21
- * improve plugin processing and operator execution logic ([486faa8](https://github.com/CoCreate-app/CoCreate-plugins/commit/486faa81839a49d4958ccb75721b161102cc0168))
22
- * update automated workflow and release configuration for improved semantic release handling ([06e65c9](https://github.com/CoCreate-app/CoCreate-plugins/commit/06e65c9eddd29398f3bd824e295089722faf9fad))
55
+ * enhance plugin initialization and resource preloading logic ([ee17bc1](https://github.com/CoCreateJS/CoCreate-plugins/commit/ee17bc12b47c09085cd2527ef18a6fce36f21123))
56
+ * improve plugin processing and operator execution logic ([486faa8](https://github.com/CoCreateJS/CoCreate-plugins/commit/486faa81839a49d4958ccb75721b161102cc0168))
57
+ * update automated workflow and release configuration for improved semantic release handling ([06e65c9](https://github.com/CoCreateJS/CoCreate-plugins/commit/06e65c9eddd29398f3bd824e295089722faf9fad))
23
58
 
24
- ## [1.3.1](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.3.0...v1.3.1) (2026-07-11)
59
+ ## [1.3.1](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.3.0...v1.3.1) (2026-07-11)
25
60
 
26
61
 
27
62
  ### Bug Fixes
28
63
 
29
- * bump package versions ([3f992ea](https://github.com/CoCreate-app/CoCreate-plugins/commit/3f992ea145328efac344e4f470fe19a87d5209e9))
30
- * clean attribute name for method matching in processPlugin function ([7389d12](https://github.com/CoCreate-app/CoCreate-plugins/commit/7389d12bd6f4206c506456d64341ceef4b304313))
31
- * correct minor typos in code comments and variable names for clarity. ([7e43622](https://github.com/CoCreate-app/CoCreate-plugins/commit/7e4362289c9f51ac6673873802d5b58a7992638e))
32
- * demo plugin initialization syntax and remove redundant tests ([c126bc8](https://github.com/CoCreate-app/CoCreate-plugins/commit/c126bc87edfb9669ea6c8a79e13a0cd0c09a1bd3))
33
- * removed post install and add add packages to apprved list ([548be97](https://github.com/CoCreate-app/CoCreate-plugins/commit/548be977ba710af907ad8e95f7ebcd3a75462326))
34
- * semantic version handling ([7606d54](https://github.com/CoCreate-app/CoCreate-plugins/commit/7606d54cd447a3cf10c3f86d54bca1f0aa7fe1a1))
64
+ * bump package versions ([3f992ea](https://github.com/CoCreateJS/CoCreate-plugins/commit/3f992ea145328efac344e4f470fe19a87d5209e9))
65
+ * clean attribute name for method matching in processPlugin function ([7389d12](https://github.com/CoCreateJS/CoCreate-plugins/commit/7389d12bd6f4206c506456d64341ceef4b304313))
66
+ * correct minor typos in code comments and variable names for clarity. ([7e43622](https://github.com/CoCreateJS/CoCreate-plugins/commit/7e4362289c9f51ac6673873802d5b58a7992638e))
67
+ * demo plugin initialization syntax and remove redundant tests ([c126bc8](https://github.com/CoCreateJS/CoCreate-plugins/commit/c126bc87edfb9669ea6c8a79e13a0cd0c09a1bd3))
68
+ * removed post install and add add packages to apprved list ([548be97](https://github.com/CoCreateJS/CoCreate-plugins/commit/548be977ba710af907ad8e95f7ebcd3a75462326))
69
+ * semantic version handling ([7606d54](https://github.com/CoCreateJS/CoCreate-plugins/commit/7606d54cd447a3cf10c3f86d54bca1f0aa7fe1a1))
35
70
 
36
- # [1.3.0](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.2.1...v1.3.0) (2026-03-11)
71
+ # [1.3.0](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.2.1...v1.3.0) (2026-03-11)
37
72
 
38
73
 
39
74
  ### Bug Fixes
40
75
 
41
- * Update demo/index.html to test sequential execution of attributes as logic ([d71e0a5](https://github.com/CoCreate-app/CoCreate-plugins/commit/d71e0a562bc48337746583a04bf230f84134f6c7))
76
+ * Update demo/index.html to test sequential execution of attributes as logic ([d71e0a5](https://github.com/CoCreateJS/CoCreate-plugins/commit/d71e0a562bc48337746583a04bf230f84134f6c7))
42
77
 
43
78
 
44
79
  ### Features
45
80
 
46
- * Refactor plugin initialization to sequentially load resources and execute attributes in DOM order. Add support for direct $this references in attributes. Improve error handling and logging during plugin execution. ([08ecdb2](https://github.com/CoCreate-app/CoCreate-plugins/commit/08ecdb2b2bb8bba2cf3950eb2ef5e7ac77916203))
81
+ * Refactor plugin initialization to sequentially load resources and execute attributes in DOM order. Add support for direct $this references in attributes. Improve error handling and logging during plugin execution. ([08ecdb2](https://github.com/CoCreateJS/CoCreate-plugins/commit/08ecdb2b2bb8bba2cf3950eb2ef5e7ac77916203))
47
82
 
48
- ## [1.2.1](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.2.0...v1.2.1) (2026-03-02)
83
+ ## [1.2.1](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.2.0...v1.2.1) (2026-03-02)
49
84
 
50
85
 
51
86
  ### Bug Fixes
52
87
 
53
- * Handle case-insensitive plugin global mapping and add support for function reference assignments in plugin properties. ([904a947](https://github.com/CoCreate-app/CoCreate-plugins/commit/904a947abc868937b6e650b62e080d00341272a1))
88
+ * Handle case-insensitive plugin global mapping and add support for function reference assignments in plugin properties. ([904a947](https://github.com/CoCreateJS/CoCreate-plugins/commit/904a947abc868937b6e650b62e080d00341272a1))
54
89
 
55
- # [1.2.0](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.1.1...v1.2.0) (2026-02-15)
90
+ # [1.2.0](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.1.1...v1.2.0) (2026-02-15)
56
91
 
57
92
 
58
93
  ### Bug Fixes
59
94
 
60
- * improve key validation in executeGenericPlugin function ([447f6d2](https://github.com/CoCreate-app/CoCreate-plugins/commit/447f6d209adea010110c3bc52a17f8b45cb302ea))
95
+ * improve key validation in executeGenericPlugin function ([447f6d2](https://github.com/CoCreateJS/CoCreate-plugins/commit/447f6d209adea010110c3bc52a17f8b45cb302ea))
61
96
 
62
97
 
63
98
  ### Features
64
99
 
65
- * enhance demo page with improved layout and Bootstrap integration ([a74615e](https://github.com/CoCreate-app/CoCreate-plugins/commit/a74615e27be7c2f40529c5242e6c6e9b839ad020))
66
- * refactor plugin management and enhance dynamic loading capabilities ([4d91958](https://github.com/CoCreate-app/CoCreate-plugins/commit/4d919582934418cfb7bfa9497b6d0dcaf3bf8d10))
100
+ * enhance demo page with improved layout and Bootstrap integration ([a74615e](https://github.com/CoCreateJS/CoCreate-plugins/commit/a74615e27be7c2f40529c5242e6c6e9b839ad020))
101
+ * refactor plugin management and enhance dynamic loading capabilities ([4d91958](https://github.com/CoCreateJS/CoCreate-plugins/commit/4d919582934418cfb7bfa9497b6d0dcaf3bf8d10))
67
102
 
68
- ## [1.1.1](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.1.0...v1.1.1) (2026-02-09)
103
+ ## [1.1.1](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.1.0...v1.1.1) (2026-02-09)
69
104
 
70
105
 
71
106
  ### Bug Fixes
72
107
 
73
- * change init function to default export and update parameter handling ([654b623](https://github.com/CoCreate-app/CoCreate-plugins/commit/654b623760446cbd9db55cc216e25a07fe7865e3))
108
+ * change init function to default export and update parameter handling ([654b623](https://github.com/CoCreateJS/CoCreate-plugins/commit/654b623760446cbd9db55cc216e25a07fe7865e3))
74
109
 
75
- # [1.1.0](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.0.3...v1.1.0) (2026-01-15)
110
+ # [1.1.0](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.0.3...v1.1.0) (2026-01-15)
76
111
 
77
112
 
78
113
  ### Features
79
114
 
80
- * add marker to indicate where css files will be inserted ([6b4b030](https://github.com/CoCreate-app/CoCreate-plugins/commit/6b4b0301acdabff19b8cca5968cc67619e417c92))
115
+ * add marker to indicate where css files will be inserted ([6b4b030](https://github.com/CoCreateJS/CoCreate-plugins/commit/6b4b0301acdabff19b8cca5968cc67619e417c92))
81
116
 
82
- ## [1.0.3](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.0.2...v1.0.3) (2025-12-26)
117
+ ## [1.0.3](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.0.2...v1.0.3) (2025-12-26)
83
118
 
84
119
 
85
120
  ### Bug Fixes
86
121
 
87
- * update worklow ([8976d08](https://github.com/CoCreate-app/CoCreate-plugins/commit/8976d080f8972e840ff5530d5dfb15f839e9ac5b))
122
+ * update worklow ([8976d08](https://github.com/CoCreateJS/CoCreate-plugins/commit/8976d080f8972e840ff5530d5dfb15f839e9ac5b))
88
123
 
89
- ## [1.0.2](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.0.1...v1.0.2) (2025-12-25)
124
+ ## [1.0.2](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.0.1...v1.0.2) (2025-12-25)
90
125
 
91
126
 
92
127
  ### Bug Fixes
93
128
 
94
- * workflow ([3da40b3](https://github.com/CoCreate-app/CoCreate-plugins/commit/3da40b3572bdc84f1c555b2be4ae5e1fcc1a4533))
129
+ * workflow ([3da40b3](https://github.com/CoCreateJS/CoCreate-plugins/commit/3da40b3572bdc84f1c555b2be4ae5e1fcc1a4533))
95
130
 
96
- ## [1.0.1](https://github.com/CoCreate-app/CoCreate-plugins/compare/v1.0.0...v1.0.1) (2025-12-25)
131
+ ## [1.0.1](https://github.com/CoCreateJS/CoCreate-plugins/compare/v1.0.0...v1.0.1) (2025-12-25)
97
132
 
98
133
 
99
134
  ### Bug Fixes
100
135
 
101
- * workflow ([b1478b3](https://github.com/CoCreate-app/CoCreate-plugins/commit/b1478b3b6e014add5a7cb25fe83ce420147450f0))
102
- * workflow ([dbab32c](https://github.com/CoCreate-app/CoCreate-plugins/commit/dbab32cc403943faad190acf2f1b3284f14965b7))
136
+ * workflow ([b1478b3](https://github.com/CoCreateJS/CoCreate-plugins/commit/b1478b3b6e014add5a7cb25fe83ce420147450f0))
137
+ * workflow ([dbab32c](https://github.com/CoCreateJS/CoCreate-plugins/commit/dbab32cc403943faad190acf2f1b3284f14965b7))
103
138
 
104
139
  # 1.0.0 (2025-12-25)
105
140
 
106
141
 
107
142
  ### Bug Fixes
108
143
 
109
- * workflow ([044ec07](https://github.com/CoCreate-app/CoCreate-plugins/commit/044ec07b501298a17a61b604f37b9d5e76f1756c))
110
- * workflow ([cb2ec43](https://github.com/CoCreate-app/CoCreate-plugins/commit/cb2ec438b2b1e69f19f0fe29bf11791631d7fb67))
144
+ * workflow ([044ec07](https://github.com/CoCreateJS/CoCreate-plugins/commit/044ec07b501298a17a61b604f37b9d5e76f1756c))
145
+ * workflow ([cb2ec43](https://github.com/CoCreateJS/CoCreate-plugins/commit/cb2ec438b2b1e69f19f0fe29bf11791631d7fb67))
111
146
 
112
147
 
113
148
  ### Features
114
149
 
115
- * Initial Release ([4d46a70](https://github.com/CoCreate-app/CoCreate-plugins/commit/4d46a70880c086733fa175531096d20f04a7f149))
150
+ * Initial Release ([4d46a70](https://github.com/CoCreateJS/CoCreate-plugins/commit/4d46a70880c086733fa175531096d20f04a7f149))
package/CONTRIBUTING.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # Contributing to CoCreate-plugins
2
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).
3
+ This project is work of [many contributors](https://github.com/CoCreateJS/plugins/graphs/contributors).
4
+ You're encouraged to submit [pull requests](https://github.com/CoCreateJS/plugins/pulls),
5
+ [propose features and discuss issues](https://github.com/CoCreateJS/plugins/issues).
6
6
 
7
7
  In the examples below, substitute your Github username for `contributor` in URLs.
8
8
 
9
9
  ## Fork the Project
10
10
 
11
- Fork the [project on Github](https://github.com/CoCreate-app/CoCreate-plugins) and check out your copy.
11
+ Fork the [project on Github](https://github.com/CoCreateJS/plugins) and check out your copy.
12
12
 
13
13
  ```
14
14
  git clone https://github.com/contributor/CoCreate-plugins.git
15
15
  cd CoCreate-plugins
16
- git remote add upstream https://github.com/CoCreate-app/CoCreate-plugins.git
16
+ git remote add upstream https://github.com/CoCreateJS/plugins.git
17
17
  ```
18
18
 
19
19
  ## Create a Topic Branch
@@ -74,7 +74,7 @@ git push origin my-feature-branch
74
74
 
75
75
  ## Make a Pull Request
76
76
 
77
- Go to [https://github.com/CoCreate-app/CoCreate-plugins](https://github.com/CoCreate-app/CoCreate-plugins) and select your feature branch.
77
+ Go to [https://github.com/CoCreateJS/plugins](https://github.com/CoCreateJS/plugins) and select your feature branch.
78
78
  Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
79
79
 
80
80
  ## Rebase