@d-zero/scaffold 5.0.0-alpha.18 → 5.0.0-alpha.19
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/.textlintrc.js +9 -1
- package/CHANGELOG.md +7 -0
- package/cspell.json +1 -1
- package/eleventy.config.mjs +61 -16
- package/lint-staged.config.mjs +1 -1
- package/package.json +5 -4
- package/prh.yaml +3 -0
- package/.prettierignore +0 -1
- package/__assets/htdocs/@static/empty +0 -0
- package/__assets/htdocs/@static/img/empty +0 -0
package/.eslintrc.cjs
CHANGED
package/.textlintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
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.19](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.18...v5.0.0-alpha.19) (2024-10-11)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **scaffold:** add `lint:text` command ([59ff16e](https://github.com/d-zero-dev/frontend-env/commit/59ff16eb99ccccec667ada4d030041d1c5e98c20))
|
|
11
|
+
- **scaffold:** add Textlint PRH setting ([635a9d2](https://github.com/d-zero-dev/frontend-env/commit/635a9d2adaca43d6dbbd6eb4865f2a7ecd115205))
|
|
12
|
+
|
|
6
13
|
# [5.0.0-alpha.18](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.17...v5.0.0-alpha.18) (2024-10-11)
|
|
7
14
|
|
|
8
15
|
### Bug Fixes
|
package/cspell.json
CHANGED
package/eleventy.config.mjs
CHANGED
|
@@ -3,21 +3,66 @@ import path from 'node:path';
|
|
|
3
3
|
import eleventy from '@d-zero/builder/11ty';
|
|
4
4
|
|
|
5
5
|
export default function (eleventyConfig) {
|
|
6
|
-
eleventyConfig
|
|
7
|
-
|
|
8
|
-
|
|
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 },
|
|
9
42
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
+
});
|
|
23
68
|
}
|
package/lint-staged.config.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import path from 'node:path';
|
|
|
4
4
|
import lintStagedConfigGenerator from '@d-zero/lint-staged-config';
|
|
5
5
|
export default lintStagedConfigGenerator({
|
|
6
6
|
ignore: [
|
|
7
|
-
path.resolve(
|
|
7
|
+
path.resolve(import.meta.dirname, 'htdocs', '**', '*'),
|
|
8
8
|
{
|
|
9
9
|
textlint: 'CHANGELOG.md',
|
|
10
10
|
},
|
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.19",
|
|
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.",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"lint:ts": "tsc --noEmit",
|
|
24
24
|
"lint:format": "prettier --write \"{*,./__assets/**/*}.{js,jsx,ts,tsx,scss,pug,html,json,yaml,*rc}\"",
|
|
25
25
|
"lint:spell": "cspell --no-progress --show-suggestions \"**\"",
|
|
26
|
+
"lint:text": "textlint \"./__assets/**/*.{pug,html}\"",
|
|
26
27
|
"test": "vitest run",
|
|
27
28
|
"prepare": "husky",
|
|
28
29
|
"up": "yarn upgrade-interactive --latest"
|
|
@@ -36,9 +37,9 @@
|
|
|
36
37
|
"last 2 ios_saf version"
|
|
37
38
|
],
|
|
38
39
|
"devDependencies": {
|
|
39
|
-
"@d-zero/builder": "5.0.0-alpha.
|
|
40
|
+
"@d-zero/builder": "5.0.0-alpha.19",
|
|
40
41
|
"@d-zero/linters": "5.0.0-alpha.45",
|
|
41
|
-
"@d-zero/postcss-config": "5.0.0-alpha.
|
|
42
|
+
"@d-zero/postcss-config": "5.0.0-alpha.19",
|
|
42
43
|
"@d-zero/tsconfig": "0.3.2",
|
|
43
44
|
"@types/node": "22.7.5",
|
|
44
45
|
"cross-env": "7.0.3",
|
|
@@ -56,5 +57,5 @@
|
|
|
56
57
|
"node": "22.9.0",
|
|
57
58
|
"yarn": "1.22.22"
|
|
58
59
|
},
|
|
59
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "36a875fb612d90f03947fc382c89f5ce40f01e30"
|
|
60
61
|
}
|
package/prh.yaml
ADDED
package/.prettierignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@static
|
|
File without changes
|
|
File without changes
|