mod-build 4.0.105-beta.1 → 4.0.105-beta.2
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 +1 -5
- package/package.json +1 -1
- package/tasks/grab-cdn.js +2 -1
- package/tasks/grab-code-review-rules.js +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
-
|
|
3
2
|
## 4.0.105
|
|
4
|
-
|
|
5
|
-
- Updating `grab-code-review-rules.js` to pivot away from Rovo & switch to Cursor Bugbot.
|
|
3
|
+
- Adding dns modal path in grab-cdn.
|
|
6
4
|
|
|
7
5
|
## 4.0.104
|
|
8
|
-
|
|
9
6
|
- Migrating vite to master.
|
|
10
7
|
|
|
11
8
|
## 4.0.103
|
|
12
|
-
|
|
13
9
|
- Removing unused files.
|
|
14
10
|
|
|
15
11
|
## 4.0.102
|
package/package.json
CHANGED
package/tasks/grab-cdn.js
CHANGED
|
@@ -83,7 +83,8 @@ export default async function(config) {
|
|
|
83
83
|
'/quote/resources/shared-resources/templates/modals/terms/': [`${srcFolder}/resources/templates/modals/terms/`, 'index.html'],
|
|
84
84
|
'/quote/resources/shared-resources/templates/modals/contact-us/': [`${srcFolder}/resources/templates/modals/contact-us/`, 'index.html'],
|
|
85
85
|
'/quote/resources/shared-resources/templates/modals/faq/': [`${srcFolder}/resources/templates/modals/faq/`, 'index.html'],
|
|
86
|
-
'/quote/resources/shared-resources/templates/modals/e-sign-consent/': [`${srcFolder}/resources/templates/modals/e-sign-consent/`, 'index.html']
|
|
86
|
+
'/quote/resources/shared-resources/templates/modals/e-sign-consent/': [`${srcFolder}/resources/templates/modals/e-sign-consent/`, 'index.html'],
|
|
87
|
+
'/quote/resources/shared-resources/templates/modals/dns/': [`${srcFolder}/resources/templates/modals/dns/`, 'index.html']
|
|
87
88
|
});
|
|
88
89
|
|
|
89
90
|
if (cssThemes && cssThemes.length > 0) {
|
|
@@ -6,15 +6,14 @@ async function grabRules() {
|
|
|
6
6
|
const url = `https://${defaultSettings.nodeEnv}/quote/resources/mod-site/code-review-rules/review-agent.md`;
|
|
7
7
|
const response = await fetch(url);
|
|
8
8
|
|
|
9
|
-
if (
|
|
9
|
+
if (response.status !== 200) {
|
|
10
10
|
throw new Error(`${response.status}: Error while fetching review-agent.md`);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
const text = await response.text();
|
|
14
14
|
|
|
15
|
-
await fs.mkdir('.
|
|
16
|
-
await fs.writeFile('.
|
|
17
|
-
await fs.rm('.rovodev', { recursive: true, force: true });
|
|
15
|
+
await fs.mkdir('.rovodev', { recursive: true });
|
|
16
|
+
await fs.writeFile('.rovodev/.review-agent.md', text, 'utf8');
|
|
18
17
|
} catch (error) {
|
|
19
18
|
console.error('Error occurred:', error.message);
|
|
20
19
|
}
|