Skip to content

Commit a057807

Browse files
committed
Move expression examples out of test dir
1 parent 9def657 commit a057807

25 files changed

+4
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
export { default as schemas } from '../schemas'
22
export { default as validator } from './validator'
3+
export { default as examples } from '../examples'

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"type": "module",
66
"files": [
77
"dist",
8-
"schemas"
8+
"schemas",
9+
"examples"
910
],
1011
"main": "./dist/expressions.umd.cjs",
1112
"module": "./dist/expressions.js",

test/schemas.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, test, expect } from 'vitest'
22
import { validator } from '../lib'
3-
import examples from './examples'
3+
import examples from '../examples'
44

55
const expressionsValidator = validator()
66

0 commit comments

Comments
 (0)