Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/next' into feat/new…
Browse files Browse the repository at this point in the history
…-admin-ui

# Conflicts:
#	packages/app-aco/src/dialogs/DialogSetPermissions/UsersTeamsSelection/ListItemMeta.tsx
#	packages/serverless-cms-aws/package.json
#	yarn.lock
  • Loading branch information
adrians5j committed Jan 10, 2025
2 parents f2f352e + ebf90f6 commit 29b4e05
Show file tree
Hide file tree
Showing 427 changed files with 8,036 additions and 2,654 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
**/*.d.ts
idea.js
scripts/**/*.js
packages/create-webiny-project/utils/binaries/**
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ packages/admin-ui/scripts/importFromFigma/exports/Alias tokens.json
lerna.json
coverage/**
packages/cli/files/**/*.json
packages/create-webiny-project/utils/binaries/**
574 changes: 287 additions & 287 deletions .yarn/releases/yarn-4.5.3.cjs → .yarn/releases/yarn-4.6.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ packageExtensions:
peerDependencies:
react-dom: ^16.14.0

yarnPath: .yarn/releases/yarn-4.5.3.cjs
yarnPath: .yarn/releases/yarn-4.6.0.cjs
16 changes: 8 additions & 8 deletions apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@editorjs/delimiter": "^1.2.0",
"@editorjs/list": "^1.6.0",
"@editorjs/quote": "^2.4.0",
"@editorjs/underline": "^1.0.0",
"@editorjs/delimiter": "^1.3.0",
"@editorjs/list": "^1.8.0",
"@editorjs/quote": "^2.5.0",
"@editorjs/underline": "^1.1.0",
"@types/react": "18.2.79",
"@webiny/app-admin": "0.0.0",
"@webiny/app-admin-users-cognito": "0.0.0",
Expand All @@ -18,12 +18,12 @@
"@webiny/plugins": "0.0.0",
"@webiny/react-properties": "0.0.0",
"@webiny/serverless-cms-aws": "0.0.0",
"core-js": "^3.0.1",
"cross-fetch": "^3.0.4",
"prop-types": "^15.7.2",
"core-js": "3.39.0",
"cross-fetch": "^3.1.5",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"regenerator-runtime": "^0.13.5",
"regenerator-runtime": "^0.13.11",
"theme": "^1.0.0",
"tslib": "^2.8.1"
},
Expand Down
1 change: 1 addition & 0 deletions apps/admin/src/Extensions.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file is automatically updated via scaffolding utilities.
// Learn more about extensions: https://webiny.link/extensions
import React from "react";

export const Extensions = () => {
Expand Down
7 changes: 0 additions & 7 deletions apps/admin/src/plugins/formBuilder/richTextEditor.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
/**
* Package @editorjs/* is missing types.
*/
// @ts-expect-error
import Delimiter from "@editorjs/delimiter";
// @ts-expect-error
import Quote from "@editorjs/quote";
// @ts-expect-error
import List from "@editorjs/list";
// @ts-expect-error
import Underline from "@editorjs/underline";
import Image from "@webiny/app-admin/components/RichTextEditor/tools/image";
import TextColor from "@webiny/app-admin/components/RichTextEditor/tools/textColor";
Expand Down
7 changes: 0 additions & 7 deletions apps/admin/src/plugins/headlessCMS/richTextEditor.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
/**
* Package @editorjs/* is missing types.
*/
// @ts-expect-error
import Delimiter from "@editorjs/delimiter";
// @ts-expect-error
import Quote from "@editorjs/quote";
// @ts-expect-error
import List from "@editorjs/list";
// @ts-expect-error
import Underline from "@editorjs/underline";
import Image from "@webiny/app-admin/components/RichTextEditor/tools/image";
import TextColor from "@webiny/app-admin/components/RichTextEditor/tools/textColor";
Expand Down
7 changes: 0 additions & 7 deletions apps/admin/src/plugins/pageBuilder/richTextEditor.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
/**
* Package @editorjs/* is missing types.
*/
// @ts-expect-error
import Delimiter from "@editorjs/delimiter";
// @ts-expect-error
import Quote from "@editorjs/quote";
// @ts-expect-error
import List from "@editorjs/list";
// @ts-expect-error
import Underline from "@editorjs/underline";
import Image from "@webiny/app-admin/components/RichTextEditor/tools/image";
import TextColor from "@webiny/app-admin/components/RichTextEditor/tools/textColor";
Expand Down
3 changes: 1 addition & 2 deletions apps/api/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,19 @@
"@webiny/api-headless-cms-ddb": "0.0.0",
"@webiny/api-headless-cms-tasks": "0.0.0",
"@webiny/api-i18n": "0.0.0",
"@webiny/api-i18n-content": "0.0.0",
"@webiny/api-i18n-ddb": "0.0.0",
"@webiny/api-log": "0.0.0",
"@webiny/api-page-builder": "0.0.0",
"@webiny/api-page-builder-aco": "0.0.0",
"@webiny/api-page-builder-import-export": "0.0.0",
"@webiny/api-page-builder-import-export-so-ddb": "0.0.0",
"@webiny/api-page-builder-so-ddb": "0.0.0",
"@webiny/api-prerendering-service": "0.0.0",
"@webiny/api-prerendering-service-aws": "0.0.0",
"@webiny/api-record-locking": "0.0.0",
"@webiny/api-security": "0.0.0",
"@webiny/api-security-cognito": "0.0.0",
"@webiny/api-security-so-ddb": "0.0.0",
"@webiny/api-serverless-cms": "0.0.0",
"@webiny/api-tenancy": "0.0.0",
"@webiny/api-tenancy-so-ddb": "0.0.0",
"@webiny/api-tenant-manager": "0.0.0",
Expand Down
1 change: 1 addition & 0 deletions apps/api/graphql/src/extensions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file is automatically updated via scaffolding utilities.
// Learn more about extensions: https://webiny.link/extensions
export const extensions = () => {
return [];
};
2 changes: 1 addition & 1 deletion apps/api/graphql/src/plugins/continuingTask.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createTaskDefinition } from "@webiny/tasks";
import { Context } from "../types";
import { Context } from "@webiny/api-serverless-cms";
import { ITaskResponseContinueOptions } from "@webiny/tasks/response/abstractions";

