contentful-management 11.63.1 → 11.63.2-update-pipeline-scripts.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/dist/contentful-management.browser.js +1 -1
- package/dist/contentful-management.browser.js.map +1 -1
- package/dist/contentful-management.browser.min.js +1 -1
- package/dist/contentful-management.node.js +1 -1
- package/dist/contentful-management.node.js.map +1 -1
- package/dist/contentful-management.node.min.js +1 -1
- package/dist/es-modules/contentful-management.js +1 -1
- package/package.json +24 -20
|
@@ -49,7 +49,7 @@ function createClient(params, opts = {}) {
|
|
|
49
49
|
const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
|
|
50
50
|
const userAgent = getUserAgentHeader(
|
|
51
51
|
// @ts-expect-error
|
|
52
|
-
`${sdkMain}/${"
|
|
52
|
+
`${sdkMain}/${"0.0.0-determined-by-semantic-release"}`, params.application, params.integration, params.feature);
|
|
53
53
|
const adapter = createAdapter(_objectSpread(_objectSpread({}, params), {}, {
|
|
54
54
|
userAgent
|
|
55
55
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-management",
|
|
3
|
-
"version": "11.63.1",
|
|
3
|
+
"version": "11.63.2-update-pipeline-scripts.1",
|
|
4
4
|
"description": "Client for Contentful's Content Management API",
|
|
5
5
|
"homepage": "https://www.contentful.com/developers/documentation/content-management-api/",
|
|
6
6
|
"main": "./dist/contentful-management.node.js",
|
|
@@ -26,40 +26,34 @@
|
|
|
26
26
|
"scripts": {
|
|
27
27
|
"clean": "rimraf dist",
|
|
28
28
|
"build": "npm run clean && npm run build:modules && npm run build:standalone && npm run build:types",
|
|
29
|
-
"postbuild": "npm run test:demo-projects",
|
|
30
29
|
"build:modules": "BABEL_ENV=modules babel --extensions \".ts\" --extensions \".js\" lib -d dist/es-modules/",
|
|
31
30
|
"build:standalone": "webpack && NODE_ENV=production webpack",
|
|
32
31
|
"build:standalone:log": "NODE_ENV=production WEBPACK_MODE=log webpack --json --profile --progress > webpack-build-log.json && webpack-bundle-analyzer webpack-build-log.json",
|
|
33
32
|
"build:types": "rimraf dist/typings && tsc --declaration --noEmit false --emitDeclarationOnly true --allowJs false",
|
|
34
33
|
"build:docs": "typedoc",
|
|
35
|
-
"docs:dev": "npm run build
|
|
34
|
+
"docs:dev": "npm run build:docs",
|
|
36
35
|
"docs:watch": "nodemon --exec npm run docs:dev -w lib typings",
|
|
37
36
|
"docs:publish": "npm run build:docs && ./node_modules/contentful-sdk-jsdoc/bin/publish-docs.sh contentful-management.js contentful-management",
|
|
38
|
-
"check-types": "tsc",
|
|
39
37
|
"lint": "eslint lib test",
|
|
40
|
-
"
|
|
41
|
-
"test": "npm run test:cover
|
|
42
|
-
"test:cover
|
|
43
|
-
"test:cover-integration": "npm run test:integration -- --coverage",
|
|
38
|
+
"lint:fix": "eslint lib test --fix",
|
|
39
|
+
"test": "npm run test:unit:cover && npm run test:types && npm run test:integration:cover && npm run test:size",
|
|
40
|
+
"test:unit:cover": "npm run test:unit -- --coverage",
|
|
44
41
|
"test:unit": "npx vitest --project unit --run",
|
|
45
42
|
"test:types": "npx vitest --project types --run",
|
|
46
43
|
"test:unit-watch": "npx vitest --project unit",
|
|
47
44
|
"test:integration": "npx vitest --project integration --run --no-file-parallelism",
|
|
45
|
+
"test:integration:cover": "npm run test:integration -- --coverage",
|
|
48
46
|
"test:integration-watch": "npx vitest --project integration --no-file-parallelism",
|
|
49
47
|
"test:browser": "npx playwright install && npx vitest --project browser-unit --run && npx vitest --project browser-integration --run",
|
|
50
48
|
"test:version": "grep -r \"0.0.0-determined-by-semantic-release\" ./dist > /dev/null && echo \"version 0.0.0-determined-by-semantic-release found in output\" && exit 1 || exit 0",
|
|
51
49
|
"test:size": "size-limit",
|
|
52
50
|
"test:demo-projects": "npm run test:demo-node && npm run test:demo-browser",
|
|
53
|
-
"test:demo-node": "
|
|
54
|
-
"test:demo-browser": "
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"prettier:check": "prettier --check '**/*.{jsx,js,ts,tsx}'",
|
|
51
|
+
"test:demo-node": "npm ci --prefix ./test/output-integration/node && npm run test --prefix ./test/output-integration/node",
|
|
52
|
+
"test:demo-browser": "npm ci --prefix ./test/output-integration/browser && npm run setup-test-env --prefix ./test/output-integration/browser && npm run test --prefix ./test/output-integration/browser",
|
|
53
|
+
"format:fix": "npm run format:check -- --write",
|
|
54
|
+
"format:check": "prettier --check '**/*.{jsx,js,ts,tsx}'",
|
|
58
55
|
"semantic-release": "semantic-release",
|
|
59
|
-
"
|
|
60
|
-
"postpublish": "if [ \"$(git rev-parse --abbrev-ref HEAD)\" = master ] ; then npm run docs:publish && npm run clean ; else exit 0 ; fi",
|
|
61
|
-
"prepush": "npm run test:prepush",
|
|
62
|
-
"prepublishOnly": "npm run build && npm run test:version"
|
|
56
|
+
"prepare": "husky"
|
|
63
57
|
},
|
|
64
58
|
"files": [
|
|
65
59
|
"dist",
|
|
@@ -110,7 +104,7 @@
|
|
|
110
104
|
"playwright": "^1.49.0",
|
|
111
105
|
"prettier": "^3.6.2",
|
|
112
106
|
"rimraf": "^5.0.0",
|
|
113
|
-
"semantic-release": "^
|
|
107
|
+
"semantic-release": "^25.0.2",
|
|
114
108
|
"size-limit": "^11.1.6",
|
|
115
109
|
"type-fest": "^4.18.3",
|
|
116
110
|
"typedoc": "^0.26.2",
|
|
@@ -127,9 +121,9 @@
|
|
|
127
121
|
}
|
|
128
122
|
},
|
|
129
123
|
"lint-staged": {
|
|
130
|
-
"
|
|
124
|
+
"./{lib,test}/*.{js,ts}": [
|
|
131
125
|
"prettier --write",
|
|
132
|
-
"eslint"
|
|
126
|
+
"eslint --fix"
|
|
133
127
|
],
|
|
134
128
|
"*.md": [
|
|
135
129
|
"prettier --write"
|
|
@@ -146,6 +140,16 @@
|
|
|
146
140
|
{
|
|
147
141
|
"name": "canary",
|
|
148
142
|
"prerelease": true
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "dev",
|
|
146
|
+
"channel": "dev",
|
|
147
|
+
"prerelease": true
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "update-pipeline-scripts",
|
|
151
|
+
"channel": "dev",
|
|
152
|
+
"prerelease": true
|
|
149
153
|
}
|
|
150
154
|
],
|
|
151
155
|
"plugins": [
|