@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 +97 -64
- package/LICENSE +21 -21
- package/README.md +517 -430
- package/bin/adaptfully.js +7 -0
- package/bin/wrapfully-deploy.js +22 -7
- package/lib/node/archive.js +43 -34
- package/lib/node/config.js +42 -42
- package/lib/node/deploy.js +52 -69
- package/lib/node/fs-utils.js +49 -0
- package/lib/node/index.js +20 -18
- package/lib/node/paths.js +18 -0
- package/lib/node/pipeline.js +77 -0
- package/lib/node/prebuild.js +90 -0
- package/lib/node/registrations.js +314 -0
- package/lib/node/report.js +42 -42
- package/lib/runtime/auth/_helpers.js +38 -38
- package/lib/runtime/auth/dev-auth.js +78 -78
- package/lib/runtime/auth/google-auth.js +176 -176
- package/lib/runtime/auth/steam-auth.js +50 -50
- package/lib/runtime/core.js +56 -61
- package/lib/runtime/platform.js +89 -89
- package/package.json +62 -61
- package/lib/node/distribution.js +0 -138
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
|
-
##
|
|
6
|
-
|
|
7
|
-
###
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
- `
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
###
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
### Changed
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
|
|
62
|
-
## 1.0
|
|
63
|
-
|
|
64
|
-
|
|
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.
|