@addev-be/framework-utils 0.21.7 → 0.21.8
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/bin/commit-release.mjs
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { commitRelease } from '../node/commit-release.mjs';
|
|
4
|
+
import { runPreReleaseChecks } from '../node/pre-release-checks.mjs';
|
|
5
|
+
|
|
6
|
+
// Run pre-release checks first (UI build is mandatory)
|
|
7
|
+
runPreReleaseChecks({
|
|
8
|
+
skipBackend: true, // Backend check is optional for releases
|
|
9
|
+
skipLint: false, // Keep linting check
|
|
10
|
+
});
|
|
4
11
|
|
|
5
12
|
commitRelease();
|
package/node/commit-release.mjs
CHANGED
|
@@ -3,12 +3,6 @@ import { getCurrentVersion } from './helpers/versions.mjs';
|
|
|
3
3
|
import { runPreReleaseChecks } from './pre-release-checks.mjs';
|
|
4
4
|
|
|
5
5
|
export const commitRelease = () => {
|
|
6
|
-
// Run pre-release checks first (UI build is mandatory)
|
|
7
|
-
runPreReleaseChecks({
|
|
8
|
-
skipBackend: true, // Backend check is optional for releases
|
|
9
|
-
skipLint: false, // Keep linting check
|
|
10
|
-
});
|
|
11
|
-
|
|
12
6
|
const newVersion = getCurrentVersion();
|
|
13
7
|
|
|
14
8
|
execSync('git add .', { stdio: 'inherit' });
|