Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/fusion-framework-cli

Package Overview
Dependencies
Maintainers
3
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-cli - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

bin/dev-portal/assets/index.1356b49a.js

1

bin/create-config.js

@@ -22,2 +22,3 @@ import { readFileSync } from 'fs';

},
mode: 'development',
appType: 'custom',

@@ -24,0 +25,0 @@ build: {

9

bin/serve.js

@@ -11,2 +11,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import { createServer } from 'vite';
import { readFileSync } from 'fs';
import express from 'express';

@@ -26,5 +27,7 @@ import dns from 'dns';

app.use(vite.middlewares);
app.use(express.static(resolveRelativePath('dev-portal')));
app.use('*', (_, res) => __awaiter(void 0, void 0, void 0, function* () {
res.sendFile(resolveRelativePath('dev-portal/index.html'));
app.use(express.static(resolveRelativePath('dev-portal'), { index: false }));
app.use('*', (req, res) => __awaiter(void 0, void 0, void 0, function* () {
const htmlRaw = readFileSync(resolveRelativePath('dev-portal/index.html'), 'utf-8');
const html = yield vite.transformIndexHtml(req.url, htmlRaw);
res.send(html);
}));

@@ -31,0 +34,0 @@ app.listen(port);

@@ -6,2 +6,10 @@ # Change Log

## [0.1.7](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@0.1.6...@equinor/fusion-framework-cli@0.1.7) (2022-11-03)
### Bug Fixes
- **cli:** allow default export of render app ([d27a336](https://github.com/equinor/fusion-framework/commit/d27a336874d918448389a79b1291b13a1b2f41d9))
- **cli:** transform request to index.html ([e531958](https://github.com/equinor/fusion-framework/commit/e5319586598cf8567987040468f933438a4a7521))
- deprecate useFramework from hooks ([d3d9b24](https://github.com/equinor/fusion-framework/commit/d3d9b24fe56937e2c9feba7de4228d8eb1cbbec5))
## [0.1.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@0.1.5...@equinor/fusion-framework-cli@0.1.6) (2022-11-03)

@@ -8,0 +16,0 @@

{
"name": "@equinor/fusion-framework-cli",
"version": "0.1.6",
"version": "0.1.7",
"keywords": [

@@ -34,3 +34,3 @@ "Fusion",

"devDependencies": {
"@equinor/fusion-framework-react": "^1.3.5",
"@equinor/fusion-framework-react": "^1.3.6",
"@equinor/fusion-react-progress-indicator": "^0.1.5",

@@ -47,3 +47,3 @@ "@equinor/fusion-react-styles": "^0.5.5",

},
"gitHead": "bb21836f3674173eb2809e6daa75d616c1dcf64e"
"gitHead": "9cce61b38374a86ac2a74344e12af461b78aea5c"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc