Skip to content

Commit

Permalink
Merge pull request #18 from biaov/release/v1.4.4
Browse files Browse the repository at this point in the history
Release/v1.4.4
  • Loading branch information
biaov authored Mar 12, 2024
2 parents fcfbfae + 11d76d6 commit 937ddc2
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 44 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish Package to npmjs

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install -g npm
- run: npm ci
- run: npm run build
- run: cd dist
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79 changes: 41 additions & 38 deletions package-lock.json

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

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-mine",
"private": false,
"version": "1.4.3",
"version": "1.4.4",
"exports": "./dist/index.js",
"main": "./dist/index.js",
"type": "module",
Expand All @@ -24,7 +24,8 @@
"pre-publish": "start cmd /k cd ./dist"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
"registry": "https://registry.npmjs.org/",
"provenance": true
},
"engines": {
"node": ">=20"
Expand Down Expand Up @@ -55,16 +56,16 @@
"chalk": "^5.3.0",
"commander": "^12.0.0",
"download-git-repo": "^3.0.2",
"inquirer": "^9.2.14",
"inquirer": "^9.2.15",
"log-symbols": "^6.0.0",
"ora": "^8.0.1",
"update-notifier": "^7.0.0"
},
"devDependencies": {
"@types/node": "^20.11.16",
"@types/node": "^20.11.26",
"@types/update-notifier": "^6.0.8",
"prettier": "^3.2.5",
"typescript": "^5.3.3",
"vite": "^5.0.12"
"typescript": "^5.4.2",
"vite": "^5.1.6"
}
}

0 comments on commit 937ddc2

Please sign in to comment.