const MAX_RUNS = 5;
Expand Down
2 changes: 1 addition & 1 deletion apps/api/graphql/src/security.okta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import anonymousAuthorization from "@webiny/api-security/plugins/anonymousAuthor
import tenantLinkAuthorization from "@webiny/api-security/plugins/tenantLinkAuthorization";
import createAdminUsersApp from "@webiny/api-admin-users";
import { createStorageOperations as createAdminUsersStorageOperations } from "@webiny/api-admin-users-so-ddb";
import { Context } from "./types";
import { Context } from "@webiny/api-serverless-cms";

export default ({ documentClient }: { documentClient: DynamoDBDocument }) => [
/**
Expand Down
32 changes: 0 additions & 32 deletions apps/api/graphql/src/types.ts

This file was deleted.

19 changes: 11 additions & 8 deletions apps/api/graphql/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@
{
"path": "../../../packages/api-i18n/tsconfig.build.json"
},
{
"path": "../../../packages/api-i18n-content/tsconfig.build.json"
},
{
"path": "../../../packages/api-i18n-ddb/tsconfig.build.json"
},
Expand All @@ -75,7 +72,7 @@
"path": "../../../packages/api-page-builder-so-ddb/tsconfig.build.json"
},
{
"path": "../../../packages/api-prerendering-service/tsconfig.build.json"
"path": "../../../packages/api-prerendering-service-aws/tsconfig.build.json"
},
{
"path": "../../../packages/api-security/tsconfig.build.json"
Expand All @@ -86,6 +83,9 @@
{
"path": "../../../packages/api-security-so-ddb/tsconfig.build.json"
},
{
"path": "../../../packages/api-serverless-cms/tsconfig.build.json"
},
{
"path": "../../../packages/api-tenancy/tsconfig.build.json"
},
Expand Down Expand Up @@ -165,8 +165,6 @@
"@webiny/api-record-locking": ["../../../packages/api-record-locking/src"],
"@webiny/api-i18n/*": ["../../../packages/api-i18n/src/*"],
"@webiny/api-i18n": ["../../../packages/api-i18n/src"],
"@webiny/api-i18n-content/*": ["../../../packages/api-i18n-content/src/*"],
"@webiny/api-i18n-content": ["../../../packages/api-i18n-content/src"],
"@webiny/api-i18n-ddb/*": ["../../../packages/api-i18n-ddb/src/*"],
"@webiny/api-i18n-ddb": ["../../../packages/api-i18n-ddb/src"],
"@webiny/api-page-builder/*": ["../../../packages/api-page-builder/src/*"],
Expand All @@ -187,14 +185,19 @@
],
"@webiny/api-page-builder-so-ddb/*": ["../../../packages/api-page-builder-so-ddb/src/*"],
"@webiny/api-page-builder-so-ddb": ["../../../packages/api-page-builder-so-ddb/src"],
"@webiny/api-prerendering-service/*": ["../../../packages/api-prerendering-service/src/*"],
"@webiny/api-prerendering-service": ["../../../packages/api-prerendering-service/src"],
"@webiny/api-prerendering-service-aws/*": [
"../../../packages/api-prerendering-service-aws/src/*"
],
"@webiny/api-prerendering-service-aws": [
"../../../packages/api-prerendering-service-aws/src"
],
"@webiny/api-security/*": ["../../../packages/api-security/src/*"],
"@webiny/api-security": ["../../../packages/api-security/src"],
"@webiny/api-security-cognito/*": ["../../../packages/api-security-cognito/src/*"],
"@webiny/api-security-cognito": ["../../../packages/api-security-cognito/src"],
"@webiny/api-security-so-ddb/*": ["../../../packages/api-security-so-ddb/src/*"],
"@webiny/api-security-so-ddb": ["../../../packages/api-security-so-ddb/src"],
"@webiny/api-serverless-cms": ["../../../packages/api-serverless-cms/src"],
"@webiny/api-tenancy/*": ["../../../packages/api-tenancy/src/*"],
"@webiny/api-tenancy": ["../../../packages/api-tenancy/src"],
"@webiny/api-tenancy-so-ddb/*": ["../../../packages/api-tenancy-so-ddb/src/*"],
Expand Down
6 changes: 3 additions & 3 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"@webiny/serverless-cms-aws": "0.0.0",
"apollo-client": "^2.6.10",
"apollo-link": "^1.2.14",
"core-js": "^3.0.1",
"cross-fetch": "^3.0.4",
"core-js": "3.39.0",
"cross-fetch": "^3.1.5",
"graphql": "^15.9.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"regenerator-runtime": "^0.13.5",
"regenerator-runtime": "^0.13.11",
"theme": "^1.0.0"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions apps/website/src/Extensions.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This file is automatically updated via scaffolding utilities.
// Learn more about extensions: https://webiny.link/extensions
import React from "react";

export const Extensions = () => {
Expand Down
4 changes: 2 additions & 2 deletions extensions/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@apollo/react-hooks": "^3.1.5",
"@emotion/react": "11.10.8",
"@emotion/styled": "^11.10.6",
"@emotion/styled": "11.10.6",
"@webiny/app-form-builder": "0.0.0",
"@webiny/app-page-builder": "0.0.0",
"@webiny/app-page-builder-elements": "0.0.0",
Expand All @@ -18,7 +18,7 @@
"@webiny/validation": "0.0.0",
"graphql": "^15.9.0",
"react": "18.2.0",
"react-hamburger-menu": "^1.1.1"
"react-hamburger-menu": "1.2.1"
},
"devDependencies": {
"@types/react-hamburger-menu": "^0.0.4"
Expand Down
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"@types/prettier": "^2.7.3",
"@types/react": "18.2.79",
"@types/react-dom": "18.2.25",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"adio": "^1.0.1",
"axios": "^1.7.9",
"babel-jest": "29.7.0",
Expand All @@ -76,13 +76,13 @@
"env-ci": "2.0.1",
"eslint": "^8.57.1",
"eslint-config-standard": "^16.0.3",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0",
"eslint-import-resolver-babel-module": "^5.3.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-standard": "^5.0.0",
"execa": "^5.1.1",
"folder-hash": "^4.0.4",
Expand Down Expand Up @@ -118,7 +118,7 @@
"ts-node": "^10.9.2",
"typescript": "4.9.5",
"typescript-transform-paths": "^3.4.6",
"verdaccio": "^5.29.1",
"verdaccio": "^6.0.5",
"write-json-file": "^4.3.0",
"yargs": "^17.7.2"
},
Expand Down Expand Up @@ -243,7 +243,6 @@
"crypto-js": "^4.2.0",
"ip": "^2.0.1",
"tar": "^6.2.1",
"express": "^4.21.2",
"ejs": "^3.1.10",
"@grpc/grpc-js": "^1.11.1",
"postcss": "^8.4.35",
Expand All @@ -258,11 +257,11 @@
"apollo-link@^1.0.0": "patch:apollo-link@npm%3A1.2.14#./.yarn/patches/apollo-link-npm-1.2.14-74f0ba01f9.patch",
"@material/base@^14.0.0": "patch:@material/base@npm%3A14.0.0#./.yarn/patches/@material-base-npm-14.0.0-36e0a55c42.patch"
},
"packageManager": "yarn@4.5.3",
"packageManager": "yarn@4.6.0",
"dependencies": {
"@types/hoist-non-react-statics": "^3.3.5"
},
"engines": {
"node": ">=20.0.0 <23.0.0"
"node": ">=20.0.0"
}
}
16 changes: 11 additions & 5 deletions packages/api-audit-logs/src/utils/getAuditConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,17 @@ export const getAuditConfig = (audit: AuditAction) => {

// Check if there is delay on audit log creation for this action.
if (delay) {
return await createOrMergeAuditLog({
app,
payload: auditLogPayload,
delay
});
try {
return await createOrMergeAuditLog({
app,
payload: auditLogPayload,
delay
});
} catch {
// Don't care at this point!
} finally {
return JSON.stringify({});
}
}
return await createAuditLog({
app,
Expand Down
3 changes: 2 additions & 1 deletion packages/api-headless-cms-tasks-ddb-es/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"license": "MIT",
"dependencies": {
"@webiny/api-headless-cms-bulk-actions": "0.0.0",
"@webiny/api-headless-cms-import-export": "0.0.0"
"@webiny/api-headless-cms-import-export": "0.0.0",
"@webiny/api-headless-cms-tasks": "0.0.0"
},
"devDependencies": {
"@webiny/cli": "0.0.0",
Expand Down
16 changes: 10 additions & 6 deletions packages/api-headless-cms-tasks-ddb-es/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
createUnpublishEntry
} from "@webiny/api-headless-cms-bulk-actions";
import { createHeadlessCmsImportExport } from "@webiny/api-headless-cms-import-export";
import { createDeleteModelTask } from "@webiny/api-headless-cms-tasks";

const createEsBulkActionEntriesTasks = () => {
return [
Expand Down Expand Up @@ -56,9 +57,12 @@ const createEsBulkActionEntriesTasks = () => {
];
};

export const createHcmsTasks = () => [
createHcmsBulkActions(),
createEsBulkActionEntriesTasks(),
createEmptyTrashBinsTask(),
createHeadlessCmsImportExport()
];
export const createHcmsTasks = () => {
return [
createHcmsBulkActions(),
createEsBulkActionEntriesTasks(),
createEmptyTrashBinsTask(),
createHeadlessCmsImportExport(),
createDeleteModelTask()
];
};
Loading

0 comments on commit 29b4e05

Please sign in to comment.