@vixoniccom/module-packager 2.7.0-test.1 → 2.7.0-test.11

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/CHANGELOG.md CHANGED
@@ -2,6 +2,71 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [2.7.0-test.11](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.10...v2.7.0-test.11) (2022-07-15)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **release:** html-webpack-plugin was updated ([ae99388](https://gitlab.com/mandomedio/vixonic/module-packager/commit/ae99388e82ba7fe16ffca89f2f7cbc842dbb6739))
11
+
12
+ ## [2.7.0-test.10](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.9...v2.7.0-test.10) (2022-07-15)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **release:** exclude variable was updated ([a40d017](https://gitlab.com/mandomedio/vixonic/module-packager/commit/a40d017ad5744ecfae966e5e60edeaaa167a2265))
18
+
19
+ ## [2.7.0-test.9](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.8...v2.7.0-test.9) (2022-07-15)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **release:** __dirname was removed ([cad88bb](https://gitlab.com/mandomedio/vixonic/module-packager/commit/cad88bba27d41590fdecab04dddf511dc9fb1df1))
25
+
26
+ ## [2.7.0-test.8](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.7...v2.7.0-test.8) (2022-07-15)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * **release:** exclude variable was updated ([6eca779](https://gitlab.com/mandomedio/vixonic/module-packager/commit/6eca7795b42e32e84afeffe74a98bb7e4b970dd1))
32
+
33
+ ## [2.7.0-test.7](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.6...v2.7.0-test.7) (2022-07-15)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **Release:** revert __dirname changes ([bb25fe1](https://gitlab.com/mandomedio/vixonic/module-packager/commit/bb25fe10ed9a9368c145530aecdc91f539877a26))
39
+
40
+ ## [2.7.0-test.6](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.5...v2.7.0-test.6) (2022-07-15)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * **release:** contentBase porperty was removed ([8b364cc](https://gitlab.com/mandomedio/vixonic/module-packager/commit/8b364cc84298210491844856564ada198c356561))
46
+
47
+ ## [2.7.0-test.5](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.4...v2.7.0-test.5) (2022-07-15)
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * **Release:** default value of config in options variable was reverted ([9c75fac](https://gitlab.com/mandomedio/vixonic/module-packager/commit/9c75fac9c189bfe5a7857c9a5f68ef50dcc3cc6b))
53
+
54
+ ## [2.7.0-test.4](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.3...v2.7.0-test.4) (2022-07-15)
55
+
56
+
57
+ ### Bug Fixes
58
+
59
+ * **release:** __dirname was added to path resolves and joins ([7312c9a](https://gitlab.com/mandomedio/vixonic/module-packager/commit/7312c9a316c4039dd63c979754d97733c6159a90))
60
+
61
+ ## [2.7.0-test.3](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.2...v2.7.0-test.3) (2022-07-15)
62
+
63
+ ## [2.7.0-test.2](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.1...v2.7.0-test.2) (2022-07-15)
64
+
65
+
66
+ ### Bug Fixes
67
+
68
+ * **Release:** ts-node and ts-loader versions were changed ([e108c3f](https://gitlab.com/mandomedio/vixonic/module-packager/commit/e108c3f4e1983ed59d932cfc5db0754a6500088a))
69
+
5
70
  ## [2.7.0-test.1](https://gitlab.com/mandomedio/vixonic/module-packager/compare/v2.7.0-test.0...v2.7.0-test.1) (2022-07-15)
6
71
 
7
72
 
package/main.js CHANGED
@@ -114,7 +114,7 @@ function zip (callback) {
114
114
 
115
115
  function watch () {
116
116
  var server = new WebpackDevServer(webpack(require(options.config)(options)), {
117
- contentBase: path.join(__dirname, options.src, '..')
117
+ static: path.join(__dirname, options.src, '..')
118
118
  })
119
119
  server.listen(options.port)
120
120
 
package/package.json CHANGED
@@ -68,15 +68,15 @@
68
68
  "electron-debug": "^3.2.0",
69
69
  "file-loader": "^0.9.0",
70
70
  "html-loader": "^0.4.3",
71
- "html-webpack-plugin": "^2.22.0",
71
+ "html-webpack-plugin": "^4.5.2",
72
72
  "json-loader": "^0.5.4",
73
73
  "lodash": "^4.17.21",
74
74
  "node-sass": "^6.0.1",
75
75
  "raw-loader": "^0.5.1",
76
76
  "sass-loader": "^4.0.2",
77
77
  "style-loader": "^0.13.1",
78
- "ts-loader": "^9.3.1",
79
- "ts-node": "^8.2.0",
78
+ "ts-loader": "^8.2.0",
79
+ "ts-node": "^10.9.1",
80
80
  "typescript": "^4.7.3",
81
81
  "uglifyjs-webpack-plugin": "^1.3.0",
82
82
  "webpack": "^4.46.0",
@@ -104,7 +104,7 @@
104
104
  "prerelease-test": "standard-version --prerelease test",
105
105
  "release": "standard-version"
106
106
  },
107
- "version": "2.7.0-test.1",
107
+ "version": "2.7.0-test.11",
108
108
  "devDependencies": {
109
109
  "standard-version": "^9.3.1"
110
110
  }
package/webpack.config.js CHANGED
@@ -18,10 +18,10 @@ module.exports = (options) => {
18
18
  // const typescriptPath = path.join(options.src, '..', 'node_modules', 'typescript', '/')
19
19
  // const typescript = fs.existsSync(typescriptPath) ? path.join(__dirname, path.relative(__dirname, typescriptPath), '/') : 'typescript'
20
20
 
21
- let exclude = options.mode === 'watch'
22
- ? [path.join(options.src, 'static'), path.join(options.src, 'test')]
23
- : [path.resolve(options.src, 'static'), path.resolve(options.src, 'test')]
21
+ let exclude = [path.resolve(options.src, 'static'), path.resolve(options.src, 'test')]
24
22
 
23
+ console.log('exclude ', exclude)
24
+ console.log('Options: ', options, options.src)
25
25
  let config = {
26
26
  context: __dirname,
27
27
  entry: ['babel-polyfill', path.resolve(options.src, 'main')],
@@ -54,7 +54,7 @@ module.exports = (options) => {
54
54
  test: /\.(j|t)sx?$/,
55
55
  include: [path.resolve(options.src)],
56
56
  exclude: exclude,
57
- loaders: [
57
+ rules: [
58
58
  {
59
59
  loader: 'babel-loader?babelrc=false&extends=' + path.join(__dirname, '/.babelrc')
60
60
  },
@@ -127,7 +127,7 @@ module.exports = (options) => {
127
127
  config.output.publicPath = `http://localhost:${options.port}/`
128
128
  config.devtool = 'source-map'
129
129
  config.devServer = {
130
- contentBase: path.resolve(options.src),
130
+ static: path.resolve(options.src),
131
131
  publicPath: `http://localhost:${options.port}/`,
132
132
  inline: true
133
133
  }