gatsby-source-filesystem 2.3.34 → 2.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/gatsby-node.js +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.3.35](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-filesystem@2.3.34...gatsby-source-filesystem@2.3.35) (2020-10-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package gatsby-source-filesystem
|
|
9
|
+
|
|
6
10
|
## [2.3.34](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-filesystem@2.3.33...gatsby-source-filesystem@2.3.34) (2020-10-08)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package gatsby-source-filesystem
|
package/gatsby-node.js
CHANGED
|
@@ -184,6 +184,16 @@ const createFSMachine = ({
|
|
|
184
184
|
return interpret(fsMachine).start();
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
+
if (process.env.GATSBY_EXPERIMENTAL_PLUGIN_OPTION_VALIDATION) {
|
|
188
|
+
exports.pluginOptionsSchema = ({
|
|
189
|
+
Joi
|
|
190
|
+
}) => Joi.object({
|
|
191
|
+
name: Joi.string(),
|
|
192
|
+
path: Joi.string(),
|
|
193
|
+
ignore: Joi.array().items(Joi.string())
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
|
|
187
197
|
exports.sourceNodes = (api, pluginOptions) => {
|
|
188
198
|
// Validate that the path exists.
|
|
189
199
|
if (!fs.existsSync(pluginOptions.path)) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gatsby-source-filesystem",
|
|
3
3
|
"description": "Gatsby plugin which parses files within a directory for further parsing by other plugins",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.35",
|
|
5
5
|
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/gatsbyjs/gatsby/issues"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=10.13.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "d9c0cb4ec6b9bcf32425fce009f4b82a77476743"
|
|
55
55
|
}
|