Skip to content

Commit ed5c6a5

Browse files
chore: fix build errors
1 parent 26427c2 commit ed5c6a5

6 files changed

Lines changed: 8 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ WORKDIR /app
1212
FROM base AS builder
1313
ENV NODE_ENV=production
1414

15+
1516
COPY pnpm-lock.yaml /app/pnpm-lock.yaml
1617
COPY pnpm-workspace.yaml /app/pnpm-workspace.yaml
1718
COPY package.json /app/package.json

packages/commons/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"start": "tsc -w"
5959
},
6060
"dependencies": {
61+
"@devgateway/dvz-wp-commons": "workspace:@devgateway/dvz-wp-commons@*",
6162
"@wordpress/api-fetch": "^7.32.0",
6263
"@wordpress/block-editor": "^15.5.0",
6364
"@wordpress/components": "^30.5.0",

plugins/wp-react-blocks-plugin/blocks/charts/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ registerBlockType(BLOCKS_NS + '/chart',
368368
},
369369

370370
manualColors: {
371-
type: 'Object',
371+
type: 'object',
372372
default: {}
373373
},
374374
barPadding: {

plugins/wp-react-blocks-plugin/blocks/format-bar/text-color.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import { RichTextToolbarButton, ColorPalette } from '@wordpress/block-editor';
44
import { Popover, Panel, PanelBody, Button } from '@wordpress/components';
55
import { useState } from '@wordpress/element';
66
import { tag as tagIcon } from '@wordpress/icons';
7+
import { BLOCK_NS } from '@devgateway/dvz-wp-commons'
78

8-
const name = process.env.BLOCKS_NS + '/text-color';
9+
const name = BLOCK_NS + '/text-color';
910

1011
function Edit(props) {
1112
const { isActive, value, onChange, contentRef } = props;

plugins/wp-react-blocks-plugin/blocks/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ module.exports = {
1717
...defaultConfig.plugins,
1818
new Dotenv({
1919
systemvars: true,
20-
safe: true
2120
}),
2221
]
2322
};

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)