Skip to content

Commit

Permalink
add source-licenser to stop thinking about licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
konnov committed Apr 15, 2024
1 parent d0ec165 commit aef21ae
Show file tree
Hide file tree
Showing 6 changed files with 428 additions and 443 deletions.
393 changes: 192 additions & 201 deletions LICENSE

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ Solarkraft inspects invocations of the timelock contract’s methods in the hist
[Stellar Community Fund]: https://communityfund.stellar.org/
[3-minute pitch]: https://www.youtube.com/watch?v=Ogdy4AHfMRA
[timelock contract]: https://github.com/stellar/soroban-examples/tree/main/timelock


## License

[Apache-2.0](https://github.com/freespek/solarkraft/blob/main/LICENSE)
382 changes: 191 additions & 191 deletions solarkraft/licenser-config.yaml

Large diffs are not rendered by default.

83 changes: 32 additions & 51 deletions solarkraft/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
{
"name": "solarkraft",
"version": "0.0.1",
"private": false,
"description": "Solarkraft runtime monitoring for Soroban",
"keywords": [
"soroban",
"testing",
"runtime monitoring",
"smart contracts",
"audit"
],
"homepage": "https://github.com/freespek/solarkraft#readme",
"bugs": {
"url": "https://github.com/freespek/solarkraft/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/freespek/solarkraft.git"
},
"license": "Apache-2.0",
"author": "Igor Konnov, Jure Kukovec, Andrey Kuprianov, Thomas Pani (https://github.com/freespek/solarkraft)",
"type": "module",
"exports": "./dist/src/main.js",
"bin": {
Expand All @@ -11,53 +29,22 @@
"README.md",
"dist/**/*"
],
"engines": {
"node": ">=18"
},
"scripts": {
"compile": "genversion -e src/version.ts && tsc",
"test": "mocha --loader=ts-node/esm test/**/*.test.ts",
"e2e": "./test/e2e/run-tests.sh",
"snapshot": "git archive --format=tar.gz -o solarkraft-`git rev-parse --short HEAD`.tar.gz --prefix=solarkraft/ HEAD"
"license": "source-licenser --config-file licenser-config.yaml .",
"snapshot": "git archive --format=tar.gz -o solarkraft-`git rev-parse --short HEAD`.tar.gz --prefix=solarkraft/ HEAD",
"test": "mocha --loader=ts-node/esm test/**/*.test.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/freespek/solarkraft.git"
},
"keywords": [
"soroban",
"testing",
"runtime monitoring",
"smart contracts",
"audit"
],
"contributors": [
{
"name": "Igor Konnov",
"email": "[email protected]",
"url": "https://konnov.phd"
},
{
"name": "Jure Kukovec",
"email": "[email protected]",
"url": "https://github.com/Kukovec"
},
{
"name": "Andrey Kuprianov",
"email": "[email protected]",
"url": "https://github.com/andrey-kuprianov"
},
{
"name": "Thomas Pani",
"email": "[email protected]",
"url": "https://thpani.net/"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/freespek/solarkraft/issues"
"dependencies": {
"@sweet-monads/either": "^3.3.1",
"axios": "^1.6.7",
"chalk": "^5.3.0",
"json-bigint": "^1.0.0",
"source-licenser": "^2.0.6",
"typescript": "^5.4.2",
"yargs": "^17.7.2"
},
"homepage": "https://github.com/freespek/solarkraft#readme",
"devDependencies": {
"@types/node": "^20.11.26",
"chai": "^5.1.0",
Expand All @@ -67,13 +54,7 @@
"mocha": "^10.3.0",
"ts-node": "^10.9.2"
},
"dependencies": {
"@sweet-monads/either": "^3.3.1",
"axios": "^1.6.7",
"chalk": "^5.3.0",
"json-bigint": "^1.0.0",
"source-licenser": "^2.0.6",
"typescript": "^5.4.2",
"yargs": "^17.7.2"
"engines": {
"node": ">=18"
}
}
}
4 changes: 4 additions & 0 deletions solarkraft/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* @license
* [Apache-2.0](https://github.com/freespek/solarkraft/blob/main/LICENSE)
*/
function main() {
console.log('OK')
}
Expand Down
4 changes: 4 additions & 0 deletions solarkraft/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/**
* @license
* [Apache-2.0](https://github.com/freespek/solarkraft/blob/main/LICENSE)
*/
// Generated by genversion.
export const version = '0.0.1'

0 comments on commit aef21ae

Please sign in to comment.