-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use
configMutations
for deploy config API (#5517)
* fix: use `configMutations` for deploy config API * chore: remove `console.log`
- Loading branch information
1 parent
24f130e
commit a3b3298
Showing
18 changed files
with
29 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
packages/build/tests/deploy_config/fixtures/deploy_config/.netlify/deploy/v1/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
packages/build/tests/deploy_config/fixtures/deploy_config/manifest.yml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/build/tests/deploy_config/fixtures/deploy_config/netlify.toml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/build/tests/deploy_config/fixtures/deploy_config/plugin.js
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
...ages/build/tests/deploy_config/fixtures/from_build_command/.netlify/deploy/v1/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
packages/build/tests/deploy_config/fixtures/from_build_command/manifest.yml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/build/tests/deploy_config/fixtures/from_build_command/netlify.toml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/build/tests/deploy_config/fixtures/from_build_command/plugin.js
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
packages/build/tests/deploy_config/fixtures/malformed_config/manifest.yml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/build/tests/deploy_config/fixtures/malformed_config/netlify.toml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/build/tests/deploy_config/fixtures/malformed_config/plugin.js
This file was deleted.
Oops, something went wrong.
27 changes: 3 additions & 24 deletions
27
...ges/build/tests/deploy_config/fixtures/readonly_properties/.netlify/deploy/v1/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,10 @@ | ||
{ | ||
"build": { | ||
"command": "echo Goodbye", | ||
"publish": "publish/api", | ||
"processing": { | ||
"css": "!important" | ||
} | ||
}, | ||
"plugins": [ | ||
{ | ||
"package": "@netlify/imaginary-plugin" | ||
} | ||
], | ||
"redirects": [ | ||
{ | ||
"from": "/$netlify-snapshot-preserve/from-config", | ||
"to": "/$netlify-snapshot-preserve/to-config", | ||
"status": 418, | ||
"force": true | ||
} | ||
], | ||
"redirects!": [ | ||
{ | ||
"from": "/$netlify-snapshot-preserve/from-config-override", | ||
"to": "/$netlify-snapshot-preserve/to-config-override", | ||
"status": 418, | ||
"force": true | ||
} | ||
], | ||
"unknown_property": 42 | ||
"images": { | ||
"remote_images": ["domain1.netlify", "domain2.netlify"] | ||
} | ||
} |
2 changes: 0 additions & 2 deletions
2
packages/build/tests/deploy_config/fixtures/readonly_properties/manifest.yml
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
packages/build/tests/deploy_config/fixtures/readonly_properties/netlify.toml
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/build/tests/deploy_config/fixtures/readonly_properties/plugin.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.