@nebula.js/cli-create
Advanced tools
Comparing version 4.0.0-alpha.9 to 4.0.0-alpha.10
{ | ||
"name": "@nebula.js/cli-create", | ||
"version": "4.0.0-alpha.9", | ||
"version": "4.0.0-alpha.10", | ||
"description": "", | ||
@@ -30,3 +30,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "4041f477f85702b2e55626d5920ca5604a45fbf2" | ||
"gitHead": "0ffa335271ce6e7f4bc58df9b2e7681ff1487984" | ||
} |
@@ -68,3 +68,3 @@ # @nebula.js/cli-create | ||
You can find the [tutorial](https://qlik.dev/tutorials/build-a-helloworld-extension-using-nebulajs) to build a basic nebula visualization using nebula.js. | ||
You can find the [tutorial](https://qlik.dev/extend/extend-quickstarts/first-extension) to build a basic nebula visualization using nebula.js. | ||
@@ -77,3 +77,3 @@ #### Create a mashup | ||
You can find the [tutorial](https://qlik.dev/tutorials/build-a-simple-mashup-using-nebulajs) to build a basic mashup using nebula.js. | ||
You can find the [tutorial](https://qlik.dev/embed/integrate-web-apps/build-a-simple-mashup) to build a basic mashup using nebula.js. | ||
@@ -80,0 +80,0 @@ #### Package manager |
@@ -11,3 +11,3 @@ import { useElement } from '@nebula.js/stardust'; | ||
* @param {object=} galaxy.anything.sense Optional object only present within Sense, | ||
* see: https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense | ||
* see: https://qlik.dev/extend/build-extension/in-qlik-sense | ||
*/ | ||
@@ -14,0 +14,0 @@ export default function supernova(galaxy) { |
const { test, expect } = require('@playwright/test'); | ||
const path = require('path'); | ||
const serve = require('@nebula.js/cli-serve'); // eslint-disable-line | ||
test.describe('sn', () => { | ||
let server; | ||
test.beforeAll(async () => { | ||
server = await serve({ | ||
build: false, | ||
open: false, | ||
fixturePath: path.resolve(__dirname, 'fixtures'), | ||
}); | ||
process.env.BASE_URL = server.url; | ||
}); | ||
test.afterAll(() => { | ||
server.close(); | ||
}); | ||
test('should say hello', async ({ page }) => { | ||
const content = '.njs-viz[data-render-count="1"]'; | ||
const url = `${process.env.BASE_URL}/render?fixture=hello.fix.js`; | ||
await page.goto(url); | ||
await page.goto('/render?fixture=hello.fix.js'); | ||
await page.waitForSelector(content, { visible: true }); | ||
@@ -27,0 +8,0 @@ const text = await page.$eval(content, (el) => el.textContent); |
const { test, expect } = require('@playwright/test'); | ||
const path = require('path'); | ||
const serve = require('@nebula.js/cli-serve'); // eslint-disable-line | ||
test.describe('barchart', () => { | ||
let server; | ||
test.beforeAll(async () => { | ||
server = await serve({ | ||
build: false, | ||
open: false, | ||
fixturePath: path.resolve(__dirname, 'fixtures'), | ||
}); | ||
process.env.BASE_URL = server.url; | ||
}); | ||
test.afterAll(() => { | ||
server.close(); | ||
}); | ||
test('should have 20 bars', async ({ page }) => { | ||
await page.goto(`${process.env.BASE_URL}/render?fixture=scenario-1.fix.js`); | ||
await page.goto('/render?fixture=scenario-1.fix.js'); | ||
await page.waitForSelector('.njs-viz[data-render-count="1"]', { | ||
@@ -24,0 +7,0 @@ visible: true, |
@@ -25,3 +25,3 @@ import { | ||
* @param {object=} galaxy.anything.sense Optional object only present within Sense, | ||
* see: https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense | ||
* see: https://qlik.dev/extend/build-extension/in-qlik-sense | ||
*/ | ||
@@ -28,0 +28,0 @@ export default function supernova(galaxy) { |
/* eslint no-unused-vars: 0 */ | ||
const { test, expect } = require('@playwright/test'); | ||
const path = require('path'); | ||
const serve = require('@nebula.js/cli-serve'); // eslint-disable-line | ||
test.describe('barchart', () => { | ||
let server; | ||
test.beforeAll(async () => { | ||
server = await serve({ | ||
build: false, | ||
open: false, | ||
fixturePath: path.resolve(__dirname, 'fixtures'), | ||
}); | ||
process.env.BASE_URL = server.url; | ||
}); | ||
test.afterAll(() => { | ||
server.close(); | ||
}); | ||
test('should have 20 bars', async ({ page }) => { | ||
test.describe('minimal', () => { | ||
test('should test picasso chart', async ({ page }) => { | ||
// add your e2e tests here... | ||
@@ -24,0 +7,0 @@ // expect(1 + 1).toBe(2) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
4
63217
42
1874
2