From 6b9839fc5f68cc86ee89d3aa05baef11d0ea86a8 Mon Sep 17 00:00:00 2001 From: Tiago Gimenes Date: Wed, 28 Jul 2021 17:48:14 -0300 Subject: [PATCH] remove prepare --- packages/gatsby-plugin-cms/package.json | 3 +-- packages/gatsby-plugin-google-tag-manager/package.json | 3 +-- packages/gatsby-plugin-graphql/package.json | 3 +-- packages/gatsby-plugin-i18n/package.json | 3 +-- packages/gatsby-plugin-nginx/package.json | 3 +-- packages/gatsby-plugin-pixel-facebook/package.json | 3 +-- packages/gatsby-plugin-theme-ui/package.json | 3 +-- packages/gatsby-plugin-thumbor/package.json | 1 - packages/gatsby-source-vtex/package.json | 3 +-- packages/gatsby-theme-store/package.json | 2 +- 10 files changed, 9 insertions(+), 18 deletions(-) diff --git a/packages/gatsby-plugin-cms/package.json b/packages/gatsby-plugin-cms/package.json index 0fb688b996..cc622790e9 100644 --- a/packages/gatsby-plugin-cms/package.json +++ b/packages/gatsby-plugin-cms/package.json @@ -11,8 +11,7 @@ "browser": "src/index.ts", "sideEffects": false, "scripts": { - "build": "tsc", - "prepare": "cross-env NODE_ENV=production yarn run build", + "build": "cross-env NODE_ENV=production tsc", "develop": "tsc --watch" }, "keywords": [ diff --git a/packages/gatsby-plugin-google-tag-manager/package.json b/packages/gatsby-plugin-google-tag-manager/package.json index 7df33cdfd1..7295cff8ea 100644 --- a/packages/gatsby-plugin-google-tag-manager/package.json +++ b/packages/gatsby-plugin-google-tag-manager/package.json @@ -10,8 +10,7 @@ "main": "index.js", "browser": "src/index.ts", "scripts": { - "build": "tsc", - "prepare": "cross-env NODE_ENV=production yarn run build", + "build": "cross-env NODE_ENV=production tsc", "develop": "tsc --watch" }, "keywords": [ diff --git a/packages/gatsby-plugin-graphql/package.json b/packages/gatsby-plugin-graphql/package.json index 0e0bb4316c..15353a8a72 100644 --- a/packages/gatsby-plugin-graphql/package.json +++ b/packages/gatsby-plugin-graphql/package.json @@ -11,8 +11,7 @@ "browser": "src/index.ts", "sideEffects": false, "scripts": { - "build": "tsc", - "prepare": "cross-env NODE_ENV=production yarn run build", + "build": "cross-env NODE_ENV=production tsc", "develop": "tsc --watch" }, "keywords": [ diff --git a/packages/gatsby-plugin-i18n/package.json b/packages/gatsby-plugin-i18n/package.json index 031907d154..9d82c7db2f 100644 --- a/packages/gatsby-plugin-i18n/package.json +++ b/packages/gatsby-plugin-i18n/package.json @@ -12,8 +12,7 @@ "sideEffects": false, "license": "MIT", "scripts": { - "build": "tsc", - "prepare": "cross-env NODE_ENV=production yarn run build", + "build": "cross-env NODE_ENV=production tsc", "develop": "tsc --watch" }, "devDependencies": { diff --git a/packages/gatsby-plugin-nginx/package.json b/packages/gatsby-plugin-nginx/package.json index 978c1b6ad6..8f63a183e4 100644 --- a/packages/gatsby-plugin-nginx/package.json +++ b/packages/gatsby-plugin-nginx/package.json @@ -23,8 +23,7 @@ "develop": "tsdx watch", "build": "tsdx build", "test": "tsdx test", - "lint": "tsdx lint", - "prepare": "tsdx build" + "lint": "tsdx lint" }, "keywords": [ "gatsby", diff --git a/packages/gatsby-plugin-pixel-facebook/package.json b/packages/gatsby-plugin-pixel-facebook/package.json index a4299b4444..814fcf6b77 100644 --- a/packages/gatsby-plugin-pixel-facebook/package.json +++ b/packages/gatsby-plugin-pixel-facebook/package.json @@ -10,8 +10,7 @@ "main": "index.js", "browser": "src/index.ts", "scripts": { - "build": "tsc", - "prepare": "cross-env NODE_ENV=production yarn run build", + "build": "cross-env NODE_ENV=production tsc", "develop": "tsc --watch" }, "keywords": [ diff --git a/packages/gatsby-plugin-theme-ui/package.json b/packages/gatsby-plugin-theme-ui/package.json index 1aa5613e86..88c3e67a26 100644 --- a/packages/gatsby-plugin-theme-ui/package.json +++ b/packages/gatsby-plugin-theme-ui/package.json @@ -10,8 +10,7 @@ "browser": "src/index.ts", "sideEffects": false, "scripts": { - "build": "tsc", - "prepare": "cross-env NODE_ENV=production yarn run build", + "build": "cross-env NODE_ENV=production tsc", "develop": "tsc --watch" }, "keywords": [ diff --git a/packages/gatsby-plugin-thumbor/package.json b/packages/gatsby-plugin-thumbor/package.json index 7a4311d624..db03fdf26a 100644 --- a/packages/gatsby-plugin-thumbor/package.json +++ b/packages/gatsby-plugin-thumbor/package.json @@ -26,7 +26,6 @@ "build": "tsdx build", "test": "tsdx test", "lint": "tsdx lint", - "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why" }, diff --git a/packages/gatsby-source-vtex/package.json b/packages/gatsby-source-vtex/package.json index 02b2fcc761..bd5dfd68ca 100644 --- a/packages/gatsby-source-vtex/package.json +++ b/packages/gatsby-source-vtex/package.json @@ -25,8 +25,7 @@ "develop": "tsdx watch", "build": "tsdx build", "test": "tsdx test", - "lint": "tsdx lint", - "prepare": "tsdx build" + "lint": "tsdx lint" }, "dependencies": { "@graphql-tools/delegate": "^7.1.5", diff --git a/packages/gatsby-theme-store/package.json b/packages/gatsby-theme-store/package.json index f506df8637..f7a7ab6023 100644 --- a/packages/gatsby-theme-store/package.json +++ b/packages/gatsby-theme-store/package.json @@ -12,7 +12,7 @@ "browser": "src/index.ts", "sideEffects": false, "scripts": { - "build": "tsc", + "build": "cross-env NODE_ENV=production tsc", "develop": "tsc --watch", "test": "tsdx test" },