Format fixture JSON with Prettier. (#8658)
This commit is contained in:
@@ -2,8 +2,5 @@
|
||||
"sourceType": "module",
|
||||
"moduleIds": true,
|
||||
"moduleId": "my custom module name",
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", { "loose": true }]
|
||||
]
|
||||
"plugins": ["external-helpers", ["transform-modules-umd", { "loose": true }]]
|
||||
}
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"foo-bar": "fooBAR",
|
||||
"./mylib/foo-bar": "mylib.fooBar",
|
||||
"fizzbuzz": "fizz.buzz"
|
||||
},
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"foo-bar": "fooBAR",
|
||||
"./mylib/foo-bar": "mylib.fooBar",
|
||||
"fizzbuzz": "fizz.buzz"
|
||||
},
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"foo-bar": "fooBAR",
|
||||
"./mylib/foo-bar": "mylib.fooBar",
|
||||
"fizzbuzz": "fizz.buzz"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"foo-bar": "fooBAR",
|
||||
"./mylib/foo-bar": "mylib.fooBar",
|
||||
"fizzbuzz": "fizz.buzz"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"my custom module name": "foo.bar"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"my custom module name": "foo.bar"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"my custom module name": "foo.bar.baz.qux"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"my custom module name": "foo.bar.baz.qux"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"my custom module name": "baz"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"my custom module name": "baz"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
{
|
||||
"sourceType": "module",
|
||||
"moduleId": "MyLib",
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", { "loose": true }]
|
||||
]
|
||||
"plugins": ["external-helpers", ["transform-modules-umd", { "loose": true }]]
|
||||
}
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"umd/module-name-with-overridden-global/expected": "baz"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"umd/module-name-with-overridden-global/expected": "baz"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"moduleIds": true
|
||||
}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
{
|
||||
"sourceType": "module",
|
||||
"moduleIds": true,
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", { "loose": true }]
|
||||
]
|
||||
"plugins": ["external-helpers", ["transform-modules-umd", { "loose": true }]]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", { "loose": true }]
|
||||
]
|
||||
"plugins": ["external-helpers", ["transform-modules-umd", { "loose": true }]]
|
||||
}
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"actual": "baz"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"actual": "baz"
|
||||
},
|
||||
"exactGlobals": true,
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"es6-promise": "Promise"
|
||||
},
|
||||
"loose": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"es6-promise": "Promise"
|
||||
},
|
||||
"loose": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"foo-bar": "fooBAR",
|
||||
"./mylib/foo-bar": "mylib.fooBar",
|
||||
"fizzbuzz": "fizz.buzz"
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"foo-bar": "fooBAR",
|
||||
"./mylib/foo-bar": "mylib.fooBar",
|
||||
"fizzbuzz": "fizz.buzz"
|
||||
}
|
||||
}
|
||||
}]
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"foo-bar": "fooBAR",
|
||||
"./mylib/foo-bar": "mylib.fooBar",
|
||||
"fizzbuzz": "fizz.buzz"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"foo-bar": "fooBAR",
|
||||
"./mylib/foo-bar": "mylib.fooBar",
|
||||
"fizzbuzz": "fizz.buzz"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"exactGlobals": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"exactGlobals": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"my custom module name": "foo.bar"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"my custom module name": "foo.bar"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"my custom module name": "foo.bar.baz.qux"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"my custom module name": "foo.bar.baz.qux"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"my custom module name": "baz"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"my custom module name": "baz"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"umd/module-name-with-overridden-global/expected": "baz"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"umd/module-name-with-overridden-global/expected": "baz"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"moduleIds": true
|
||||
}
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
"actual": "baz"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}]
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"actual": "baz"
|
||||
},
|
||||
"exactGlobals": true
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-umd", {
|
||||
"globals": {
|
||||
[
|
||||
"transform-modules-umd",
|
||||
{
|
||||
"globals": {
|
||||
"es6-promise": "Promise"
|
||||
}
|
||||
}]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user