mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 01:59:55 +00:00
refactor: Move everything into a src/ dir
This commit is contained in:
parent
0401be4ed7
commit
c976e6b883
5 changed files with 13 additions and 3 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
dist/** -diff linguist-generated=true
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -128,3 +128,7 @@ dist
|
|||
.yarn/build-state.yml
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
# Ignore built ts files
|
||||
__tests__/runner/*
|
||||
lib/**/*
|
|
@ -1,14 +1,16 @@
|
|||
{
|
||||
"name": "install-nextflow-action",
|
||||
"version": "1.2.0",
|
||||
"main": "dist/index.js",
|
||||
"description": "An action to install Nextflow into a GitHub Actions workflow and make it available for subsequent steps.",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"format": "prettier --write '**/*.ts'",
|
||||
"format-check": "prettier --check '**/*.ts'",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"package": "ncc build --source-map --license LICENSE",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "ncc build index.ts --license LICENSE"
|
||||
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -3,8 +3,11 @@
|
|||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"outDir": "./lib",
|
||||
"rootDir": "./src",
|
||||
"strict": true,
|
||||
"noImplicitAny": false,
|
||||
"esModuleInterop": true
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules", "**/*.test.ts"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue