FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
patternfly-react/scripts/generators/helpers.mjs at main · patternfly/patternfly-react · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
patternfly
/
patternfly-react
Public
Notifications
You must be signed in to change notification settings
Fork
392
Star
862
Code
Issues
215
Pull requests
24
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
patternfly-react
/
scripts
/
generators
/
helpers.mjs
Copy path
More file actions
More file actions
Latest commit
History
History
History
5 lines (4 loc) · 171 Bytes
Breadcrumbs
patternfly-react
/
scripts
/
generators
/
helpers.mjs
Copy path
File metadata and controls
5 lines (4 loc) · 171 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
export
const
REMOVE_NPM_SCOPE
=
'removeNPMScope'
;
export
function
setHelpers
(
plop
)
{
plop
.
setHelper
(
REMOVE_NPM_SCOPE
,
(
text
)
=>
text
.
replace
(
/
^
@
p
a
t
t
e
r
n
f
l
y
\/
/
i
,
''
)
)
;
}
Back
|
FazBrowse Home
|
New Git URL