Skip to content

Commit 000d17e

Browse files
authored
Merge branch 'master' into me/content-item-get-by-delivery-key
2 parents cc5f7f1 + cab8f0b commit 000d17e

41 files changed

Lines changed: 6015 additions & 6773 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/app.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node: [16, 18, 20]
11+
node: [18, 20, 22]
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

16-
- uses: actions/setup-node@v3
16+
- uses: actions/setup-node@v4
1717
with:
1818
cache: 'npm'
1919
node-version: ${{ matrix.node }}
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
CI: true
2929

30-
- if: matrix.node == '18'
30+
- if: matrix.node == '22'
3131
continue-on-error: true
3232
name: Coveralls GitHub Action
3333
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 #v2.2.3

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: GoogleCloudPlatform/release-please-action@v3
17+
- uses: googleapis/release-please-action@v4
1818
id: release
1919
with:
2020
token: ${{ secrets.GH_REPO_ACCESS }}
2121
release-type: node
22-
package-name: dc-management-sdk-js
2322

24-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2524
if: ${{ steps.release.outputs.release_created }}
2625

27-
- uses: actions/setup-node@v3
26+
- uses: actions/setup-node@v4
2827
if: ${{ steps.release.outputs.release_created }}
2928
with:
3029
cache: 'npm'

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ coverage
1313
.nyc_output
1414
*.log
1515
dc-management-sdk-js.iml
16+
*.iml

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
22

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{".":"3.0.3"}

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,45 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [3.0.3](https://github.com/amplience/dc-management-sdk-js/compare/v3.0.2...v3.0.3) (2025-05-06)
6+
7+
8+
### Bug Fixes
9+
10+
* fixing module version in tsconfig for backward compatibility issue with typescript upgrade ([#170](https://github.com/amplience/dc-management-sdk-js/issues/170)) ([8be5d96](https://github.com/amplience/dc-management-sdk-js/commit/8be5d96c303fa647da60abe6576793c4ae8cbde8))
11+
12+
## [3.0.2](https://github.com/amplience/dc-management-sdk-js/compare/v3.0.1...v3.0.2) (2025-04-29)
13+
14+
15+
### Bug Fixes
16+
17+
* copyright version ([#168](https://github.com/amplience/dc-management-sdk-js/issues/168)) ([f0a1656](https://github.com/amplience/dc-management-sdk-js/commit/f0a1656a6ab0b8de50ca35095d44f15ed8e81dff))
18+
19+
## [3.0.1](https://github.com/amplience/dc-management-sdk-js/compare/v3.0.0...v3.0.1) (2025-04-29)
20+
21+
22+
### Bug Fixes
23+
24+
* updating typedoc to version that supports typescript 5.8 ([#166](https://github.com/amplience/dc-management-sdk-js/issues/166)) ([2d801b2](https://github.com/amplience/dc-management-sdk-js/commit/2d801b23b365756d90a0a687919247a0d9305755))
25+
26+
## [3.0.0](https://github.com/amplience/dc-management-sdk-js/compare/v2.1.0...v3.0.0) (2025-04-29)
27+
28+
29+
### ⚠ BREAKING CHANGES
30+
31+
* node axios and package updates ([#164](https://github.com/amplience/dc-management-sdk-js/issues/164))
32+
33+
### Features
34+
35+
* node axios and package updates ([#164](https://github.com/amplience/dc-management-sdk-js/issues/164)) ([9301507](https://github.com/amplience/dc-management-sdk-js/commit/93015071260720cd0f4a4373b773d2f581e74739))
36+
37+
## [2.1.0](https://github.com/amplience/dc-management-sdk-js/compare/v2.0.0...v2.1.0) (2025-03-19)
38+
39+
40+
### Features
41+
42+
* add 'ignore validation' support ([#160](https://github.com/amplience/dc-management-sdk-js/issues/160)) ([4b3ea4a](https://github.com/amplience/dc-management-sdk-js/commit/4b3ea4af1dd90c75285def060103adbf4cb86770))
43+
544
## [2.0.0](https://github.com/amplience/dc-management-sdk-js/compare/v1.20.0...v2.0.0) (2024-02-07)
645

746

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ Create a client using a PAT
6262

6363
```typescript
6464
const client = new DynamicContent({
65-
patToken: process.env.PAT
65+
patToken: process.env.PAT,
6666
});
6767
```
6868

6969
OR
7070

7171
```javascript
7272
var client = new dc.DynamicContent({
73-
patToken: process.env.PAT
73+
patToken: process.env.PAT,
7474
});
7575
```
7676

@@ -173,7 +173,7 @@ If you need help using the sdk please reach out using one of the following chann
173173

174174
This software is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
175175

176-
Copyright 2018 Amplience
176+
Copyright 2025 Amplience
177177

178178
Licensed under the Apache License, Version 2.0 (the "License");
179179
you may not use this file except in compliance with the License.

dc-management-sdk-js.iml

Lines changed: 0 additions & 20 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
import { defineConfig } from 'eslint/config';
2+
import typescriptEslintEslintPlugin from '@typescript-eslint/eslint-plugin';
3+
import unusedImports from 'eslint-plugin-unused-imports';
4+
import globals from 'globals';
5+
import tsParser from '@typescript-eslint/parser';
6+
import path from 'node:path';
7+
import { fileURLToPath } from 'node:url';
8+
import js from '@eslint/js';
9+
import { FlatCompat } from '@eslint/eslintrc';
10+
11+
const __filename = fileURLToPath(import.meta.url);
12+
const __dirname = path.dirname(__filename);
13+
const compat = new FlatCompat({
14+
baseDirectory: __dirname,
15+
recommendedConfig: js.configs.recommended,
16+
allConfig: js.configs.all,
17+
});
18+
19+
export default defineConfig([
20+
{
21+
extends: compat.extends(
22+
'plugin:@typescript-eslint/eslint-recommended',
23+
'plugin:@typescript-eslint/recommended',
24+
'prettier',
25+
'prettier/@typescript-eslint'
26+
),
27+
28+
plugins: {
29+
'@typescript-eslint': typescriptEslintEslintPlugin,
30+
'unused-imports': unusedImports,
31+
},
32+
33+
languageOptions: {
34+
globals: {
35+
...globals.node,
36+
...globals.jest,
37+
},
38+
39+
parser: tsParser,
40+
},
41+
42+
rules: {
43+
'@typescript-eslint/no-parameter-properties': 'off',
44+
'@typescript-eslint/interface-name-prefix': 'off',
45+
'@typescript-eslint/explicit-function-return-type': 'off',
46+
'@typescript-eslint/no-explicit-any': 'off',
47+
'@typescript-eslint/no-empty-function': 'off',
48+
'@typescript-eslint/no-unused-vars': 'off',
49+
'unused-imports/no-unused-imports': 2,
50+
'unused-imports/no-unused-vars': 1,
51+
},
52+
},
53+
]);

0 commit comments

Comments
 (0)