@jahia/create-module 0.0.9 → 0.5.3

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 (77) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -3
  3. package/babel.config.cjs +2 -5
  4. package/index.js +95 -87
  5. package/node/node +0 -0
  6. package/node/npm +65 -0
  7. package/node/npm.cmd +20 -0
  8. package/node/npx +65 -0
  9. package/node/npx.cmd +20 -0
  10. package/node/yarn/dist/LICENSE +26 -0
  11. package/node/yarn/dist/README.md +60 -0
  12. package/node/yarn/dist/bin/yarn +35 -0
  13. package/node/yarn/dist/bin/yarn.cmd +2 -0
  14. package/node/yarn/dist/bin/yarn.js +31 -0
  15. package/node/yarn/dist/bin/yarnpkg +2 -0
  16. package/node/yarn/dist/bin/yarnpkg.cmd +2 -0
  17. package/node/yarn/dist/lib/cli.js +154071 -0
  18. package/node/yarn/dist/lib/v8-compile-cache.js +351 -0
  19. package/node/yarn/dist/package.json +28 -0
  20. package/node/yarn/dist/preinstall.js +60 -0
  21. package/package.json +21 -24
  22. package/pom.xml +134 -0
  23. package/sync-version.js +16 -0
  24. package/template/README.md +19 -11
  25. package/template/dotgithub/workflows/build.yml +21 -0
  26. package/template/dotgitignore +3 -9
  27. package/template/dotidea/jsLinters/eslint.xml +6 -0
  28. package/template/dotidea/prettier.xml +7 -0
  29. package/template/dotprettierignore +1 -0
  30. package/template/dotvscode/settings.json +11 -0
  31. package/template/dotyarnrc.yml +1 -0
  32. package/template/eslint.config.js +25 -0
  33. package/template/package.json +41 -43
  34. package/template/prettier.config.js +9 -0
  35. package/template/settings/README.md +3 -1
  36. package/template/settings/import.xml +5 -1
  37. package/template/settings/locales/de.json +2 -2
  38. package/template/settings/locales/en.json +3 -3
  39. package/template/settings/locales/fr.json +2 -2
  40. package/template/src/client/index.jsx +1 -5
  41. package/template/src/server/templates/page/PageHome.tsx +43 -0
  42. package/template/src/server/views/simpleContent/SimpleContentDefault.tsx +16 -0
  43. package/template/static/css/styles.css +7 -7
  44. package/template/tsconfig.json +27 -0
  45. package/template/vite.config.mjs +33 -0
  46. package/tests/create-templatesSet-project.test.js +126 -113
  47. package/.eslintrc.cjs +0 -28
  48. package/.github/ISSUE_TEMPLATE/bug.yml +0 -45
  49. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  50. package/.github/ISSUE_TEMPLATE/epic.md +0 -26
  51. package/.github/ISSUE_TEMPLATE/other.md +0 -8
  52. package/.github/ISSUE_TEMPLATE/release.md +0 -64
  53. package/.github/ISSUE_TEMPLATE/spike.md +0 -19
  54. package/.github/ISSUE_TEMPLATE/story.md +0 -27
  55. package/.github/ISSUE_TEMPLATE/support.yml +0 -40
  56. package/.github/ISSUE_TEMPLATE/tech-day.md +0 -93
  57. package/.github/dependabot.yml +0 -15
  58. package/.github/release.yml +0 -24
  59. package/.github/workflows/delivery-issue-chores.yml +0 -12
  60. package/.github/workflows/on-code-change.yml +0 -50
  61. package/.github/workflows/publish-release.yml +0 -22
  62. package/.yarn/releases/yarn-4.6.0.cjs +0 -934
  63. package/.yarnrc.yml +0 -3
  64. package/template/.babelrc +0 -9
  65. package/template/.yarn/releases/yarn-4.3.1.cjs +0 -894
  66. package/template/.yarnrc.yml +0 -3
  67. package/template/doteslintrc.cjs +0 -30
  68. package/template/dotnpmignore +0 -10
  69. package/template/src/server/components/index.js +0 -1
  70. package/template/src/server/index.js +0 -6
  71. package/template/src/server/templates/index.js +0 -1
  72. package/template/src/server/templates/page/PageHome.jsx +0 -32
  73. package/template/src/server/templates/page/index.js +0 -1
  74. package/template/src/server/views/index.js +0 -1
  75. package/template/src/server/views/simpleContent/SimpleContentDefault.jsx +0 -19
  76. package/template/src/server/views/simpleContent/index.js +0 -1
  77. package/template/webpack.config.js +0 -225
@@ -1,12 +0,0 @@
1
- # DO NOT EDIT
2
- # This file is managed globally at https://github.com/Jahia/.github
3
- name: Delivery - Issue Chores
4
-
5
- on:
6
- issues:
7
- issue_comment:
8
-
9
- jobs:
10
- WF:
11
- uses: Jahia/jahia-modules-action/.github/workflows/reusable-delivery-issue-chores.yml@v2
12
- secrets: inherit
@@ -1,50 +0,0 @@
1
- name: On Code Change (PR)
2
-
3
- on:
4
- pull_request:
5
- types: [opened, reopened, synchronize]
6
-
7
- jobs:
8
- lint:
9
- name: Linting
10
- runs-on: ubuntu-latest
11
-
12
- container:
13
- image: node:lts-alpine
14
-
15
- steps:
16
- - uses: actions/checkout@v4
17
- - run: corepack enable
18
- - run: yarn set version stable
19
- - run: yarn
20
- - run: yarn run lint
21
-
22
- build:
23
- needs: [lint]
24
- name: Build
25
- runs-on: ubuntu-latest
26
- # if: github.event_name == 'push' && github.ref == 'refs/heads/master'
27
-
28
- container:
29
- image: node:lts-alpine
30
-
31
- steps:
32
- - uses: actions/checkout@v4
33
- - run: corepack enable
34
- - run: yarn set version stable
35
- - run: yarn
36
- - run: yarn jahia-pack
37
-
38
- test:
39
- needs: [build]
40
- name: Test
41
- runs-on: ubuntu-latest
42
-
43
- container:
44
- image: node:lts-alpine
45
-
46
- steps:
47
- - uses: actions/checkout@v4
48
- - run: corepack enable
49
- - run: yarn install
50
- - run: yarn test
@@ -1,22 +0,0 @@
1
- name: Publish Release to Registry
2
- on:
3
- release:
4
- types: [published]
5
-
6
- jobs:
7
- npm_publish:
8
- runs-on: ubuntu-latest
9
-
10
- steps:
11
- - uses: actions/checkout@v4
12
- - uses: actions/setup-node@v4
13
- with:
14
- node-version: 'lts/*'
15
- - run: corepack enable
16
- - run: yarn set version stable
17
- - run: yarn
18
- - run: whoami && node -v && ls -lah
19
- - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMJS_PUBLISH_TOKEN }}" > .npmrc
20
- - run: npm --no-git-tag-version version ${{ github.event.release.tag_name }}
21
- - run: ls -lah ./
22
- - run: npm publish --access public