@d-zero/scaffold 5.0.0-alpha.15 → 5.0.0-alpha.5
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/.eslintrc.cjs +0 -1
- package/.stylelintrc +1 -18
- package/CHANGELOG.md +0 -63
- package/__assets/_libs/component/_c-content-main.scss +3 -2
- package/__assets/_libs/style/general/_all.scss +4 -0
- package/__assets/htdocs/__tmpl/000_home.pug +5 -5
- package/__assets/htdocs/__tmpl/100_sub.pug +7 -7
- package/__assets/htdocs/__tmpl/200_blog_index.pug +9 -9
- package/__assets/htdocs/__tmpl/210_blog_index.pug +9 -9
- package/__assets/htdocs/__tmpl/300_form_input.pug +7 -7
- package/__assets/htdocs/__tmpl/301_form_confirm.pug +7 -8
- package/__assets/htdocs/__tmpl/302_form_complete.pug +7 -7
- package/__assets/htdocs/css/style.scss +1 -1
- package/__assets/htdocs/sub-folder.test/index.pug +1 -1
- package/cspell.json +1 -2
- package/eleventy.config.cjs +0 -9
- package/lint-staged.config.mjs +1 -10
- package/package.json +15 -17
- package/.husky/pre-commit +0 -6
- package/.prettierignore +0 -1
- package/.textlintignore +0 -1
- package/__assets/htdocs/@static/empty +0 -0
- package/__assets/htdocs/@static/img/empty +0 -0
package/.eslintrc.cjs
CHANGED
package/.stylelintrc
CHANGED
|
@@ -1,20 +1,3 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": ["@d-zero/stylelint-config"]
|
|
3
|
-
"overrides": [
|
|
4
|
-
{
|
|
5
|
-
"files": ["_c-*.scss"],
|
|
6
|
-
"rules": {
|
|
7
|
-
"@d-zero/component": {
|
|
8
|
-
"allowMultipleSelectors": true
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"files": ["_c-content-main.scss"],
|
|
14
|
-
"rules": {
|
|
15
|
-
"selector-class-pattern": null,
|
|
16
|
-
"selector-nested-pattern": "^(?!\\.c-).*"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
]
|
|
2
|
+
"extends": ["@d-zero/stylelint-config"]
|
|
20
3
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -3,69 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
# [5.0.0-alpha.15](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.14...v5.0.0-alpha.15) (2024-10-01)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @d-zero/scaffold
|
|
9
|
-
|
|
10
|
-
# [5.0.0-alpha.14](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.13...v5.0.0-alpha.14) (2024-07-31)
|
|
11
|
-
|
|
12
|
-
### Features
|
|
13
|
-
|
|
14
|
-
- **builder:** css,js,画像ファイルのアウトプット先ディレクトリを指定できるようにする ([bd6028b](https://github.com/d-zero-dev/frontend-env/commit/bd6028b501c872e5667878b754f48938db39e130))
|
|
15
|
-
|
|
16
|
-
# [5.0.0-alpha.13](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.12...v5.0.0-alpha.13) (2024-07-22)
|
|
17
|
-
|
|
18
|
-
**Note:** Version bump only for package @d-zero/scaffold
|
|
19
|
-
|
|
20
|
-
# [5.0.0-alpha.12](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.11...v5.0.0-alpha.12) (2024-07-05)
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
- **scaffold:** fix ignore path within lint-staged ([c62c532](https://github.com/d-zero-dev/frontend-env/commit/c62c5327bd7f142960950fbe4300905301d34a6f))
|
|
25
|
-
|
|
26
|
-
# [5.0.0-alpha.11](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.10...v5.0.0-alpha.11) (2024-07-05)
|
|
27
|
-
|
|
28
|
-
### Bug Fixes
|
|
29
|
-
|
|
30
|
-
- **repo:** fix deprecated husky command on prepare script ([d72833b](https://github.com/d-zero-dev/frontend-env/commit/d72833bcc90cdf3abb649a5e865551fadccf72ee))
|
|
31
|
-
- **scaffold:** fix to ignore `htdocs` on lint staged process ([8292cc9](https://github.com/d-zero-dev/frontend-env/commit/8292cc90098076ad613c33162610e8536bd89ff7))
|
|
32
|
-
|
|
33
|
-
### Features
|
|
34
|
-
|
|
35
|
-
- **scaffold:** 301_form_confirmテンプレートに「入力画面に戻る」ボタンを追加 ([7aa3614](https://github.com/d-zero-dev/frontend-env/commit/7aa3614ffd8f1e7cebe64c97428c0d830f9abb70))
|
|
36
|
-
- **scaffold:** add `@d-zero/component` stylelint rule ([7c42f10](https://github.com/d-zero-dev/frontend-env/commit/7c42f10fc01edf42082844c5334447025cc81bda))
|
|
37
|
-
- **scaffold:** huskyの追加 ([7f485dc](https://github.com/d-zero-dev/frontend-env/commit/7f485dcb28cfaf5ff78eec9e93bcd0a56ff52b95))
|
|
38
|
-
|
|
39
|
-
# [5.0.0-alpha.10](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.9...v5.0.0-alpha.10) (2024-06-11)
|
|
40
|
-
|
|
41
|
-
### Bug Fixes
|
|
42
|
-
|
|
43
|
-
- **scaffold:** 生成ファイルや静的ファイルがリント対象となっていたため除外設定を追加 ([0938636](https://github.com/d-zero-dev/frontend-env/commit/0938636ec260337914eaa4d0ab98aead709164fc))
|
|
44
|
-
- **scaffold:** 文字選択の背景色が表示できない設定になっていたので削除 ([5b7a559](https://github.com/d-zero-dev/frontend-env/commit/5b7a559adb103a868901cfe7ab8dc7ef2f5d5e12))
|
|
45
|
-
|
|
46
|
-
### Features
|
|
47
|
-
|
|
48
|
-
- **scaffold:** リセットを`destyle.css`に変更 ([10f05c7](https://github.com/d-zero-dev/frontend-env/commit/10f05c79f54b41114c3d26194ad1ba84b15fd61d))
|
|
49
|
-
|
|
50
|
-
# [5.0.0-alpha.9](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.8...v5.0.0-alpha.9) (2024-06-10)
|
|
51
|
-
|
|
52
|
-
### Features
|
|
53
|
-
|
|
54
|
-
- **builder:** `publicDir`を`eleventyConfig.addGlobalData`に設定できるように追加 ([26e2740](https://github.com/d-zero-dev/frontend-env/commit/26e2740c8df32cc60cb4e407fe4cfc20919a7e5a))
|
|
55
|
-
- **scaffold:** `[@static](https://github.com/static)`フォルダを空フォルダとして予め準備 ([7fe485b](https://github.com/d-zero-dev/frontend-env/commit/7fe485b2ef4d5a13e23e494c1d2c5422ef3fdc3b))
|
|
56
|
-
|
|
57
|
-
# [5.0.0-alpha.8](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.7...v5.0.0-alpha.8) (2024-05-23)
|
|
58
|
-
|
|
59
|
-
**Note:** Version bump only for package @d-zero/scaffold
|
|
60
|
-
|
|
61
|
-
# [5.0.0-alpha.7](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.6...v5.0.0-alpha.7) (2024-05-14)
|
|
62
|
-
|
|
63
|
-
**Note:** Version bump only for package @d-zero/scaffold
|
|
64
|
-
|
|
65
|
-
# [5.0.0-alpha.6](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.5...v5.0.0-alpha.6) (2024-05-14)
|
|
66
|
-
|
|
67
|
-
**Note:** Version bump only for package @d-zero/scaffold
|
|
68
|
-
|
|
69
6
|
# [5.0.0-alpha.5](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.4...v5.0.0-alpha.5) (2024-05-14)
|
|
70
7
|
|
|
71
8
|
### Bug Fixes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../style/theme' as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/* stylelint-disable selector-class-pattern, selector-nested-pattern -- content-main特殊ルール */
|
|
4
|
+
//
|
|
5
5
|
// メインコンテンツ(content-mainコンポーネント)の内容はCMSなどで管理されるHTMLを含んだり、
|
|
6
6
|
// ページ独自のスタイルを扱うことが多いので例外的に専用のルールを設ける。
|
|
7
7
|
//
|
|
@@ -267,3 +267,4 @@
|
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
+
/* stylelint-enable selector-class-pattern, selector-nested-pattern */
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
html(lang="ja")
|
|
2
2
|
head
|
|
3
|
-
include /mixin/meta.pug
|
|
3
|
+
include ../../_libs/mixin/meta.pug
|
|
4
4
|
+meta('__サイトタイトル__')
|
|
5
5
|
body.c-page-home
|
|
6
6
|
.c-page-home__base
|
|
7
7
|
.c-page-home__header
|
|
8
8
|
- const isHome = true;
|
|
9
|
-
include /component/_c-header.pug
|
|
9
|
+
include ../../_libs/component/_c-header.pug
|
|
10
10
|
.c-page-home__nav-global
|
|
11
|
-
include /component/_c-nav-global.pug
|
|
11
|
+
include ../../_libs/component/_c-nav-global.pug
|
|
12
12
|
|
|
13
13
|
.c-page-home__main
|
|
14
14
|
main
|
|
15
15
|
h2 メイン
|
|
16
16
|
|
|
17
17
|
.c-page-home__nav-sitemap
|
|
18
|
-
include /component/_c-nav-sitemap.pug
|
|
18
|
+
include ../../_libs/component/_c-nav-sitemap.pug
|
|
19
19
|
.c-page-home__footer
|
|
20
|
-
include /component/_c-footer.pug
|
|
20
|
+
include ../../_libs/component/_c-footer.pug
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
html(lang="ja")
|
|
2
2
|
head
|
|
3
|
-
include /mixin/meta.pug
|
|
3
|
+
include ../../_libs/mixin/meta.pug
|
|
4
4
|
+meta('__ページタイトル__ | __サイトタイトル__')
|
|
5
5
|
body.c-page-sub
|
|
6
6
|
.c-page-sub__base
|
|
7
7
|
.c-page-sub__header
|
|
8
|
-
include /component/_c-header.pug
|
|
8
|
+
include ../../_libs/component/_c-header.pug
|
|
9
9
|
.c-page-sub__nav-global
|
|
10
|
-
include /component/_c-nav-global.pug
|
|
10
|
+
include ../../_libs/component/_c-nav-global.pug
|
|
11
11
|
.c-page-sub__main
|
|
12
12
|
main
|
|
13
13
|
article.c-page-sub__content
|
|
14
14
|
.c-page-sub__title-page
|
|
15
|
-
include /component/_c-title-page.pug
|
|
15
|
+
include ../../_libs/component/_c-title-page.pug
|
|
16
16
|
.c-page-sub__nav-breadcrumb
|
|
17
|
-
include /component/_c-nav-breadcrumb.pug
|
|
17
|
+
include ../../_libs/component/_c-nav-breadcrumb.pug
|
|
18
18
|
.c-page-sub__content-main
|
|
19
19
|
.c-content-main !{ blocks }
|
|
20
20
|
.c-page-sub__nav-sitemap
|
|
21
|
-
include /component/_c-nav-sitemap.pug
|
|
21
|
+
include ../../_libs/component/_c-nav-sitemap.pug
|
|
22
22
|
.c-page-sub__footer
|
|
23
|
-
include /component/_c-footer.pug
|
|
23
|
+
include ../../_libs/component/_c-footer.pug
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
html(lang="ja")
|
|
2
2
|
head
|
|
3
|
-
include /mixin/meta.pug
|
|
3
|
+
include ../../_libs/mixin/meta.pug
|
|
4
4
|
+meta('__ページタイトル__ | __サイトタイトル__')
|
|
5
5
|
body.c-page-sub
|
|
6
6
|
.c-page-sub__base
|
|
7
7
|
.c-page-sub__header
|
|
8
|
-
include /component/_c-header.pug
|
|
8
|
+
include ../../_libs/component/_c-header.pug
|
|
9
9
|
.c-page-sub__nav-global
|
|
10
|
-
include /component/_c-nav-global.pug
|
|
10
|
+
include ../../_libs/component/_c-nav-global.pug
|
|
11
11
|
|
|
12
12
|
.c-page-sub__main
|
|
13
13
|
main
|
|
14
14
|
article.c-page-sub__content
|
|
15
15
|
.c-page-sub__title-page
|
|
16
|
-
include /component/_c-title-page.pug
|
|
16
|
+
include ../../_libs/component/_c-title-page.pug
|
|
17
17
|
.c-page-sub__nav-breadcrumb
|
|
18
|
-
include /component/_c-nav-breadcrumb.pug
|
|
18
|
+
include ../../_libs/component/_c-nav-breadcrumb.pug
|
|
19
19
|
.c-page-sub__content-index
|
|
20
20
|
.c-content-index
|
|
21
21
|
.c-content-index__categories
|
|
@@ -30,11 +30,11 @@ html(lang="ja")
|
|
|
30
30
|
.c-content-index__body
|
|
31
31
|
.c-media-list
|
|
32
32
|
each article in data.articles
|
|
33
|
-
include /component/_c-media.pug
|
|
33
|
+
include ../../_libs/component/_c-media.pug
|
|
34
34
|
.c-page-sub__pagination
|
|
35
|
-
include /component/_c-pagination.pug
|
|
35
|
+
include ../../_libs/component/_c-pagination.pug
|
|
36
36
|
|
|
37
37
|
.c-page-sub__nav-sitemap
|
|
38
|
-
include /component/_c-nav-sitemap.pug
|
|
38
|
+
include ../../_libs/component/_c-nav-sitemap.pug
|
|
39
39
|
.c-page-sub__footer
|
|
40
|
-
include /component/_c-footer.pug
|
|
40
|
+
include ../../_libs/component/_c-footer.pug
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
html(lang="ja")
|
|
2
2
|
head
|
|
3
|
-
include /mixin/meta.pug
|
|
3
|
+
include ../../_libs/mixin/meta.pug
|
|
4
4
|
+meta('__ページタイトル__ | __サイトタイトル__')
|
|
5
5
|
body.c-page-sub
|
|
6
6
|
.c-page-sub__base
|
|
7
7
|
.c-page-sub__header
|
|
8
|
-
include /component/_c-header.pug
|
|
8
|
+
include ../../_libs/component/_c-header.pug
|
|
9
9
|
.c-page-sub__nav-global
|
|
10
|
-
include /component/_c-nav-global.pug
|
|
10
|
+
include ../../_libs/component/_c-nav-global.pug
|
|
11
11
|
|
|
12
12
|
.c-page-sub__main
|
|
13
13
|
main
|
|
14
14
|
article.c-page-sub__content
|
|
15
15
|
.c-page-sub__title-page
|
|
16
|
-
include /component/_c-title-page.pug
|
|
16
|
+
include ../../_libs/component/_c-title-page.pug
|
|
17
17
|
.c-page-sub__nav-breadcrumb
|
|
18
|
-
include /component/_c-nav-breadcrumb.pug
|
|
18
|
+
include ../../_libs/component/_c-nav-breadcrumb.pug
|
|
19
19
|
.c-page-sub__content-index
|
|
20
20
|
.c-content-index
|
|
21
21
|
.c-content-index__categories
|
|
@@ -30,11 +30,11 @@ html(lang="ja")
|
|
|
30
30
|
.c-content-index__body
|
|
31
31
|
.c-card-list
|
|
32
32
|
each article in data.articles
|
|
33
|
-
include /component/_c-card.pug
|
|
33
|
+
include ../../_libs/component/_c-card.pug
|
|
34
34
|
.c-page-sub__pagination
|
|
35
|
-
include /component/_c-pagination.pug
|
|
35
|
+
include ../../_libs/component/_c-pagination.pug
|
|
36
36
|
|
|
37
37
|
.c-page-sub__nav-sitemap
|
|
38
|
-
include /component/_c-nav-sitemap.pug
|
|
38
|
+
include ../../_libs/component/_c-nav-sitemap.pug
|
|
39
39
|
.c-page-sub__footer
|
|
40
|
-
include /component/_c-footer.pug
|
|
40
|
+
include ../../_libs/component/_c-footer.pug
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
html(lang="ja")
|
|
2
2
|
head
|
|
3
|
-
include /mixin/meta.pug
|
|
3
|
+
include ../../_libs/mixin/meta.pug
|
|
4
4
|
+meta('__ページタイトル__ | __サイトタイトル__')
|
|
5
5
|
body.c-page-sub
|
|
6
6
|
.c-page-sub__base
|
|
7
7
|
.c-page-sub__header
|
|
8
|
-
include /component/_c-header.pug
|
|
8
|
+
include ../../_libs/component/_c-header.pug
|
|
9
9
|
.c-page-sub__nav-global
|
|
10
|
-
include /component/_c-nav-global.pug
|
|
10
|
+
include ../../_libs/component/_c-nav-global.pug
|
|
11
11
|
|
|
12
12
|
.c-page-sub__main
|
|
13
13
|
main
|
|
14
14
|
.c-page-sub__content
|
|
15
15
|
.c-page-sub__title-page
|
|
16
|
-
include /component/_c-title-page.pug
|
|
16
|
+
include ../../_libs/component/_c-title-page.pug
|
|
17
17
|
.c-page-sub__nav-breadcrumb
|
|
18
|
-
include /component/_c-nav-breadcrumb.pug
|
|
18
|
+
include ../../_libs/component/_c-nav-breadcrumb.pug
|
|
19
19
|
.c-page-sub__content-main
|
|
20
20
|
.c-content-main
|
|
21
21
|
// CMS要件: メールフォーム概要
|
|
@@ -564,6 +564,6 @@ html(lang="ja")
|
|
|
564
564
|
value="__TOKEN__")
|
|
565
565
|
|
|
566
566
|
.c-page-sub__nav-sitemap
|
|
567
|
-
include /component/_c-nav-sitemap.pug
|
|
567
|
+
include ../../_libs/component/_c-nav-sitemap.pug
|
|
568
568
|
.c-page-sub__footer
|
|
569
|
-
include /component/_c-footer.pug
|
|
569
|
+
include ../../_libs/component/_c-footer.pug
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
html(lang="ja")
|
|
2
2
|
head
|
|
3
|
-
include /mixin/meta.pug
|
|
3
|
+
include ../../_libs/mixin/meta.pug
|
|
4
4
|
+meta('__ページタイトル__ | __サイトタイトル__')
|
|
5
5
|
body.c-page-sub
|
|
6
6
|
.c-page-sub__base
|
|
7
7
|
.c-page-sub__header
|
|
8
|
-
include /component/_c-header.pug
|
|
8
|
+
include ../../_libs/component/_c-header.pug
|
|
9
9
|
.c-page-sub__nav-global
|
|
10
|
-
include /component/_c-nav-global.pug
|
|
10
|
+
include ../../_libs/component/_c-nav-global.pug
|
|
11
11
|
|
|
12
12
|
.c-page-sub__main
|
|
13
13
|
main
|
|
14
14
|
.c-page-sub__content
|
|
15
15
|
.c-page-sub__title-page
|
|
16
|
-
include /component/_c-title-page.pug
|
|
16
|
+
include ../../_libs/component/_c-title-page.pug
|
|
17
17
|
.c-page-sub__nav-breadcrumb
|
|
18
|
-
include /component/_c-nav-breadcrumb.pug
|
|
18
|
+
include ../../_libs/component/_c-nav-breadcrumb.pug
|
|
19
19
|
.c-page-sub__content-main
|
|
20
20
|
.c-content-main
|
|
21
21
|
.cc-form-description
|
|
@@ -203,10 +203,9 @@ html(lang="ja")
|
|
|
203
203
|
span.mail-input __ファイル名__
|
|
204
204
|
span.mail-after-attachment 後見出し
|
|
205
205
|
.cc-form-submit
|
|
206
|
-
button(type="submit"): span 入力画面に戻る
|
|
207
206
|
button(type="submit"): span 送信する
|
|
208
207
|
|
|
209
208
|
.c-page-sub__nav-sitemap
|
|
210
|
-
include /component/_c-nav-sitemap.pug
|
|
209
|
+
include ../../_libs/component/_c-nav-sitemap.pug
|
|
211
210
|
.c-page-sub__footer
|
|
212
|
-
include /component/_c-footer.pug
|
|
211
|
+
include ../../_libs/component/_c-footer.pug
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
html(lang="ja")
|
|
2
2
|
head
|
|
3
|
-
include /mixin/meta.pug
|
|
3
|
+
include ../../_libs/mixin/meta.pug
|
|
4
4
|
+meta('__ページタイトル__ | __サイトタイトル__')
|
|
5
5
|
body.c-page-sub
|
|
6
6
|
.c-page-sub__base
|
|
7
7
|
.c-page-sub__header
|
|
8
|
-
include /component/_c-header.pug
|
|
8
|
+
include ../../_libs/component/_c-header.pug
|
|
9
9
|
.c-page-sub__nav-global
|
|
10
|
-
include /component/_c-nav-global.pug
|
|
10
|
+
include ../../_libs/component/_c-nav-global.pug
|
|
11
11
|
|
|
12
12
|
.c-page-sub__main
|
|
13
13
|
main
|
|
14
14
|
.c-page-sub__content
|
|
15
15
|
.c-page-sub__title-page
|
|
16
|
-
include /component/_c-title-page.pug
|
|
16
|
+
include ../../_libs/component/_c-title-page.pug
|
|
17
17
|
.c-page-sub__nav-breadcrumb
|
|
18
|
-
include /component/_c-nav-breadcrumb.pug
|
|
18
|
+
include ../../_libs/component/_c-nav-breadcrumb.pug
|
|
19
19
|
.c-page-sub__content-main
|
|
20
20
|
.c-content-main
|
|
21
21
|
.cc-form-description
|
|
22
22
|
p 送信ありがとうございました。
|
|
23
23
|
|
|
24
24
|
.c-page-sub__nav-sitemap
|
|
25
|
-
include /component/_c-nav-sitemap.pug
|
|
25
|
+
include ../../_libs/component/_c-nav-sitemap.pug
|
|
26
26
|
.c-page-sub__footer
|
|
27
|
-
include /component/_c-footer.pug
|
|
27
|
+
include ../../_libs/component/_c-footer.pug
|
package/cspell.json
CHANGED
package/eleventy.config.cjs
CHANGED
|
@@ -3,19 +3,10 @@ const path = require('node:path');
|
|
|
3
3
|
const eleventy = require('@d-zero/builder/11ty');
|
|
4
4
|
|
|
5
5
|
module.exports = function (eleventyConfig) {
|
|
6
|
-
// eleventyConfig.addGlobalData('publicDir', '@static');
|
|
7
|
-
// eleventyConfig.addGlobalData('outputCssDir', 'css');
|
|
8
|
-
// eleventyConfig.addGlobalData('outputJsDir', 'js');
|
|
9
|
-
// eleventyConfig.addGlobalData('outputImgDir', 'img');
|
|
10
|
-
|
|
11
6
|
eleventyConfig.addGlobalData('alias', {
|
|
12
7
|
'@': path.resolve(__dirname, '__assets', '_libs'),
|
|
13
8
|
});
|
|
14
9
|
|
|
15
|
-
eleventyConfig.setPugOptions({
|
|
16
|
-
basedir: path.resolve(__dirname, '__assets', '_libs'),
|
|
17
|
-
});
|
|
18
|
-
|
|
19
10
|
if (process.env.NODE_ENV === 'production') {
|
|
20
11
|
eleventyConfig.addGlobalData('prettier', true);
|
|
21
12
|
// eleventyConfig.addGlobalData('minifier', { minifyJS: false });
|
package/lint-staged.config.mjs
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import path from 'node:path';
|
|
2
|
-
|
|
3
1
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
4
2
|
import lintStagedConfigGenerator from '@d-zero/lint-staged-config';
|
|
5
|
-
export default lintStagedConfigGenerator(
|
|
6
|
-
ignore: [
|
|
7
|
-
path.resolve(process.cwd(), 'htdocs', '**', '*'),
|
|
8
|
-
{
|
|
9
|
-
textlint: 'CHANGELOG.md',
|
|
10
|
-
},
|
|
11
|
-
],
|
|
12
|
-
});
|
|
3
|
+
export default lintStagedConfigGenerator();
|
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.5",
|
|
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.",
|
|
@@ -17,12 +17,11 @@
|
|
|
17
17
|
"release": "cross-env NODE_ENV=production build",
|
|
18
18
|
"lint": "run-s lint:*",
|
|
19
19
|
"lint:html": "markuplint \"./__assets/**/*.{pug,html}\"",
|
|
20
|
-
"lint:pug": "pug-lint ./__assets/htdocs/**/*.pug -r console; pug-lint ./__assets/_libs/**/*.pug -r console;",
|
|
20
|
+
"lint:html:pug": "pug-lint ./__assets/htdocs/**/*.pug -r console; pug-lint ./__assets/_libs/**/*.pug -r console;",
|
|
21
21
|
"lint:css": " stylelint \"./__assets/**/*.scss\"",
|
|
22
22
|
"lint:js": " eslint \"./__assets/**/*.{js,mjs,cjs,jsx,ts,tsx}\"",
|
|
23
|
-
"lint:format": "prettier --write \"
|
|
23
|
+
"lint:format": "prettier --write \"./__assets/**/*.{js,jsx,ts,tsx,scss,pug,html}\"",
|
|
24
24
|
"lint:spell": "cspell --no-progress --show-suggestions \"**\"",
|
|
25
|
-
"prepare": "husky",
|
|
26
25
|
"up": "yarn upgrade-interactive --latest"
|
|
27
26
|
},
|
|
28
27
|
"browserslist": [
|
|
@@ -34,24 +33,23 @@
|
|
|
34
33
|
"last 2 ios_saf version"
|
|
35
34
|
],
|
|
36
35
|
"devDependencies": {
|
|
37
|
-
"@d-zero/builder": "5.0.0-alpha.
|
|
38
|
-
"@d-zero/linters": "5.0.0-alpha.
|
|
39
|
-
"@d-zero/postcss-config": "5.0.0-alpha.
|
|
40
|
-
"@d-zero/tsconfig": "0.
|
|
41
|
-
"@types/node": "
|
|
36
|
+
"@d-zero/builder": "5.0.0-alpha.5",
|
|
37
|
+
"@d-zero/linters": "5.0.0-alpha.25",
|
|
38
|
+
"@d-zero/postcss-config": "5.0.0-alpha.5",
|
|
39
|
+
"@d-zero/tsconfig": "0.2.0",
|
|
40
|
+
"@types/node": "20.12.12",
|
|
42
41
|
"cross-env": "7.0.3",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"typescript": "5.6.2"
|
|
42
|
+
"npm-run-all2": "6.1.2",
|
|
43
|
+
"sass": "1.77.1",
|
|
44
|
+
"typescript": "5.4.5"
|
|
47
45
|
},
|
|
48
46
|
"dependencies": {
|
|
49
|
-
"
|
|
50
|
-
"tslib": "2.
|
|
47
|
+
"ress": "5.0.2",
|
|
48
|
+
"tslib": "2.6.2"
|
|
51
49
|
},
|
|
52
50
|
"volta": {
|
|
53
|
-
"node": "22.
|
|
51
|
+
"node": "22.1.0",
|
|
54
52
|
"yarn": "1.22.22"
|
|
55
53
|
},
|
|
56
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "49060d4c1598a7267d0c4f4eeab3e3d23fc4cfe9"
|
|
57
55
|
}
|
package/.husky/pre-commit
DELETED
package/.prettierignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@static
|
package/.textlintignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
CHANGELOG.md
|
|
File without changes
|
|
File without changes
|