Compare commits
5 commits
092db2a170
...
9b334f2b72
Author | SHA1 | Date | |
---|---|---|---|
9b334f2b72 | |||
599a555ccb | |||
f4ce8e44e8 | |||
49ed386db0 | |||
161187fa15 |
2
.envrc
2
.envrc
|
@ -1,2 +1,2 @@
|
|||
export PATH=$PWD/scripts:$PATH
|
||||
export PATH=$PWD/scripts:$PWD/node_modules/.bin:$PATH
|
||||
use flake || use nix
|
||||
|
|
4
.husky/commit-msg
Executable file
4
.husky/commit-msg
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx --no -- commitlint --edit "$1"
|
|
@ -12,12 +12,12 @@ pipeline:
|
|||
when:
|
||||
event: [push, manual]
|
||||
|
||||
test:
|
||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||
commands:
|
||||
- nix develop --command scripts/test.sh
|
||||
when:
|
||||
event: [push, manual]
|
||||
# test:
|
||||
# image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||
# commands:
|
||||
# - nix develop --command scripts/test.sh
|
||||
# when:
|
||||
# event: [push, manual]
|
||||
|
||||
release:
|
||||
image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest
|
||||
|
|
36
package.json
36
package.json
|
@ -33,12 +33,8 @@
|
|||
"commitmsg": "commitlint -E GIT_PARAMS",
|
||||
"format": "prettier src --write \"**/*.ts\" --loglevel warn",
|
||||
"lint": "eslint -c .eslintrc.yml src/**/*.ts --fix",
|
||||
"prepack": "yarn run build"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||
}
|
||||
"prepack": "yarn run build",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"add-commas": "0.0.4",
|
||||
|
@ -49,26 +45,26 @@
|
|||
"yargs": "^16.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^11.0.0",
|
||||
"@commitlint/config-conventional": "^11.0.0",
|
||||
"@semantic-release/changelog": "^5.0.1",
|
||||
"@semantic-release/git": "^7.0.1",
|
||||
"@semantic-release/npm": "^5.0.1",
|
||||
"@commitlint/cli": "^17.4.2",
|
||||
"@commitlint/config-conventional": "^17.4.2",
|
||||
"@semantic-release/changelog": "^6.0.2",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/npm": "^9.0.2",
|
||||
"@types/lodash": "^4.14.116",
|
||||
"@types/node": "^6.0.46",
|
||||
"@types/read-pkg-up": "^3.0.1",
|
||||
"@types/yaml": "^1.9.7",
|
||||
"@types/yargs": "^11.1.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.14.2",
|
||||
"@typescript-eslint/parser": "^4.14.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
||||
"@typescript-eslint/parser": "^5.49.0",
|
||||
"barrelsby": "^1.0.2",
|
||||
"eslint": "^5.3.0",
|
||||
"eslint": "^8.0.0",
|
||||
"eslint-plugin-typescript": "^0.12.0",
|
||||
"husky": "^0.14.3",
|
||||
"prettier": "^2.0.5",
|
||||
"rimraf": "^2.6.2",
|
||||
"semantic-release": "^15.9.8",
|
||||
"sort-package-json": "^1.48.1",
|
||||
"typescript": "^4.1.3"
|
||||
"husky": "^8.0.3",
|
||||
"prettier": "^2.8.3",
|
||||
"rimraf": "^4.1.2",
|
||||
"semantic-release": "^19.0.5",
|
||||
"sort-package-json": "^2.2.0",
|
||||
"typescript": "4.9.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,4 +6,6 @@ cd $(dirname $(dirname $0))
|
|||
#mfgames-project:setup
|
||||
|
||||
./scripts/setup.sh || exit 1
|
||||
|
||||
log "running Yarn build"
|
||||
yarn run build
|
||||
|
|
|
@ -6,5 +6,6 @@ cd $(dirname $(dirname $0))
|
|||
#mfgames-project:setup
|
||||
|
||||
./scripts/setup.sh || exit 1
|
||||
yarn run build
|
||||
|
||||
log "running semantic-release"
|
||||
semantic-release --repository-url=https://oauth2:$GITLAB_TOKEN@gitlab.com/mfgames-writing/markdowny.git
|
||||
|
|
|
@ -6,4 +6,6 @@ cd $(dirname $(dirname $0))
|
|||
#mfgames-project:setup
|
||||
|
||||
./scripts/setup.sh || exit 1
|
||||
|
||||
log "verifying conventional commits in Git log"
|
||||
npx commitlint --from=$CI_BUILD_BEFORE_SHA
|
||||
|
|
Loading…
Reference in a new issue