5htp 0.0.8-1 → 0.0.8-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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "5htp",
3
3
  "description": "5-HTP, scientifically called 5-Hydroxytryptophan, is the precursor of happiness neurotransmitter.",
4
- "version": "0.0.8-1",
4
+ "version": "0.0.8-2",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp-cli.git",
7
7
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
 
21
21
  // Spacing
22
22
  @spacing: 1.2em;
23
- @spacingComponent: @spacing;
23
+ @spacing: @spacing;
24
24
  @spacingLayout: @spacing * 2;
25
25
 
26
26
  // Responsive
@@ -58,8 +58,8 @@
58
58
  --pageWidth: @pageWidth;
59
59
  --focusWidth: @focusWidth;
60
60
 
61
- --c1: @c1;
62
- --c2: @c2;
61
+ --cAccent: @c1;
62
+ --cAccent2: @c2;
63
63
 
64
64
  --bgOverlay: fade(@c1 + #666, 70%);
65
65
 
@@ -42,7 +42,7 @@
42
42
 
43
43
  > i {
44
44
  font-size: 5em;
45
- color: var(--c1);
45
+ color: var(--cAccent);
46
46
  }
47
47
  }
48
48
  }
@@ -7,7 +7,7 @@
7
7
  // Core
8
8
  import app, { $ } from '@server/app';
9
9
  const route = $.router;
10
- import { Introuvable, ErreurSaisie } from '@common/errors';
10
+ import { NotFound, InputError } from '@common/errors';
11
11
 
12
12
  // App
13
13
 
@@ -5,7 +5,7 @@ import type App from '../../../app';
5
5
  module.exports = (app: App, dev: boolean, client: boolean): webpack.RuleSetRule[] => {
6
6
 
7
7
  return [{
8
- test: /\.(bmp|gif|jpg|jpeg|png|ico|svg)$/,
8
+ test: /\.(bmp|gif|jpg|jpeg|png|ico|svg|webp)$/,
9
9
  type: 'asset',
10
10
  parser: {
11
11
  dataUrlCondition: {
@@ -57,6 +57,7 @@ export default async function createCompilers(
57
57
  // When the 5htp package is installed from npm link,
58
58
  // Modules are installed locally and not glbally as with with the 5htp package from NPM.
59
59
  // So we need to symbilnk the http-core node_modules in one of the parents of server.js.
60
+ // It avoids errors like: "Error: Cannot find module 'intl'"
60
61
  fs.symlinkSync(
61
62
  path.join(app.paths.root, '/node_modules/5htp-core/node_modules'),
62
63
  path.join(app.paths.bin, '/node_modules')