Skip to content

Commit 663b78c

Browse files
committed
GH-3: rename project to class-types
1 parent 3bb6d26 commit 663b78c

5 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
126126
# Add version link
127127
echo "" >> "$TEMP_FILE"
128-
echo "[$NEW_VERSION]: https://github.com/renderorange/types-class/releases/tag/v$NEW_VERSION" >> "$TEMP_FILE"
128+
echo "[$NEW_VERSION]: https://github.com/renderorange/class-types/releases/tag/v$NEW_VERSION" >> "$TEMP_FILE"
129129
130130
mv "$TEMP_FILE" CHANGELOG.md
131131
else
@@ -147,7 +147,7 @@ jobs:
147147
- Compound types: isaAnyOf, isaAllOf, isaNoneOf
148148
- Utilities: validate(), maybe()
149149
150-
[1.0.0]: https://github.com/renderorange/types-class/releases/tag/v1.0.0
150+
[1.0.0]: https://github.com/renderorange/class-types/releases/tag/v1.0.0
151151
EOF
152152
sed -i "s/## \[1.0.0\]/## [$NEW_VERSION] - $DATE\n\n### Added\n- Release version $NEW_VERSION\n\n## [1.0.0]/" CHANGELOG.md
153153
sed -i "s|/v1.0.0|/v$NEW_VERSION|" CHANGELOG.md

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Compound types: isaAnyOf, isaAllOf, isaNoneOf
1515
- Utilities: validate(), maybe()
1616

17-
[1.0.0]: https://github.com/renderorange/types-class/releases/tag/v1.0.0
17+
[1.0.0]: https://github.com/renderorange/class-types/releases/tag/v1.0.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# @renderorange/types-class
1+
# @renderorange/class-types
22

33
Runtime type checking base class for JavaScript.
44

55
## Installation
66

77
```bash
8-
npm install @renderorange/types-class
8+
npm install @renderorange/class-types
99
```
1010

1111
## Usage
1212

1313
Extend `TypesClass` and define methods that use the built-in type checks:
1414

1515
```javascript
16-
const TypesClass = require("@renderorange/types-class");
16+
const TypesClass = require("@renderorange/class-types");
1717

1818
class User extends TypesClass {
1919
constructor(name, email, age) {

package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@renderorange/types-class",
2+
"name": "@renderorange/class-types",
33
"version": "1.0.0",
44
"description": "Base class for runtime type checking in JavaScript",
55
"author": "Blaine Motsinger <blaine@renderorange.com>",
@@ -22,12 +22,12 @@
2222
],
2323
"repository": {
2424
"type": "git",
25-
"url": "git+https://github.com/renderorange/types-class.git"
25+
"url": "git+https://github.com/renderorange/class-types.git"
2626
},
2727
"bugs": {
28-
"url": "https://github.com/renderorange/types-class/issues"
28+
"url": "https://github.com/renderorange/class-types/issues"
2929
},
30-
"homepage": "https://github.com/renderorange/types-class#readme",
30+
"homepage": "https://github.com/renderorange/class-types#readme",
3131
"publishConfig": {
3232
"access": "public"
3333
},

0 commit comments

Comments
 (0)