@mrpelz/boilerplate-common 7.3.0 → 8.0.0
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/config/.husky/commit-msg
CHANGED
package/config/Makefile
CHANGED
package/config/eslint.config.js
CHANGED
|
@@ -461,7 +461,7 @@ export const plugins = {
|
|
|
461
461
|
|
|
462
462
|
/** @type {import('eslint').Linter.FlatConfig} */
|
|
463
463
|
export const configMeta = {
|
|
464
|
-
files: ['**/*.js'],
|
|
464
|
+
files: ['**/*.{js,mjs}'],
|
|
465
465
|
ignores: ['dist/**/*', 'node_modules/**/*', 'src/**/*', 'packages/**/*'],
|
|
466
466
|
languageOptions: {
|
|
467
467
|
parser: typescriptParser,
|
package/config/jest.config.js
CHANGED
package/package.json
CHANGED
package/scripts/bootstrap.sh
CHANGED
|
@@ -187,10 +187,10 @@ include ${BOILERPLATE_MODULE_PATH}config/Makefile
|
|
|
187
187
|
EOF
|
|
188
188
|
)"
|
|
189
189
|
|
|
190
|
-
make_config commitlint.config.
|
|
190
|
+
make_config commitlint.config.mjs "$(
|
|
191
191
|
cat <<EOF
|
|
192
192
|
// @ts-ignore
|
|
193
|
-
import config from '$BOILERPLATE_MODULE_NAME/config/commitlint.config.
|
|
193
|
+
import config from '$BOILERPLATE_MODULE_NAME/config/commitlint.config.mjs';
|
|
194
194
|
|
|
195
195
|
/** @type {import('@commitlint/types').UserConfig} */
|
|
196
196
|
export default config;
|
|
@@ -245,9 +245,9 @@ EOF
|
|
|
245
245
|
make_config tsconfig.meta.json "$(
|
|
246
246
|
cat <<EOF
|
|
247
247
|
{
|
|
248
|
-
"exclude": ["dist/**/*", "node_modules/**/*", "src/**/*"],
|
|
248
|
+
"exclude": ["dist/**/*", "node_modules/**/*", "packages/**/*", "src/**/*"],
|
|
249
249
|
"extends": "$BOILERPLATE_MODULE_NAME/config/tsconfig.meta.json",
|
|
250
|
-
"include": ["**/*.js"]
|
|
250
|
+
"include": ["**/*.js", "**/*.mjs"]
|
|
251
251
|
}
|
|
252
252
|
EOF
|
|
253
253
|
)"
|
|
@@ -258,7 +258,7 @@ include:
|
|
|
258
258
|
- project: "mrpelz/boilerplate"
|
|
259
259
|
ref: main
|
|
260
260
|
file: "/gitlab/.gitlab-ci.yml"
|
|
261
|
-
|
|
261
|
+
# file: "/gitlab/.monorepo.gitlab-ci.yml"
|
|
262
262
|
EOF
|
|
263
263
|
else
|
|
264
264
|
cat <<EOF
|
|
@@ -276,8 +276,7 @@ if check_response "💱 apply changes to \"package.json\"?" y; then
|
|
|
276
276
|
"main=dist/main.js" \
|
|
277
277
|
"module=dist/main.js" \
|
|
278
278
|
"types=dist/main.d.ts" \
|
|
279
|
-
"files[0]=dist/**/*.{js,map,ts}"
|
|
280
|
-
"devDependencies.@mrpelz/boilerplate-common=latest"
|
|
279
|
+
"files[0]=dist/**/*.{js,map,ts}"
|
|
281
280
|
fi
|
|
282
281
|
|
|
283
282
|
if check_response "🕳 run npm install?" y; then
|
|
File without changes
|