@lwrjs/static 0.12.0-alpha.28 → 0.12.0-alpha.29
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.
|
@@ -64,6 +64,8 @@ var SiteMetadataImpl = class {
|
|
|
64
64
|
}
|
|
65
65
|
async persistSiteMetadata() {
|
|
66
66
|
const siteMetadataPath = import_path.default.join(this.options.rootDir, SITE_METADATA_PATH);
|
|
67
|
+
if (siteMetadataPath.indexOf("__skip_directory_creation__") !== -1)
|
|
68
|
+
return;
|
|
67
69
|
try {
|
|
68
70
|
if (!import_fs_extra.default.existsSync(siteMetadataPath)) {
|
|
69
71
|
await import_fs_extra.default.mkdir(siteMetadataPath, {recursive: true});
|
|
@@ -37,6 +37,8 @@ export class SiteMetadataImpl {
|
|
|
37
37
|
async persistSiteMetadata() {
|
|
38
38
|
// Create the metadata directory if if does not exist
|
|
39
39
|
const siteMetadataPath = path.join(this.options.rootDir, SITE_METADATA_PATH);
|
|
40
|
+
if (siteMetadataPath.indexOf('__skip_directory_creation__') !== -1)
|
|
41
|
+
return;
|
|
40
42
|
try {
|
|
41
43
|
if (!fs.existsSync(siteMetadataPath)) {
|
|
42
44
|
await fs.mkdir(siteMetadataPath, { recursive: true });
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.12.0-alpha.
|
|
7
|
+
"version": "0.12.0-alpha.29",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"build/**/*.d.ts"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@lwrjs/diagnostics": "0.12.0-alpha.
|
|
52
|
-
"@lwrjs/shared-utils": "0.12.0-alpha.
|
|
51
|
+
"@lwrjs/diagnostics": "0.12.0-alpha.29",
|
|
52
|
+
"@lwrjs/shared-utils": "0.12.0-alpha.29"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@lwrjs/types": "0.12.0-alpha.
|
|
55
|
+
"@lwrjs/types": "0.12.0-alpha.29",
|
|
56
56
|
"@types/express": "^4.17.21",
|
|
57
57
|
"jest": "^26.6.3",
|
|
58
58
|
"jest-express": "^1.12.0",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"volta": {
|
|
66
66
|
"extends": "../../../package.json"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "452c6d4343b2139e03147100eec8aed7d17d7c51"
|
|
69
69
|
}
|