Skip to content

Commit

Permalink
Merge pull request #25 from acro5piano/feature/update-stack
Browse files Browse the repository at this point in the history
feat: move from yarn to pnpm
  • Loading branch information
acro5piano authored Jun 23, 2024
2 parents b964cfa + 2e14196 commit 1ff25eb
Show file tree
Hide file tree
Showing 6 changed files with 237 additions and 307 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 18.x
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: actions/cache@master
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- run: |
test -n "$NPM_TOKEN"
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
yarn install
pnpm install
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 18.x
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: actions/cache@master
with:
key: v1-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
path: node_modules
- run: yarn install
- run: yarn tsc
- run: pnpm install
- run: pnpm tsc
107 changes: 4 additions & 103 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,105 +1,6 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
node_modules
dist
.env*

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
build
*.log*
*.tsbuildinfo
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@
"r": "tsc && node dist/index.js"
},
"dependencies": {
"@commander-js/extra-typings": "^11.0.0",
"commander": "^11.0.0"
"@commander-js/extra-typings": "^11.1.0",
"commander": "^11.1.0"
},
"devDependencies": {
"@types/node": "^20.2.3",
"@types/pg": "^8.10.1",
"@types/node": "^20.14.8",
"@types/pg": "^8.11.6",
"kysely": "^0.24.2",
"pg": "^8.11.0",
"pg-cursor": "^2.10.0",
"typescript": "^5.0.4"
"pg": "^8.12.0",
"typescript": "^5.5.2"
}
}
216 changes: 216 additions & 0 deletions pnpm-lock.yaml

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

Loading

0 comments on commit 1ff25eb

Please sign in to comment.