refactor: Move everything into a src/ dir

pull/10/head
Edmund Miller 1 year ago committed by Thomas A. Christensen II
parent 0401be4ed7
commit c976e6b883

1
.gitattributes vendored

@ -0,0 +1 @@
dist/** -diff linguist-generated=true

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…
Cancel
Save