-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into feat/schematic-op…
…tions * upstream/master: feat(voidplugin): plugin that lets you exclude routes fix(scully readme): put readme back on npm feat(schematics): add support for nx monorepos (#162) Postrenderers addition (#160) chore(script): 🤖 add commit select for commit only the file the pr need (#158) improvement(scully): export built-in plugins (#153) feat(transferstateservice): Fix ngc error (#152)
- Loading branch information
Showing
35 changed files
with
158 additions
and
2,461 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
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const {configValidator, registerPlugin} = require('../dist/scully'); | ||
|
||
const voidPlugin = async (route, options) => { | ||
/** | ||
* I don't do anything here, | ||
* just return an empty array | ||
* as that will effectively remove the route from the list | ||
* */ | ||
return []; | ||
}; | ||
|
||
voidPlugin[configValidator] = async conf => []; | ||
registerPlugin('router', 'void', voidPlugin); |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"restartable": "rs", | ||
"ignore": [ | ||
".git", | ||
"./node_modules", | ||
"./projects", | ||
"./scully", | ||
"./blog" | ||
], | ||
"verbose": true, | ||
"execMap": { | ||
"js": "node" | ||
}, | ||
"events": { | ||
"restart": "osascript -e 'display notification \"App restarted due to:\n'$FILENAME'\" with title \"nodemon\"'" | ||
}, | ||
"watch": [ | ||
"dist/scully/" | ||
], | ||
"env": { | ||
"NODE_ENV": "development" | ||
}, | ||
"ext": "js" | ||
} |
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
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
Binary file not shown.
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.