Skip to content

Commit

Permalink
removed hostedShellHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiblaga89 committed Mar 8, 2024
1 parent 078a7b9 commit 5fcd07a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 42 deletions.
18 changes: 0 additions & 18 deletions packages/core/jsonSchema/rnv.app.json
Expand Up @@ -1836,9 +1836,6 @@
"environment": {
"type": "string"
},
"hostedShellHeaders": {
"type": "string"
},
"webpackConfig": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1968,9 +1965,6 @@
"environment": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/hostedShellHeaders"
},
"webpackConfig": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/webpackConfig"
}
Expand Down Expand Up @@ -2090,9 +2084,6 @@
"environment": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/hostedShellHeaders"
},
"webpackConfig": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/webpackConfig"
},
Expand Down Expand Up @@ -2203,9 +2194,6 @@
"environment": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/hostedShellHeaders"
},
"webpackConfig": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/webpackConfig"
},
Expand Down Expand Up @@ -2343,9 +2331,6 @@
"environment": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/hostedShellHeaders"
},
"buildSchemes": {
"type": "object",
"additionalProperties": {
Expand Down Expand Up @@ -2464,9 +2449,6 @@
},
"environment": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.app/properties/platforms/properties/tizen/properties/hostedShellHeaders"
}
},
"additionalProperties": false
Expand Down
18 changes: 0 additions & 18 deletions packages/core/jsonSchema/rnv.project.json
Expand Up @@ -2191,9 +2191,6 @@
"environment": {
"type": "string"
},
"hostedShellHeaders": {
"type": "string"
},
"webpackConfig": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -2323,9 +2320,6 @@
"environment": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/hostedShellHeaders"
},
"webpackConfig": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/webpackConfig"
}
Expand Down Expand Up @@ -2445,9 +2439,6 @@
"environment": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/hostedShellHeaders"
},
"webpackConfig": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/webpackConfig"
},
Expand Down Expand Up @@ -2558,9 +2549,6 @@
"environment": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/hostedShellHeaders"
},
"webpackConfig": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/webpackConfig"
},
Expand Down Expand Up @@ -2698,9 +2686,6 @@
"environment": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/hostedShellHeaders"
},
"buildSchemes": {
"type": "object",
"additionalProperties": {
Expand Down Expand Up @@ -2819,9 +2804,6 @@
},
"environment": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/environment"
},
"hostedShellHeaders": {
"$ref": "#/definitions/rnv.project/properties/platforms/properties/tizen/properties/hostedShellHeaders"
}
},
"additionalProperties": false
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/schema/platforms/fragments/web.ts
Expand Up @@ -4,5 +4,4 @@ export const PlatformWebFragment = {
timestampBuildFiles: z.array(z.string()).optional(),
devServerHost: z.string().optional(),
environment: z.string().optional(),
hostedShellHeaders: z.string().optional(),
};
5 changes: 0 additions & 5 deletions packages/engine-rn-web/src/tasks/taskRun.ts
Expand Up @@ -51,7 +51,6 @@ const _configureHostedIfRequired = async (c: RnvContext) => {
logTask('_configureHostedIfRequired');

const bundleAssets = getConfigProp(c, c.platform, 'bundleAssets', false);
const hostedShellHeaders = getConfigProp(c, c.platform, 'hostedShellHeaders') || '';

if (!bundleAssets && !existBuildsOverrideForTargetPathSync(c, path.join(getPlatformProjectDir(c)!, 'index.html'))) {
logDebug('Running hosted build');
Expand All @@ -66,10 +65,6 @@ const _configureHostedIfRequired = async (c: RnvContext) => {
pattern: '{{DEV_SERVER}}',
override: `http://${ipAddress}:${c.runtime.port}`,
},
{
pattern: '{{APPSHELL_HTML_HEADER}}',
override: String(hostedShellHeaders || ''),
},
],
undefined,
c
Expand Down

0 comments on commit 5fcd07a

Please sign in to comment.