Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from radekBednarik/dev
Browse files Browse the repository at this point in the history
dev: prep for CI/CD test
  • Loading branch information
radekBednarik authored Apr 6, 2024
2 parents b0a2a86 + 38e57f1 commit 0567716
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 6 deletions.
3 changes: 3 additions & 0 deletions bin/prompts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
const prompts = require("prompts");

// can be overriden by argv
prompts.override(require("yargs").argv);

const cliPrompt = async () => {
const questions = [
{
Expand Down
117 changes: 114 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@
"test",
"skeleton",
"project",
"typescript"
"typescript",
"template",
"nodejs"
],
"author": "Radek Bednarik<radek.bednarik@tesena.com>",
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "npx playwright-test-skeleton",
"test": "npm link && mkdir __test-area__ && cd __test-area__ && npm link playwright-test-skeleton && npx playwright-test-skeleton --language=ts --precommitHooks=true && npx playwright test",
"cleanup": "rm -rf __test-area__"
},
"bin": {
Expand All @@ -27,7 +29,8 @@
"dependencies": {
"chalk": "^4.1.2",
"fs-extra": "^11.2.0",
"prompts": "^2.4.2"
"prompts": "^2.4.2",
"yargs": "^17.7.2"
},
"files": [
"bin",
Expand Down

0 comments on commit 0567716

Please sign in to comment.