Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions lib/validation/schema/specVersion/kind/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,6 @@
"type": "boolean",
"default": false
},
"usePredefineCalls": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes existing specVersions, which is not intended

"type": "boolean",
"default": false
},
"numberOfParts": {
"type": "number",
"default": 1
Expand All @@ -423,10 +419,6 @@
"type": "boolean",
"default": false
},
"usePredefineCalls": {
"type": "boolean",
"default": false
},
"numberOfParts": {
"type": "number",
"default": 1
Expand Down
11 changes: 0 additions & 11 deletions test/lib/validation/schema/__helper__/builder-bundleOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default {
"optimize": false,
"decorateBootstrapModule": false,
"addTryCatchRestartWrapper": true,
"usePredefineCalls": true,
"numberOfParts": 8,
"sourceMap": false
}
Expand Down Expand Up @@ -82,7 +81,6 @@ export default {
"optimize": "invalid value",
"decorateBootstrapModule": {"invalid": "value"},
"addTryCatchRestartWrapper": ["invalid value"],
"usePredefineCalls": 12,
"numberOfParts": true,
"sourceMap": 55
}
Expand Down Expand Up @@ -115,15 +113,6 @@ export default {
},
message: "should be boolean"
},
{
keyword: "type",
dataPath:
"/builder/bundles/0/bundleOptions/usePredefineCalls",
params: {
type: "boolean",
},
message: "should be boolean"
},
{
keyword: "type",
dataPath:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ SpecificationVersion.getVersionsForRange(">=2.0").forEach(function(specVersion)
"bundleOptions": {
"optimize": true,
"decorateBootstrapModule": true,
"addTryCatchRestartWrapper": true,
"usePredefineCalls": true
"addTryCatchRestartWrapper": true
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ SpecificationVersion.getVersionsForRange(">=2.0").forEach(function(specVersion)
"bundleOptions": {
"optimize": true,
"decorateBootstrapModule": true,
"addTryCatchRestartWrapper": true,
"usePredefineCalls": true
"addTryCatchRestartWrapper": true
}
},
{
Expand Down