@stackblitz/sdk
Advanced tools
Comparing version 1.9.0-alpha.2 to 1.9.0
# @stackblitz/sdk changelog | ||
## v1.9.0 (unreleased) | ||
## v1.9.0 (2023-04-04) | ||
@@ -5,0 +5,0 @@ - Moved the StackBlitz SDK to a dedicated repository: https://github.com/stackblitz/sdk. |
{ | ||
"name": "@stackblitz/sdk", | ||
"version": "1.9.0-alpha.2", | ||
"version": "1.9.0", | ||
"description": "SDK for generating and embedding StackBlitz projects.", | ||
@@ -25,28 +25,31 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "npm run clean && tsc -p tsconfig.lib.json && vite build --mode lib", | ||
"clean": "rimraf bundles temp types", | ||
"e2e": "npx playwright test", | ||
"build": "npm run build:clean && npm run build:types && npm run build:lib", | ||
"build:clean": "rimraf bundles temp types", | ||
"build:lib": "vite build --mode lib", | ||
"build:types": "tsc -p tsconfig.lib.json", | ||
"format": "prettier --write 'src/**/*.ts' 'test/**/*.ts' vite.*.ts", | ||
"prepack": "npm test && npm run build", | ||
"prepack": "npm run test:unit && npm run build", | ||
"start": "vite dev --mode dev --open /examples/", | ||
"start:e2e": "vite dev --mode e2e", | ||
"test": "vitest run --mode test" | ||
"test": "vitest run --mode test --coverage", | ||
"test:unit": "vitest run --mode test", | ||
"test:e2e": "npx playwright test" | ||
}, | ||
"devDependencies": { | ||
"@playwright/test": "^1.31.2", | ||
"@playwright/test": "^1.32.2", | ||
"@rollup/plugin-replace": "^5.0.2", | ||
"@types/body-parser": "^1.19.2", | ||
"@types/lodash": "^4.14.191", | ||
"@vitest/coverage-c8": "^0.29.2", | ||
"@vitest/ui": "^0.29.1", | ||
"@types/lodash": "^4.14.192", | ||
"@vitest/coverage-c8": "^0.29.8", | ||
"@vitest/ui": "^0.29.8", | ||
"body-parser": "^1.20.2", | ||
"happy-dom": "^8.9.0", | ||
"happy-dom": "^9.1.0", | ||
"lodash": "^4.17.21", | ||
"prettier": "^2.8.4", | ||
"rimraf": "^4.2.0", | ||
"prettier": "^2.8.7", | ||
"rimraf": "^4.4.1", | ||
"typescript": "~4.4.4", | ||
"vite": "^4.1.4", | ||
"vite-tsconfig-paths": "^4.0.5", | ||
"vitest": "^0.29.2" | ||
"vite": "^4.2.1", | ||
"vite-tsconfig-paths": "^4.0.8", | ||
"vitest": "^0.29.8" | ||
} | ||
} |
@@ -26,16 +26,16 @@ # StackBlitz SDK | ||
# Generate the 'bundles' and 'types' folders | ||
npm run build | ||
# Start a development server to explore examples | ||
npm start | ||
# Run all tests | ||
# Run unit tests | ||
npm test | ||
# Run unit tests with coverage report | ||
npm run test -- --coverage | ||
# Run end-to-end tests with mock server | ||
npm run e2e | ||
npm run test:e2e | ||
# Run end-to-end tests against stackblitz.com | ||
STACKBLITZ_SERVER_ORIGIN=https://stackblitz.com npm run e2e | ||
STACKBLITZ_SERVER_ORIGIN=https://stackblitz.com npm run test:e2e | ||
# Generate the 'bundles' and 'types' folders | ||
npm run build | ||
``` |
@@ -118,2 +118,4 @@ import type { PROJECT_TEMPLATES, UI_SIDEBAR_VIEWS, UI_THEMES, UI_VIEWS } from './constants'; | ||
* Available views: `project` (default), `search`, `ports` (WebContainers only) and `settings`. | ||
* | ||
* @since 1.9.0 | ||
*/ | ||
@@ -136,2 +138,4 @@ sidebarView?: UiSidebarView; | ||
* Defaults to looking for a `dev` script or a `start` script. Ignored in EngineBlock projects. | ||
* | ||
* @since 1.9.0 | ||
*/ | ||
@@ -171,2 +175,4 @@ startScript?: string; | ||
* Defaults to `false`. | ||
* | ||
* @since 1.9.0 | ||
*/ | ||
@@ -173,0 +179,0 @@ zenMode?: boolean; |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
180109
2006
0