Skip to content

Commit

Permalink
move src to folder
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Aug 25, 2024
1 parent 3d37054 commit 1cacc50
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@idleberg/vite-plugin-valibot-env",
"version": "0.6.9",
"exports": "./index.ts",
"exports": "./src/index.ts",
"publish": {
"include": [
"index.ts",
"src/",
"jsr.json",
"LICENSE",
"README.md"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch --onSuccess \"tsup --dts-only \"",
"dev": "tsup --watch",
"lint:code": "eslint **/*.json **/*.ts --no-warn-ignored",
"lint:deps": "knip --production",
"lint": "npm-run-all --parallel lint:*",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/fixtures/vite-invalid.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'vite';
import * as v from 'valibot';
import valibotPlugin from '../../index.ts';
import valibotPlugin from '../../src/index.ts';

const envSchema = v.object({
VITE_INVALID_BIC: v.pipe(v.string(), v.bic()),
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/vite-no-prefix.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'vite';
import * as v from 'valibot';
import valibotPlugin from '../../index.ts';
import valibotPlugin from '../../src/index.ts';

const envSchema = v.object({
NODE_ENV: v.union([v.literal('development'), v.literal('production')]),
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/vite-transform.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'vite';
import * as v from 'valibot';
import valibotPlugin from '../../index.ts';
import valibotPlugin from '../../src/index.ts';

const envSchema = v.object({
VITE_TRUE: v.boolean(),
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/vite-valid.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'vite';
import * as v from 'valibot';
import valibotPlugin from '../../index.ts';
import valibotPlugin from '../../src/index.ts';

const envSchema = v.object({
VITE_VALID_BIC: v.pipe(v.string(), v.bic()),
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig((options) => {
target: 'node18',
clean: true,
dts: true,
entry: ['index.ts'],
entry: ['src/index.ts'],
format: 'esm',
minify: !options.watch,
treeshake: 'recommended',
Expand Down

0 comments on commit 1cacc50

Please sign in to comment.