Skip to content

Commit

Permalink
Revert rename
Browse files Browse the repository at this point in the history
  • Loading branch information
BBB committed Apr 3, 2023
1 parent ffad705 commit 6b99b09
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ jobs:
- name: Build and Publish (if required)
run: |
pnpm build
if node bin/needs-publish.js "and-or4t" $(node -pe "require('./package.json').version") ; then
NAME_TO_PUBLISH=and-or4t pnpm run publish-package
if node bin/needs-publish.js "and-or" $(node -pe "require('./package.json').version") ; then
NAME_TO_PUBLISH=and-or pnpm run publish-package
else
echo "and-or4t Version already published"
echo "and-or Version already published"
fi
if node bin/needs-publish.js "@ollierelph/and-or4t" $(node -pe "require('./package.json').version") ; then
NAME_TO_PUBLISH="@ollierelph/and-or4t" pnpm run publish-package
if node bin/needs-publish.js "@ollierelph/and-or" $(node -pe "require('./package.json').version") ; then
NAME_TO_PUBLISH="@ollierelph/and-or" pnpm run publish-package
else
echo "ollierelph/and-or4t Version already published"
echo "ollierelph/and-or Version already published"
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<h2 align="center">and-or4t</h2>
<h2 align="center">and-or</h2>

<p align="center">
Available now
</p>

`pnpm add @ollierelph/and-or4t` or `pnpm add and-or4t`
`pnpm add @ollierelph/and-or` or `pnpm add and-or`

## What's this?

`and-or4t` allows you to build 2d arrays of options to iterate over
`and-or` allows you to build 2d arrays of options to iterate over

```typescript
import {Single} from "and-or4t"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@ollierelph/and-or4t",
"name": "@ollierelph/and-or",
"version": "0.0.2",
"description": "",
"main": "dist/index.js",
Expand All @@ -14,14 +14,14 @@
"test": "pnpm vitest",
"build": "pnpm tsc -p tsconfig.build.json",
"format": "prettier --write ./",
"publish-package": "echo \"$(jq --arg name \"${NAME_TO_PUBLISH:-@ollierelph/and-or4t}\" '.name|=$name' package.json)\" > package.json && pnpm publish --access public --no-git-checks"
"publish-package": "echo \"$(jq --arg name \"${NAME_TO_PUBLISH:-@ollierelph/and-or}\" '.name|=$name' package.json)\" > package.json && pnpm publish --access public --no-git-checks"
},
"files": [
"./dist/*"
],
"repository": {
"type": "git",
"url": "https://github.com/BBB/and-or4t.git"
"url": "https://github.com/BBB/and-or.git"
},
"keywords": [
"fp",
Expand Down

0 comments on commit 6b99b09

Please sign in to comment.