Skip to content

Commit

Permalink
feat: added scaffolding for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfreud committed Mar 28, 2024
1 parent f8291f7 commit b71bb52
Show file tree
Hide file tree
Showing 12 changed files with 609 additions and 20 deletions.
1 change: 1 addition & 0 deletions .TODO
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Changeset to major version when basic cli is active
- Add logger
- Natively parse .env (steal snippet from dotenv package)
- Give credits (copy/pasted code from prefixes.ts)

-- CLI --
Main Packages: [chalk, cli-table3, commander, chokidar, inquirer, node-emoji, ora, shelljs, figlet]
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Custom
dataset.json
test/data/dataset.json
index.js


Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
{
"name": "quirgo",
"version": "0.0.1",
"version": "0.0.0",
"description": "A CLI tool to automate repositories secrets and variables setting via the Gihub API",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"type": "module",
"bin": {
"quirgo": "./dist/index.js"
},
"scripts": {
"link-cli": "pnpm --global unlink quirgo-cli && pnpm link --global",
"build": "tsup src/**/*.ts --format esm,cjs --dts",
"dev": "tsc -w",
"test": "node --env-file=config.env test/test.js",
"test:prod": "node test/test.js",
"lint": "tsc"
Expand All @@ -16,13 +21,15 @@
"author": "wilfreud",
"license": "MIT",
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.0.0",
"dotenv": "^16.4.5",
"libsodium-wrappers": "^0.7.13",
"octokit": "^3.1.2"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.2.1",
"@octokit/types": "^12.6.0",
"@types/libsodium-wrappers": "^0.7.13",
"@types/node": "^20.11.30",
Expand Down
Loading

0 comments on commit b71bb52

Please sign in to comment.