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

dev: prep for CI/CD test #2

Merged
merged 1 commit into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading