Skip to content

Commit

Permalink
feat: changed namespace of schema package to @jsonresume/schema
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdavis committed Jul 10, 2024
1 parent 0b438ea commit 5593c70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ The current working version of the schema is `v1.0.0` that is represented by the

All PR's for the next version should be made against the `develop` branch.

This enforces that the schema package, always has the official stable release of the schema.

### Getting started

```
npm install --save resume-schema
npm install --save @jsonresume/schema
```

To use

```js
const resumeSchema = require("resume-schema");
const resumeSchema = require("@jsonresume/schema");
resumeSchema.validate(
{ name: "Thomas" },
function (err, report) {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "resume-schema",
"name": "@jsonresume/schema",
"version": "1.0.1",
"description": "JSON Resume Schema",
"private": false,
"main": "validator.js",
"scripts": {
"test": "npm run validate && npm run test-units",
Expand Down

0 comments on commit 5593c70

Please sign in to comment.