Skip to content

Commit

Permalink
ci: clean yo security issues (#1282)
Browse files Browse the repository at this point in the history
* ci: clean up security resolutions
* Update yo template
* set nohoist
* Update package.json
  • Loading branch information
Jason3S committed Jul 23, 2022
1 parent 2d8a654 commit 02e4998
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 308 deletions.
2 changes: 1 addition & 1 deletion generator-cspell-dicts/generators/app/templates/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017-2020 Jason Dent <jason@streetsidesoftware.nl>
Copyright (c) 2017-2022 Street Side Software <support@streetsidesoftware.nl>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions generator-cspell-dicts/generators/app/templates/README.md
@@ -1,19 +1,19 @@
# Cspell <%= friendlyName %> Dictionary
# CSpell <%= friendlyName %> Dictionary

<%= description %>

This is a pre-built dictionary for use with cspell.
This is a pre-built dictionary for use with CSpell.

## Installation

Global Install and add to cspell global settings.
Global Install and add to CSpell global settings.

```sh
npm install -g <%= fullPackageName %>
cspell link add <%= fullPackageName %>
```

## Uninstall from cspell
## Uninstall from CSpell

```sh
cspell link remove <%= fullPackageName %>
Expand Down
5 changes: 5 additions & 0 deletions generator-cspell-dicts/package.json
Expand Up @@ -36,6 +36,11 @@
"bugs": {
"url": "https://github.com/streetsidesoftware/cspell-dicts/issues"
},
"resolutions": {
"**/yo/meow": "^9.0.0",
"**/ansi-regex": "^5.0.1",
"**/find-versions/semver-regex": "^3.1.3"
},
"cspell": {
"words": [
"yosay",
Expand Down
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -34,6 +34,7 @@
"generator-cspell-dicts"
],
"nohoist": [
"generator-cspell-dicts/**",
"**/wordlist-medicalterms-en"
]
},
Expand All @@ -54,9 +55,11 @@
"yamljs": "^0.3.0"
},
"resolutions": {
"**/lerna/**/meow": "^9.0.0",
"**/yo/meow": "^9.0.0",
"**/ansi-regex": "^5.0.1",
"**/find-versions/semver-regex": "^3.1.3"
"**/generator-cspell-dicts/**/ansi-regex": "^5.0.1",
"**/generator-cspell-dicts/**/got": "^11.8.5",
"**/yo/**/find-versions/semver-regex": "^3.1.3"
},
"license": "GPL-3.0-or-later"
}

0 comments on commit 02e4998

Please sign in to comment.