@makefully/adaptfully 2.1.0 → 3.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.
package/CHANGELOG.md CHANGED
@@ -1,64 +1,97 @@
1
- # Changelog
2
-
3
- All notable changes to this project are documented in this file.
4
-
5
- ## 2.1.0 — 2026-06-15
6
-
7
- ### Changed
8
-
9
- - Node tooling is now full ESM (`import`/`export`) with no `.cjs` / `.mjs` split.
10
- - Deploy logic split into focused modules: `archive.js`, `config.js`, `deploy.js`, `report.js`.
11
- - Runtime uses ES classes, private fields, optional chaining, and shared `auth/_helpers.js`.
12
- - Minimum Node version raised to 18; dependencies updated (`archiver` 7, `axios` 1.7).
13
-
14
- ## 2.0.0 — 2026-06-15
15
-
16
- ### Added
17
-
18
- - **Adaptfully** runtime library: `adaptfully.register()` / `adaptfully.get()` for platform services.
19
- - Auth plugins: Google (`adaptfully.auth.Google`), Steam (`adaptfully.auth.Steam`), and dev (`adaptfully.auth.Dev`).
20
- - `Platform` wrapper for uniform auth API across deployment channels.
21
- - Node build helpers: `getAuthScriptsForChannel()`, `authRegistrationScript()`, `filterIncludesForBuildChannel()`, and related exports.
22
- - Programmatic deploy API exported from `lib/node/deploy.js`.
23
-
24
- ### Changed
25
-
26
- - Package renamed from `@makefully/wrapfully-client` to `@makefully/adaptfully`.
27
- - Deploy CLI moved to `bin/wrapfully-deploy.js`; root `deploy.js` remains as a compatibility shim.
28
-
29
- ## 1.2.0 2026-06-11
30
-
31
- ### Added
32
-
33
- - Documentation for Electron debug builders: `win-dev`, `mac-dev`, `linux-dev`, and `steam-dev`.
34
-
35
- ## 1.1.2 2026-06-12
36
-
37
- ### Fixed
38
-
39
- - npm trusted publishing workflow: upgrade npm explicitly, unset stale `NODE_AUTH_TOKEN`, and use `https://` repository URL format required by OIDC.
40
-
41
- ## 1.1.1 — 2026-06-11
42
-
43
- ### Added
44
-
45
- - npm trusted publishing workflow (`.github/workflows/publish.yml`) with OIDC no `NPM_TOKEN` required.
46
- - `PUBLISHING.md` maintainer guide; publishes automatically on version bumps to `main`.
47
-
48
- ## 1.1.0 — 2026-06-11
49
-
50
- ### Added
51
-
52
- - Reads `wrapfully-status.json` from `./output/` after extraction and prints build events to the console.
53
- - Exits with code 1 when the server reports build errors, so CI and scripts can detect failures.
54
- - Icons documentation in README (1536×1536 layered PNG requirements).
55
- - Documentation for Steam cross-platform routing and credential relay between build servers.
56
-
57
- ### Changed
58
-
59
- - Deploy waits for the response stream to finish before reporting build status.
60
- - Legacy `{name}-{version}-{builder}.txt` status files are still printed when `wrapfully-status.json` is absent.
61
-
62
- ## 1.0.1
63
-
64
- Initial published client with zip-and-post deploy flow.
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented in this file.
4
+
5
+ ## 3.0.1 — 2026-06-17
6
+
7
+ ### Added
8
+
9
+ - `config.htmlInjections` list of deploy-relative HTML paths to inject during prebuild (default: `["index.html"]`).
10
+
11
+ ### Fixed
12
+
13
+ - Prebuild injects only configured HTML files instead of scanning every `.html` in the deploy folder.
14
+
15
+ ## 3.0.0 — 2026-06-17
16
+
17
+ ### Added
18
+
19
+ - Three-stage Adaptfully pipeline: `adaptfully prebuild`, `adaptfully build`, and `adaptfully deploy`.
20
+ - `prebuildPlatform()` copies `deploy/` to `output/<platform>-prebuild/` and applies platform registrations to all HTML files.
21
+ - `adaptfully` CLI binary (`adaptfully prebuild|build|deploy <platform>`).
22
+ - Config-driven platform registrations via `config.platforms.<platform>.registrations` in `package.json`.
23
+ - Platform APIs: `adaptfullyInjectionForPlatform()`, `resolveRegistrationAssets()`, `resolveBuilderForPlatform()`, `resolveCliPlatformAndBuilder()`.
24
+
25
+ ### Changed
26
+
27
+ - `wrapfully-deploy` runs the `deploy` stage (prebuild + Wrapfully upload). Builder names (`win`, `steam`, etc.) map to platform keys via `config.platforms` or defaults.
28
+ - `build` and `deploy` stages always prebuild first; the on-disk `deploy/` folder is left unchanged.
29
+ - Missing platform registrations skip injection with a console note; each registration is logged as it is applied.
30
+
31
+ ### Removed
32
+
33
+ - Legacy channel-based build helpers: `getBuildChannel`, `getAuthScriptsForChannel`, `authRegistrationScript`, `authRegistrationForChannel`, `devAuthRegistration`, `extScriptsForBuildChannel`, `filterIncludesForBuildChannel`, `distributionSettingsForBuild`.
34
+ - Deprecated builder-based injection helpers: `adaptfullyInjectionForBuilder`, `prepareDeployIndexHtml`, `deployFromCli`.
35
+ - `adaptfully.getInstance()` from the browser runtime.
36
+ - Root `deploy.js` compatibility shim.
37
+
38
+ ## 2.1.0 — 2026-06-15
39
+
40
+ ### Changed
41
+
42
+ - Node tooling is now full ESM (`import`/`export`) with no `.cjs` / `.mjs` split.
43
+ - Deploy logic split into focused modules: `archive.js`, `config.js`, `deploy.js`, `report.js`.
44
+ - Runtime uses ES classes, private fields, optional chaining, and shared `auth/_helpers.js`.
45
+ - Minimum Node version raised to 18; dependencies updated (`archiver` 7, `axios` 1.7).
46
+
47
+ ## 2.0.0 — 2026-06-15
48
+
49
+ ### Added
50
+
51
+ - **Adaptfully** runtime library: `adaptfully.register()` / `adaptfully.get()` for platform services.
52
+ - Auth plugins: Google (`adaptfully.auth.Google`), Steam (`adaptfully.auth.Steam`), and dev (`adaptfully.auth.Dev`).
53
+ - `Platform` wrapper for uniform auth API across deployment channels.
54
+ - Node build helpers: `getAuthScriptsForChannel()`, `authRegistrationScript()`, `filterIncludesForBuildChannel()`, and related exports.
55
+ - Programmatic deploy API exported from `lib/node/deploy.js`.
56
+
57
+ ### Changed
58
+
59
+ - Package renamed from `@makefully/wrapfully-client` to `@makefully/adaptfully`.
60
+ - Deploy CLI moved to `bin/wrapfully-deploy.js`; root `deploy.js` remains as a compatibility shim.
61
+
62
+ ## 1.2.0 — 2026-06-11
63
+
64
+ ### Added
65
+
66
+ - Documentation for Electron debug builders: `win-dev`, `mac-dev`, `linux-dev`, and `steam-dev`.
67
+
68
+ ## 1.1.2 — 2026-06-12
69
+
70
+ ### Fixed
71
+
72
+ - npm trusted publishing workflow: upgrade npm explicitly, unset stale `NODE_AUTH_TOKEN`, and use `https://` repository URL format required by OIDC.
73
+
74
+ ## 1.1.1 — 2026-06-11
75
+
76
+ ### Added
77
+
78
+ - npm trusted publishing workflow (`.github/workflows/publish.yml`) with OIDC — no `NPM_TOKEN` required.
79
+ - `PUBLISHING.md` maintainer guide; publishes automatically on version bumps to `main`.
80
+
81
+ ## 1.1.0 — 2026-06-11
82
+
83
+ ### Added
84
+
85
+ - Reads `wrapfully-status.json` from `./output/` after extraction and prints build events to the console.
86
+ - Exits with code 1 when the server reports build errors, so CI and scripts can detect failures.
87
+ - Icons documentation in README (1536×1536 layered PNG requirements).
88
+ - Documentation for Steam cross-platform routing and credential relay between build servers.
89
+
90
+ ### Changed
91
+
92
+ - Deploy waits for the response stream to finish before reporting build status.
93
+ - Legacy `{name}-{version}-{builder}.txt` status files are still printed when `wrapfully-status.json` is absent.
94
+
95
+ ## 1.0.1
96
+
97
+ Initial published client with zip-and-post deploy flow.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) Makefully Studios
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) Makefully Studios
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.