codeplay-common 4.9.7 → 4.9.9
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 +15 -1
- package/README.md +32 -0
- package/RELEASE_NOTES.md +15 -1
- package/files/buildCodeplay/codeplayBeforeBuild-6.5.js +4434 -0
- package/files/buildCodeplay/sync-admob-nextgen.js +217 -0
- package/files/buildCodeplay/versions.json +1 -1
- package/files/finalrelease +11 -17
- package/package.json +4 -1
- package/scripts/sync-files.js +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
# Changelog
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 4.9.8 — 2026-10-22
|
|
4
|
+
|
|
5
|
+
Version name: 4.9.8. Version code/build number: not applicable to this npm package.
|
|
6
|
+
Bundled pre-build script: 6.5.
|
|
7
|
+
|
|
8
|
+
Files changed: `package.json`, `scripts/sync-files.js`, `files/buildCodeplay/codeplayBeforeBuild-6.5.js`, `files/buildCodeplay/sync-admob-nextgen.js`, `files/buildCodeplay/versions.json`, `files/finalrelease`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
9
|
+
|
|
10
|
+
- Install AdMob as `src/js/Ads/admob-nextgen-4.0/` with stable `admob-emi-nextgen.js` and `app-open-state.js` filenames.
|
|
11
|
+
- Automatically migrate loose-file references, folder references and Vite aliases during installation and before builds.
|
|
12
|
+
- Preserve app-owned ad configuration and select each app's existing IAP analytics module.
|
|
13
|
+
- Download every AdMob folder ZIP from htmlcodeplay.com; no AdMob archive is included in this npm package.
|
|
14
|
+
- Validate ZIP contents before switching imports; retain the working package when a remote update fails.
|
|
15
|
+
- Validate the selected folder controller during final-release checks while continuing to reject test aliases.
|
|
2
16
|
|
|
3
17
|
## 4.7.7 — 2026-10-07
|
|
4
18
|
|
package/README.md
CHANGED
|
@@ -8,6 +8,38 @@ Make three build file for different store as per our requirement
|
|
|
8
8
|
Based on store install various IAP plugins
|
|
9
9
|
Make it to ionic project
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
## AdMob folder packages (4.9.8)
|
|
13
|
+
|
|
14
|
+
Installing this release automatically migrates AdMob to:
|
|
15
|
+
|
|
16
|
+
`src/js/Ads/admob-nextgen-4.0/admob-emi-nextgen.js`
|
|
17
|
+
|
|
18
|
+
`src/js/Ads/admob-nextgen-4.0/app-open-state.js`
|
|
19
|
+
|
|
20
|
+
Existing `@admob` imports continue to work. Direct imports of the controller or
|
|
21
|
+
lightweight state module are rewritten to the selected folder, including relative
|
|
22
|
+
paths, `@/` paths and static dynamic imports. App-owned
|
|
23
|
+
`src/js/Ads/admob-ad-configuration-nextgen.json` remains outside the package;
|
|
24
|
+
installation does not replace its values. The controller's analytics import is
|
|
25
|
+
aligned with the newest installed IAP folder containing `firebase-analytics.js`.
|
|
26
|
+
|
|
27
|
+
The postinstall hook and pre-build script use the same migration helper. AdMob archives are downloaded only from the live plugin server; none are stored in this npm package.
|
|
28
|
+
ZIPs may contain the files directly or one matching versioned folder. A complete
|
|
29
|
+
controller and state module are required before imports switch. An unavailable or
|
|
30
|
+
invalid remote ZIP leaves the installed package in use, with a warning. Unresolved
|
|
31
|
+
import targets stop migration before old packages are removed.
|
|
32
|
+
|
|
33
|
+
For future AdMob releases, upload `admob-nextgen-X.Y.zip` to
|
|
34
|
+
`https://htmlcodeplay.com/code-play-plugin/` and set `"admob-nextgen": "X.Y"`
|
|
35
|
+
in that server's `versions.json`. Version the folder, and keep module filenames
|
|
36
|
+
stable. The previous `admob-emi-nextgen` manifest key is accepted for versions
|
|
37
|
+
4.0 and later during the transition. Apps automatically select a newer ZIP during
|
|
38
|
+
installation or their next normal pre-build; no per-app import changes are needed.
|
|
39
|
+
For older manifests without a folder release entry, migration checks the required
|
|
40
|
+
`admob-nextgen-4.0.zip` directly on the same server. If offline, an existing complete
|
|
41
|
+
folder remains usable; first migration stops with the legacy files preserved.
|
|
42
|
+
|
|
11
43
|
## Platform builds and shared validation
|
|
12
44
|
|
|
13
45
|
Installing or updating `codeplay-common` updates the consuming project's `package.json`
|
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
# Release notes
|
|
1
|
+
# Release notes
|
|
2
|
+
|
|
3
|
+
## 4.9.8 — 2026-10-22
|
|
4
|
+
|
|
5
|
+
Version name: 4.9.8. Version code/build number: not applicable to this npm package.
|
|
6
|
+
Bundled pre-build script: 6.5.
|
|
7
|
+
|
|
8
|
+
Files changed: `package.json`, `scripts/sync-files.js`, `files/buildCodeplay/codeplayBeforeBuild-6.5.js`, `files/buildCodeplay/sync-admob-nextgen.js`, `files/buildCodeplay/versions.json`, `files/finalrelease`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
9
|
+
|
|
10
|
+
- Install AdMob as `src/js/Ads/admob-nextgen-4.0/` with stable `admob-emi-nextgen.js` and `app-open-state.js` filenames.
|
|
11
|
+
- Automatically migrate loose-file references, folder references and Vite aliases during installation and before builds.
|
|
12
|
+
- Preserve app-owned ad configuration and select each app's existing IAP analytics module.
|
|
13
|
+
- Download every AdMob folder ZIP from htmlcodeplay.com; no AdMob archive is included in this npm package.
|
|
14
|
+
- Validate ZIP contents before switching imports; retain the working package when a remote update fails.
|
|
15
|
+
- Validate the selected folder controller during final-release checks while continuing to reject test aliases.
|
|
2
16
|
|
|
3
17
|
## 4.7.7 — 2026-10-07
|
|
4
18
|
|