Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nextcloud-libraries/nextcloud-dialogs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.1
Choose a base ref
...
head repository: nextcloud-libraries/nextcloud-dialogs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.0
Choose a head ref

Commits on Feb 17, 2023

  1. Translate /l10n/messages.pot in sr

    translation completed updated for the source file '/l10n/messages.pot'
    on the 'sr' language.
    transifex-integration[bot] authored Feb 17, 2023
    Copy the full SHA
    a9fc2ba View commit details
  2. Copy the full SHA
    fcf31e7 View commit details

Commits on Feb 18, 2023

  1. Bump core-js from 3.27.2 to 3.28.0

    Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.27.2 to 3.28.0.
    - [Release notes](https://github.com/zloirock/core-js/releases)
    - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/zloirock/core-js/commits/v3.28.0/packages/core-js)
    
    ---
    updated-dependencies:
    - dependency-name: core-js
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 18, 2023
    Copy the full SHA
    fb412c1 View commit details
  2. Bump typedoc from 0.23.24 to 0.23.25

    Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.23.24 to 0.23.25.
    - [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
    - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
    - [Commits](TypeStrong/typedoc@v0.23.24...v0.23.25)
    
    ---
    updated-dependencies:
    - dependency-name: typedoc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 18, 2023
    Copy the full SHA
    6ffd66e View commit details
  3. Copy the full SHA
    c7ab8cd View commit details
  4. Bump sass from 1.58.0 to 1.58.3

    Bumps [sass](https://github.com/sass/dart-sass) from 1.58.0 to 1.58.3.
    - [Release notes](https://github.com/sass/dart-sass/releases)
    - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
    - [Commits](sass/dart-sass@1.58.0...1.58.3)
    
    ---
    updated-dependencies:
    - dependency-name: sass
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 18, 2023
    Copy the full SHA
    1e9cc51 View commit details
  5. Copy the full SHA
    c352a53 View commit details
  6. Bump rollup from 3.15.0 to 3.16.0

    Bumps [rollup](https://github.com/rollup/rollup) from 3.15.0 to 3.16.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v3.15.0...v3.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 18, 2023
    Copy the full SHA
    e9fde1a View commit details
  7. Copy the full SHA
    5d02a4a View commit details
  8. Copy the full SHA
    e072d28 View commit details

Commits on Feb 25, 2023

  1. Bump @babel/core from 7.20.12 to 7.21.0

    Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.12 to 7.21.0.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.21.0/packages/babel-core)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/core"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 25, 2023
    Copy the full SHA
    12ebdde View commit details
  2. Bump rollup from 3.16.0 to 3.17.2

    Bumps [rollup](https://github.com/rollup/rollup) from 3.16.0 to 3.17.2.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v3.16.0...v3.17.2)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 25, 2023
    Copy the full SHA
    c5f68a3 View commit details
  3. Copy the full SHA
    917f4ec View commit details
  4. Copy the full SHA
    c595bc7 View commit details
  5. Bump @babel/preset-typescript from 7.18.6 to 7.21.0

    Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.18.6 to 7.21.0.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.21.0/packages/babel-preset-typescript)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/preset-typescript"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 25, 2023
    Copy the full SHA
    852ec9a View commit details
  6. Bump @babel/cli from 7.20.7 to 7.21.0

    Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.20.7 to 7.21.0.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.21.0/packages/babel-cli)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/cli"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 25, 2023
    Copy the full SHA
    dbbac84 View commit details
  7. Bump @nextcloud/l10n from 1.6.0 to 2.1.0

    Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.6.0 to 2.1.0.
    - [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases)
    - [Changelog](https://github.com/nextcloud/nextcloud-l10n/blob/master/CHANGELOG.md)
    - [Commits](nextcloud-libraries/nextcloud-l10n@v1.6.0...v2.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: "@nextcloud/l10n"
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Feb 25, 2023
    Copy the full SHA
    b464574 View commit details
  8. Merge pull request #769 from nextcloud/dependabot/npm_and_yarn/babel/…

    …preset-typescript-7.21.0
    dependabot[bot] authored Feb 25, 2023
    Copy the full SHA
    220de78 View commit details
  9. Copy the full SHA
    72422ce View commit details

Commits on Mar 4, 2023

  1. Bump core-js from 3.28.0 to 3.29.0

    Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.28.0 to 3.29.0.
    - [Release notes](https://github.com/zloirock/core-js/releases)
    - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/zloirock/core-js/commits/v3.29.0/packages/core-js)
    
    ---
    updated-dependencies:
    - dependency-name: core-js
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 4, 2023
    Copy the full SHA
    968e458 View commit details
  2. Copy the full SHA
    4f47ea1 View commit details
  3. Bump typedoc from 0.23.25 to 0.23.26

    Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.23.25 to 0.23.26.
    - [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
    - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
    - [Commits](TypeStrong/typedoc@v0.23.25...v0.23.26)
    
    ---
    updated-dependencies:
    - dependency-name: typedoc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 4, 2023
    Copy the full SHA
    68088dd View commit details
  4. Bump rollup from 3.17.2 to 3.18.0

    Bumps [rollup](https://github.com/rollup/rollup) from 3.17.2 to 3.18.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v3.17.2...v3.18.0)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 4, 2023
    Copy the full SHA
    dbff195 View commit details
  5. Copy the full SHA
    1685867 View commit details
  6. Copy the full SHA
    ade3bb6 View commit details

Commits on Mar 11, 2023

  1. Bump rollup from 3.18.0 to 3.19.1

    Bumps [rollup](https://github.com/rollup/rollup) from 3.18.0 to 3.19.1.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v3.18.0...v3.19.1)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 11, 2023
    Copy the full SHA
    60332c8 View commit details
  2. Copy the full SHA
    d10a8cc View commit details
  3. Bump sass from 1.58.3 to 1.59.2

    Bumps [sass](https://github.com/sass/dart-sass) from 1.58.3 to 1.59.2.
    - [Release notes](https://github.com/sass/dart-sass/releases)
    - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
    - [Commits](sass/dart-sass@1.58.3...1.59.2)
    
    ---
    updated-dependencies:
    - dependency-name: sass
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 11, 2023
    Copy the full SHA
    da13d67 View commit details
  4. Copy the full SHA
    33cbe63 View commit details

Commits on Mar 18, 2023

  1. Bump @babel/core from 7.21.0 to 7.21.3

    Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.0 to 7.21.3.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.21.3/packages/babel-core)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/core"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 18, 2023
    Copy the full SHA
    0623c69 View commit details
  2. Copy the full SHA
    de5f03a View commit details
  3. Bump gettext-extractor from 3.6.2 to 3.7.0

    Bumps [gettext-extractor](https://github.com/lukasgeiter/gettext-extractor) from 3.6.2 to 3.7.0.
    - [Release notes](https://github.com/lukasgeiter/gettext-extractor/releases)
    - [Commits](lukasgeiter/gettext-extractor@v3.6.2...v3.7.0)
    
    ---
    updated-dependencies:
    - dependency-name: gettext-extractor
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 18, 2023
    Copy the full SHA
    aaf180a View commit details
  4. Bump sass from 1.59.2 to 1.59.3

    Bumps [sass](https://github.com/sass/dart-sass) from 1.59.2 to 1.59.3.
    - [Release notes](https://github.com/sass/dart-sass/releases)
    - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
    - [Commits](sass/dart-sass@1.59.2...1.59.3)
    
    ---
    updated-dependencies:
    - dependency-name: sass
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 18, 2023
    Copy the full SHA
    4d10689 View commit details
  5. Bump core-js from 3.29.0 to 3.29.1

    Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.29.0 to 3.29.1.
    - [Release notes](https://github.com/zloirock/core-js/releases)
    - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/zloirock/core-js/commits/v3.29.1/packages/core-js)
    
    ---
    updated-dependencies:
    - dependency-name: core-js
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 18, 2023
    Copy the full SHA
    5e11678 View commit details
  6. Bump typedoc from 0.23.26 to 0.23.27

    Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.23.26 to 0.23.27.
    - [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
    - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
    - [Commits](TypeStrong/typedoc@v0.23.26...v0.23.27)
    
    ---
    updated-dependencies:
    - dependency-name: typedoc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 18, 2023
    Copy the full SHA
    197cc23 View commit details
  7. Copy the full SHA
    0e9a61e View commit details
  8. Copy the full SHA
    0f90f16 View commit details
  9. Copy the full SHA
    9be5bbe View commit details
  10. Copy the full SHA
    4643e3d View commit details

Commits on Mar 25, 2023

  1. build(deps-dev): Bump rollup from 3.19.1 to 3.20.2

    Bumps [rollup](https://github.com/rollup/rollup) from 3.19.1 to 3.20.2.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v3.19.1...v3.20.2)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 25, 2023
    Copy the full SHA
    c055740 View commit details
  2. build(deps-dev): Bump sass from 1.59.3 to 1.60.0

    Bumps [sass](https://github.com/sass/dart-sass) from 1.59.3 to 1.60.0.
    - [Release notes](https://github.com/sass/dart-sass/releases)
    - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
    - [Commits](sass/dart-sass@1.59.3...1.60.0)
    
    ---
    updated-dependencies:
    - dependency-name: sass
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 25, 2023
    Copy the full SHA
    1ef2bba View commit details
  3. Copy the full SHA
    9adbb82 View commit details
  4. Copy the full SHA
    b1a6f9c View commit details
  5. build(deps-dev): Bump typedoc from 0.23.27 to 0.23.28

    Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.23.27 to 0.23.28.
    - [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
    - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
    - [Commits](TypeStrong/typedoc@v0.23.27...v0.23.28)
    
    ---
    updated-dependencies:
    - dependency-name: typedoc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 25, 2023
    Copy the full SHA
    506add7 View commit details
  6. Copy the full SHA
    0b27c1c View commit details

Commits on Apr 1, 2023

  1. build(deps-dev): Bump @babel/preset-typescript from 7.21.0 to 7.21.4

    Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.21.0 to 7.21.4.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.21.4/packages/babel-preset-typescript)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/preset-typescript"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 1, 2023
    Copy the full SHA
    cbe4dc7 View commit details
  2. Copy the full SHA
    ab031ed View commit details
  3. build(deps-dev): Bump @babel/core from 7.21.3 to 7.21.4

    Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.3 to 7.21.4.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.21.4/packages/babel-core)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/core"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 1, 2023
    Copy the full SHA
    f0f87b2 View commit details
  4. build(deps-dev): Bump @babel/preset-env from 7.20.2 to 7.21.4

    Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.20.2 to 7.21.4.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.21.4/packages/babel-preset-env)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/preset-env"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 1, 2023
    Copy the full SHA
    a4a01fa View commit details
  5. Copy the full SHA
    e50676f View commit details
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -8,3 +8,4 @@ updates:
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
versioning-strategy: increase
8 changes: 4 additions & 4 deletions .github/workflows/dependabot-approve-merge.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ on:
permissions:
contents: read

concurrency:
concurrency:
group: dependabot-approve-merge-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

@@ -25,16 +25,16 @@ jobs:
runs-on: ubuntu-latest
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
pull-requests: write

steps:
# Github actions bot approve
- uses: hmarr/auto-approve-action@v2
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@v2
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
13 changes: 10 additions & 3 deletions .github/workflows/l10n.yml
Original file line number Diff line number Diff line change
@@ -9,10 +9,17 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Set up Node
uses: actions/setup-node@v1
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: versions
with:
node-version: 12.x
fallbackNode: '^16'
fallbackNpm: '^7'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: npm install
run: npm ci
27 changes: 21 additions & 6 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -7,6 +7,16 @@ name: Node

on:
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
@@ -16,24 +26,28 @@ on:
permissions:
contents: read

concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

name: node
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.2
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

@@ -47,10 +61,11 @@ jobs:
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || exit 1"
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
- name: Show changes on failure
if: failure()
run: |
git status
git --no-pager diff
exit 1 # make it red to grab attention
71 changes: 71 additions & 0 deletions .github/workflows/npm-audit-fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Npm audit fix and compile

on:
workflow_dispatch:
schedule:
# At 2:30 on Sundays
- cron: '30 2 * * 0'

jobs:
build:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
branches: ["main", "master", "stable27", "stable26", "stable25", "stable24"]

name: npm-audit-fix-${{ matrix.branches }}

steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
ref: ${{ matrix.branches }}

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^9'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"

- name: Fix npm audit
run: |
npm audit fix
- name: Run npm ci and npm run build
if: always()
run: |
npm ci
npm run build --if-present
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # v5
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "chore(deps): fix npm audit"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-fix-npm-audit
title: "[${{ matrix.branches }}] Fix npm audit"
body: |
Auto-generated fix of npm audit
labels: |
dependencies
3. to review
15 changes: 9 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -9,29 +9,32 @@ on:
release:
types: [published]

permissions:
contents: read

jobs:
publish:
runs-on: ubuntu-latest

name: Build and publish to npm
steps:
- name: Check actor permission level
uses: skjnldsv/check-actor-permission@v2
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1
with:
require: admin

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,19 @@

All notable changes to this project will be documented in this file.

## v4.1.0 (2023-06-23)

### :bug: Fixed bugs

- Make sure Typescript projects with `node16` module resolution can import the package [\#845](https://github.com/nextcloud/nextcloud-dialogs/pull/845) ([@susnux](https://github.com/susnux))
- Ensure all package dependencies are external [\#843](https://github.com/nextcloud/nextcloud-dialogs/pull/843) ([@susnux](https://github.com/susnux))

### Changed

- Update Node engines to next LTS (version 20)
- Translation updates
- Dependency updates

## v4.0.1 (2023-02-16)

#### :rocket: Enhancement
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ export default {
"@babel/env",
{
useBuiltIns: "usage",
corejs: "3.0.0",
corejs: "3",
},
],
],
6 changes: 3 additions & 3 deletions l10n/sr.pot
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#
# Translators:
# aleksandar jevtic, 2022
# Иван Пешић, 2023
#
msgid ""
msgstr ""
"Last-Translator: aleksandar jevtic, 2022\n"
"Last-Translator: Иван Пешић, 2023\n"
"Language-Team: Serbian (https://www.transifex.com/nextcloud/teams/64236/sr/)\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Language: sr\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#: lib/toast.ts:223
msgid "Undo"
msgstr "Poništi"
msgstr "Поништи"
2 changes: 1 addition & 1 deletion lib/filepicker.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="@nextcloud/typings" />

declare const OC: Nextcloud.v23.OC | Nextcloud.v24.OC;
declare const OC: Nextcloud.v25.OC | Nextcloud.v26.OC | Nextcloud.v27.OC;

export enum FilePickerType {
Choose = 1,
8 changes: 4 additions & 4 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { FilePicker, FilePickerType, FilePickerBuilder, getFilePickerBuilder } from './filepicker'
export { TOAST_UNDO_TIMEOUT, TOAST_DEFAULT_TIMEOUT, TOAST_PERMANENT_TIMEOUT } from './toast'
export { TOAST_ARIA_LIVE_OFF, TOAST_ARIA_LIVE_POLITE, TOAST_ARIA_LIVE_ASSERTIVE } from './toast'
export { showMessage, showSuccess, showWarning, showInfo, showError, showUndo } from './toast'
export { FilePicker, FilePickerType, FilePickerBuilder, getFilePickerBuilder } from './filepicker.js'
export { TOAST_UNDO_TIMEOUT, TOAST_DEFAULT_TIMEOUT, TOAST_PERMANENT_TIMEOUT } from './toast.js'
export { TOAST_ARIA_LIVE_OFF, TOAST_ARIA_LIVE_POLITE, TOAST_ARIA_LIVE_ASSERTIVE } from './toast.js'
export { showMessage, showSuccess, showWarning, showInfo, showError, showUndo } from './toast.js'
2 changes: 1 addition & 1 deletion lib/l10n.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getGettextBuilder } from '@nextcloud/l10n/dist/gettext'
import { getGettextBuilder } from '@nextcloud/l10n/gettext'

const gtBuilder = getGettextBuilder()
.detectLocale()
Loading