Skip to content

Commit

Permalink
Merge pull request #1870 from smeup/dev-to-mas
Browse files Browse the repository at this point in the history
v9.6.5
  • Loading branch information
lucafoscili authored Apr 18, 2024
2 parents 9c0c94e + 0f477bd commit 9d3b8c1
Show file tree
Hide file tree
Showing 55 changed files with 3,411 additions and 747 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

# Define env vars
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
ENV NODE_OPTIONS=--max-old-space-size=8192

# [Optional] Uncomment if you want to install an additional version of node using nvm
ARG EXTRA_NODE_VERSION="lts/hydrogen"
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"firsttris.vscode-jest-runner",
"elltg.elltg-npm-script-run",
"octref.vetur"
],
"settings": {
Expand Down
4 changes: 4 additions & 0 deletions .devcontainer/scripts/git/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

yarn run k:build
yarn run k:test:all
5 changes: 5 additions & 0 deletions .devcontainer/scripts/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
echo "Set permissions"
sudo chown -R node:node node_modules

echo "Set Git hooks"
echo "Set pre-push hook"
cp .devcontainer/scripts/git/pre-push .git/hooks
chmod +x .git/hooks/pre-push

echo "Installing Deps"
yarn install
4 changes: 2 additions & 2 deletions packages/ketchup-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sme.up/ketchup-react",
"version": "9.6.4",
"version": "9.6.5",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"keywords": [
Expand All @@ -20,7 +20,7 @@
"description": "Ketchup React Components library by smeup",
"license": "Apache-2.0",
"dependencies": {
"@sme.up/ketchup": "^9.6.4",
"@sme.up/ketchup": "^9.6.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ketchup-showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@sme.up/ketchup": "^9.6.4",
"@sme.up/ketchup": "^9.6.5",
"core-js": "^3.30.2",
"vue": "^2.6.14",
"vue-router": "^3.5.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/ketchup-showcase/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
@kup-tree-nodeselected="treeClick"
></kup-tree
><div class="version"
><a href="https://github.com/smeup/ketchup/releases/tag/v9.6.4"
>v9.6.4</a
><a href="https://github.com/smeup/ketchup/releases/tag/v9.6.5"
>v9.6.5</a
></div
></div
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@ export default {
default: 'undefined',
try: 'field',
},
{
prop: 'detailHours',
description:
'Columns containing detail duration, from (firstHour) to (secondHour)',
type: 'string',
default: 'undefined',
isArray: true,
try: 'field',
},
{
prop: 'detailIdCol',
description: 'Column containing unique detail identifier',
Expand All @@ -135,6 +144,15 @@ export default {
default: 'undefined',
try: 'field',
},
{
prop: 'detailPrevHours',
description:
'Columns containing fForecast detail duration, from (firstHour) to (secondHour)',
type: 'string',
default: 'undefined',
isArray: true,
try: 'field',
},
{
prop: 'detailPrevDates',
description:
Expand Down Expand Up @@ -198,6 +216,15 @@ export default {
try: 'field',
isArray: true,
},
{
prop: 'phaseHours',
description:
'Columns containing phase duration, from (firstHour) to (secondHour)',
type: 'string',
default: 'undefined',
try: 'field',
isArray: true,
},
{
prop: 'phaseIdCol',
description: 'Column containing unique phase identifier',
Expand All @@ -212,6 +239,15 @@ export default {
default: 'undefined',
try: 'field',
},
{
prop: 'phasePrevHours',
description:
'Columns containing forecast phase duration, from (firstHour) to (secondHour)',
type: 'string',
default: 'undefined',
try: 'json',
isArray: true,
},
{
prop: 'phasePrevDates',
description:
Expand All @@ -228,6 +264,13 @@ export default {
default: 'false',
try: 'switch',
},
{
prop: 'scrollableTaskList',
description: 'Enable/disable scrollbar for task list',
type: 'boolean',
default: 'false',
try: 'switch',
},
{
prop: 'showSecondaryDates',
description: 'Enable/disable display of secondary dates',
Expand Down Expand Up @@ -260,6 +303,15 @@ export default {
default: 'undefined',
try: 'field',
},
{
prop: 'taskHours',
description:
'Columns containing task duration, from (firstHour) to (secondHour)',
type: 'string',
default: 'undefined',
try: 'json',
isArray: true,
},
{
prop: 'taskIdCol',
description: 'Column containing unique task identifier',
Expand Down Expand Up @@ -288,6 +340,15 @@ export default {
default: 'undefined',
try: 'field',
},
{
prop: 'taskPrevHours',
description:
'Columns containing forecast task duration, from (firstHour) to (secondHour)',
type: 'string',
default: 'undefined',
try: 'json',
isArray: true,
},
{
prop: 'taskPrevDates',
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default {
function createComp() {
const comp = document.createElement('kup-pdf');
comp.id = 'demo-component';
comp.pdfPath = '/assets/kup-pdf-sample.pdf';
comp.pdfPath = 'assets/kup-pdf-sample.pdf';
return comp;
}
</script>
2 changes: 1 addition & 1 deletion packages/ketchup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sme.up/ketchup",
"version": "9.6.4",
"version": "9.6.5",
"keywords": [
"smeup",
"KetchUP",
Expand Down
Loading

0 comments on commit 9d3b8c1

Please sign in to comment.