Skip to content

Commit

Permalink
chore: 🤖 move to pkgroll from tsup (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman authored Mar 31, 2024
1 parent 9a35a1d commit 072e2d9
Show file tree
Hide file tree
Showing 6 changed files with 616 additions and 244 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: 🦺 Check
uses: ./.github/actions/check

- name: 🔧 Build
run: pnpm build

- name: 🚀 Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
![actions](https://github.com/jimmy-guzman/ts-starter/actions/workflows/cd.yml/badge.svg)
[![version](https://img.shields.io/npm/v/ts-starter.svg?logo=npm)](https://www.npmjs.com/package/ts-starter)
[![downloads](https://img.shields.io/npm/dm/ts-starter.svg?logo=npm)](http://www.npmtrends.com/ts-starter)
[![Code Coverage](https://img.shields.io/codecov/c/github/jimmy-guzman/ts-starter.svg)](https://codecov.io/github/jimmy-guzman/ts-starter)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://semantic-release.gitbook.io/semantic-release)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

# ts-starter

![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/jimmy-guzman/ts-starter/cd.yml?style=flat-square&logo=github-actions)
[![version](https://img.shields.io/npm/v/ts-starter.svg?logo=npm&style=flat-square)](https://www.npmjs.com/package/ts-starter)
[![downloads](https://img.shields.io/npm/dm/ts-starter.svg?logo=npm&style=flat-square)](http://www.npmtrends.com/ts-starter)
[![Code Coverage](https://img.shields.io/codecov/c/github/jimmy-guzman/ts-starter.svg?style=flat-square&logo=codecov)](https://codecov.io/github/jimmy-guzman/ts-starter)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://semantic-release.gitbook.io/semantic-release)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square&logo=prettier)](https://github.com/prettier/prettier)

<!-- ![description starts here] -->

> 🍱 another opinionated TypeScript library starter
Expand Down
2 changes: 1 addition & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"nvmrc",
"OSTYPE",
"Parens",
"pkgroll",
"pnpm",
"prebuild",
"shellcheck",
"streetsidesoftware",
"tsup",
"typecheck",
"vitest",
"wagoid",
Expand Down
56 changes: 32 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,44 @@
{
"name": "ts-starter",
"version": "0.0.0",
"keywords": [],
"repository": {
"type": "git",
"url": "https://github.com/jimmy-guzman/ts-starter.git"
},
"license": "MIT",
"keywords": [],
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"sideEffects": false,
"type": "module",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"files": [
"dist"
],
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"build": "pkgroll --minify",
"dev": "pkgroll --watch",
"format": "prettier --check --cache .",
"format:fix": "prettier --write --cache .",
"lint": "eslint --cache --cache-location node_modules/.cache/eslint --color .",
"lint:fix": "pnpm lint --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc",
"lint": "eslint --cache --cache-location node_modules/.cache/eslint --color .",
"lint:fix": "pnpm lint --fix",
"format": "prettier --check --cache .",
"format:fix": "prettier --write --cache .",
"deps:bump": "pnpm dlx npm-check-updates -ui",
"prepack": "pnpm build",
"prepare": "is-ci || husky install"
},
"gitzy": {
"useCommitlintConfig": true
},
"lint-staged": {
"*.{md,json,yml,ts}": [
"prettier -w"
Expand All @@ -58,17 +63,20 @@
"husky": "8.0.3",
"is-ci": "3.0.1",
"lint-staged": "15.1.0",
"pkgroll": "2.0.2",
"prettier": "3.2.5",
"semantic-release": "23.0.6",
"tsup": "8.0.2",
"typescript": "5.4.3",
"vitest": "1.4.0"
},
"files": [
"dist"
],
"packageManager": "pnpm@7.33.5",
"engines": {
"node": ">= 20"
},
"publishConfig": {
"access": "public"
},
"gitzy": {
"useCommitlintConfig": true
}
}
Loading

0 comments on commit 072e2d9

Please sign in to comment.