Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5.0.0 #13

Merged
merged 1 commit into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 5.0.0
* Fix package.json for correct package interpretation

## 4.6.0 (Luxon next 3.4.4)
* Validate time zone in quickDT prior to guessing offset (#1575)
* Use getPrototypeOf instead of __proto__ (#1592)
Expand Down
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-luxon",
"version": "4.6.0",
"version": "5.0.0",
"license": "MIT",
"description": "Typescript version of the \"Immutable date wrapper\"",
"author": "Tony Samperi",
Expand All @@ -12,8 +12,15 @@
"repository": "https://github.com/tonysamperi/ts-luxon",
"homepage": "https://tonysamperi.github.io/ts-luxon/",
"main": "dist/ts-luxon.umd.js",
"module": "dist/ts-luxon.es6.js",
"typings": "dist/index.d.ts",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/ts-luxon.es6.mjs",
"default": "./dist/ts-luxon.umd.js"
}
},
"files": [
"dist/**",
"README.md"
Expand All @@ -31,7 +38,8 @@
"typedoc": "typedoc src/index.ts --excludePrivate --excludeProtected --out dist/api-docs ",
"benchmark": "ts-node benchmarks/index.ts",
"codecov": "codecov",
"check-doc-coverage": "grep '\"coverage\": \"100%\"' dist/docs/coverage.json"
"check-doc-coverage": "grep '\"coverage\": \"100%\"' dist/docs/coverage.json",
"publish:beta": "npm publish --tag beta"
},
"devDependencies": {
"@rollup/plugin-json": "^6.0.0",
Expand Down
5 changes: 2 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import sourceMaps from "rollup-plugin-sourcemaps";
// import typescript from "rollup-plugin-typescript2";
import typescript from "@rollup/plugin-typescript";
import cleaner from "rollup-plugin-cleaner";
import { uglify } from "rollup-plugin-uglify";
Expand All @@ -15,8 +14,8 @@ export default {
output: [
{ file: pkg.main, name: "tsLuxon", format: "umd", sourcemap: true },
{ file: pkg.main.replace(".js", ".min.js"), name: "tsLuxon", format: "umd", sourcemap: "inline", plugins: [uglify()] },
{ file: pkg.module, format: "es", sourcemap: true },
{ file: pkg.module.replace(".js", ".min.js"), format: "es", sourcemap: "inline", plugins: [uglify()] }
{ file: pkg.exports["."].import, format: "es", sourcemap: true },
{ file: pkg.exports["."].import.replace(".mjs", ".min.mjs"), format: "es", sourcemap: "inline", plugins: [uglify()] }
],
external: [],
watch: {
Expand Down
Loading