@gasket/plugin-git
Advanced tools
Comparing version 7.2.0-canary.20 to 7.2.0
@@ -21,2 +21,3 @@ /** | ||
/** | ||
* TODO: convert to jsdocs imports | ||
* Adds content to gitignore | ||
@@ -23,0 +24,0 @@ * @param {string | string[]} name - name of file or directory to add to |
@@ -0,1 +1,2 @@ | ||
import type { Plugin } from '@gasket/core'; | ||
import type { Gitignore } from './internal'; | ||
@@ -9,7 +10,7 @@ | ||
export default { | ||
const plugin: Plugin = { | ||
name: '@gasket/plugin-git', | ||
version: '', | ||
description: '', | ||
hooks: {} | ||
}; | ||
export = plugin; |
{ | ||
"name": "@gasket/plugin-git", | ||
"version": "7.2.0-canary.20", | ||
"version": "7.2.0", | ||
"description": "Adds git support to your application", | ||
@@ -34,5 +34,2 @@ "main": "lib/index.js", | ||
"author": "GoDaddy Operating Company, LLC", | ||
"maintainers": [ | ||
"Sivan Mehta <smehta@godaddy.com>" | ||
], | ||
"license": "MIT", | ||
@@ -44,3 +41,3 @@ "bugs": { | ||
"dependencies": { | ||
"@gasket/utils": "^7.2.0-canary.20" | ||
"@gasket/utils": "^7.2.0" | ||
}, | ||
@@ -50,6 +47,6 @@ "devDependencies": { | ||
"eslint": "^8.56.0", | ||
"eslint-config-godaddy": "^7.1.0", | ||
"eslint-plugin-jest": "^27.6.3", | ||
"eslint-config-godaddy": "^7.1.1", | ||
"eslint-plugin-jest": "^28.6.0", | ||
"eslint-plugin-json": "^3.1.0", | ||
"eslint-plugin-unicorn": "^44.0.0", | ||
"eslint-plugin-unicorn": "^55.0.0", | ||
"jest": "^29.7.0", | ||
@@ -72,3 +69,3 @@ "typescript": "^5.4.5" | ||
}, | ||
"gitHead": "abdb788c7ff44f4c6db7a5885e96e2dd315273fc" | ||
"gitHead": "8790fd065f4bcb853fc9a2deecf0833999f41443" | ||
} |
@@ -53,4 +53,4 @@ # @gasket/plugin-git | ||
```js | ||
module.exports = { | ||
id: 'gasket-plugin-example', | ||
export default { | ||
name: 'gasket-plugin-example', | ||
hooks: { | ||
@@ -61,13 +61,13 @@ create(gasket, createContext) { | ||
// See if `gitignore` is on the create context | ||
if(gitignore) { | ||
if(gitignore) { | ||
// ignore a single file | ||
gitignore.add('file-to-be-ignored.js'); | ||
// ignore wildcard rules | ||
gitignore.add('*.tmp'); | ||
// ignore multiple files and/or directories | ||
gitignore.add(['file1.js', 'dir2/']); | ||
// add an ignore under a category | ||
// add an ignore under a category | ||
gitignore.add('node_modules', 'dependencies'); | ||
@@ -114,2 +114,1 @@ } | ||
[plugin hook timings]:/packages/gasket-engine/README.md | ||
[Gitignore]: ./lib/gitignore.js |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
178
1
11136
112
Updated@gasket/utils@^7.2.0