1.1.1 • Published 9 months ago
@dougflip/switch-and-signal-sessions v1.1.1
Switch and Signal Sessions
CLI to display Switch & Signal's sessions along with the remaining ticket count
Requirements
This requires Node 18+ at the moment because I am trying out native fetch support.
I may drop that requirement in the future.
Install
Install globally from npm
npm install --global @dougflip/switch-and-signal-sessions
If you use nvm you can create an alias to ensure your shell switches to the correct version of node to run the command.
For example:
alias skate="nvm exec v18.13.0 switch-and-signal-sessions"
Usage
View all sessions
switch-and-signal-sessions
View sessions for specific days
switch-and-signal-sessions tuesday wednesday
# the days match on case insensitive "startsWith" - which means "t" and "s" match multiple days
# for example, this outputs both tuesday AND thursday
switch-and-signal-sessions t
Local Development
On the Metal
# select correct node version and install deps
nvm use && npm install
# run the cli
npm run dev
# run the tests
npm t
# build the code and run the local cli with some args
npm run build && node ./dist/cli.js m w f
Docker
# build the code
./scripts/dev npm run build
Releasing
- Create a branch
- Implement
- Run
./scripts/bump-version [version]
to set the version - Open a PR
On merge to main
the new version will be release
1.1.1
9 months ago
1.1.0
11 months ago
1.0.0
1 year ago
1.0.0-beta.9
1 year ago
1.0.0-beta.8
1 year ago
1.0.0-beta.7
1 year ago
1.0.0-beta.6
1 year ago
1.0.0-beta.5
1 year ago
1.0.0-beta.4
1 year ago
1.0.0-beta.3
1 year ago
1.0.0-beta.2
1 year ago
1.0.0-beta.1
1 year ago
1.0.0-beta.0
1 year ago