@jahia/create-module 0.0.2 → 0.0.4

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 (67) hide show
  1. package/.github/workflows/lint.yml +5 -3
  2. package/.github/workflows/publish-release.yml +2 -2
  3. package/.yarn/releases/yarn-4.5.0.cjs +925 -0
  4. package/.yarnrc.yml +3 -0
  5. package/README.md +9 -4
  6. package/index.js +34 -67
  7. package/package.json +7 -10
  8. package/template/.babelrc +9 -0
  9. package/template/.yarn/releases/yarn-4.3.1.cjs +894 -0
  10. package/template/.yarnrc.yml +3 -0
  11. package/{jsx → template}/README.md +20 -0
  12. package/{handlebars → template}/dotenv +1 -1
  13. package/template/dotgitignore +18 -0
  14. package/{jsx → template}/dotnpmignore +1 -1
  15. package/{jsx → template}/package.json +16 -16
  16. package/template/settings/README.md +30 -0
  17. package/{jsx → template/settings}/definitions.cnd +6 -0
  18. package/template/settings/locales/de.json +5 -0
  19. package/template/settings/locales/en.json +5 -0
  20. package/template/settings/locales/fr.json +5 -0
  21. package/template/src/server/templates/page/PageHome.jsx +29 -0
  22. package/template/src/server/views/hello/HelloDefault.jsx +19 -0
  23. package/{jsx → template}/webpack.config.js +49 -23
  24. package/babel.config.cjs.disabled +0 -3
  25. package/handlebars/README.md +0 -11
  26. package/handlebars/components/MODULE_NAMESPACE/hello/hello.cnd +0 -6
  27. package/handlebars/components/MODULE_NAMESPACE/hello/hello.default.hbs +0 -1
  28. package/handlebars/components/MODULE_NAMESPACE/hello/hello.icon.png +0 -0
  29. package/handlebars/components/jnt/page/page.home.hbs +0 -18
  30. package/handlebars/components/jnt/page/page.home.png +0 -0
  31. package/handlebars/components/jnt/page/page.home.properties +0 -2
  32. package/handlebars/definitions.cnd +0 -8
  33. package/handlebars/doteslintrc.cjs +0 -29
  34. package/handlebars/dotgitignore +0 -15
  35. package/handlebars/dotnpmignore +0 -4
  36. package/handlebars/import.xml +0 -8
  37. package/handlebars/locales/de.json +0 -3
  38. package/handlebars/locales/en.json +0 -3
  39. package/handlebars/locales/fr.json +0 -3
  40. package/handlebars/package.json +0 -41
  41. package/handlebars/resources/MODULE_NAME.properties +0 -2
  42. package/handlebars/resources/MODULE_NAME_fr.properties +0 -2
  43. package/handlebars/settings/README.txt +0 -9
  44. package/handlebars/src/index.js +0 -0
  45. package/handlebars/webpack.config.js +0 -49
  46. package/jsx/dotenv +0 -4
  47. package/jsx/dotgitignore +0 -15
  48. package/jsx/locales/de.json +0 -4
  49. package/jsx/locales/en.json +0 -4
  50. package/jsx/locales/fr.json +0 -4
  51. package/jsx/settings/README.txt +0 -9
  52. package/jsx/src/server/templates/page/PageHome.jsx +0 -24
  53. package/jsx/src/server/views/hello/HelloDefault.jsx +0 -18
  54. package/jsx/yarn.lock +0 -0
  55. /package/{jsx → template}/css/styles.css +0 -0
  56. /package/{jsx → template}/doteslintrc.cjs +0 -0
  57. /package/{jsx → template/settings}/import.xml +0 -0
  58. /package/{jsx → template/settings}/resources/MODULE_NAME.properties +0 -0
  59. /package/{jsx → template/settings}/resources/MODULE_NAME_fr.properties +0 -0
  60. /package/{jsx → template}/src/client/index.jsx +0 -0
  61. /package/{jsx → template}/src/server/components/index.js +0 -0
  62. /package/{jsx → template}/src/server/index.js +0 -0
  63. /package/{jsx → template}/src/server/templates/index.js +0 -0
  64. /package/{jsx → template}/src/server/templates/page/index.js +0 -0
  65. /package/{jsx → template}/src/server/views/hello/index.js +0 -0
  66. /package/{jsx → template}/src/server/views/index.js +0 -0
  67. /package/{handlebars → template}/yarn.lock +0 -0
@@ -3,7 +3,7 @@ name: Lint
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - '**'
6
+ - "**"
7
7
 
8
8
  jobs:
9
9
  lint:
@@ -14,7 +14,8 @@ jobs:
14
14
  image: node:lts-alpine
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v2
17
+ - uses: actions/checkout@v4
18
+ - run: corepack enable
18
19
  - run: yarn set version stable
19
20
  - run: yarn
20
21
  - run: yarn run lint
@@ -29,7 +30,8 @@ jobs:
29
30
  image: node:lts-alpine
30
31
 
31
32
  steps:
32
- - uses: actions/checkout@v2
33
+ - uses: actions/checkout@v4
34
+ - run: corepack enable
33
35
  - run: yarn set version stable
34
36
  - run: yarn
35
37
  - run: yarn jahia-pack
@@ -8,8 +8,8 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
 
10
10
  steps:
11
- - uses: actions/checkout@master
12
- - uses: actions/setup-node@v2
11
+ - uses: actions/checkout@v4
12
+ - uses: actions/setup-node@v4
13
13
  with:
14
14
  node-version: 'lts/*'
15
15
  - run: corepack enable