go2sujeet commited on
Commit
edfe352
·
1 Parent(s): 1d7ed50

Added .history and node_modules/ to .gitignore

Browse files
Files changed (7) hide show
  1. .gitignore +3 -0
  2. .husky/pre-commit +4 -0
  3. VERSION +1 -0
  4. increment-version.sh +7 -0
  5. package-lock.json +61 -0
  6. package.json +9 -0
  7. version.txt +1 -0
.gitignore CHANGED
@@ -159,3 +159,6 @@ cython_debug/
159
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
  #.idea/
161
  .history
 
 
 
 
159
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
  #.idea/
161
  .history
162
+
163
+ #node_modules
164
+ node_modules/
.husky/pre-commit ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/bin/sh
2
+ . "$(dirname "$0")/_/husky.sh"
3
+
4
+ sh ./increment-version.sh
VERSION ADDED
@@ -0,0 +1 @@
 
 
1
+ 1.0.469
increment-version.sh ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Assumes a VERSION file with the version e.g., 1.0.0
3
+ VERSION=$(cat VERSION)
4
+ NEW_VERSION=$(npx semver $VERSION -i patch)
5
+ echo $NEW_VERSION > VERSION
6
+ git add VERSION
7
+ git commit -m "Increment version to $NEW_VERSION"
package-lock.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "gradio-parking",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "devDependencies": {
8
+ "husky": "^9.0.11",
9
+ "semver": "^7.6.0"
10
+ }
11
+ },
12
+ "node_modules/husky": {
13
+ "version": "9.0.11",
14
+ "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz",
15
+ "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==",
16
+ "dev": true,
17
+ "bin": {
18
+ "husky": "bin.mjs"
19
+ },
20
+ "engines": {
21
+ "node": ">=18"
22
+ },
23
+ "funding": {
24
+ "url": "https://github.com/sponsors/typicode"
25
+ }
26
+ },
27
+ "node_modules/lru-cache": {
28
+ "version": "6.0.0",
29
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
30
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
31
+ "dev": true,
32
+ "dependencies": {
33
+ "yallist": "^4.0.0"
34
+ },
35
+ "engines": {
36
+ "node": ">=10"
37
+ }
38
+ },
39
+ "node_modules/semver": {
40
+ "version": "7.6.0",
41
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
42
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
43
+ "dev": true,
44
+ "dependencies": {
45
+ "lru-cache": "^6.0.0"
46
+ },
47
+ "bin": {
48
+ "semver": "bin/semver.js"
49
+ },
50
+ "engines": {
51
+ "node": ">=10"
52
+ }
53
+ },
54
+ "node_modules/yallist": {
55
+ "version": "4.0.0",
56
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
57
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
58
+ "dev": true
59
+ }
60
+ }
61
+ }
package.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "devDependencies": {
3
+ "husky": "^8.0.0",
4
+ "semver": "^7.6.0"
5
+ },
6
+ "scripts": {
7
+ "prepare": "husky install"
8
+ }
9
+ }
version.txt ADDED
@@ -0,0 +1 @@
 
 
1
+