This page (revision-21) was last changed on 07-Feb-2024 18:37 by Dieter Käppel

This page was created on 22-Sep-2022 10:37 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
21 07-Feb-2024 18:37 8 KB Dieter Käppel to previous

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 90 changed one line
<registryUrl>https://registry.npmjs.org/</registryUrl>
<registryUrl>https://dynarocks.com/nexus/repository/npm-intersult/</registryUrl>
At line 94 changed one line
<serverId>npmjs</serverId>
<serverId>dynarocks-internal-repo</serverId>
At line 96 changed one line
<package>hello-world-server</package>
<package>@intersult/cleveristo-ui</package>
At line 225 removed 34 lines
!!!Express
Alternativ zum Webpack Devserver gibt es noch den Express Server. Dieser kann auch verwendet werden, um eine Anwendung zu debuggen. Das erfolgt über die webpack-dev-middleware:
{{{
import express from "express";
import {createProxyMiddleware} from "http-proxy-middleware";
import webpack from "webpack";
import middleware from "webpack-dev-middleware";
import options from "./webpack.config";
const host = "localhost", port = 8090;
const server = express();
const compiler = webpack(options);
server.use("/", middleware(compiler));
server.use(createProxyMiddleware("/service/**", {
target: "http://localhost:8080"
}));
server.listen(port, () => {
console.log("Server listening at http://" + host + ":" + port + "/");
});
}}}
!!!Update Packages
Mit dem Tool npm-check-updates können NodeJS bzw. npm Packete upgedated werden:
{{{
npm install -g npm-check-updates
ncu --upgrade
npm install
}}}