date-picker-svelte
Advanced tools
Comparing version 2.3.0 to 2.4.0
132
package.json
{ | ||
"name": "date-picker-svelte", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Date and time picker for Svelte", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build && npm run package", | ||
"build:site": "vite build", | ||
"preview": "vite preview", | ||
"package": "svelte-package", | ||
"prepublishOnly": "npm run package", | ||
"lint": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && eslint src && prettier --check src", | ||
"format": "prettier --write src && eslint --fix src", | ||
"test": "vitest", | ||
"test:coverage": "vitest --coverage" | ||
}, | ||
"devDependencies": { | ||
"@sveltejs/adapter-static": "^1.0.0", | ||
"@sveltejs/kit": "^1.0.0", | ||
"@sveltejs/package": "^1.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.46.1", | ||
"@typescript-eslint/parser": "^5.46.1", | ||
"babel-jest": "^29.3.1", | ||
"@sveltejs/adapter-static": "^2.0.2", | ||
"@sveltejs/kit": "^1.15.9", | ||
"@sveltejs/package": "^2.0.2", | ||
"@typescript-eslint/eslint-plugin": "^5.59.1", | ||
"@typescript-eslint/parser": "^5.59.1", | ||
"@vitest/coverage-c8": "^0.30.1", | ||
"date-fns": "^2.29.3", | ||
"eslint": "^8.29.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-svelte3": "^4.0.0", | ||
"jest": "^29.3.1", | ||
"eslint": "^8.39.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-svelte": "^2.27.1", | ||
"mdsvex": "^0.10.6", | ||
"prettier": "^2.8.1", | ||
"prettier-plugin-svelte": "^2.9.0", | ||
"sass": "^1.56.2", | ||
"svelte": "^3.55.0", | ||
"svelte-check": "^2.10.2", | ||
"ts-jest": "^29.0.3", | ||
"typescript": "^4.9.4", | ||
"vite": "^4.0.1" | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-svelte": "^2.10.0", | ||
"sass": "^1.62.1", | ||
"svelte": "^3.58.0", | ||
"svelte-check": "^3.2.0", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.3.3", | ||
"vitest": "^0.30.1" | ||
}, | ||
@@ -31,2 +42,61 @@ "peerDependencies": { | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
"./DateInput.svelte": { | ||
"types": "./dist/DateInput.svelte.d.ts", | ||
"svelte": "./dist/DateInput.svelte", | ||
"default": "./dist/DateInput.svelte" | ||
}, | ||
"./DatePicker.svelte": { | ||
"types": "./dist/DatePicker.svelte.d.ts", | ||
"svelte": "./dist/DatePicker.svelte", | ||
"default": "./dist/DatePicker.svelte" | ||
}, | ||
"./date-utils": { | ||
"types": "./dist/date-utils.d.ts", | ||
"default": "./dist/date-utils.js" | ||
}, | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"svelte": "./dist/index.js", | ||
"default": "./dist/index.js" | ||
}, | ||
"./locale": { | ||
"types": "./dist/locale.d.ts", | ||
"default": "./dist/locale.js" | ||
}, | ||
"./parse": { | ||
"types": "./dist/parse.d.ts", | ||
"default": "./dist/parse.js" | ||
} | ||
}, | ||
"files": [ | ||
"dist", | ||
"!dist/**/*.test.*", | ||
"!dist/**/*.spec.*" | ||
], | ||
"svelte": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"typesVersions": { | ||
">4.0": { | ||
"DateInput.svelte": [ | ||
"./dist/DateInput.svelte.d.ts" | ||
], | ||
"DatePicker.svelte": [ | ||
"./dist/DatePicker.svelte.d.ts" | ||
], | ||
"date-utils": [ | ||
"./dist/date-utils.d.ts" | ||
], | ||
"index": [ | ||
"./dist/index.d.ts" | ||
], | ||
"locale": [ | ||
"./dist/locale.d.ts" | ||
], | ||
"parse": [ | ||
"./dist/parse.d.ts" | ||
] | ||
} | ||
}, | ||
"license": "MIT", | ||
@@ -55,12 +125,2 @@ "homepage": "https://date-picker-svelte.kasper.space", | ||
], | ||
"jest": { | ||
"transform": { | ||
"^.+\\.ts$": "ts-jest", | ||
"^.+\\.js$": "babel-jest" | ||
}, | ||
"moduleFileExtensions": [ | ||
"js", | ||
"ts" | ||
] | ||
}, | ||
"prettier": { | ||
@@ -73,13 +133,3 @@ "printWidth": 100, | ||
] | ||
}, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
"./DateInput.svelte": "./DateInput.svelte", | ||
"./DatePicker.svelte": "./DatePicker.svelte", | ||
"./date-utils": "./date-utils.js", | ||
".": "./index.js", | ||
"./locale": "./locale.js", | ||
"./parse": "./parse.js" | ||
}, | ||
"svelte": "./index.js" | ||
} | ||
} | ||
} |
@@ -67,11 +67,7 @@ # Date Picker Svelte | ||
``` | ||
4. Generate the package | ||
4. Publish | ||
``` | ||
npm run build:package | ||
npm publish | ||
``` | ||
5. Publish the package | ||
``` | ||
npm publish ./package | ||
``` | ||
6. Commit with a tag in format "v#.#.#" | ||
7. Create GitHub release with release notes | ||
5. Commit with a tag in format "v#.#.#" | ||
6. Create GitHub release with release notes |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19
36664
15
73
1