Skip to content

Commit

Permalink
chore!: set required node version (#969)
Browse files Browse the repository at this point in the history
* chore!: set required node version

* chore: update parcel
  • Loading branch information
Caele committed Oct 21, 2022
1 parent 3a8c48d commit 8bd997a
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/mekko/sandbox.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"hardReloadOnChange": true,
"node": "12"
"node": "16"
}
14 changes: 13 additions & 1 deletion apis/stardust/api-spec/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -727,14 +727,17 @@
"params": [
{
"name": "fieldIdentifier",
"description": "Fieldname as a string or a Library dimension",
"description": "Fieldname as a string, a Library dimension or an object id",
"kind": "union",
"items": [
{
"type": "string"
},
{
"type": "#/definitions/LibraryField"
},
{
"type": "#/definitions/QInfo"
}
]
}
Expand Down Expand Up @@ -979,6 +982,15 @@
}
}
},
"QInfo": {
"kind": "interface",
"entries": {
"qId": {
"description": "Generic object id",
"type": "string"
}
}
},
"Viz": {
"description": "A controller to further modify a visualization after it has been rendered.",
"kind": "class",
Expand Down
8 changes: 6 additions & 2 deletions apis/stardust/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ declare namespace stardust {

/**
* Gets the listbox instance of the specified field
* @param fieldIdentifier Fieldname as a string or a Library dimension
* @param fieldIdentifier Fieldname as a string, a Library dimension or an object id
*/
field(fieldIdentifier: string | stardust.LibraryField): Promise<stardust.FieldInstance>;
field(fieldIdentifier: string | stardust.LibraryField | stardust.QInfo): Promise<stardust.FieldInstance>;

/**
* Gets a list of registered visualization types and versions
Expand Down Expand Up @@ -290,6 +290,10 @@ declare namespace stardust {
load(): Promise<stardust.ThemeJSON>;
}

interface QInfo {
qId: string;
}

/**
* A controller to further modify a visualization after it has been rendered.
*/
Expand Down
4 changes: 2 additions & 2 deletions commands/create/templates/mashup/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"dependencies": {
"@nebula.js/stardust": "<%= nebulaVersion %>",
"@nebula.js/sn-bar-chart": "^1.x",
"@qlik/sdk": "^0.10.2",
"@qlik/sdk": "^0.12.0",
"enigma.js": "^2.6.3",
"parcel": "^2.3.2"
"parcel": "^2.7.0"
}
}
2 changes: 1 addition & 1 deletion commands/create/templates/sn/none/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"keywords": ["qlik", "nebula", "stardust"],
"files": ["dist"],
"engines": {
"node": ">=8"
"node": ">=18"
},
"main": "dist/<%= name %>.js",
"module": "dist/<%= name %>.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion commands/create/templates/sn/picasso/common/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"keywords": ["qlik", "nebula", "stardust"],
"files": ["dist"],
"engines": {
"node": ">=8"
"node": ">=18"
},
"main": "dist/<%= name %>.js",
"module": "dist/<%= name %>.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion examples/chart-conversion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
},
"devDependencies": {
"@babel/core": "7.12.3",
"parcel": "^2.3.2"
"parcel": "^2.7.0"
}
}
2 changes: 1 addition & 1 deletion examples/dev-mashup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"@babel/core": "7.12.3",
"parcel": "^2.3.2"
"parcel": "^2.7.0"
}
}

0 comments on commit 8bd997a

Please sign in to comment.