-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: properly generates dist files, updates yarn
- Loading branch information
Showing
9 changed files
with
5,389 additions
and
5,812 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
nodeLinker: node-modules | ||
compressionLevel: mixed | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
enableGlobalCache: true | ||
|
||
yarnPath: .yarn/releases/yarn-3.4.1.cjs | ||
nodeLinker: node-modules | ||
|
||
enableGlobalCache: true | ||
yarnPath: .yarn/releases/yarn-4.5.3.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
"main": "dist/useInertiaForm.js", | ||
"cjs": "dist/useInertiaForm.cjs", | ||
"unpkg": "dist/useInertiaForm.umd.min.js", | ||
"types": "dist/index.d.ts", | ||
"homepage": "https://github.com/aviemet/useInertiaForm#readme", | ||
"sideEffects": false, | ||
"files": [ | ||
|
@@ -24,12 +25,13 @@ | |
}, | ||
"author": "Avram Walden <[email protected]>", | ||
"license": "MIT", | ||
"packageManager": "[email protected]", | ||
"bugs": { | ||
"url": "https://github.com/aviemet/useInertiaForm/issues" | ||
}, | ||
"scripts": { | ||
"build": "yarn clean && rollup -c --bundleConfigAsCjs", | ||
"watch": "rollup --watch -c --bundleConfigAsCjs", | ||
"build:watch": "yarn clean && rollup --watch -c --bundleConfigAsCjs", | ||
"clean": "rimraf dist", | ||
"lint": "eslint '**/*.{js,ts}'", | ||
"lint:fix": "npm run lint -- --fix", | ||
|
@@ -100,6 +102,7 @@ | |
"react-test-renderer": "^18.3.1", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.27.4", | ||
"rollup-plugin-dts": "^6.1.1", | ||
"rollup-plugin-filesize": "^10.0.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-sourcemaps": "^0.6.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
export { default as useInertiaForm, type UseInertiaFormProps, type NestedObject } from './useInertiaForm' | ||
export { default as useInertiaInput, type UseInertiaInputProps } from './useInertiaInput' | ||
export { | ||
default as useInertiaForm, | ||
type UseInertiaFormProps, | ||
type NestedObject, | ||
} from './useInertiaForm' | ||
|
||
export { | ||
default as useInertiaInput, | ||
type UseInertiaInputProps, | ||
} from './useInertiaInput' | ||
|
||
export { | ||
Form, | ||
useForm, | ||
type HTTPVerb, | ||
type UseFormProps, | ||
type FormProps, | ||
} from './Form' | ||
|
||
export { | ||
Input, | ||
Submit, | ||
DynamicInputs, | ||
NestedFields, | ||
Submit, | ||
useDynamicInputs, | ||
type NestedFieldsProps, | ||
DynamicInputs, | ||
type DynamicInputsProps, | ||
} from './Inputs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"declarationMap": true, | ||
"rootDir": "./src", | ||
"typeRoots": [ | ||
"./node_modules/@types" | ||
], | ||
"removeComments": true, | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "dist", "**/__tests__/**"] | ||
"exclude": ["node_modules", "dist", "tests", "**/__tests__/**"] | ||
} |
Oops, something went wrong.