create-blitzpack 0.1.4 → 0.1.5
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/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -181,7 +181,8 @@ var GITHUB_REPO = "github:CarboxyDev/blitzpack";
|
|
|
181
181
|
var POST_DOWNLOAD_EXCLUDES = [
|
|
182
182
|
"create-blitzpack",
|
|
183
183
|
"scripts/setup.js",
|
|
184
|
-
".github"
|
|
184
|
+
".github",
|
|
185
|
+
"apps/marketing"
|
|
185
186
|
];
|
|
186
187
|
async function cleanupExcludes(targetDir) {
|
|
187
188
|
for (const exclude of POST_DOWNLOAD_EXCLUDES) {
|
|
@@ -218,7 +219,7 @@ function transformSiteConfig(content, vars) {
|
|
|
218
219
|
return content.replace(/name: ['"].*['"]/, `name: '${vars.projectName}'`).replace(
|
|
219
220
|
/description: ['"].*['"]/,
|
|
220
221
|
`description: '${vars.projectDescription}'`
|
|
221
|
-
)
|
|
222
|
+
);
|
|
222
223
|
}
|
|
223
224
|
function transformLayout(content, vars) {
|
|
224
225
|
return content.replace(/title: ['"].*['"]/, `title: '${vars.projectName}'`).replace(
|