@rebilly/framepay-react 13.62.0 → 13.64.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.
- package/CHANGELOG.md +2 -2
- package/package.json +1 -1
- package/test/e2e/switch-react-version.js +18 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [13.
|
|
1
|
+
## [13.64.0](https://github.com/Rebilly/rebilly/compare/framepay-react-v13.63.0...framepay-react-v13.64.0) (2026-02-26)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#
|
|
6
|
+
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#19177](https://github.com/Rebilly/rebilly/issues/19177)) ([1641ed9](https://github.com/Rebilly/rebilly/commit/1641ed91e176672c9a078e13744a97c814ebd4d5))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebilly/framepay-react",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.64.0",
|
|
4
4
|
"description": "A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"author": "Rebilly",
|
|
@@ -11,34 +11,47 @@ const clean = !version || version === 'clean';
|
|
|
11
11
|
|
|
12
12
|
const packageJsonPath = './package.json';
|
|
13
13
|
const backupPath = './package.json.backup';
|
|
14
|
+
const lockfilePath = '../../../pnpm-lock.yaml';
|
|
15
|
+
const lockfileBackupPath = '../../../pnpm-lock.yaml.backup';
|
|
14
16
|
|
|
15
17
|
function runInstallCommand() {
|
|
16
18
|
execSync('pnpm install', { stdio: 'inherit' });
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
function
|
|
21
|
+
function backupFiles() {
|
|
20
22
|
if (!fs.existsSync(backupPath)) {
|
|
21
23
|
fs.copyFileSync(packageJsonPath, backupPath);
|
|
22
24
|
console.log('>>> Backed up package.json <<<');
|
|
23
25
|
}
|
|
26
|
+
if (!fs.existsSync(lockfileBackupPath)) {
|
|
27
|
+
fs.copyFileSync(lockfilePath, lockfileBackupPath);
|
|
28
|
+
console.log('>>> Backed up pnpm-lock.yaml <<<');
|
|
29
|
+
}
|
|
24
30
|
}
|
|
25
31
|
|
|
26
|
-
function
|
|
32
|
+
function restoreFiles() {
|
|
27
33
|
if (fs.existsSync(backupPath)) {
|
|
28
34
|
fs.copyFileSync(backupPath, packageJsonPath);
|
|
29
35
|
fs.unlinkSync(backupPath);
|
|
30
36
|
console.log('>>> Restored package.json from backup <<<');
|
|
31
37
|
} else {
|
|
32
|
-
console.log('>>> No backup found to restore <<<');
|
|
38
|
+
console.log('>>> No package.json backup found to restore <<<');
|
|
39
|
+
}
|
|
40
|
+
if (fs.existsSync(lockfileBackupPath)) {
|
|
41
|
+
fs.copyFileSync(lockfileBackupPath, lockfilePath);
|
|
42
|
+
fs.unlinkSync(lockfileBackupPath);
|
|
43
|
+
console.log('>>> Restored pnpm-lock.yaml from backup <<<');
|
|
44
|
+
} else {
|
|
45
|
+
console.log('>>> No pnpm-lock.yaml backup found to restore <<<');
|
|
33
46
|
}
|
|
34
47
|
}
|
|
35
48
|
|
|
36
49
|
if (clean) {
|
|
37
50
|
console.log(`>>> CLEAN REACT ALIAS <<<`);
|
|
38
|
-
|
|
51
|
+
restoreFiles();
|
|
39
52
|
runInstallCommand();
|
|
40
53
|
} else {
|
|
41
|
-
|
|
54
|
+
backupFiles();
|
|
42
55
|
|
|
43
56
|
const pkg = require('../../package');
|
|
44
57
|
|