From a4354614bcd476ec8248cf8094788e7873a5db20 Mon Sep 17 00:00:00 2001 From: smeng9 <38666763+smeng9@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:54:34 -0500 Subject: [PATCH] Fix quotation marks in build script --- examples/data-generator/package.json | 2 +- packages/ra-core/package.json | 2 +- packages/ra-data-fakerest/package.json | 2 +- packages/ra-data-graphql-simple/package.json | 2 +- packages/ra-data-graphql/package.json | 2 +- packages/ra-data-json-server/package.json | 2 +- packages/ra-data-localforage/package.json | 2 +- packages/ra-data-localstorage/package.json | 2 +- packages/ra-data-simple-rest/package.json | 2 +- packages/ra-i18n-i18next/package.json | 2 +- packages/ra-i18n-polyglot/package.json | 2 +- packages/ra-input-rich-text/package.json | 2 +- packages/ra-language-english/package.json | 2 +- packages/ra-language-french/package.json | 2 +- packages/ra-no-code/package.json | 2 +- packages/ra-ui-materialui/package.json | 2 +- packages/react-admin/package.json | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/examples/data-generator/package.json b/examples/data-generator/package.json index b4dfccab1e5..4ddcd02c532 100644 --- a/examples/data-generator/package.json +++ b/examples/data-generator/package.json @@ -18,7 +18,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-core/package.json b/packages/ra-core/package.json index ac1fc9780b0..18b45bb5529 100644 --- a/packages/ra-core/package.json +++ b/packages/ra-core/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "devDependencies": { diff --git a/packages/ra-data-fakerest/package.json b/packages/ra-data-fakerest/package.json index 56839ea54b6..11e04145678 100644 --- a/packages/ra-data-fakerest/package.json +++ b/packages/ra-data-fakerest/package.json @@ -41,7 +41,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-data-graphql-simple/package.json b/packages/ra-data-graphql-simple/package.json index ba18001bf75..e9150e2d373 100644 --- a/packages/ra-data-graphql-simple/package.json +++ b/packages/ra-data-graphql-simple/package.json @@ -37,7 +37,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-data-graphql/package.json b/packages/ra-data-graphql/package.json index 4b6a5fc868f..c8baac4985a 100644 --- a/packages/ra-data-graphql/package.json +++ b/packages/ra-data-graphql/package.json @@ -37,7 +37,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-data-json-server/package.json b/packages/ra-data-json-server/package.json index d7d245d4500..4f4755c7afd 100644 --- a/packages/ra-data-json-server/package.json +++ b/packages/ra-data-json-server/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-data-localforage/package.json b/packages/ra-data-localforage/package.json index 6dc50953e54..981d2e5f02e 100644 --- a/packages/ra-data-localforage/package.json +++ b/packages/ra-data-localforage/package.json @@ -44,7 +44,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-data-localstorage/package.json b/packages/ra-data-localstorage/package.json index 64fd57ec488..6db0b25f6ce 100644 --- a/packages/ra-data-localstorage/package.json +++ b/packages/ra-data-localstorage/package.json @@ -41,7 +41,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-data-simple-rest/package.json b/packages/ra-data-simple-rest/package.json index 8251053e20a..136285bf102 100644 --- a/packages/ra-data-simple-rest/package.json +++ b/packages/ra-data-simple-rest/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-i18n-i18next/package.json b/packages/ra-i18n-i18next/package.json index 26a148e5e3f..8e1bb860097 100644 --- a/packages/ra-i18n-i18next/package.json +++ b/packages/ra-i18n-i18next/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-i18n-polyglot/package.json b/packages/ra-i18n-polyglot/package.json index c886dbfc8ab..952fed443fa 100644 --- a/packages/ra-i18n-polyglot/package.json +++ b/packages/ra-i18n-polyglot/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-input-rich-text/package.json b/packages/ra-input-rich-text/package.json index 5437e1a2099..a3a21d597fa 100644 --- a/packages/ra-input-rich-text/package.json +++ b/packages/ra-input-rich-text/package.json @@ -27,7 +27,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-language-english/package.json b/packages/ra-language-english/package.json index 42c4fe108d2..45a83f8aa88 100644 --- a/packages/ra-language-english/package.json +++ b/packages/ra-language-english/package.json @@ -25,7 +25,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-language-french/package.json b/packages/ra-language-french/package.json index c296fbdf20b..01ab018d693 100644 --- a/packages/ra-language-french/package.json +++ b/packages/ra-language-french/package.json @@ -25,7 +25,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "dependencies": { diff --git a/packages/ra-no-code/package.json b/packages/ra-no-code/package.json index 90473311828..ddf726d6453 100644 --- a/packages/ra-no-code/package.json +++ b/packages/ra-no-code/package.json @@ -29,7 +29,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "devDependencies": { diff --git a/packages/ra-ui-materialui/package.json b/packages/ra-ui-materialui/package.json index 9240052acd4..2a4995fae69 100644 --- a/packages/ra-ui-materialui/package.json +++ b/packages/ra-ui-materialui/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "devDependencies": { diff --git a/packages/react-admin/package.json b/packages/react-admin/package.json index 1a4d79941bb..4f38aaa4fbd 100644 --- a/packages/react-admin/package.json +++ b/packages/react-admin/package.json @@ -30,7 +30,7 @@ "scripts": { "build": "yarn run build-cjs && yarn run build-esm", "build-cjs": "rimraf ./dist/cjs && tsc --outDir dist/cjs", - "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo { \"type\": \"module\" } > dist/esm/package.json", + "build-esm": "rimraf ./dist/esm && tsc --outDir dist/esm --module es2015 && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "watch": "tsc --outDir dist/esm --module es2015 --watch" }, "devDependencies": {