@blaze-cms/nextjs-tools 0.127.0-project-admin-customisations.3 → 0.128.0-admin-updates.0

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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [0.127.0-project-admin-customisations.3](https://github.com/thebyte9/blaze/compare/v0.127.0-project-admin-customisations.2...v0.127.0-project-admin-customisations.3) (2023-01-27)
6
+ # [0.128.0-admin-updates.0](https://github.com/thebyte9/blaze/compare/v0.127.1...v0.128.0-admin-updates.0) (2023-02-16)
7
7
 
8
8
  **Note:** Version bump only for package @blaze-cms/nextjs-tools
9
9
 
@@ -11,15 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- # [0.127.0-project-admin-customisations.2](https://github.com/thebyte9/blaze/compare/v0.127.0-project-admin-customisations.1...v0.127.0-project-admin-customisations.2) (2023-01-26)
15
-
16
- **Note:** Version bump only for package @blaze-cms/nextjs-tools
17
-
18
-
19
-
20
-
21
-
22
- # [0.127.0-project-admin-customisations.0](https://github.com/thebyte9/blaze/compare/v0.126.1...v0.127.0-project-admin-customisations.0) (2023-01-25)
14
+ # [0.127.0](https://github.com/thebyte9/blaze/compare/v0.126.1...v0.127.0) (2023-02-10)
23
15
 
24
16
  **Note:** Version bump only for package @blaze-cms/nextjs-tools
25
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaze-cms/nextjs-tools",
3
- "version": "0.127.0-project-admin-customisations.3",
3
+ "version": "0.128.0-admin-updates.0",
4
4
  "description": "Blaze nextjs tools",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib-es/index.js",
@@ -28,20 +28,20 @@
28
28
  "license": "GPL-3.0",
29
29
  "dependencies": {
30
30
  "@apollo/client": "3.5.x",
31
- "@blaze-cms/core-auth-ui": "^0.125.0",
32
- "@blaze-cms/core-errors": "^0.118.0",
33
- "@blaze-cms/core-errors-ui": "^0.119.0",
34
- "@blaze-cms/core-ui": "^0.125.0",
35
- "@blaze-cms/nextjs-components": "^0.125.0",
36
- "@blaze-cms/plugin-auth-fe": "^0.125.0",
37
- "@blaze-cms/plugin-auth-local-fe": "^0.125.0",
38
- "@blaze-cms/plugin-google-maps-fe": "0.127.0-project-admin-customisations.3",
39
- "@blaze-cms/plugin-gtm-fe": "0.127.0-project-admin-customisations.3",
40
- "@blaze-cms/plugin-page-builder-fe": "0.127.0-project-admin-customisations.3",
41
- "@blaze-cms/plugin-preview-fe": "0.127.0-project-admin-customisations.0",
42
- "@blaze-cms/plugin-search-ui": "0.127.0-project-admin-customisations.2",
43
- "@blaze-cms/react-page-builder": "0.127.0-project-admin-customisations.3",
44
- "@blaze-cms/setup-ui": "^0.92.0",
31
+ "@blaze-cms/core-auth-ui": "0.128.0-admin-updates.0",
32
+ "@blaze-cms/core-errors": "0.128.0-admin-updates.0",
33
+ "@blaze-cms/core-errors-ui": "0.128.0-admin-updates.0",
34
+ "@blaze-cms/core-ui": "0.128.0-admin-updates.0",
35
+ "@blaze-cms/nextjs-components": "0.128.0-admin-updates.0",
36
+ "@blaze-cms/plugin-auth-fe": "0.128.0-admin-updates.0",
37
+ "@blaze-cms/plugin-auth-local-fe": "0.128.0-admin-updates.0",
38
+ "@blaze-cms/plugin-google-maps-fe": "0.128.0-admin-updates.0",
39
+ "@blaze-cms/plugin-gtm-fe": "0.128.0-admin-updates.0",
40
+ "@blaze-cms/plugin-page-builder-fe": "0.128.0-admin-updates.0",
41
+ "@blaze-cms/plugin-preview-fe": "0.128.0-admin-updates.0",
42
+ "@blaze-cms/plugin-search-ui": "0.128.0-admin-updates.0",
43
+ "@blaze-cms/react-page-builder": "0.128.0-admin-updates.0",
44
+ "@blaze-cms/setup-ui": "0.128.0-admin-updates.0",
45
45
  "autoprefixer": "^10.2.3",
46
46
  "core-js": "^3.2.1",
47
47
  "cross-fetch": "^3.0.2",
@@ -68,5 +68,5 @@
68
68
  "lib/*",
69
69
  "lib-es/*"
70
70
  ],
71
- "gitHead": "ea986d69f265ba66e45dea0630cbdb4823bf09dc"
71
+ "gitHead": "ad3389e954fe463366655311efb1198191dbb625"
72
72
  }
@@ -1,5 +1,8 @@
1
- import '@testing-library/jest-dom/extend-expect';
1
+ /**
2
+ * @jest-environment jsdom
3
+ */
2
4
  import React from 'react';
5
+ import '@testing-library/jest-dom/extend-expect';
3
6
  import { MockedProvider } from '@apollo/client/testing';
