Skip to content

Commit

Permalink
chore: migrate code to a newer environment
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleSound committed Feb 20, 2024
1 parent b624fcf commit b2027cd
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 375 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
extends: ['config:js-lib', 'github>sachinraja/renovate-config:js'],
"extends": ["config:js-lib", "github>sachinraja/renovate-config:js"]
}
7 changes: 5 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ export default antfu({
],
rules: {
'@typescript-eslint/no-namespace': 'off',
'react/no-unknown-property': 'off',
'react/no-unknown-property': 'off',
'react/react-in-jsx-scope': 'off',
'react/display-name': 'off',
'react/no-unescaped-entities': 'off',
'no-restricted-syntax': 'off',
'no-void': 'off'
'no-void': 'off',
'unicorn/prefer-number-properties': 'off',
'ts/ban-types': 'off',
'node/prefer-global/process': 'off',
},
})
2 changes: 1 addition & 1 deletion example/test/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`Counter.vue > should render 1`] = `"<div>10 <button class="inc"> + </button><button class="dec"> - </button></div>"`;
exports[`counter.vue > should render 1`] = `"<div>10 <button class="inc"> + </button><button class="dec"> - </button></div>"`;
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "slimeform",
"version": "0.9.1",
"type": "module",
"description": "Form state management and validation for Vue3",
"version": "0.9.1",
"packageManager": "[email protected]",
"description": "Form state management and validation for Vue3",
"author": {
"name": "Ayaka Rizumu",
"url": "https://github.com/LittleSound"
Expand All @@ -14,17 +14,18 @@
"utilities-library",
"vue3-typescript"
],
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs",
"types": "./dist/index.d.ts"
"default": "./dist/index.cjs"
},
"./resolvers": {
"types": "./dist/resolvers.d.ts",
"import": "./dist/resolvers.js",
"default": "./dist/resolvers.cjs",
"types": "./dist/resolvers.d.ts"
"default": "./dist/resolvers.cjs"
}
},
"main": "dist/index.cjs",
Expand Down Expand Up @@ -54,12 +55,15 @@
"clear": "rm -rf dist example/dist",
"test": "vitest"
},
"peerDependencies": {
"vue": ">=3"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.4",
"@iconify-json/carbon": "^1.1.29",
"@iconify-json/noto-v1": "^1.1.11",
"@types/jsdom": "^16.2.15",
"@types/node": "17.0.29",
"@types/node": "20.11.19",
"@unocss/eslint-plugin": "^0.58.5",
"@unocss/reset": "^0.34.1",
"@vitejs/plugin-vue": "^5.0.4",
Expand All @@ -75,8 +79,8 @@
"nano-staged": "0.8.0",
"npm-run-all": "4.1.5",
"pnpm": "^8.15.3",
"tsup": "6.5.0",
"typescript": "4.9.4",
"tsup": "8.0.2",
"typescript": "5.3.3",
"unocss": "^0.58.5",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
Expand All @@ -87,13 +91,9 @@
"vue-tsc": "^1.8.27",
"yup": "^1.3.3"
},
"peerDependencies": {
"vue": ">=3"
},
"eslintConfig": {
"extends": "@antfu"
},
"sideEffects": false,
"nano-staged": {
"*.{js,ts,md,json,yaml}": "eslint . --fix",
"*.{md}": "markdownlint -c .markdownlint.jsonc **/*.md"
Expand Down
Loading

0 comments on commit b2027cd

Please sign in to comment.