@cocreate/webpack 1.11.0 → 2.0.1

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,157 +1,194 @@
1
- ## [1.6.2](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.6.1...v1.6.2) (2026-07-19)
1
+ ## [2.0.1](https://github.com/CoCreateJS/Webpack/compare/v2.0.0...v2.0.1) (2026-11-05)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * set default branch to main ([cf2e460](https://github.com/CoCreate-app/CoCreate-webpack/commit/cf2e46028f983abc9ede1f6248c8ba0735ee8b45))
6
+ * upgrade CoCreate dependencies to v2 ([1fca741](https://github.com/CoCreateJS/Webpack/commit/1fca7413fa26ea11ebe0ac2870bb57ca3ae52c40))
7
7
 
8
- ## [1.6.1](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.6.0...v1.6.1) (2026-07-17)
8
+ # [2.0.0](https://github.com/CoCreateJS/Webpack/compare/v1.6.2...v2.0.0) (2026-11-02)
9
9
 
10
10
 
11
11
  ### Bug Fixes
12
12
 
13
- * bump dependencies ([9101dab](https://github.com/CoCreate-app/CoCreate-webpack/commit/9101dab888a68db506b46ace777ab4cb2a0a27f3))
14
- * update dependencies to latest versions for improved stability and performance ([6ae8db7](https://github.com/CoCreate-app/CoCreate-webpack/commit/6ae8db7797fe8f1099961c8ba678110d08e43e67))
13
+ * add Deno specific entries to .gitignore ([a2e073b](https://github.com/CoCreateJS/Webpack/commit/a2e073b311cdaf623b7230f25a26c5d22e6f6f9a))
14
+ * bump [@cocreate](https://github.com/cocreate) dependencies ([74ad143](https://github.com/CoCreateJS/Webpack/commit/74ad14339007216683bb4bbb5012b4c10e3c9a4a))
15
+ * bump versions ([e125202](https://github.com/CoCreateJS/Webpack/commit/e1252020f01a8d9606a0e8ba477927263fa9f01e))
16
+ * bump versions ([baada5d](https://github.com/CoCreateJS/Webpack/commit/baada5defdd3a7e6f61729d9a70221339a6df008))
17
+ * remove trailing slash from node_modules entry in .gitignore ([0c87eb8](https://github.com/CoCreateJS/Webpack/commit/0c87eb8e0ee09d6ffcdf995c5d720efd27400f4d))
18
+ * simplify generated chunk names ([c06d2e0](https://github.com/CoCreateJS/Webpack/commit/c06d2e0f4cba6b1ae839376bf2810a839f5deb24))
19
+ * update git url ([c98d393](https://github.com/CoCreateJS/Webpack/commit/c98d3932e4d83b19cb41ccbc568826d0d848ae7d))
20
+ * update GitHub Actions to use latest versions and sync package.json description ([ee6bf88](https://github.com/CoCreateJS/Webpack/commit/ee6bf885f68d9bdad5ff79d50de73662f31eeb08))
21
+ * update module generation logic and improve error handling ([2aef499](https://github.com/CoCreateJS/Webpack/commit/2aef499301eb0868b075c27c06264cad1052cf15))
15
22
 
16
- # [1.6.0](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.5.0...v1.6.0) (2026-07-17)
23
+
24
+ ### chore
25
+
26
+ * record repository identity migration as breaking ([ac51473](https://github.com/CoCreateJS/Webpack/commit/ac514739aabd2f4929438f3148668672e2b86e65))
27
+
28
+
29
+ ### Features
30
+
31
+ * Replace acme with certificates ([c0df326](https://github.com/CoCreateJS/Webpack/commit/c0df326349e3bb0571449a06443d37b3a6e0ffa8))
32
+
33
+
34
+ ### BREAKING CHANGES
35
+
36
+ * Consumers must use the CoCreateJS repository identity; the previous repository identity is no longer supported.
37
+
38
+ ## [1.6.2](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.6.1...v1.6.2) (2026-07-19)
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * set default branch to main ([cf2e460](https://github.com/CoCreateJS/CoCreate-webpack/commit/cf2e46028f983abc9ede1f6248c8ba0735ee8b45))
44
+
45
+ ## [1.6.1](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.6.0...v1.6.1) (2026-07-17)
46
+
47
+
48
+ ### Bug Fixes
49
+
50
+ * bump dependencies ([9101dab](https://github.com/CoCreateJS/CoCreate-webpack/commit/9101dab888a68db506b46ace777ab4cb2a0a27f3))
51
+ * update dependencies to latest versions for improved stability and performance ([6ae8db7](https://github.com/CoCreateJS/CoCreate-webpack/commit/6ae8db7797fe8f1099961c8ba678110d08e43e67))
52
+
53
+ # [1.6.0](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.5.0...v1.6.0) (2026-07-17)
17
54
 
18
55
 
19
56
  ### Features
20
57
 
21
- * update automated workflow and release configuration for improved semantic release handling ([3ba7b27](https://github.com/CoCreate-app/CoCreate-webpack/commit/3ba7b274d241ecebd50e96723b685808b3444cbb))
58
+ * update automated workflow and release configuration for improved semantic release handling ([3ba7b27](https://github.com/CoCreateJS/CoCreate-webpack/commit/3ba7b274d241ecebd50e96723b685808b3444cbb))
22
59
 
23
- # [1.5.0](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.4.3...v1.5.0) (2026-07-11)
60
+ # [1.5.0](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.4.3...v1.5.0) (2026-07-11)
24
61
 
25
62
 
26
63
  ### Bug Fixes
27
64
 
28
- * remove devDependencies ([c430e68](https://github.com/CoCreate-app/CoCreate-webpack/commit/c430e685803c28b386d8b899348b04f8019e795a))
29
- * remove postinstall script and ensure dependencies are correctly listed in package.json ([f851cd7](https://github.com/CoCreate-app/CoCreate-webpack/commit/f851cd764023e56f33c7bd251ea97f1afd14b295))
30
- * removed post install and add add packages to apprved list ([601dda4](https://github.com/CoCreate-app/CoCreate-webpack/commit/601dda4b5a7503262fc8ac35bd8fc0645e18486c))
31
- * semantic version handling ([2e79c82](https://github.com/CoCreate-app/CoCreate-webpack/commit/2e79c82340d6e87d6b6dda20c781cbafd01a14fb))
65
+ * remove devDependencies ([c430e68](https://github.com/CoCreateJS/CoCreate-webpack/commit/c430e685803c28b386d8b899348b04f8019e795a))
66
+ * remove postinstall script and ensure dependencies are correctly listed in package.json ([f851cd7](https://github.com/CoCreateJS/CoCreate-webpack/commit/f851cd764023e56f33c7bd251ea97f1afd14b295))
67
+ * removed post install and add add packages to apprved list ([601dda4](https://github.com/CoCreateJS/CoCreate-webpack/commit/601dda4b5a7503262fc8ac35bd8fc0645e18486c))
68
+ * semantic version handling ([2e79c82](https://github.com/CoCreateJS/CoCreate-webpack/commit/2e79c82340d6e87d6b6dda20c781cbafd01a14fb))
32
69
 
33
70
 
34
71
  ### Features
35
72
 
36
- * update ModuleGenerator to use pluginOptions and improve error handling ([af6db28](https://github.com/CoCreate-app/CoCreate-webpack/commit/af6db28d6f0dde3906b424dea975726ddfcf2101))
73
+ * update ModuleGenerator to use pluginOptions and improve error handling ([af6db28](https://github.com/CoCreateJS/CoCreate-webpack/commit/af6db28d6f0dde3906b424dea975726ddfcf2101))
37
74
 
38
- ## [1.4.3](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.4.2...v1.4.3) (2026-02-04)
75
+ ## [1.4.3](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.4.2...v1.4.3) (2026-02-04)
39
76
 
40
77
 
41
78
  ### Bug Fixes
42
79
 
43
- * update worklow ([291332f](https://github.com/CoCreate-app/CoCreate-webpack/commit/291332ff1824423df5798ca2657b7ff1d1f0a2ed))
80
+ * update worklow ([291332f](https://github.com/CoCreateJS/CoCreate-webpack/commit/291332ff1824423df5798ca2657b7ff1d1f0a2ed))
44
81
 
45
- ## [1.4.2](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.4.1...v1.4.2) (2025-05-01)
82
+ ## [1.4.2](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.4.1...v1.4.2) (2025-05-01)
46
83
 
47
84
 
48
85
  ### Bug Fixes
49
86
 
50
- * update [@cocreate](https://github.com/cocreate) dependencies ([d24e3d3](https://github.com/CoCreate-app/CoCreate-webpack/commit/d24e3d3447955acf5d56c522be31c93fe2d1cb7b))
87
+ * update [@cocreate](https://github.com/cocreate) dependencies ([d24e3d3](https://github.com/CoCreateJS/CoCreate-webpack/commit/d24e3d3447955acf5d56c522be31c93fe2d1cb7b))
51
88
 
52
- ## [1.4.1](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.4.0...v1.4.1) (2025-04-30)
89
+ ## [1.4.1](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.4.0...v1.4.1) (2025-04-30)
53
90
 
54
91
 
55
92
  ### Bug Fixes
56
93
 
57
- * added comments ([f48117a](https://github.com/CoCreate-app/CoCreate-webpack/commit/f48117a6e6b322c5701c89e2fd9d992a15de95a0))
58
- * update query attributes ([9deaf7f](https://github.com/CoCreate-app/CoCreate-webpack/commit/9deaf7fe574d0a0d33992b7bde9460bad9008f5e))
59
- * updated cocreate modules versions ([6483d6a](https://github.com/CoCreate-app/CoCreate-webpack/commit/6483d6a02c18343f1eb8a42596fcb3fac42fd544))
94
+ * added comments ([f48117a](https://github.com/CoCreateJS/CoCreate-webpack/commit/f48117a6e6b322c5701c89e2fd9d992a15de95a0))
95
+ * update query attributes ([9deaf7f](https://github.com/CoCreateJS/CoCreate-webpack/commit/9deaf7fe574d0a0d33992b7bde9460bad9008f5e))
96
+ * updated cocreate modules versions ([6483d6a](https://github.com/CoCreateJS/CoCreate-webpack/commit/6483d6a02c18343f1eb8a42596fcb3fac42fd544))
60
97
 
61
- # [1.4.0](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.6...v1.4.0) (2024-11-04)
98
+ # [1.4.0](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.3.6...v1.4.0) (2024-11-04)
62
99
 
63
100
 
64
101
  ### Bug Fixes
65
102
 
66
- * pretier.config.js and file formating ([8921a99](https://github.com/CoCreate-app/CoCreate-webpack/commit/8921a99579a95ae06e1e24361cee1ac7ca6d2939))
103
+ * pretier.config.js and file formating ([8921a99](https://github.com/CoCreateJS/CoCreate-webpack/commit/8921a99579a95ae06e1e24361cee1ac7ca6d2939))
67
104
 
68
105
 
69
106
  ### Features
70
107
 
71
- * add prettier.config.js and format files ([924fe7f](https://github.com/CoCreate-app/CoCreate-webpack/commit/924fe7fe931802b0818496e8ac344fab5fe9fffc))
72
- * add prettier.config.js and format files ([fae1d78](https://github.com/CoCreate-app/CoCreate-webpack/commit/fae1d78c9fa5cf941b24e0b0d90aa9b6c6570218))
108
+ * add prettier.config.js and format files ([924fe7f](https://github.com/CoCreateJS/CoCreate-webpack/commit/924fe7fe931802b0818496e8ac344fab5fe9fffc))
109
+ * add prettier.config.js and format files ([fae1d78](https://github.com/CoCreateJS/CoCreate-webpack/commit/fae1d78c9fa5cf941b24e0b0d90aa9b6c6570218))
73
110
 
74
- ## [1.3.6](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.5...v1.3.6) (2024-06-12)
111
+ ## [1.3.6](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.3.5...v1.3.6) (2024-06-12)
75
112
 
76
113
 
77
114
  ### Bug Fixes
78
115
 
79
- * bump cocreate dependencies ([d9f6b20](https://github.com/CoCreate-app/CoCreate-webpack/commit/d9f6b200a8624be3ce53d30db6f952391c4d033c))
80
- * svg icon class ([9c1014c](https://github.com/CoCreate-app/CoCreate-webpack/commit/9c1014cad45ecfbfe90990d23a821538b832ae7c))
116
+ * bump cocreate dependencies ([d9f6b20](https://github.com/CoCreateJS/CoCreate-webpack/commit/d9f6b200a8624be3ce53d30db6f952391c4d033c))
117
+ * svg icon class ([9c1014c](https://github.com/CoCreateJS/CoCreate-webpack/commit/9c1014cad45ecfbfe90990d23a821538b832ae7c))
81
118
 
82
- ## [1.3.5](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.4...v1.3.5) (2024-04-29)
119
+ ## [1.3.5](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.3.4...v1.3.5) (2024-04-29)
83
120
 
84
121
 
85
122
  ### Bug Fixes
86
123
 
87
- * bump cocreate dependencies ([05e8455](https://github.com/CoCreate-app/CoCreate-webpack/commit/05e84559f10ab984e2e1abc880fa5ba720766f37))
124
+ * bump cocreate dependencies ([05e8455](https://github.com/CoCreateJS/CoCreate-webpack/commit/05e84559f10ab984e2e1abc880fa5ba720766f37))
88
125
 
89
- ## [1.3.4](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.3...v1.3.4) (2024-04-26)
126
+ ## [1.3.4](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.3.3...v1.3.4) (2024-04-26)
90
127
 
91
128
 
92
129
  ### Bug Fixes
93
130
 
94
- * lazyLoad selector formating ([054f89c](https://github.com/CoCreate-app/CoCreate-webpack/commit/054f89ccde31bd74c62e248c4c5aa00de0bd0d7d))
131
+ * lazyLoad selector formating ([054f89c](https://github.com/CoCreateJS/CoCreate-webpack/commit/054f89ccde31bd74c62e248c4c5aa00de0bd0d7d))
95
132
 
96
- ## [1.3.3](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.2...v1.3.3) (2024-03-19)
133
+ ## [1.3.3](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.3.2...v1.3.3) (2024-03-19)
97
134
 
98
135
 
99
136
  ### Bug Fixes
100
137
 
101
- * replaced keyword spaces with hyphens and lowercase letters only ([0c27212](https://github.com/CoCreate-app/CoCreate-webpack/commit/0c27212901ce03c6d9d62a8180a3242ad18d6b48))
138
+ * replaced keyword spaces with hyphens and lowercase letters only ([0c27212](https://github.com/CoCreateJS/CoCreate-webpack/commit/0c27212901ce03c6d9d62a8180a3242ad18d6b48))
102
139
 
103
- ## [1.3.2](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.1...v1.3.2) (2024-03-18)
140
+ ## [1.3.2](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.3.1...v1.3.2) (2024-03-18)
104
141
 
105
142
 
106
143
  ### Bug Fixes
107
144
 
108
- * description ([8f285da](https://github.com/CoCreate-app/CoCreate-webpack/commit/8f285daeabb4b85b607e24892ae0d91112ed8a32))
145
+ * description ([8f285da](https://github.com/CoCreateJS/CoCreate-webpack/commit/8f285daeabb4b85b607e24892ae0d91112ed8a32))
109
146
 
110
- ## [1.3.1](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.3.0...v1.3.1) (2024-02-05)
147
+ ## [1.3.1](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.3.0...v1.3.1) (2024-02-05)
111
148
 
112
149
 
113
150
  ### Bug Fixes
114
151
 
115
- * Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([2ce1c33](https://github.com/CoCreate-app/CoCreate-webpack/commit/2ce1c33c1f27f5fd0fdadfc053de43193d72f69a))
152
+ * Removed https://cdn.CoCreateJS.com/latest/CoCreate.min.css ([2ce1c33](https://github.com/CoCreateJS/CoCreate-webpack/commit/2ce1c33c1f27f5fd0fdadfc053de43193d72f69a))
116
153
 
117
- # [1.3.0](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.2.0...v1.3.0) (2023-12-31)
154
+ # [1.3.0](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.2.0...v1.3.0) (2023-12-31)
118
155
 
119
156
 
120
157
  ### Bug Fixes
121
158
 
122
- * fileUploader handle argv ([db835c4](https://github.com/CoCreate-app/CoCreate-webpack/commit/db835c4122a2b238b149c19e0451956dc7630b1f))
123
- * update fileUploader to pascalCase FileUploader ([1507475](https://github.com/CoCreate-app/CoCreate-webpack/commit/15074750a5f9c473841f33654b9890ce01d76e8e))
159
+ * fileUploader handle argv ([db835c4](https://github.com/CoCreateJS/CoCreate-webpack/commit/db835c4122a2b238b149c19e0451956dc7630b1f))
160
+ * update fileUploader to pascalCase FileUploader ([1507475](https://github.com/CoCreateJS/CoCreate-webpack/commit/15074750a5f9c473841f33654b9890ce01d76e8e))
124
161
 
125
162
 
126
163
  ### Features
127
164
 
128
- * loader to handle special characters ([74134a6](https://github.com/CoCreate-app/CoCreate-webpack/commit/74134a6066d50a486a92ca13c7ba33090fdc190a))
165
+ * loader to handle special characters ([74134a6](https://github.com/CoCreateJS/CoCreate-webpack/commit/74134a6066d50a486a92ca13c7ba33090fdc190a))
129
166
 
130
- # [1.2.0](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.1.0...v1.2.0) (2023-12-28)
167
+ # [1.2.0](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.1.0...v1.2.0) (2023-12-28)
131
168
 
132
169
 
133
170
  ### Features
134
171
 
135
- * symlinkCreator ([5697054](https://github.com/CoCreate-app/CoCreate-webpack/commit/5697054b547e3a9217c7563f4aca64429db3450b))
172
+ * symlinkCreator ([5697054](https://github.com/CoCreateJS/CoCreate-webpack/commit/5697054b547e3a9217c7563f4aca64429db3450b))
136
173
 
137
- # [1.1.0](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.0.1...v1.1.0) (2023-12-28)
174
+ # [1.1.0](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.0.1...v1.1.0) (2023-12-28)
138
175
 
139
176
 
140
177
  ### Features
141
178
 
142
- * symlinkCreator ([b38a089](https://github.com/CoCreate-app/CoCreate-webpack/commit/b38a0892b3755bf83844cbf2b17264c25d5623dc))
179
+ * symlinkCreator ([b38a089](https://github.com/CoCreateJS/CoCreate-webpack/commit/b38a0892b3755bf83844cbf2b17264c25d5623dc))
143
180
 
144
- ## [1.0.1](https://github.com/CoCreate-app/CoCreate-webpack/compare/v1.0.0...v1.0.1) (2023-12-28)
181
+ ## [1.0.1](https://github.com/CoCreateJS/CoCreate-webpack/compare/v1.0.0...v1.0.1) (2023-12-28)
145
182
 
146
183
 
147
184
  ### Bug Fixes
148
185
 
149
- * removed webpack.config ([4d3b7de](https://github.com/CoCreate-app/CoCreate-webpack/commit/4d3b7def7b59c0736cbf9b2dbb3e40585486cf92))
186
+ * removed webpack.config ([4d3b7de](https://github.com/CoCreateJS/CoCreate-webpack/commit/4d3b7def7b59c0736cbf9b2dbb3e40585486cf92))
150
187
 
151
188
  # 1.0.0 (2023-12-28)
152
189
 
153
190
 
154
191
  ### Features
155
192
 
156
- * Initial Release ([57c489d](https://github.com/CoCreate-app/CoCreate-webpack/commit/57c489df32681403e3827c6e43658daaf21fae11))
157
- * new plugin classes ([7cf0898](https://github.com/CoCreate-app/CoCreate-webpack/commit/7cf0898fae463370e1bb9b2e50a6832009dc2a28))
193
+ * Initial Release ([57c489d](https://github.com/CoCreateJS/CoCreate-webpack/commit/57c489df32681403e3827c6e43658daaf21fae11))
194
+ * new plugin classes ([7cf0898](https://github.com/CoCreateJS/CoCreate-webpack/commit/7cf0898fae463370e1bb9b2e50a6832009dc2a28))
package/CONTRIBUTING.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # Contributing to CoCreate-webpack
2
2
 
3
- This project is work of [many contributors](https://github.com/CoCreate-app/CoCreate-webpack/graphs/contributors).
4
- You're encouraged to submit [pull requests](https://github.com/CoCreate-app/CoCreate-webpack/pulls),
5
- [propose features and discuss issues](https://github.com/CoCreate-app/CoCreate-webpack/issues).
3
+ This project is work of [many contributors](https://github.com/CoCreateJS/Webpack/graphs/contributors).
4
+ You're encouraged to submit [pull requests](https://github.com/CoCreateJS/Webpack/pulls),
5
+ [propose features and discuss issues](https://github.com/CoCreateJS/Webpack/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-webpack) and check out your copy.
11
+ Fork the [project on Github](https://github.com/CoCreateJS/Webpack) and check out your copy.
12
12
 
13
13
  ```
14
- git clone https://github.com/contributor/CoCreate-webpack.git
15
- cd CoCreate-webpack
16
- git remote add upstream https://gitlab.com/cocreatejs/CoCreate-webpack.git
14
+ git clone https://github.com/contributor/Webpack.git
15
+ cd Webpack
16
+ git remote add upstream https://github.com/CoCreateJS/Webpack.git
17
17
  ```
18
18
 
19
19
  ## Create a Topic Branch
@@ -70,7 +70,7 @@ git push origin my-feature-branch
70
70
 
71
71
  ## Make a Pull Request
72
72
 
73
- Go to [https://github.com/CoCreate-app/CoCreate-webpack](https://github.com/CoCreate-app/CoCreate-webpack) and select your feature branch.
73
+ Go to [https://github.com/CoCreateJS/Webpack](https://github.com/CoCreateJS/Webpack) and select your feature branch.
74
74
  Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
75
75
 
76
76
  ## Rebase
@@ -88,7 +88,7 @@ git push origin my-feature-branch -f
88
88
  Update the [CHANGELOG](CHANGELOG.md) with the pull request number. A typical entry looks as follows.
89
89
 
90
90
  ```
91
- * [#123](https://github.com/CoCreate-app/CoCreate-industry/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
91
+ * [#123](https://github.com/CoCreateJS/industry/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
92
92
  ```
93
93
 
94
94
  Amend your previous commit and force push the changes.
package/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  CoCreate-webpack is a dynamic module tailored for CoCreate applications, designed to automate and enhance the Webpack experience. It simplifies file watching, chunking, lazy loading, and file uploading via intuitive `CoCreate.config` configurations, streamlining the development process for projects of any scale.
4
4
 
5
- ![minified](https://img.badgesize.io/https://cdn.cocreate.app/webpack/latest/CoCreate-webpack.min.js?style=flat-square&label=minified&color=orange)
6
- ![gzip](https://img.badgesize.io/https://cdn.cocreate.app/webpack/latest/CoCreate-webpack.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow)
7
- ![brotli](https://img.badgesize.io/https://cdn.cocreate.app/webpack/latest/CoCreate-webpack.min.js?compression=brotli&style=flat-square&label=brotli)
8
- ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-openai?style=flat-square)
9
- ![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-openai?style=flat-square)
5
+ ![minified](https://img.badgesize.io/https://cdn.CoCreateJS.com/webpack/latest/CoCreate-webpack.min.js?style=flat-square&label=minified&color=orange)
6
+ ![gzip](https://img.badgesize.io/https://cdn.CoCreateJS.com/webpack/latest/CoCreate-webpack.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow)
7
+ ![brotli](https://img.badgesize.io/https://cdn.CoCreateJS.com/webpack/latest/CoCreate-webpack.min.js?compression=brotli&style=flat-square&label=brotli)
8
+ ![GitHub latest release](https://img.shields.io/github/v/release/CoCreateJS/openai?style=flat-square)
9
+ ![License](https://img.shields.io/github/license/CoCreateJS/openai?style=flat-square)
10
10
  ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
11
11
 
12
12
  ## Features
@@ -16,20 +16,20 @@ CoCreate-webpack is a dynamic module tailored for CoCreate applications, designe
16
16
  - **Efficient Lazy Loading**: Implements lazy loading to improve resource management.
17
17
  - **Seamless File Uploading**: Automatically uploads modified files, keeping projects current.
18
18
 
19
- ![CoCreate-webpack](https://cdn.cocreate.app/docs/CoCreate-webpack.gif)
19
+ ![CoCreate-webpack](https://cdn.CoCreateJS.com/docs/CoCreate-webpack.gif)
20
20
 
21
- ## [Docs & Demo](https://cocreate.app/docs/webpack)
21
+ ## [Docs & Demo](https://CoCreateJS.com/docs/webpack)
22
22
 
23
- For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/webpack)
23
+ For a complete guide and working demo refer to the [doumentation](https://CoCreateJS.com/docs/webpack)
24
24
 
25
25
  ## CDN
26
26
 
27
27
  ```html
28
- <script src="https://cdn.cocreate.app/webpack/latest/CoCreate-webpack.min.js"></script>
28
+ <script src="https://cdn.CoCreateJS.com/webpack/latest/CoCreate-webpack.min.js"></script>
29
29
  ```
30
30
 
31
31
  ```html
32
- <script src="https://cdn.cocreate.app/webpack/latest/CoCreate-webpack.min.css"></script>
32
+ <script src="https://cdn.CoCreateJS.com/webpack/latest/CoCreate-webpack.min.css"></script>
33
33
  ```
34
34
 
35
35
  ## NPM
@@ -57,13 +57,13 @@ $ yarn install @cocreate/webpack
57
57
 
58
58
  # Announcements
59
59
 
60
- All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-webpack/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-webpack/releases). You may also subscribe to email for releases and breaking changes.
60
+ All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreateJS/Webpack/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreateJS/Webpack/releases). You may also subscribe to email for releases and breaking changes.
61
61
 
62
62
  <a name="roadmap"></a>
63
63
 
64
64
  # Roadmap
65
65
 
66
- If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-webpack/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-webpack/pulls). We would love to hear your feedback.
66
+ If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreateJS/Webpack/issues) and [pull requests](https://github.com/CoCreateJS/Webpack/pulls). We would love to hear your feedback.
67
67
 
68
68
  <a name="about"></a>
69
69
 
@@ -71,7 +71,7 @@ If you are interested in the future direction of this project, please take a loo
71
71
 
72
72
  CoCreate-webpack is guided and supported by the CoCreate Developer Experience Team.
73
73
 
74
- Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
74
+ Please Email the Developer Experience Team [here](mailto:develop@CoCreateJS.com) in case of any queries.
75
75
 
76
76
  CoCreate-webpack is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
77
77
 
@@ -79,9 +79,9 @@ CoCreate-webpack is maintained and funded by CoCreate. The names and logos for C
79
79
 
80
80
  # How to Contribute
81
81
 
82
- We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-webpack/blob/master/CONTRIBUTING.md) guide for details.
82
+ We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreateJS/Webpack/blob/master/CONTRIBUTING.md) guide for details.
83
83
 
84
- We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-webpack/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-webpack/pulls) or merely upvote or comment on existing issues or pull requests.
84
+ We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreateJS/Webpack/issues) and [pull requests](https://github.com/CoCreateJS/Webpack/pulls) or merely upvote or comment on existing issues or pull requests.
85
85
 
86
86
  We appreciate your continued support, thank you!
87
87
 
@@ -89,4 +89,4 @@ We appreciate your continued support, thank you!
89
89
 
90
90
  # License
91
91
 
92
- [The MIT License (MIT)](https://github.com/CoCreate-app/CoCreate-webpack/blob/master/LICENSE)
92
+ [The MIT License (MIT)](https://github.com/CoCreateJS/Webpack/blob/master/LICENSE)
package/docs/index.html CHANGED
@@ -9,7 +9,7 @@
9
9
  rel="icon"
10
10
  type="image/png"
11
11
  sizes="32x32"
12
- href="https://cocreate.app/images/favicon.ico" />
12
+ href="https://CoCreateJS.com/images/favicon.ico" />
13
13
  <meta
14
14
  name="description"
15
15
  content="A convenient chain handler allows user to chain multiple components together. When one webpack is complete next one will start untill all webpack completed." />
@@ -19,7 +19,7 @@
19
19
  <meta name="robots" content="index,follow" />
20
20
  <meta
21
21
  property="og:image"
22
- content="https://cdn.cocreate.app/docs/webpack.png" />
22
+ content="https://cdn.CoCreateJS.com/docs/webpack.png" />
23
23
 
24
24
  <link
25
25
  rel="stylesheet"
@@ -73,7 +73,7 @@
73
73
  share-title="CoCreate webpack"
74
74
  share-height="600"
75
75
  share-width="700"
76
- share-media="https://cdn.cocreate.app/docs/webpack.png"
76
+ share-media="https://cdn.CoCreateJS.com/docs/webpack.png"
77
77
  hover="display:block!important"
78
78
  hover-query=".social-networks">
79
79
  <div class="display:none social-networks">
@@ -111,7 +111,7 @@
111
111
  ></a>
112
112
  </div>
113
113
  <a
114
- href="https://github.com/CoCreate-app/CoCreate-webpack"
114
+ href="https://github.com/CoCreateJS/Webpack"
115
115
  target="_blank"
116
116
  class=""
117
117
  ><i src="/assets/svg/github.svg"></i
@@ -152,7 +152,7 @@
152
152
  <p class="padding:10px_0px line-height:1.5">
153
153
  Or you can use cdn link:
154
154
  </p>
155
- <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/webpack/latest/CoCreate-webpack.min.js&lt;/script&gt;</code></pre>
155
+ <pre><code class="language-html">&lt;script&gt;https://cdn.CoCreateJS.com/webpack/latest/CoCreate-webpack.min.js&lt;/script&gt;</code></pre>
156
156
 
157
157
  <div
158
158
  id="webpack-usage"
@@ -340,12 +340,12 @@
340
340
  </div>
341
341
  </div>
342
342
  <button
343
- href="https://github.com/CoCreate-app/CoCreate-webpack/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
343
+ href="https://github.com/CoCreateJS/Webpack/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
344
344
  target="_blank"
345
345
  class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
346
346
  <i src="../assets/svg/pencil-alt.svg"></i>
347
347
  </button>
348
348
  </main>
349
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
349
+ <script src="https://cdn.CoCreateJS.com/latest/CoCreate.min.js"></script>
350
350
  </body>
351
351
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/webpack",
3
- "version": "1.11.0",
3
+ "version": "2.0.1",
4
4
  "description": "A Webpack integration tool for CoCreate applications, enabling file watching, automated chunking, lazy loading, and file uploading. It leverages CoCreate.config for streamlined project builds and development workflows.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -27,21 +27,21 @@
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",
30
- "url": "git+https://gitlab.com/cocreatejs/CoCreate-webpack.git"
30
+ "url": "git+https://github.com/CoCreateJS/Webpack.git"
31
31
  },
32
32
  "author": "CoCreate LLC",
33
33
  "license": "MIT",
34
34
  "bugs": {
35
- "url": "https://github.com/CoCreate-app/CoCreate-webpack/issues"
35
+ "url": "https://github.com/CoCreateJS/Webpack/issues"
36
36
  },
37
- "homepage": "https://cocreate.app/docs/webpack",
37
+ "homepage": "https://CoCreateJS.com/docs/webpack",
38
38
  "funding": {
39
39
  "type": "GitHub Sponsors ❤",
40
- "url": "https://github.com/sponsors/CoCreate-app"
40
+ "url": "https://github.com/sponsors/CoCreateJS"
41
41
  },
42
42
  "main": "./src/index.js",
43
43
  "dependencies": {
44
- "@cocreate/cli": "^1.64.0",
44
+ "@cocreate/cli": "^2.0.0",
45
45
  "css-loader": "^7.1.4",
46
46
  "esbuild": "^0.25.12",
47
47
  "esbuild-loader": "^4.5.0",
package/src/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * @fileoverview Webpack plugins and loaders for the CoCreate ecosystem.
3
3
  * Includes unified entry generation (`CoCreate.entry.js`), automated file uploading, and symlink management.
4
+ * @environment tooling
4
5
  */
5
6
 
6
7
  const fs = require("fs");
@@ -18,6 +19,8 @@ try {
18
19
  * @class ModuleGenerator
19
20
  * @description Webpack plugin that generates a single unified entry file (`CoCreate.entry.js`)
20
21
  * containing both global plugin configuration and `@cocreate/lazy-loader` declarations.
22
+ * @public
23
+ * @environment tooling
21
24
  */
22
25
  class ModuleGenerator {
23
26
  /**
@@ -26,9 +29,14 @@ class ModuleGenerator {
26
29
  * @param {Object} [pluginOptions.config] - Direct CoCreate configuration object.
27
30
  * @param {string} [pluginOptions.configPath] - Path to a CoCreate config file.
28
31
  * @param {string} [pluginOptions.entryOutputPath="./CoCreate.entry.js"] - Path for generated unified entry file.
32
+ * @public
33
+ * @environment tooling
29
34
  */
30
35
  constructor(pluginOptions = {}) {
31
- /** @type {Object} */
36
+ /** @type {Object}
37
+ * @public
38
+ * @environment tooling
39
+ */
32
40
  this.pluginOptions = pluginOptions;
33
41
  }
34
42
 
@@ -36,6 +44,8 @@ class ModuleGenerator {
36
44
  * @method apply
37
45
  * @description Taps into Webpack's `beforeCompile` hook to write the unified entry file.
38
46
  * @param {import('webpack').Compiler} compiler - The Webpack compiler instance.
47
+ * @public
48
+ * @environment tooling
39
49
  */
40
50
  apply(compiler) {
41
51
  let CoCreateConfig = null;
@@ -61,7 +71,10 @@ class ModuleGenerator {
61
71
  return;
62
72
  }
63
73
 
64
- /** @type {boolean} State flag to avoid redundant disk writes during watch mode recompiles. */
74
+ /** @type {boolean} State flag to avoid redundant disk writes during watch mode recompiles.
75
+ * @private
76
+ * @environment tooling
77
+ */
65
78
  let entryGenerated = false;
66
79
 
67
80
  compiler.hooks.beforeCompile.tapAsync(
@@ -130,12 +143,16 @@ class ModuleGenerator {
130
143
  /**
131
144
  * @class FileUploader
132
145
  * @description Handles automated file uploads to the CoCreate platform during Webpack watch mode.
146
+ * @public
147
+ * @environment tooling
133
148
  */
134
149
  class FileUploader {
135
150
  /**
136
151
  * @constructor
137
152
  * @param {Object} [env={}] - Environment variables passed from the Webpack CLI.
138
153
  * @param {Object} [argv={}] - Command line arguments.
154
+ * @public
155
+ * @environment tooling
139
156
  */
140
157
  constructor(env = {}, argv = {}) {
141
158
  this.env = env;
@@ -147,6 +164,8 @@ class FileUploader {
147
164
  * @method apply
148
165
  * @description Hooks into compilation hooks to upload files to CoCreate.
149
166
  * @param {import('webpack').Compiler} compiler - The Webpack compiler instance.
167
+ * @public
168
+ * @environment tooling
150
169
  */
151
170
  apply(compiler) {
152
171
  if (this.isWatch && upload) {
@@ -170,6 +189,12 @@ class FileUploader {
170
189
  }
171
190
  }
172
191
 
192
+ /**
193
+ * SymlinkCreator public API.
194
+ *
195
+ * @public
196
+ * @environment tooling
197
+ */
173
198
  class SymlinkCreator {
174
199
  apply(compiler) {
175
200
  // Symlink creation logic can be tapped here if required
@@ -182,3 +207,18 @@ module.exports = {
182
207
  SymlinkCreator,
183
208
  UnicodeLoader: path.resolve(__dirname, 'replace-unicode.js')
184
209
  };
210
+
211
+ /**
212
+ * UnicodeLoader public API.
213
+ *
214
+ * @name UnicodeLoader
215
+ * @public
216
+ * @environment tooling
217
+ */
218
+
219
+ /**
220
+ * A Webpack integration tool for CoCreate applications, enabling file watching, automated chunking, lazy loading, and file uploading. It leverages CoCreate.config for streamlined project builds and development workflows.
221
+ *
222
+ * @module webpack
223
+ * @environment tooling
224
+ */