mirror of
https://github.com/sasjs/core.git
synced 2025-12-10 14:04:36 +00:00
chore: updating CONTRIBUTING, preventing files with spaces being added, adding git hooks package
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,6 @@
|
||||
node_modules
|
||||
.DS_Store
|
||||
sasjsbuild/
|
||||
|
||||
# avoid filenames with spaces being committed to source control
|
||||
**\ **
|
||||
@@ -27,6 +27,5 @@ To contribute:
|
||||
1. Create your feature branch (`git checkout -b myfeature`)
|
||||
2. Make your change
|
||||
3. Update the `all.sas` file (`python3 build.py`)
|
||||
4. Commit the change, using the [conventional commit](https://www.conventionalcommits.org/en/v1.0.0) standard
|
||||
5. Push and make a PR
|
||||
4. Push and make a PR
|
||||
|
||||
|
||||
24
package-lock.json
generated
24
package-lock.json
generated
@@ -7,7 +7,29 @@
|
||||
"": {
|
||||
"name": "@sasjs/core",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT"
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"node-git-hooks": "^1.0.5"
|
||||
}
|
||||
},
|
||||
"node_modules/node-git-hooks": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/node-git-hooks/-/node-git-hooks-1.0.5.tgz",
|
||||
"integrity": "sha512-05rULsJy8z2OvXTQFZv9fN20uo186EYgJYQjkL1OjnXj53QivOAGUzZilZ/MX8OmPRaN+deJBtlvMRydpdfnqA==",
|
||||
"bin": {
|
||||
"node-git-hooks": "bin/install.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"node-git-hooks": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/node-git-hooks/-/node-git-hooks-1.0.5.tgz",
|
||||
"integrity": "sha512-05rULsJy8z2OvXTQFZv9fN20uo186EYgJYQjkL1OjnXj53QivOAGUzZilZ/MX8OmPRaN+deJBtlvMRydpdfnqA=="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,10 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"docs": "sasjs doc && ./sasjs/utils/build.sh"
|
||||
"docs": "sasjs doc && ./sasjs/utils/build.sh",
|
||||
"postinstall": "node-git-hooks"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-git-hooks": "^1.0.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user