Skip to content

Commit e3d57c0

Browse files
feat(gatsby-plugin-gatsby-cloud): Remove preview UI (#35586)
1 parent 3fcfa0a commit e3d57c0

37 files changed

+9
-3285
lines changed
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
{
2-
"presets": [["babel-preset-gatsby-package"]],
3-
"overrides": [
4-
{
5-
"test": ["**/src/gatsby-browser.js"],
6-
"presets": [["babel-preset-gatsby-package", { "browser": true, "esm": true }]]
7-
}
8-
]
2+
"presets": [["babel-preset-gatsby-package"]]
93
}

packages/gatsby-plugin-gatsby-cloud/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ yarn.lock
33
**/*.d.ts
44
/**/*.map
55
!/src/**/*.js
6-
!/src/**/*.d.ts

packages/gatsby-plugin-gatsby-cloud/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# gatsby-plugin-gatsby-cloud
22

33
Automatically generates a `_headers.json` file and a `_redirects.json` file at the root of the public folder to configure
4-
Headers and Redirects on Gatsby Cloud
4+
Headers and Redirects on Gatsby Cloud.
55

66
By default, the plugin will add some basic security headers. You can easily add or replace headers through the plugin config.
77

packages/gatsby-plugin-gatsby-cloud/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,16 @@
88
},
99
"dependencies": {
1010
"@babel/runtime": "^7.15.4",
11-
"date-fns": "^2.28.0",
1211
"fs-extra": "^10.1.0",
1312
"gatsby-core-utils": "^3.15.0-next.1",
1413
"gatsby-telemetry": "^3.15.0-next.1",
15-
"js-cookie": "^3.0.1",
1614
"kebab-hash": "^0.1.2",
1715
"lodash": "^4.17.21",
1816
"webpack-assets-manifest": "^5.1.0"
1917
},
2018
"devDependencies": {
2119
"@babel/cli": "^7.15.4",
2220
"@babel/core": "^7.15.5",
23-
"@testing-library/dom": "^8.13.0",
24-
"@testing-library/jest-dom": "^5.16.4",
25-
"@testing-library/react": "^11.2.7",
26-
"@testing-library/user-event": "^13.5.0",
2721
"babel-preset-gatsby-package": "^2.15.0-next.0",
2822
"cpy-cli": "^3.1.1",
2923
"cross-env": "^7.0.3",
@@ -38,7 +32,6 @@
3832
"http/2-server-push",
3933
"gatsby-cloud"
4034
],
41-
"types": "./index.d.ts",
4235
"license": "MIT",
4336
"main": "index.js",
4437
"peerDependencies": {
@@ -52,9 +45,7 @@
5245
},
5346
"sideEffects": false,
5447
"scripts": {
55-
"build": "babel src --out-dir . --ignore \"**/__tests__\" --extensions \".ts,.js\" && npm run clean && npm run copy-type-declarations",
56-
"clean": "del-cli ./components/index.d.ts",
57-
"copy-type-declarations": "cpy src/components/index.d.ts components",
48+
"build": "babel src --out-dir . --ignore \"**/__tests__\" --extensions \".ts,.js\"",
5849
"prepare": "cross-env NODE_ENV=production npm run build",
5950
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --extensions \".ts,.js\""
6051
},

0 commit comments

Comments
 (0)