create-tateru-cli 0.3.0 → 0.3.1

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": "create-tateru-cli",
3
3
  "description": "Create basic Tateru CLI project from template files",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "bin": {
6
6
  "create-tateru-cli": "./lib/index.js"
7
7
  },
@@ -5,15 +5,15 @@ const { ENV_PRODUCTION } = require('./helpers/config');
5
5
  const TATERU_ENV_PRODUCTION = 'prod';
6
6
  const TATERU_ENV_DEVELOPMENT = 'dev';
7
7
 
8
- /** @type {import('gulp-tateru-cli').GulpTateruCliOptions} */
9
- const options = {
10
- env:
11
- process.env.NODE_ENV === ENV_PRODUCTION
12
- ? TATERU_ENV_PRODUCTION
13
- : TATERU_ENV_DEVELOPMENT,
14
- };
15
-
16
8
  module.exports = function tateru() {
9
+ /** @type {import('gulp-tateru-cli').GulpTateruCliOptions} */
10
+ const options = {
11
+ env:
12
+ process.env.NODE_ENV === ENV_PRODUCTION
13
+ ? TATERU_ENV_PRODUCTION
14
+ : TATERU_ENV_DEVELOPMENT,
15
+ };
16
+
17
17
  return src(['tateru.config.json'], {
18
18
  cwd: '.',
19
19
  })
@@ -32,7 +32,7 @@ module.exports = function watch () {
32
32
  watchGulp([
33
33
  `src/twig/**/*`,
34
34
  `src/translations/**/*`,
35
- `config.json`,
35
+ `tateru.config.json`,
36
36
  ], tateru);
37
37
 
38
38
  watchGulp([