@gjuchault/typescript-library-starter
Advanced tools
Comparing version 2.0.3 to 2.0.4
{ | ||
"version": "0.1", | ||
"language": "en", | ||
"words": ["esbuild", "rmrf", "gjuchault", "socio", "octocat"], | ||
"words": [ | ||
"degit", | ||
"esbuild", | ||
"gjuchault", | ||
"octocat", | ||
"rmrf", | ||
"socio" | ||
], | ||
"flagWords": [], | ||
@@ -6,0 +13,0 @@ "ignorePaths": [ |
@@ -1,2 +0,2 @@ | ||
## [2.0.3](https://github.com/gjuchault/typescript-library-starter/compare/v2.0.2...v2.0.3) (2022-08-05) | ||
## [2.0.4](https://github.com/gjuchault/typescript-library-starter/compare/v2.0.3...v2.0.4) (2022-08-11) | ||
@@ -6,2 +6,2 @@ | ||
* **ts:** update rootDir & types target ([4ad82cd](https://github.com/gjuchault/typescript-library-starter/commit/4ad82cd661a1f744c1c71cd15aef454f6dc06a1a)) | ||
* **testSetup:** stop re-adding origin ([4686662](https://github.com/gjuchault/typescript-library-starter/commit/46866629857a4184611ea48ae6b21089c9f5e0b5)) |
@@ -1,3 +0,1 @@ | ||
/* istanbul ignore file */ | ||
const Module = require("module"); | ||
@@ -4,0 +2,0 @@ const { transformSync } = require("esbuild"); |
{ | ||
"name": "@gjuchault/typescript-library-starter", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Yet another typescript library starter template", | ||
@@ -20,4 +20,9 @@ "keywords": [ | ||
"engines": { | ||
"node": "> 14" | ||
"node": "^18.7.0 || >= 16", | ||
"npm": "^8.16.0 || >= 8" | ||
}, | ||
"volta": { | ||
"node": "18.7.0", | ||
"npm": "8.16.0" | ||
}, | ||
"publishConfig": { | ||
@@ -53,9 +58,9 @@ "access": "public" | ||
"@semantic-release/release-notes-generator": "^10.0.3", | ||
"@types/node": "^18.6.4", | ||
"@types/node": "^18.6.5", | ||
"@types/prompts": "^2.0.14", | ||
"@typescript-eslint/eslint-plugin": "^5.32.0", | ||
"@typescript-eslint/parser": "^5.32.0", | ||
"@typescript-eslint/eslint-plugin": "^5.33.0", | ||
"@typescript-eslint/parser": "^5.33.0", | ||
"c8": "^7.12.0", | ||
"cspell": "^6.5.0", | ||
"esbuild": "^0.14.53", | ||
"cspell": "^6.6.0", | ||
"esbuild": "^0.14.54", | ||
"eslint": "^8.21.0", | ||
@@ -73,8 +78,4 @@ "eslint-config-prettier": "^8.5.0", | ||
"typescript": "^4.7.4", | ||
"vitest": "^0.20.3" | ||
"vitest": "^0.21.1" | ||
}, | ||
"volta": { | ||
"node": "16.15.1", | ||
"npm": "8.11.0" | ||
}, | ||
"overrides": { | ||
@@ -81,0 +82,0 @@ "semver-regex": "3.1.4" |
@@ -17,3 +17,3 @@ # Typescript Library Starter | ||
1. `git clone git@github.com:gjuchault/typescript-library-starter.git my-project` | ||
1. `npx degit gjuchault/typescript-library-starter my-project` | ||
2. `cd my-project` | ||
@@ -20,0 +20,0 @@ 3. `npm install` |
@@ -84,4 +84,2 @@ import path from "path"; | ||
await removeOrigin(); | ||
console.log("Ready to go 🚀"); | ||
@@ -224,9 +222,2 @@ } | ||
async function removeOrigin() { | ||
const { stdout: origin } = await exec(`git remote get-url origin`); | ||
if (origin.includes("gjuchault/typescript-library-starter")) { | ||
await logAsyncTask(`Removing git origin`, exec(`git remote rm origin`)); | ||
} | ||
} | ||
async function logAsyncTask<TResolve>( | ||
@@ -233,0 +224,0 @@ message: string, |
@@ -46,6 +46,2 @@ import childProcess from "child_process"; | ||
await exec( | ||
`git remote add origin git@github.com:gjuchault/typescript-library-starter.git` | ||
); | ||
await exec(`npm install`); | ||
@@ -52,0 +48,0 @@ } |
31205
31
563