@d-zero/scaffold 5.0.0-alpha.3 → 5.0.0-alpha.30
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/.husky/pre-commit +1 -0
- package/.markuplintrc +9 -1
- package/.stylelintrc +18 -1
- package/.textlintignore +1 -0
- package/.textlintrc.js +9 -1
- package/CHANGELOG.md +159 -0
- package/__assets/_libs/component/bge-content.scss +6 -0
- package/__assets/_libs/component/{_c-content-main.scss → c-content-main.scss} +2 -3
- package/__assets/_libs/data/bge-blocks.html +2179 -0
- package/__assets/_libs/data/blocks.html +1 -31
- package/__assets/_libs/mixin/meta.pug +2 -2
- package/__assets/_libs/style/general/{_all.scss → all.scss} +0 -4
- package/__assets/htdocs/.eslintrc +10 -0
- package/__assets/htdocs/__tmpl/.markuplintrc +19 -0
- package/__assets/htdocs/__tmpl/000_home.pug +20 -0
- package/__assets/htdocs/__tmpl/100_sub.pug +23 -0
- package/__assets/htdocs/__tmpl/200_blog_index.pug +40 -0
- package/__assets/htdocs/__tmpl/210_blog_index.pug +40 -0
- package/__assets/htdocs/__tmpl/300_form_input.pug +569 -0
- package/__assets/htdocs/__tmpl/301_form_confirm.pug +212 -0
- package/__assets/htdocs/__tmpl/302_form_complete.pug +27 -0
- package/__assets/htdocs/__tmpl/index.pug +63 -0
- package/__assets/htdocs/css/bge-style.scss +18 -0
- package/__assets/htdocs/css/style.scss +32 -0
- package/__assets/htdocs/index.pug +9 -0
- package/__assets/htdocs/js/script.ts +3 -0
- package/__assets/htdocs/sub-folder.test/css/style.scss +5 -0
- package/__assets/htdocs/sub-folder.test/index.pug +8 -0
- package/__assets/htdocs/sub-folder.test/js/script.ts +2 -0
- package/cspell.json +2 -1
- package/eleventy.config.mjs +68 -0
- package/lint-staged.config.mjs +10 -1
- package/package.json +26 -29
- package/prh.yaml +3 -0
- package/tsconfig.json +1 -0
- package/__assets/_libs/data/blocks-burger.html +0 -4161
- package/eleventy.config.cjs +0 -19
- /package/__assets/_libs/component/{_c-card-list.scss → c-card-list.scss} +0 -0
- /package/__assets/_libs/component/{_c-card.pug → c-card.pug} +0 -0
- /package/__assets/_libs/component/{_c-card.scss → c-card.scss} +0 -0
- /package/__assets/_libs/component/{_c-content-index.scss → c-content-index.scss} +0 -0
- /package/__assets/_libs/component/{_c-footer.pug → c-footer.pug} +0 -0
- /package/__assets/_libs/component/{_c-footer.scss → c-footer.scss} +0 -0
- /package/__assets/_libs/component/{_c-header.pug → c-header.pug} +0 -0
- /package/__assets/_libs/component/{_c-header.scss → c-header.scss} +0 -0
- /package/__assets/_libs/component/{_c-media-list.scss → c-media-list.scss} +0 -0
- /package/__assets/_libs/component/{_c-media.pug → c-media.pug} +0 -0
- /package/__assets/_libs/component/{_c-media.scss → c-media.scss} +0 -0
- /package/__assets/_libs/component/{_c-nav-breadcrumb.pug → c-nav-breadcrumb.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-breadcrumb.scss → c-nav-breadcrumb.scss} +0 -0
- /package/__assets/_libs/component/{_c-nav-global.pug → c-nav-global.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-global.scss → c-nav-global.scss} +0 -0
- /package/__assets/_libs/component/{_c-nav-sitemap.pug → c-nav-sitemap.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-sitemap.scss → c-nav-sitemap.scss} +0 -0
- /package/__assets/_libs/component/{_c-page-home.scss → c-page-home.scss} +0 -0
- /package/__assets/_libs/component/{_c-page-sub.scss → c-page-sub.scss} +0 -0
- /package/__assets/_libs/component/{_c-pagination.pug → c-pagination.pug} +0 -0
- /package/__assets/_libs/component/{_c-pagination.scss → c-pagination.scss} +0 -0
- /package/__assets/_libs/component/{_c-title-page.pug → c-title-page.pug} +0 -0
- /package/__assets/_libs/component/{_c-title-page.scss → c-title-page.scss} +0 -0
- /package/__assets/_libs/style/base/{_root.scss → root.scss} +0 -0
- /package/__assets/_libs/style/general/{_body.scss → body.scss} +0 -0
- /package/__assets/_libs/style/general/{_button.scss → button.scss} +0 -0
- /package/__assets/_libs/style/general/{_img.scss → img.scss} +0 -0
- /package/__assets/_libs/style/theme/{_color.scss → color.scss} +0 -0
- /package/__assets/_libs/style/theme/{_dimension.scss → dimension.scss} +0 -0
- /package/__assets/_libs/style/theme/{_font.scss → font.scss} +0 -0
- /package/__assets/_libs/style/theme/{_index.scss → index.scss} +0 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
html(lang="ja")
|
|
2
|
+
head
|
|
3
|
+
include /mixin/meta.pug
|
|
4
|
+
+meta('__ページタイトル__ | __サイトタイトル__')
|
|
5
|
+
body.c-page-sub
|
|
6
|
+
.c-page-sub__base
|
|
7
|
+
.c-page-sub__header
|
|
8
|
+
include /component/c-header.pug
|
|
9
|
+
.c-page-sub__nav-global
|
|
10
|
+
include /component/c-nav-global.pug
|
|
11
|
+
|
|
12
|
+
.c-page-sub__main
|
|
13
|
+
main
|
|
14
|
+
.c-page-sub__content
|
|
15
|
+
.c-page-sub__title-page
|
|
16
|
+
include /component/c-title-page.pug
|
|
17
|
+
.c-page-sub__nav-breadcrumb
|
|
18
|
+
include /component/c-nav-breadcrumb.pug
|
|
19
|
+
.c-page-sub__content-main
|
|
20
|
+
.c-content-main
|
|
21
|
+
.cc-form-description
|
|
22
|
+
p 以下の内容を送信します。
|
|
23
|
+
|
|
24
|
+
form#MailMessageIndexForm.cc-form(
|
|
25
|
+
action="__PATH_TO__"
|
|
26
|
+
enctype="multipart/form-data"
|
|
27
|
+
method="post"
|
|
28
|
+
accept-charset="utf-8"
|
|
29
|
+
novalidate)
|
|
30
|
+
input(type="hidden" name="_method" value="POST")
|
|
31
|
+
input#Token__TOKEN__(type="hidden" name="data[_Token][key]" value="__TOKEN__")
|
|
32
|
+
input#MailMessageMode(type="hidden" name="data[MailMessage][mode]")
|
|
33
|
+
.cc-form-field-list
|
|
34
|
+
.cc-form-fieldset
|
|
35
|
+
.cc-form-fieldset-heading
|
|
36
|
+
span フィールドグループ名
|
|
37
|
+
span.required 必須
|
|
38
|
+
.cc-form-fieldset-body
|
|
39
|
+
.mail-field(data-type="text")
|
|
40
|
+
span.mail-before-attachment 前見出し
|
|
41
|
+
span.mail-input __入力内容__
|
|
42
|
+
span.mail-after-attachment 後見出し
|
|
43
|
+
.mail-field(data-type="text")
|
|
44
|
+
span.mail-before-attachment
|
|
45
|
+
span.mail-input __入力内容__
|
|
46
|
+
span.mail-after-attachment 後見出し
|
|
47
|
+
.cc-form-fieldset
|
|
48
|
+
div
|
|
49
|
+
.cc-form-fieldset-heading
|
|
50
|
+
span 単体フィールド名
|
|
51
|
+
span.required 必須
|
|
52
|
+
.cc-form-fieldset-body
|
|
53
|
+
.mail-field(data-type="text")
|
|
54
|
+
span.mail-before-attachment 前見出し
|
|
55
|
+
span.mail-input __入力内容__
|
|
56
|
+
span.mail-after-attachment 後見出し
|
|
57
|
+
.cc-form-fieldset
|
|
58
|
+
div
|
|
59
|
+
.cc-form-fieldset-heading
|
|
60
|
+
span 氏名
|
|
61
|
+
span.required 必須
|
|
62
|
+
.cc-form-fieldset-body
|
|
63
|
+
.mail-field(data-type="text")
|
|
64
|
+
span.mail-before-attachment 姓
|
|
65
|
+
span.mail-input __入力内容__
|
|
66
|
+
span.mail-after-attachment
|
|
67
|
+
.mail-field(data-type="text")
|
|
68
|
+
span.mail-before-attachment 名
|
|
69
|
+
span.mail-input __入力内容__
|
|
70
|
+
span.mail-after-attachment
|
|
71
|
+
.cc-form-fieldset
|
|
72
|
+
div
|
|
73
|
+
.cc-form-fieldset-heading
|
|
74
|
+
span フリガナ
|
|
75
|
+
span.optional 任意
|
|
76
|
+
.cc-form-fieldset-body
|
|
77
|
+
.mail-field(data-type="text")
|
|
78
|
+
span.mail-before-attachment セイ
|
|
79
|
+
span.mail-input __入力内容__
|
|
80
|
+
span.mail-after-attachment
|
|
81
|
+
.mail-field(data-type="text")
|
|
82
|
+
span.mail-before-attachment メイ
|
|
83
|
+
span.mail-input __入力内容__
|
|
84
|
+
span.mail-after-attachment
|
|
85
|
+
.cc-form-fieldset
|
|
86
|
+
div
|
|
87
|
+
.cc-form-fieldset-heading
|
|
88
|
+
span 住所
|
|
89
|
+
span.optional 任意
|
|
90
|
+
.cc-form-fieldset-body
|
|
91
|
+
.mail-field(data-type="text")
|
|
92
|
+
span.mail-before-attachment 〒
|
|
93
|
+
span.mail-input __入力内容__
|
|
94
|
+
span.mail-after-attachment
|
|
95
|
+
.mail-field(data-type="select")
|
|
96
|
+
span.mail-before-attachment 都道府県
|
|
97
|
+
span.mail-input __入力内容__
|
|
98
|
+
span.mail-after-attachment
|
|
99
|
+
.mail-field(data-type="text")
|
|
100
|
+
span.mail-before-attachment 市区町村
|
|
101
|
+
span.mail-input __入力内容__
|
|
102
|
+
span.mail-after-attachment
|
|
103
|
+
.mail-field(data-type="text")
|
|
104
|
+
span.mail-before-attachment 番地
|
|
105
|
+
span.mail-input __入力内容__
|
|
106
|
+
span.mail-after-attachment
|
|
107
|
+
.cc-form-fieldset
|
|
108
|
+
div
|
|
109
|
+
.cc-form-fieldset-heading
|
|
110
|
+
span チェックボックス単体
|
|
111
|
+
span.required 必須
|
|
112
|
+
.cc-form-fieldset-body
|
|
113
|
+
.mail-field(data-type="checkbox")
|
|
114
|
+
span.mail-before-attachment チェックボックス前見出し
|
|
115
|
+
div
|
|
116
|
+
ul
|
|
117
|
+
li __選択項目1__
|
|
118
|
+
li __選択項目2__
|
|
119
|
+
.cc-form-fieldset
|
|
120
|
+
div
|
|
121
|
+
.cc-form-fieldset-heading
|
|
122
|
+
span チェックボックス
|
|
123
|
+
span.required 必須
|
|
124
|
+
.cc-form-fieldset-body
|
|
125
|
+
.mail-field(data-type="checkbox")
|
|
126
|
+
div
|
|
127
|
+
ul
|
|
128
|
+
li __選択項目1__
|
|
129
|
+
li __選択項目2__
|
|
130
|
+
.mail-field(data-type="text")
|
|
131
|
+
span.mail-before-attachment その他
|
|
132
|
+
span.mail-input __入力内容__
|
|
133
|
+
span.mail-after-attachment
|
|
134
|
+
.cc-form-fieldset
|
|
135
|
+
div
|
|
136
|
+
.cc-form-fieldset-heading
|
|
137
|
+
span 電話番号
|
|
138
|
+
.cc-form-fieldset-body
|
|
139
|
+
.mail-field(data-type="text")
|
|
140
|
+
span.mail-before-attachment
|
|
141
|
+
span.mail-input __入力内容__
|
|
142
|
+
span.mail-after-attachment
|
|
143
|
+
.cc-form-fieldset
|
|
144
|
+
div
|
|
145
|
+
.cc-form-fieldset-heading
|
|
146
|
+
span メールアドレス
|
|
147
|
+
span.required 必須
|
|
148
|
+
.cc-form-fieldset-body
|
|
149
|
+
.mail-field(data-type="text")
|
|
150
|
+
span.mail-before-attachment
|
|
151
|
+
span.mail-input __入力内容__
|
|
152
|
+
span.mail-after-attachment
|
|
153
|
+
.cc-form-fieldset
|
|
154
|
+
div
|
|
155
|
+
.cc-form-fieldset-heading
|
|
156
|
+
span 生まれ年
|
|
157
|
+
span.required 必須
|
|
158
|
+
.cc-form-fieldset-body
|
|
159
|
+
.mail-field(data-type="select")
|
|
160
|
+
span.mail-before-attachment
|
|
161
|
+
span.mail-input __入力内容__
|
|
162
|
+
span.mail-after-attachment
|
|
163
|
+
.cc-form-fieldset
|
|
164
|
+
div
|
|
165
|
+
.cc-form-fieldset-heading
|
|
166
|
+
span 性別
|
|
167
|
+
span.optional 任意
|
|
168
|
+
.cc-form-fieldset-body
|
|
169
|
+
.mail-field(data-type="radio")
|
|
170
|
+
span.mail-before-attachment
|
|
171
|
+
.mail-radio
|
|
172
|
+
span.mail-input __選択項目__
|
|
173
|
+
.cc-form-fieldset
|
|
174
|
+
div
|
|
175
|
+
.cc-form-fieldset-heading
|
|
176
|
+
span テキストエリア
|
|
177
|
+
span.optional 任意
|
|
178
|
+
.cc-form-fieldset-attention
|
|
179
|
+
.mail-attention 注意書き
|
|
180
|
+
.cc-form-fieldset-body
|
|
181
|
+
.mail-field(data-type="textarea")
|
|
182
|
+
span.mail-before-attachment
|
|
183
|
+
p.mail-input __入力内容__
|
|
184
|
+
span.mail-after-attachment
|
|
185
|
+
.cc-form-fieldset
|
|
186
|
+
div
|
|
187
|
+
.cc-form-fieldset-heading
|
|
188
|
+
span テキストエリア
|
|
189
|
+
span.optional 任意
|
|
190
|
+
.cc-form-fieldset-body
|
|
191
|
+
.mail-field(data-type="textarea")
|
|
192
|
+
span.mail-before-attachment 前見出し
|
|
193
|
+
p.mail-input __入力内容__
|
|
194
|
+
span.mail-after-attachment 後見出し
|
|
195
|
+
.cc-form-fieldset
|
|
196
|
+
div
|
|
197
|
+
.cc-form-fieldset-heading
|
|
198
|
+
span ファイル添付
|
|
199
|
+
span.optional 任意
|
|
200
|
+
.cc-form-fieldset-body
|
|
201
|
+
.mail-field(data-type="file")
|
|
202
|
+
span.mail-before-attachment 前見出し
|
|
203
|
+
span.mail-input __ファイル名__
|
|
204
|
+
span.mail-after-attachment 後見出し
|
|
205
|
+
.cc-form-submit
|
|
206
|
+
button(type="submit"): span 入力画面に戻る
|
|
207
|
+
button(type="submit"): span 送信する
|
|
208
|
+
|
|
209
|
+
.c-page-sub__nav-sitemap
|
|
210
|
+
include /component/c-nav-sitemap.pug
|
|
211
|
+
.c-page-sub__footer
|
|
212
|
+
include /component/c-footer.pug
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
html(lang="ja")
|
|
2
|
+
head
|
|
3
|
+
include /mixin/meta.pug
|
|
4
|
+
+meta('__ページタイトル__ | __サイトタイトル__')
|
|
5
|
+
body.c-page-sub
|
|
6
|
+
.c-page-sub__base
|
|
7
|
+
.c-page-sub__header
|
|
8
|
+
include /component/c-header.pug
|
|
9
|
+
.c-page-sub__nav-global
|
|
10
|
+
include /component/c-nav-global.pug
|
|
11
|
+
|
|
12
|
+
.c-page-sub__main
|
|
13
|
+
main
|
|
14
|
+
.c-page-sub__content
|
|
15
|
+
.c-page-sub__title-page
|
|
16
|
+
include /component/c-title-page.pug
|
|
17
|
+
.c-page-sub__nav-breadcrumb
|
|
18
|
+
include /component/c-nav-breadcrumb.pug
|
|
19
|
+
.c-page-sub__content-main
|
|
20
|
+
.c-content-main
|
|
21
|
+
.cc-form-description
|
|
22
|
+
p 送信ありがとうございました。
|
|
23
|
+
|
|
24
|
+
.c-page-sub__nav-sitemap
|
|
25
|
+
include /component/c-nav-sitemap.pug
|
|
26
|
+
.c-page-sub__footer
|
|
27
|
+
include /component/c-footer.pug
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
html(lang="ja")
|
|
2
|
+
head
|
|
3
|
+
meta(charset="UTF-8")
|
|
4
|
+
title テンプレート一覧
|
|
5
|
+
meta(name="viewport" content="width=device-width, initial-scale=1.0")
|
|
6
|
+
meta(http-equiv="X-UA-Compatible" content="ie=edge")
|
|
7
|
+
link(
|
|
8
|
+
rel="stylesheet"
|
|
9
|
+
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css")
|
|
10
|
+
style.
|
|
11
|
+
.list-group-item a {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
body
|
|
15
|
+
.c-content-main
|
|
16
|
+
main.container
|
|
17
|
+
h1.my-5 テンプレート
|
|
18
|
+
|
|
19
|
+
.alert.alert-warning
|
|
20
|
+
h2.alert-heading ⚠️ コーディング時の注意
|
|
21
|
+
h3.mt-4 デザイン確認
|
|
22
|
+
ul
|
|
23
|
+
li ブレイクポイントは確認しましたか?
|
|
24
|
+
li 必要なパーツは揃っていますか?
|
|
25
|
+
li PCの横の最大幅が大きすぎないですか?
|
|
26
|
+
li 本文の1行の文字数は適切ですか?読みにくくないですか?
|
|
27
|
+
li ウィンドウサイズを変更したときに、見切れる設計になっていませんか?
|
|
28
|
+
li SPでの文字が小さすぎないですか?実寸で読みにくくないですか?
|
|
29
|
+
li CMS要件に合っていますか?
|
|
30
|
+
hr
|
|
31
|
+
h3 コーディング確認
|
|
32
|
+
ul
|
|
33
|
+
li
|
|
34
|
+
a(
|
|
35
|
+
href="https://guidelines.d-zero.co.jp/#%F0%9F%8C%90-%E5%AF%BE%E5%BF%9C%E3%83%95%E3%82%99%E3%83%A9%E3%82%A6%E3%82%B5%E3%82%99%E3%81%A8%E3%83%86%E3%82%99%E3%83%8F%E3%82%99%E3%82%A4%E3%82%B9") 対応ブラウザ
|
|
36
|
+
| は確認しましたか?
|
|
37
|
+
li メタ情報の手配は済んでいますか?
|
|
38
|
+
li 利用するJavaScriptライブラリは把握できていますか?ライセンスは確認しましたか?
|
|
39
|
+
li 画像のファイルサイズを気にしていますか?拡張子は適切ですか?
|
|
40
|
+
li
|
|
41
|
+
a(
|
|
42
|
+
href="https://guidelines.d-zero.co.jp/js.html#%F0%9F%90%8E-%E3%83%8F%E3%82%9A%E3%83%95%E3%82%A9%E3%83%BC%E3%83%9E%E3%83%B3%E3%82%B9%E3%82%92%E6%84%8F%E8%AD%98%E3%81%97%E3%81%9F%E5%AE%9F%E8%A3%85") パフォーマンスに影響を及ぼす処理
|
|
43
|
+
| を書いていませんか?
|
|
44
|
+
li フォーカスインジケーターを消していませんか?
|
|
45
|
+
li OSのスクロールバー表示をオンにして、スクロールバーの発生を確認していますか?
|
|
46
|
+
|
|
47
|
+
.list-group
|
|
48
|
+
// ⚠️ 注意: ページを増やす場合、番号は重複しないようにしてください。
|
|
49
|
+
// トップページは000番台
|
|
50
|
+
.list-group-item: a(href="000_home.html") トップページ
|
|
51
|
+
// 詳細ページは100番台
|
|
52
|
+
.list-group-item: a(href="100_sub.html") 下層固定ページ・ブログ詳細ページ
|
|
53
|
+
// インデックスページは200番台
|
|
54
|
+
.list-group-item: a(href="200_blog_index.html") ブログA一覧ページ
|
|
55
|
+
.list-group-item: a(href="210_blog_index.html") ブログB一覧ページ
|
|
56
|
+
// メールフォームは300番台
|
|
57
|
+
.list-group-item: a(href="300_form_input.html") メールフォーム入力ページ
|
|
58
|
+
.list-group-item: a(href="301_form_confirm.html") メールフォーム確認ページ
|
|
59
|
+
.list-group-item: a(href="302_form_complete.html") メールフォーム完了ページ
|
|
60
|
+
// その他は400番台
|
|
61
|
+
|
|
62
|
+
.list-group.mt-5
|
|
63
|
+
.list-group-item: a(href="https://guidelines.d-zero.co.jp" target="_blank") 📖 コーディングガイドライン
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import 'destyle.css' layer(reset);
|
|
2
|
+
|
|
3
|
+
@layer base {
|
|
4
|
+
@import '@/style/base/root.scss';
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@layer general {
|
|
8
|
+
@import '@/style/general/all.scss';
|
|
9
|
+
@import '@/style/general/body.scss';
|
|
10
|
+
@import '@/style/general/button.scss';
|
|
11
|
+
@import '@/style/general/img.scss';
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@layer components {
|
|
15
|
+
@import '@/component/bge-content.scss';
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@layer reset, base, general, components;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@import 'destyle.css' layer(reset);
|
|
2
|
+
|
|
3
|
+
@layer base {
|
|
4
|
+
@import '@/style/base/root.scss';
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@layer general {
|
|
8
|
+
@import '@/style/general/all.scss';
|
|
9
|
+
@import '@/style/general/body.scss';
|
|
10
|
+
@import '@/style/general/button.scss';
|
|
11
|
+
@import '@/style/general/img.scss';
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@layer components {
|
|
15
|
+
@import '@/component/c-page-home.scss';
|
|
16
|
+
@import '@/component/c-page-sub.scss';
|
|
17
|
+
@import '@/component/c-header.scss';
|
|
18
|
+
@import '@/component/c-footer.scss';
|
|
19
|
+
@import '@/component/c-nav-global.scss';
|
|
20
|
+
@import '@/component/c-nav-sitemap.scss';
|
|
21
|
+
@import '@/component/c-nav-breadcrumb.scss';
|
|
22
|
+
@import '@/component/c-title-page.scss';
|
|
23
|
+
@import '@/component/c-pagination.scss';
|
|
24
|
+
@import '@/component/c-card-list.scss';
|
|
25
|
+
@import '@/component/c-card.scss';
|
|
26
|
+
@import '@/component/c-media-list.scss';
|
|
27
|
+
@import '@/component/c-media.scss';
|
|
28
|
+
@import '@/component/c-content-index.scss';
|
|
29
|
+
@import '@/component/c-content-main.scss';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@layer reset, base, general, components;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
html(lang="en")
|
|
2
|
+
head
|
|
3
|
+
meta(charset="UTF-8")
|
|
4
|
+
meta(name="viewport" content="width=device-width, initial-scale=1.0")
|
|
5
|
+
meta(http-equiv="X-UA-Compatible" content="ie=edge")
|
|
6
|
+
meta(http-equiv="refresh" content="0;URL=./__tmpl/")
|
|
7
|
+
title Document root
|
|
8
|
+
body
|
|
9
|
+
h1 Document root
|
package/cspell.json
CHANGED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
|
|
3
|
+
import eleventy from '@d-zero/builder/11ty';
|
|
4
|
+
|
|
5
|
+
export default function (eleventyConfig) {
|
|
6
|
+
return eleventy(eleventyConfig, {
|
|
7
|
+
/**
|
|
8
|
+
* Alias for the path to the directory containing the components.
|
|
9
|
+
*/
|
|
10
|
+
alias: {
|
|
11
|
+
'@': path.resolve(import.meta.dirname, '__assets', '_libs'),
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Output directory for CSS files.
|
|
16
|
+
*/
|
|
17
|
+
// outputCssDir: 'css',
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Output directory for JavaScript files
|
|
21
|
+
*/
|
|
22
|
+
// outputJsDir: 'js',
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Output directory for image files
|
|
26
|
+
*/
|
|
27
|
+
// outputImgDir: 'img',
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Prettier options.
|
|
31
|
+
*
|
|
32
|
+
* @see https://prettier.io/docs/en/options
|
|
33
|
+
*/
|
|
34
|
+
// prettier: false,
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Minifier options.
|
|
38
|
+
*
|
|
39
|
+
* @see https://github.com/terser/html-minifier-terser?tab=readme-ov-file#options-quick-reference
|
|
40
|
+
*/
|
|
41
|
+
// minifier: { minifyJS: false },
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Line break.
|
|
45
|
+
*/
|
|
46
|
+
// lineBreak: '\r\n',
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Character encoding.
|
|
50
|
+
*/
|
|
51
|
+
// charset: 'shift_jis',
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Path format
|
|
55
|
+
*/
|
|
56
|
+
// pathFormat: 'directory',
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Automatically decode the content on the dev server.
|
|
60
|
+
*/
|
|
61
|
+
// autoDecode: true,
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Server Side Include options on the dev server.
|
|
65
|
+
*/
|
|
66
|
+
// ssi: { '**/*': { encoding: 'shift_jis' } },
|
|
67
|
+
});
|
|
68
|
+
}
|
package/lint-staged.config.mjs
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
|
|
1
3
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
2
4
|
import lintStagedConfigGenerator from '@d-zero/lint-staged-config';
|
|
3
|
-
export default lintStagedConfigGenerator(
|
|
5
|
+
export default lintStagedConfigGenerator({
|
|
6
|
+
ignore: [
|
|
7
|
+
path.resolve(import.meta.dirname, 'htdocs', '**', '*'),
|
|
8
|
+
{
|
|
9
|
+
textlint: 'CHANGELOG.md',
|
|
10
|
+
},
|
|
11
|
+
],
|
|
12
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-zero/scaffold",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.30",
|
|
4
4
|
"description": "Frontend scaffold files of D-ZERO Co., Ltd.",
|
|
5
5
|
"repository": "https://github.com/d-zero-dev/frontend-env.git",
|
|
6
6
|
"author": "D-ZERO Co., Ltd.",
|
|
@@ -11,27 +11,21 @@
|
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "package.json",
|
|
14
|
-
"files": [
|
|
15
|
-
"*",
|
|
16
|
-
"**/*",
|
|
17
|
-
".gitignore",
|
|
18
|
-
"!htdocs",
|
|
19
|
-
"!node_modules",
|
|
20
|
-
"!.11ty-vite",
|
|
21
|
-
"!.serve",
|
|
22
|
-
"!.DS_Store"
|
|
23
|
-
],
|
|
24
14
|
"scripts": {
|
|
25
|
-
"
|
|
15
|
+
"build": "npx @d-zero/builder",
|
|
16
|
+
"dev": "eleventy --serve --watch",
|
|
26
17
|
"d": "yarn dev",
|
|
27
|
-
"release": "cross-env NODE_ENV=production build",
|
|
28
18
|
"lint": "run-s lint:*",
|
|
29
19
|
"lint:html": "markuplint \"./__assets/**/*.{pug,html}\"",
|
|
30
|
-
"lint:
|
|
31
|
-
"lint:css": "
|
|
32
|
-
"lint:js": "
|
|
33
|
-
"lint:
|
|
20
|
+
"lint:pug": "pug-lint ./__assets/htdocs/**/*.pug -r console; pug-lint ./__assets/_libs/**/*.pug -r console;",
|
|
21
|
+
"lint:css": "stylelint \"./__assets/**/*.scss\" --fix",
|
|
22
|
+
"lint:js": "eslint \"./__assets/**/*.{js,mjs,cjs,jsx,ts,tsx}\" --fix",
|
|
23
|
+
"lint:ts": "tsc --noEmit",
|
|
24
|
+
"lint:format": "prettier --write \"{*,./__assets/**/*}.{js,jsx,ts,tsx,scss,pug,html,json,yaml,*rc}\"",
|
|
34
25
|
"lint:spell": "cspell --no-progress --show-suggestions \"**\"",
|
|
26
|
+
"lint:text": "textlint \"./__assets/**/*.{pug,html}\"",
|
|
27
|
+
"test": "vitest run",
|
|
28
|
+
"prepare": "husky",
|
|
35
29
|
"up": "yarn upgrade-interactive --latest"
|
|
36
30
|
},
|
|
37
31
|
"browserslist": [
|
|
@@ -43,22 +37,25 @@
|
|
|
43
37
|
"last 2 ios_saf version"
|
|
44
38
|
],
|
|
45
39
|
"devDependencies": {
|
|
46
|
-
"@d-zero/builder": "5.0.0-alpha.
|
|
47
|
-
"@d-zero/linters": "5.0.0-alpha.
|
|
48
|
-
"@d-zero/postcss-config": "5.0.0-alpha.
|
|
49
|
-
"@d-zero/tsconfig": "0.
|
|
50
|
-
"@types/node": "
|
|
40
|
+
"@d-zero/builder": "5.0.0-alpha.30",
|
|
41
|
+
"@d-zero/linters": "5.0.0-alpha.50",
|
|
42
|
+
"@d-zero/postcss-config": "5.0.0-alpha.30",
|
|
43
|
+
"@d-zero/tsconfig": "0.4.0",
|
|
44
|
+
"@types/node": "22.9.0",
|
|
51
45
|
"cross-env": "7.0.3",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
46
|
+
"husky": "9.1.6",
|
|
47
|
+
"npm-run-all2": "7.0.1",
|
|
48
|
+
"sass": "1.80.6",
|
|
49
|
+
"typescript": "5.6.3",
|
|
50
|
+
"vitest": "2.1.4"
|
|
55
51
|
},
|
|
56
52
|
"dependencies": {
|
|
57
|
-
"
|
|
58
|
-
"tslib": "2.
|
|
53
|
+
"destyle.css": "4.0.1",
|
|
54
|
+
"tslib": "2.8.1"
|
|
59
55
|
},
|
|
60
56
|
"volta": {
|
|
61
|
-
"node": "22.
|
|
57
|
+
"node": "22.11.0",
|
|
62
58
|
"yarn": "1.22.22"
|
|
63
|
-
}
|
|
59
|
+
},
|
|
60
|
+
"gitHead": "b2d7a6d322568761bb2fe5335296c2ca9f4c3d47"
|
|
64
61
|
}
|
package/prh.yaml
ADDED