4
7
  import { render, act, fireEvent } from '@testing-library/react';
5
8
  import { DebugSidebar } from '../../../../../src/components';
@@ -1,5 +1,8 @@
1
- import '@testing-library/jest-dom/extend-expect';
1
+ /**
2
+ * @jest-environment jsdom
3
+ */
2
4
  import React from 'react';
5
+ import '@testing-library/jest-dom/extend-expect';
3
6
 
4
7
  import { MockedProvider } from '@apollo/client/testing';
5
8
  import { render } from '@testing-library/react';
@@ -1,6 +1,6 @@
1
1
  import '@testing-library/jest-dom/extend-expect';
2
2
  import { setEnvs, deleteEnvs } from '@blaze-cms/tools/test-helpers/test-files/test-env';
3
- import { buildAdminHref } from '../../../../src/helpers';
3
+ import buildAdminHref from '../../../../src/helpers/build-admin-href';
4
4
 
5
5
  describe('buildAdminHref function', () => {
6
6
  const itemId = '0000-1111-2222-test';
@@ -1,5 +1,5 @@
1
1
  import '@testing-library/jest-dom/extend-expect';
2
- import { checkForGtm } from '../../../../src/helpers';
2
+ import checkForGtm from '../../../../src/helpers/check-for-gtm';
3
3
 
4
4
  const mockedPBComponents = [
5
5
  [{ type: 'gtm' }, { type: 'list' }],
@@ -1,5 +1,5 @@
1
1
  import '@testing-library/jest-dom/extend-expect';
2
- import { checkParent } from '../../../../src/helpers';
2
+ import checkParent from '../../../../src/helpers/check-parent';
3
3
 
4
4
  it('should return parent path', () => {
5
5
  const url = '/parent/someIdOrSlug';
@@ -4,7 +4,7 @@
4
4
 
5
5
  import '@testing-library/jest-dom/extend-expect';
6
6
 
7
- import { checkUrl } from '../../../../src/helpers';
7
+ import checkUrl from '../../../../src/helpers/check-url';
8
8
  import { ROUTE_PATTERN_SITEMAP, NOT_FOUND_STATUS_CODE } from '../../../../src/constants';
9
9
  import { checkUrlQuery } from '../../../../src/application/query';
10
10
 
@@ -1,5 +1,5 @@
1
1
  import '@testing-library/jest-dom/extend-expect';
2
- import { getEntitysActions } from '../../../../src/helpers';
2
+ import getEntitysActions from '../../../../src/helpers/get-entitys-actions';
3
3
 
4
4
  const entitySchema = {
5
5
  actions: {
@@ -1,4 +1,4 @@
1
- import { getErrorMessage } from '../../../../src/helpers';
1
+ import getErrorMessage from '../../../../src/helpers/get-error-message';
2
2
 
3
3
  describe('getErrorMessage function', () => {
4
4
  const errorMessage = 'Error message';
@@ -1,5 +1,5 @@
1
1
  import '@testing-library/jest-dom/extend-expect';
2
- import { getPageData } from '../../../../src/helpers';
2
+ import getPageData from '../../../../src/helpers/get-page-data';
3
3
  import { getPageQuery, GET_ENTITY_SCHEMA } from '../../../../src/application/query';
4
4
 
5
5
  const itemId = 'RECORD_ID';
@@ -1,5 +1,5 @@
1
1
  import '@testing-library/jest-dom/extend-expect';
2
- import { getSearchFilter } from '../../../../src/helpers';
2
+ import getSearchFilter from '../../../../src/helpers/get-search-filter';
3
3
 
4
4
  const searchFilterItem = {
5
5
  type: 'searchfilter',
@@ -1,4 +1,4 @@
1
- import { renderAppleTags } from '../../../../src/helpers';
1
+ import renderAppleTags from '../../../../src/helpers/render-apple-tags';
2
2
 
3
3
  describe('renderAppleTags function', () => {
4
4
  it('should be a function', () => {
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jest-environment jsdom
3
+ */
1
4
  import '@testing-library/jest-dom/extend-expect';
2
- import { setBlazeDebug } from '../../../../src/helpers';
5
+ import setBlazeDebug from '../../../../src/helpers/set-blaze-debug';
3
6
 
4
7
  describe('setBlazeDebug function', () => {
5
8
  const setIsDebugMode = jest.fn();
@@ -1,5 +1,8 @@
1
- import '@testing-library/jest-dom/extend-expect';
1
+ /**
2
+ * @jest-environment jsdom
3
+ */
2
4
  import React from 'react';
5
+ import '@testing-library/jest-dom/extend-expect';
3
6
  import { render, waitFor } from '@testing-library/react';
4
7
  import getBlazeUi from '@blaze-cms/core-ui';
5
8
  import withBlaze from '../../../../src/hoc/withBlaze';
@@ -1,5 +1,8 @@
1
- import '@testing-library/jest-dom/extend-expect';
1
+ /**
2
+ * @jest-environment jsdom
3
+ */
2
4
  import React from 'react';
5
+ import '@testing-library/jest-dom/extend-expect';
3
6
  import { render } from '@testing-library/react';
4
7
  import Resolver from '../../../../src/pages/Resolver';
5
8