eclipsefdn-hugo-solstice-theme 0.0.173 → 0.0.174

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.
Files changed (2) hide show
  1. package/bin/build.sh +3 -7
  2. package/package.json +2 -2
package/bin/build.sh CHANGED
@@ -12,10 +12,6 @@
12
12
 
13
13
  set -euo pipefail
14
14
 
15
- if [[ -e yarn.lock ]]; then
16
- yarn install --frozen-lockfile;
17
- elif [[ -e package-lock.json ]]; then
18
- npm --unsafe-perm ci;
19
- fi;
20
-
21
- hugo --source exampleSite --theme "${PWD##*/}" --themesDir ../../ --gc --minify --destination ."${1}" --baseURL "${2}"
15
+ yarn install --frozen-lockfile;
16
+ yarn run build
17
+ hugo --source exampleSite --theme "${PWD##*/}" --themesDir ../../ --gc --minify --destination ."${1}" --baseURL "${2}"
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "webpack.min.js",
5
5
  "author": "Christopher Guindon",
6
6
  "license": "EPL-2.0",
7
- "version": "0.0.173",
7
+ "version": "0.0.174",
8
8
  "bugs": {
9
9
  "url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
10
10
  },
@@ -18,7 +18,7 @@
18
18
  "hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
19
19
  "production": "NODE_ENV=production webpack --progress --config=node_modules/laravel-mix/setup/webpack.config.js",
20
20
  "fetch_project": "node bin/projects/index.js -l exampleSite/data",
21
- "postinstall": "npm run fetch_project && npm run production"
21
+ "build": "npm run production && npm run fetch_project"
22
22
  },
23
23
  "readmeFilename": "README.md",
24
24
  "dependencies": {