@d-zero/scaffold 5.0.0-alpha.10 → 5.0.0-alpha.12
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/.stylelintrc
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": ["@d-zero/stylelint-config"]
|
|
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
|
+
]
|
|
3
20
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.12](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.11...v5.0.0-alpha.12) (2024-07-05)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **scaffold:** fix ignore path within lint-staged ([c62c532](https://github.com/d-zero-dev/frontend-env/commit/c62c5327bd7f142960950fbe4300905301d34a6f))
|
|
11
|
+
|
|
12
|
+
# [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)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **repo:** fix deprecated husky command on prepare script ([d72833b](https://github.com/d-zero-dev/frontend-env/commit/d72833bcc90cdf3abb649a5e865551fadccf72ee))
|
|
17
|
+
- **scaffold:** fix to ignore `htdocs` on lint staged process ([8292cc9](https://github.com/d-zero-dev/frontend-env/commit/8292cc90098076ad613c33162610e8536bd89ff7))
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
- **scaffold:** 301_form_confirmテンプレートに「入力画面に戻る」ボタンを追加 ([7aa3614](https://github.com/d-zero-dev/frontend-env/commit/7aa3614ffd8f1e7cebe64c97428c0d830f9abb70))
|
|
22
|
+
- **scaffold:** add `@d-zero/component` stylelint rule ([7c42f10](https://github.com/d-zero-dev/frontend-env/commit/7c42f10fc01edf42082844c5334447025cc81bda))
|
|
23
|
+
- **scaffold:** huskyの追加 ([7f485dc](https://github.com/d-zero-dev/frontend-env/commit/7f485dcb28cfaf5ff78eec9e93bcd0a56ff52b95))
|
|
24
|
+
|
|
6
25
|
# [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)
|
|
7
26
|
|
|
8
27
|
### Bug Fixes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use '../style/theme' as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
// 🃏 このファイルのStylelintルールはoverridesによって特別に変更されています
|
|
4
|
+
|
|
5
5
|
// メインコンテンツ(content-mainコンポーネント)の内容はCMSなどで管理されるHTMLを含んだり、
|
|
6
6
|
// ページ独自のスタイルを扱うことが多いので例外的に専用のルールを設ける。
|
|
7
7
|
//
|
|
@@ -267,4 +267,3 @@
|
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
/* stylelint-enable selector-class-pattern, selector-nested-pattern */
|
package/lint-staged.config.mjs
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
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: [path.resolve(process.cwd(), 'htdocs', '**', '*')],
|
|
7
|
+
});
|
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.12",
|
|
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.",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"lint:js": " eslint \"./__assets/**/*.{js,mjs,cjs,jsx,ts,tsx}\"",
|
|
23
23
|
"lint:format": "prettier --write \"{*,./__assets/**/*}.{js,jsx,ts,tsx,scss,pug,html,json,yaml,*rc}\"",
|
|
24
24
|
"lint:spell": "cspell --no-progress --show-suggestions \"**\"",
|
|
25
|
+
"prepare": "husky",
|
|
25
26
|
"up": "yarn upgrade-interactive --latest"
|
|
26
27
|
},
|
|
27
28
|
"browserslist": [
|
|
@@ -33,23 +34,24 @@
|
|
|
33
34
|
"last 2 ios_saf version"
|
|
34
35
|
],
|
|
35
36
|
"devDependencies": {
|
|
36
|
-
"@d-zero/builder": "5.0.0-alpha.
|
|
37
|
-
"@d-zero/linters": "5.0.0-alpha.
|
|
38
|
-
"@d-zero/postcss-config": "5.0.0-alpha.
|
|
39
|
-
"@d-zero/tsconfig": "0.3.
|
|
40
|
-
"@types/node": "20.14.
|
|
37
|
+
"@d-zero/builder": "5.0.0-alpha.12",
|
|
38
|
+
"@d-zero/linters": "5.0.0-alpha.39",
|
|
39
|
+
"@d-zero/postcss-config": "5.0.0-alpha.12",
|
|
40
|
+
"@d-zero/tsconfig": "0.3.1",
|
|
41
|
+
"@types/node": "20.14.9",
|
|
41
42
|
"cross-env": "7.0.3",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
43
|
+
"husky": "9.0.11",
|
|
44
|
+
"npm-run-all2": "6.2.2",
|
|
45
|
+
"sass": "1.77.6",
|
|
46
|
+
"typescript": "5.5.3"
|
|
45
47
|
},
|
|
46
48
|
"dependencies": {
|
|
47
49
|
"destyle.css": "4.0.1",
|
|
48
50
|
"tslib": "2.6.3"
|
|
49
51
|
},
|
|
50
52
|
"volta": {
|
|
51
|
-
"node": "22.
|
|
53
|
+
"node": "22.4.0",
|
|
52
54
|
"yarn": "1.22.22"
|
|
53
55
|
},
|
|
54
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "de7a2f0f5a57a7cfff55af00d4d5e78adcea7f53"
|
|
55
57
|
}
|