git_stage_formatter 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "git-format-staged",
3
+ "version": "0.0.0-development",
4
+ "description": "Git command to transform staged files according to a command that accepts file content on stdin and produces output on stdout.",
5
+ "scripts": {
6
+ "test": "ava",
7
+ "prepublishOnly": "sed -i \"s/\\$VERSION/$npm_package_version/\" git-format-staged",
8
+ "semantic-release": "semantic-release"
9
+ },
10
+ "bin": {
11
+ "git-format-staged": "git-format-staged"
12
+ },
13
+ "main": "./no-main.js",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/hallettj/git-format-staged.git"
17
+ },
18
+ "keywords": [
19
+ "git",
20
+ "hook"
21
+ ],
22
+ "author": "Jesse Hallett <jesse@sitr.us>",
23
+ "license": "MIT",
24
+ "bugs": {
25
+ "url": "https://github.com/hallettj/git-format-staged/issues"
26
+ },
27
+ "homepage": "https://github.com/hallettj/git-format-staged#readme",
28
+ "files": [
29
+ "git-format-staged"
30
+ ],
31
+ "release": {
32
+ "branches": "master"
33
+ },
34
+ "devDependencies": {
35
+ "@commitlint/cli": "^8.3.5",
36
+ "@commitlint/config-conventional": "^8.3.4",
37
+ "@types/fs-extra": "^8.1.0",
38
+ "@types/tmp": "^0.1.0",
39
+ "ava": "^3.8.1",
40
+ "eslint": "^5.16.0",
41
+ "fs-extra": "^9.0.0",
42
+ "husky": "^4.2.5",
43
+ "micromatch": "^4.0.2",
44
+ "prettier-standard": "^9.1.1",
45
+ "semantic-release": "^17.2.3",
46
+ "strip-indent": "^3.0.0",
47
+ "tmp": "0.2.0",
48
+ "ts-node": "^8.9.1",
49
+ "typescript": "^3.8.3"
50
+ },
51
+ "ava": {
52
+ "extensions": [
53
+ "ts"
54
+ ],
55
+ "require": [
56
+ "ts-node/register"
57
+ ],
58
+ "files": [
59
+ "test/**/*_test.ts"
60
+ ]
61
+ },
62
+ "husky": {
63
+ "hooks": {
64
+ "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
65
+ "pre-commit": "./git-format-staged --formatter prettier-standard '*.js'"
66
+ }
67
+ }
68
+ }
data/tsconfig.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "esnext",
4
+ "module": "commonjs",
5
+ //"outDir": "./build",
6
+ //"rootDir": "./test",
7
+ "noEmit": true,
8
+ "strict": true,
9
+ "noUnusedLocals": true,
10
+ "noUnusedParameters": true,
11
+ "moduleResolution": "node",
12
+ "allowSyntheticDefaultImports": true,
13
+ "esModuleInterop": true
14
+ }
15
+ }
metadata ADDED
@@ -0,0 +1,95 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: git_stage_formatter
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Roger Oba
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-05-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 3.0.0
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 2.0.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: rake
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '13.0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '13.0'
47
+ description:
48
+ email:
49
+ - rogerluan.oba@gmail.com
50
+ executables:
51
+ - git_stage_formatter
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - ".gitignore"
56
+ - ".travis.yml"
57
+ - Gemfile
58
+ - LICENSE
59
+ - README.md
60
+ - bin/git_stage_formatter
61
+ - commitlint.config.js
62
+ - git-format-staged
63
+ - lib/git_stage_formatter.rb
64
+ - lib/git_stage_formatter/version.rb
65
+ - no-main.js
66
+ - package-lock.json
67
+ - package.json
68
+ - tsconfig.json
69
+ homepage: https://github.com/rogerluan/git_stage_formatter
70
+ licenses:
71
+ - MIT
72
+ metadata:
73
+ homepage_uri: https://github.com/rogerluan/git_stage_formatter
74
+ source_code_uri: https://github.com/rogerluan/git_stage_formatter
75
+ changelog_uri: https://github.com/rogerluan/git_stage_formatter/blob/master/CHANGELOG.md
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 2.4.0
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubygems_version: 3.0.3
92
+ signing_key:
93
+ specification_version: 4
94
+ summary: Script to transform staged files using a formatting command
95
+ test_files: []