signalk-ais-navionics-converter 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.js ADDED
File without changes
@@ -0,0 +1,55 @@
1
+ const path = require('path');
2
+ const { ModuleFederationPlugin } = require('webpack').container;
3
+ const { WatchIgnorePlugin } = require('webpack');
4
+ require('@signalk/server-admin-ui-dependencies');
5
+ const packageJson = require('./package.json');
6
+
7
+ console.log(packageJson.name.replace(/[-@/]/g, '_'));
8
+
9
+ module.exports = {
10
+ entry: './src/index',
11
+ mode: 'development',
12
+ output: {
13
+ path: path.resolve(__dirname, 'public')
14
+ },
15
+ module: {
16
+ rules: [
17
+ {
18
+ test: /\.jsx?$/,
19
+ loader: 'babel-loader',
20
+ exclude: /node_modules/,
21
+ options: {
22
+ presets: ['@babel/preset-react']
23
+ }
24
+ },
25
+ {
26
+ test: /\.css$/,
27
+ use: [
28
+ 'style-loader',
29
+ 'css-loader'
30
+ ]
31
+ },
32
+ {
33
+ test: /\.(png|svg|jpg|gif)$/,
34
+ loader: 'file-loader',
35
+ options: {
36
+ name: '[path][name].[ext]'
37
+ }
38
+ }
39
+ ]
40
+ },
41
+ plugins: [
42
+ new ModuleFederationPlugin({
43
+ name: packageJson.name.replace(/[-@/]/g, '_'),
44
+ library: { type: 'var', name: packageJson.name.replace(/[-@/]/g, '_') },
45
+ filename: 'remoteEntry.js',
46
+ exposes: {
47
+ './PluginConfigurationPanel': './src/components/PluginConfigurationPanel.jsx'
48
+ },
49
+ shared: [{ react: { singleton: true } }]
50
+ }),
51
+ new WatchIgnorePlugin({
52
+ paths: [path.resolve(__dirname, 'public/')]
53
+ })
54
+ ]
55
+ };
@@ -1,21 +0,0 @@
1
- name: Manual npm Publish
2
-
3
- on:
4
- workflow_dispatch: # nur manuell auslösbar
5
-
6
- jobs:
7
- publish:
8
- runs-on: ubuntu-latest
9
- steps:
10
- - uses: actions/checkout@v4
11
-
12
- - uses: actions/setup-node@v4
13
- with:
14
- node-version: 20
15
- registry-url: 'https://registry.npmjs.org'
16
-
17
- - run: npm ci
18
-
19
- - run: npm publish
20
- env:
21
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/img/OpenCpn1.png DELETED
Binary file
package/img/OpenCpn2.png DELETED
Binary file