@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.
- package/LICENSE +1 -1
- package/README.md +4 -3
- package/babel.config.cjs +2 -5
- package/index.js +95 -87
- package/node/node +0 -0
- package/node/npm +65 -0
- package/node/npm.cmd +20 -0
- package/node/npx +65 -0
- package/node/npx.cmd +20 -0
- package/node/yarn/dist/LICENSE +26 -0
- package/node/yarn/dist/README.md +60 -0
- package/node/yarn/dist/bin/yarn +35 -0
- package/node/yarn/dist/bin/yarn.cmd +2 -0
- package/node/yarn/dist/bin/yarn.js +31 -0
- package/node/yarn/dist/bin/yarnpkg +2 -0
- package/node/yarn/dist/bin/yarnpkg.cmd +2 -0
- package/node/yarn/dist/lib/cli.js +154071 -0
- package/node/yarn/dist/lib/v8-compile-cache.js +351 -0
- package/node/yarn/dist/package.json +28 -0
- package/node/yarn/dist/preinstall.js +60 -0
- package/package.json +21 -24
- package/pom.xml +134 -0
- package/sync-version.js +16 -0
- package/template/README.md +19 -11
- package/template/dotgithub/workflows/build.yml +21 -0
- package/template/dotgitignore +3 -9
- package/template/dotidea/jsLinters/eslint.xml +6 -0
- package/template/dotidea/prettier.xml +7 -0
- package/template/dotprettierignore +1 -0
- package/template/dotvscode/settings.json +11 -0
- package/template/dotyarnrc.yml +1 -0
- package/template/eslint.config.js +25 -0
- package/template/package.json +41 -43
- package/template/prettier.config.js +9 -0
- package/template/settings/README.md +3 -1
- package/template/settings/import.xml +5 -1
- package/template/settings/locales/de.json +2 -2
- package/template/settings/locales/en.json +3 -3
- package/template/settings/locales/fr.json +2 -2
- package/template/src/client/index.jsx +1 -5
- package/template/src/server/templates/page/PageHome.tsx +43 -0
- package/template/src/server/views/simpleContent/SimpleContentDefault.tsx +16 -0
- package/template/static/css/styles.css +7 -7
- package/template/tsconfig.json +27 -0
- package/template/vite.config.mjs +33 -0
- package/tests/create-templatesSet-project.test.js +126 -113
- package/.eslintrc.cjs +0 -28
- package/.github/ISSUE_TEMPLATE/bug.yml +0 -45
- package/.github/ISSUE_TEMPLATE/config.yml +0 -8
- package/.github/ISSUE_TEMPLATE/epic.md +0 -26
- package/.github/ISSUE_TEMPLATE/other.md +0 -8
- package/.github/ISSUE_TEMPLATE/release.md +0 -64
- package/.github/ISSUE_TEMPLATE/spike.md +0 -19
- package/.github/ISSUE_TEMPLATE/story.md +0 -27
- package/.github/ISSUE_TEMPLATE/support.yml +0 -40
- package/.github/ISSUE_TEMPLATE/tech-day.md +0 -93
- package/.github/dependabot.yml +0 -15
- package/.github/release.yml +0 -24
- package/.github/workflows/delivery-issue-chores.yml +0 -12
- package/.github/workflows/on-code-change.yml +0 -50
- package/.github/workflows/publish-release.yml +0 -22
- package/.yarn/releases/yarn-4.6.0.cjs +0 -934
- package/.yarnrc.yml +0 -3
- package/template/.babelrc +0 -9
- package/template/.yarn/releases/yarn-4.3.1.cjs +0 -894
- package/template/.yarnrc.yml +0 -3
- package/template/doteslintrc.cjs +0 -30
- package/template/dotnpmignore +0 -10
- package/template/src/server/components/index.js +0 -1
- package/template/src/server/index.js +0 -6
- package/template/src/server/templates/index.js +0 -1
- package/template/src/server/templates/page/PageHome.jsx +0 -32
- package/template/src/server/templates/page/index.js +0 -1
- package/template/src/server/views/index.js +0 -1
- package/template/src/server/views/simpleContent/SimpleContentDefault.jsx +0 -19
- package/template/src/server/views/simpleContent/index.js +0 -1
- 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
|