From 11050243859e4c96caa3bcf5981369126e209234 Mon Sep 17 00:00:00 2001 From: Matt Rothenberg Date: Fri, 25 Mar 2022 14:45:12 -0400 Subject: [PATCH] feat: add new matches key (#31) --- package.json | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/package.json b/package.json index b0ac9e9..b91d6ba 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,10 @@ "html", "svelte" ], + "matches": [ + "*.html", + "*.svelte" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/photos.html" }, { @@ -69,6 +73,9 @@ "extensions": [ "css" ], + "matches": [ + "*.css" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/global.css" }, { @@ -85,6 +92,13 @@ "gif", "svg" ], + "matches": [ + "*.png", + "*.jpg", + "*.jpeg", + "*.gif", + "*.svg" + ], "example_path": "https://github.com/pmndrs/react-spring/blob/HEAD/assets/projects/aragon.png?raw=true" }, { @@ -101,6 +115,13 @@ "yaml", "yml" ], + "matches": [ + "*.json", + "*.webmanifest", + "*.prettierrc", + "*.yaml", + "*.yml" + ], "example_path": "https://github.com/d3/d3-geo/blob/main/package.json" }, { @@ -114,6 +135,10 @@ "gltf", "glb" ], + "matches": [ + "*.gltf", + "*.glb" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/avocado.glb" }, { @@ -126,6 +151,9 @@ "extensions": [ "csv" ], + "matches": [ + "*.csv" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/data.csv" }, { @@ -138,6 +166,9 @@ "extensions": [ "json" ], + "matches": [ + "*.json" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/poll.json" }, { @@ -150,6 +181,9 @@ "extensions": [ "csv" ], + "matches": [ + "*.csv" + ], "example_path": "https://github.com/the-pudding/data/blob/master/pockets/measurements.csv" }, { @@ -163,6 +197,10 @@ "md", "mdx" ], + "matches": [ + "*.md", + "*.mdx" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/README.md" }, { @@ -176,6 +214,10 @@ "jsx", "tsx" ], + "matches": [ + "*.jsx", + "*.tsx" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/Aside.jsx" }, { @@ -188,6 +230,9 @@ "extensions": [ "json" ], + "matches": [ + "*.json" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/queries.json" }, { @@ -200,6 +245,9 @@ "extensions": [ "js" ], + "matches": [ + "*.js" + ], "example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/processing-sketch.js" }, {