From 82f96e8e3ae9d25adf94a60e3d126d30e5859c64 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sun, 25 Jun 2023 14:08:48 +0200 Subject: [PATCH 1/2] chore: Only pack required files for npm releases Signed-off-by: Ferdinand Thiessen --- .npmignore | 8 -------- package.json | 6 +++++- 2 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index da37ae80..00000000 --- a/.npmignore +++ /dev/null @@ -1,8 +0,0 @@ -node_modules/ -.github/ -lib/ -tests/ -.eslint* -*.config.* -tsconfig.json -typedoc.json diff --git a/package.json b/package.json index 01346154..72c8fa6d 100644 --- a/package.json +++ b/package.json @@ -68,5 +68,9 @@ "engines": { "node": "^20.0.0", "npm": "^9.0.0" - } + }, + "files": [ + "CHANGELOG.md", + "dist" + ] } From f92c779e6e42deeb26c387e17308266c335e1965 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sun, 25 Jun 2023 14:09:22 +0200 Subject: [PATCH 2/2] chore: Prepare 2.2.0 release Signed-off-by: Ferdinand Thiessen --- CHANGELOG.md | 15 +++++++++++++++ package-lock.json | 4 ++-- package.json | 4 ++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8b9d449..b6c00a84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. +## 2.2.0 - 2023-06-26 + +[Full Changelog](https://github.com/nextcloud/nextcloud-l10n/compare/v2.1.0...v2.2.0) + +### Added +- `isRTL` was added to check whether a given, or the current, language is read right-to-left [\#639](https://github.com/nextcloud/nextcloud-l10n/pull/639) ([susnux](https://github.com/susnux)) + +### Fixed +- Add typings to the package exports to fix build for Typescript projects using `node16` or `nodenext` module resolution [\#633](https://github.com/nextcloud/nextcloud-l10n/pull/633) ([susnux](https://github.com/susnux)) +- Update exported `NextcloudWindowWithRegistry` type for Nextcloud 27 [\#640](https://github.com/nextcloud/nextcloud-l10n/pull/640) ([susnux](https://github.com/susnux)) + +### Changed +- Update node engines to next LTS (Node 20 + NPM 9) +- Dependency updates + ## 2.1.0 - 2023-02-25 [Full Changelog](https://github.com/nextcloud/nextcloud-l10n/compare/v2.0.1...v2.1.0) diff --git a/package-lock.json b/package-lock.json index 0afcacd1..d5526612 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@nextcloud/l10n", - "version": "2.1.0", + "version": "2.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@nextcloud/l10n", - "version": "2.1.0", + "version": "2.2.0", "license": "GPL-3.0-or-later", "dependencies": { "@nextcloud/router": "^2.1.2", diff --git a/package.json b/package.json index 72c8fa6d..1e746422 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@nextcloud/l10n", - "version": "2.1.0", - "description": "", + "version": "2.2.0", + "description": "Nextcloud L10n helpers for apps and libraries", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": {