mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-24 02:19: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/build-state.yml
|
||||||
.yarn/install-state.gz
|
.yarn/install-state.gz
|
||||||
.pnp.*
|
.pnp.*
|
||||||
|
|
||||||
|
# Ignore built ts files
|
||||||
|
__tests__/runner/*
|
||||||
|
lib/**/*
|
|
@ -1,14 +1,16 @@
|
||||||
{
|
{
|
||||||
"name": "install-nextflow-action",
|
"name": "install-nextflow-action",
|
||||||
"version": "1.2.0",
|
"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.",
|
"description": "An action to install Nextflow into a GitHub Actions workflow and make it available for subsequent steps.",
|
||||||
|
"main": "lib/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "tsc",
|
||||||
"format": "prettier --write '**/*.ts'",
|
"format": "prettier --write '**/*.ts'",
|
||||||
"format-check": "prettier --check '**/*.ts'",
|
"format-check": "prettier --check '**/*.ts'",
|
||||||
"lint": "eslint src/**/*.ts",
|
"lint": "eslint src/**/*.ts",
|
||||||
|
"package": "ncc build --source-map --license LICENSE",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -3,8 +3,11 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
|
"outDir": "./lib",
|
||||||
|
"rootDir": "./src",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"esModuleInterop": true
|
"esModuleInterop": true
|
||||||
}
|
},
|
||||||
|
"exclude": ["node_modules", "**/*.test.ts"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue