@dicebear/schema 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -67,8 +67,8 @@ import optionsSchema from '@dicebear/schema/options.json' assert { type: 'json'
|
|
|
67
67
|
**PHP**
|
|
68
68
|
|
|
69
69
|
```php
|
|
70
|
-
$definition = json_decode(file_get_contents(__DIR__ . '/vendor/dicebear/schema/definition.json'), true);
|
|
71
|
-
$options = json_decode(file_get_contents(__DIR__ . '/vendor/dicebear/schema/options.json'), true);
|
|
70
|
+
$definition = json_decode(file_get_contents(__DIR__ . '/vendor/dicebear/schema/src/definition.json'), true);
|
|
71
|
+
$options = json_decode(file_get_contents(__DIR__ . '/vendor/dicebear/schema/src/options.json'), true);
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
## Development
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/schema",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "JSON Schema definitions for DiceBear avatar styles and options",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear",
|
|
@@ -16,13 +16,14 @@
|
|
|
16
16
|
"url": "git+https://github.com/dicebear/schema.git"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
|
+
"type": "module",
|
|
19
20
|
"exports": {
|
|
20
|
-
"./definition.json": "./definition.json",
|
|
21
|
-
"./options.json": "./options.json"
|
|
21
|
+
"./definition.json": "./src/definition.json",
|
|
22
|
+
"./options.json": "./src/options.json"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
24
|
-
"definition.json",
|
|
25
|
-
"options.json"
|
|
25
|
+
"src/definition.json",
|
|
26
|
+
"src/options.json"
|
|
26
27
|
],
|
|
27
28
|
"scripts": {
|
|
28
29
|
"format": "prettier --write .",
|
|
File without changes
|
|
File without changes
|