@strapi/strapi 5.50.1 → 5.50.2
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/dist/cli/commands/export/action.d.ts.map +1 -1
- package/dist/cli/commands/import/action.d.ts.map +1 -1
- package/dist/cli/commands/transfer/action.d.ts.map +1 -1
- package/dist/cli/utils/commander.d.ts +1 -1
- package/dist/cli/utils/commander.d.ts.map +1 -1
- package/dist/cli/utils/data-transfer.d.ts +2 -1
- package/dist/cli/utils/data-transfer.d.ts.map +1 -1
- package/dist/node/core/admin-vite-alias-modules.d.ts +3 -3
- package/dist/node/core/admin-vite-alias-modules.d.ts.map +1 -1
- package/dist/node/core/admin-vite-optimize-exclude.d.ts +38 -0
- package/dist/node/core/admin-vite-optimize-exclude.d.ts.map +1 -0
- package/dist/node/create-build-context.d.ts.map +1 -1
- package/dist/node/vite/build.d.ts.map +1 -1
- package/dist/node/vite/config.d.ts.map +1 -1
- package/dist/node/vite/watch.d.ts.map +1 -1
- package/dist/package.json.js +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/cli/commands/export/action.js +4 -0
- package/dist/src/cli/commands/export/action.js.map +1 -1
- package/dist/src/cli/commands/export/action.mjs +5 -1
- package/dist/src/cli/commands/export/action.mjs.map +1 -1
- package/dist/src/cli/commands/import/action.js +4 -0
- package/dist/src/cli/commands/import/action.js.map +1 -1
- package/dist/src/cli/commands/import/action.mjs +5 -1
- package/dist/src/cli/commands/import/action.mjs.map +1 -1
- package/dist/src/cli/commands/transfer/action.js +4 -0
- package/dist/src/cli/commands/transfer/action.js.map +1 -1
- package/dist/src/cli/commands/transfer/action.mjs +5 -1
- package/dist/src/cli/commands/transfer/action.mjs.map +1 -1
- package/dist/src/cli/utils/data-transfer.js +26 -2
- package/dist/src/cli/utils/data-transfer.js.map +1 -1
- package/dist/src/cli/utils/data-transfer.mjs +26 -3
- package/dist/src/cli/utils/data-transfer.mjs.map +1 -1
- package/dist/src/node/core/admin-vite-alias-modules.js +3 -1
- package/dist/src/node/core/admin-vite-alias-modules.js.map +1 -1
- package/dist/src/node/core/admin-vite-alias-modules.mjs +3 -1
- package/dist/src/node/core/admin-vite-alias-modules.mjs.map +1 -1
- package/dist/src/node/core/admin-vite-optimize-exclude.js +158 -0
- package/dist/src/node/core/admin-vite-optimize-exclude.js.map +1 -0
- package/dist/src/node/core/admin-vite-optimize-exclude.mjs +145 -0
- package/dist/src/node/core/admin-vite-optimize-exclude.mjs.map +1 -0
- package/dist/src/node/create-build-context.js +3 -0
- package/dist/src/node/create-build-context.js.map +1 -1
- package/dist/src/node/create-build-context.mjs +3 -0
- package/dist/src/node/create-build-context.mjs.map +1 -1
- package/dist/src/node/vite/build.js +3 -0
- package/dist/src/node/vite/build.js.map +1 -1
- package/dist/src/node/vite/build.mjs +3 -0
- package/dist/src/node/vite/build.mjs.map +1 -1
- package/dist/src/node/vite/config.js +23 -15
- package/dist/src/node/vite/config.js.map +1 -1
- package/dist/src/node/vite/config.mjs +22 -10
- package/dist/src/node/vite/config.mjs.map +1 -1
- package/dist/src/node/vite/watch.js +3 -0
- package/dist/src/node/vite/watch.js.map +1 -1
- package/dist/src/node/vite/watch.mjs +3 -0
- package/dist/src/node/vite/watch.mjs.map +1 -1
- package/package.json +25 -24
- package/dist/cli/commands/plugin/init/files/typescript.d.ts +0 -22
- package/dist/cli/commands/plugin/init/files/typescript.d.ts.map +0 -1
- package/dist/test/mocks/inquirer.d.ts +0 -10
- package/dist/test/mocks/inquirer.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/strapi",
|
|
3
|
-
"version": "5.50.
|
|
3
|
+
"version": "5.50.2",
|
|
4
4
|
"description": "An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|
|
@@ -102,32 +102,33 @@
|
|
|
102
102
|
"build:code": "run -T rollup -c",
|
|
103
103
|
"build:types": "run -T tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
104
104
|
"clean": "run -T rimraf ./dist",
|
|
105
|
-
"lint": "run -T eslint .",
|
|
105
|
+
"lint": "run -T eslint . --max-warnings=0",
|
|
106
|
+
"test:ts": "run -T tsc -p tsconfig.json",
|
|
106
107
|
"test:unit": "run -T jest",
|
|
107
108
|
"test:unit:watch": "run -T jest --watch",
|
|
108
109
|
"watch": "run -T rollup -c -w"
|
|
109
110
|
},
|
|
110
111
|
"dependencies": {
|
|
111
112
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.17",
|
|
112
|
-
"@strapi/admin": "5.50.
|
|
113
|
-
"@strapi/cloud-cli": "5.50.
|
|
114
|
-
"@strapi/content-manager": "5.50.
|
|
115
|
-
"@strapi/content-releases": "5.50.
|
|
116
|
-
"@strapi/content-type-builder": "5.50.
|
|
117
|
-
"@strapi/core": "5.50.
|
|
118
|
-
"@strapi/data-transfer": "5.50.
|
|
119
|
-
"@strapi/database": "5.50.
|
|
120
|
-
"@strapi/email": "5.50.
|
|
121
|
-
"@strapi/generators": "5.50.
|
|
122
|
-
"@strapi/i18n": "5.50.
|
|
123
|
-
"@strapi/logger": "5.50.
|
|
124
|
-
"@strapi/openapi": "5.50.
|
|
125
|
-
"@strapi/permissions": "5.50.
|
|
126
|
-
"@strapi/review-workflows": "5.50.
|
|
127
|
-
"@strapi/types": "5.50.
|
|
128
|
-
"@strapi/typescript-utils": "5.50.
|
|
129
|
-
"@strapi/upload": "5.50.
|
|
130
|
-
"@strapi/utils": "5.50.
|
|
113
|
+
"@strapi/admin": "5.50.2",
|
|
114
|
+
"@strapi/cloud-cli": "5.50.2",
|
|
115
|
+
"@strapi/content-manager": "5.50.2",
|
|
116
|
+
"@strapi/content-releases": "5.50.2",
|
|
117
|
+
"@strapi/content-type-builder": "5.50.2",
|
|
118
|
+
"@strapi/core": "5.50.2",
|
|
119
|
+
"@strapi/data-transfer": "5.50.2",
|
|
120
|
+
"@strapi/database": "5.50.2",
|
|
121
|
+
"@strapi/email": "5.50.2",
|
|
122
|
+
"@strapi/generators": "5.50.2",
|
|
123
|
+
"@strapi/i18n": "5.50.2",
|
|
124
|
+
"@strapi/logger": "5.50.2",
|
|
125
|
+
"@strapi/openapi": "5.50.2",
|
|
126
|
+
"@strapi/permissions": "5.50.2",
|
|
127
|
+
"@strapi/review-workflows": "5.50.2",
|
|
128
|
+
"@strapi/types": "5.50.2",
|
|
129
|
+
"@strapi/typescript-utils": "5.50.2",
|
|
130
|
+
"@strapi/upload": "5.50.2",
|
|
131
|
+
"@strapi/utils": "5.50.2",
|
|
131
132
|
"@types/nodemon": "1.19.6",
|
|
132
133
|
"@vitejs/plugin-react-swc": "3.11.0",
|
|
133
134
|
"boxen": "5.1.2",
|
|
@@ -142,7 +143,7 @@
|
|
|
142
143
|
"concurrently": "8.2.2",
|
|
143
144
|
"css-loader": "6.11.0",
|
|
144
145
|
"dotenv": "16.6.1",
|
|
145
|
-
"esbuild-loader": "4.
|
|
146
|
+
"esbuild-loader": "4.5.0",
|
|
146
147
|
"esbuild-register": "3.6.0",
|
|
147
148
|
"execa": "5.1.1",
|
|
148
149
|
"fork-ts-checker-webpack-plugin": "8.0.0",
|
|
@@ -179,11 +180,11 @@
|
|
|
179
180
|
"@types/node": "20.19.41",
|
|
180
181
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
181
182
|
"@types/webpack-hot-middleware": "2.25.12",
|
|
182
|
-
"eslint-config-custom": "5.50.
|
|
183
|
+
"eslint-config-custom": "5.50.2",
|
|
183
184
|
"jest": "29.6.0",
|
|
184
185
|
"react": "18.3.1",
|
|
185
186
|
"react-dom": "18.3.1",
|
|
186
|
-
"tsconfig": "5.50.
|
|
187
|
+
"tsconfig": "5.50.2",
|
|
187
188
|
"yalc": "1.0.0-pre.53"
|
|
188
189
|
},
|
|
189
190
|
"peerDependencies": {
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const ADMIN: {
|
|
2
|
-
tsconfigFile: {
|
|
3
|
-
name: string;
|
|
4
|
-
contents: string;
|
|
5
|
-
};
|
|
6
|
-
tsconfigBuildFile: {
|
|
7
|
-
name: string;
|
|
8
|
-
contents: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
declare const SERVER: {
|
|
12
|
-
tsconfigFile: {
|
|
13
|
-
name: string;
|
|
14
|
-
contents: string;
|
|
15
|
-
};
|
|
16
|
-
tsconfigBuildFile: {
|
|
17
|
-
name: string;
|
|
18
|
-
contents: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export { ADMIN as adminTsconfigFiles, SERVER as serverTsconfigFiles };
|
|
22
|
-
//# sourceMappingURL=typescript.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../../src/cli/commands/plugin/init/files/typescript.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,KAAK;;;;;;;;;CA4CV,CAAC;AAEF,QAAA,MAAM,MAAM;;;;;;;;;CA0CX,CAAC;AAEF,OAAO,EAAE,KAAK,IAAI,kBAAkB,EAAE,MAAM,IAAI,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* inquirer v9+ is ESM-only; Jest resolves it here via moduleNameMapper in jest.config.js.
|
|
3
|
-
* Override per test with jest.spyOn(inquirer, 'prompt') or prompt.mockResolvedValue(...).
|
|
4
|
-
*/
|
|
5
|
-
export declare const prompt: jest.Mock<any, any, any>;
|
|
6
|
-
declare const _default: {
|
|
7
|
-
prompt: jest.Mock<any, any, any>;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=inquirer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inquirer.d.ts","sourceRoot":"","sources":["../../../src/test/mocks/inquirer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,MAAM,0BAAkC,CAAC;;;;AAEtD,wBAEE"}
|