0.5.1 • Published 6 days ago
@sap-ux/mockserver-config-writer v0.5.1
@sap-ux/mockserver-config-writer
Adds or removes configuration for mockserver module @sap-ux/ui5-middleware-fe-mockserver
to an SAP UX project.
Installation
Npm
npm install --save @sap-ux/mockserver-config-writer
Yarn
yarn add @sap-ux/mockserver-config-writer
Pnpm
pnpm add @sap-ux/mockserver-config-writer
Usage
import { generateMockserverConfig } from '@sap-ux/mockserver-config-writer';
import { join } from 'path';
const basePath = join(__dirname, 'test/fixtures/bare-minimum');
const fs = await generateMockserverConfig(
basePath,
{
webappPath: join(basePath, 'webapp'),
});
fs.commit();
See more complex example in /test/unit
Keywords
SAP Fiori elements SAP Fiori - UI5 middleware for the Fiori elements mock server
0.5.1
6 days ago
0.5.0
7 days ago
0.4.2
15 days ago
0.4.1
1 month ago
0.4.0
1 month ago
0.3.0
2 months ago
0.2.3
2 months ago
0.2.2
3 months ago
0.1.10
8 months ago
0.1.11
8 months ago
0.1.12
7 months ago
0.1.13
7 months ago
0.1.14
7 months ago
0.2.1
6 months ago
0.2.0
7 months ago
0.1.8
9 months ago
0.1.9
8 months ago
0.1.7
11 months ago
0.1.6
11 months ago
0.1.4
11 months ago
0.1.3
11 months ago
0.1.5
11 months ago
0.1.0
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.6
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago