@ihk-gfi/lux-components-update 19.0.0 → 19.0.1
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/package.json
CHANGED
|
@@ -26,6 +26,7 @@ function updateDependencies() {
|
|
|
26
26
|
deleteDevDep('@angular-eslint/schematics'),
|
|
27
27
|
deleteDevDep('@angular-eslint/template-parser'),
|
|
28
28
|
deleteDevDep('@types/marked'),
|
|
29
|
+
deleteDevDep('typescript-eslint'),
|
|
29
30
|
deleteDevDep('@typescript-eslint/eslint-plugin'),
|
|
30
31
|
deleteDevDep('@typescript-eslint/parser'),
|
|
31
32
|
deleteDevDep('del'),
|
|
@@ -52,7 +53,7 @@ function updateDependencies() {
|
|
|
52
53
|
updateDep('tslib', '^2.8.1', updateIfExists),
|
|
53
54
|
updateDep('zone.js', '~0.15.0', addOrUpdate),
|
|
54
55
|
updateDevDep('@angular-devkit/build-angular', '^19.2.5', addOrUpdate),
|
|
55
|
-
updateDevDep('angular-eslint', '
|
|
56
|
+
updateDevDep('angular-eslint', '19.3.0', addOrUpdate),
|
|
56
57
|
updateDevDep('@angular/cli', '^19.2.5', addOrUpdate),
|
|
57
58
|
updateDevDep('@angular/compiler-cli', '^19.2.4', addOrUpdate),
|
|
58
59
|
updateDevDep('@angular/elements', '^19.2.4', addOrUpdate),
|
|
@@ -60,7 +61,6 @@ function updateDependencies() {
|
|
|
60
61
|
updateDevDep('@compodoc/compodoc', '^1.1.26', updateIfExists),
|
|
61
62
|
updateDevDep('@ihk-gfi/lux-components-update', '^19.0.0', addOrUpdate),
|
|
62
63
|
updateDevDep('@types/jasmine', '~5.1.5', addOrUpdate),
|
|
63
|
-
updateDevDep('typescript-eslint', '8.16.0', addOrUpdate),
|
|
64
64
|
updateDevDep('eslint', '^9.21.0', updateIfExists),
|
|
65
65
|
updateDevDep('fs-extra', '11.2.0', updateIfExists),
|
|
66
66
|
updateDevDep('jasmine-core', '~5.2.0', addOrUpdate),
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
const eslint = require('@eslint/js');
|
|
3
|
+
const tseslint = require('typescript-eslint');
|
|
4
|
+
const angular = require('angular-eslint');
|
|
5
|
+
|
|
6
|
+
module.exports = tseslint.config(
|
|
7
|
+
{
|
|
8
|
+
files: ['**/*.ts'],
|
|
9
|
+
extends: [eslint.configs.recommended, ...tseslint.configs.recommended, ...tseslint.configs.stylistic, ...angular.configs.tsRecommended],
|
|
10
|
+
processor: angular.processInlineTemplates,
|
|
11
|
+
rules: {
|
|
12
|
+
'@angular-eslint/directive-selector': [
|
|
13
|
+
'error',
|
|
14
|
+
{
|
|
15
|
+
type: 'attribute',
|
|
16
|
+
prefix: 'app',
|
|
17
|
+
style: 'camelCase'
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
'@angular-eslint/component-selector': [
|
|
21
|
+
'error',
|
|
22
|
+
{
|
|
23
|
+
type: 'element',
|
|
24
|
+
prefix: 'app',
|
|
25
|
+
style: 'kebab-case'
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
'@typescript-eslint/no-unused-vars': [
|
|
29
|
+
'error',
|
|
30
|
+
{
|
|
31
|
+
args: 'all',
|
|
32
|
+
argsIgnorePattern: '^_',
|
|
33
|
+
caughtErrors: 'all',
|
|
34
|
+
caughtErrorsIgnorePattern: '^_',
|
|
35
|
+
destructuredArrayIgnorePattern: '^_',
|
|
36
|
+
varsIgnorePattern: '^_',
|
|
37
|
+
ignoreRestSiblings: true
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"@angular-eslint/prefer-standalone": "warn",
|
|
41
|
+
"@typescript-eslint/no-explicit-any": "off"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
files: ['**/*.html'],
|
|
46
|
+
extends: [...angular.configs.templateRecommended, ...angular.configs.templateAccessibility],
|
|
47
|
+
rules: {}
|
|
48
|
+
}
|
|
49
|
+
);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const fse = require('fs-extra');
|
|
2
|
+
|
|
3
|
+
console.log('> Script "move-de-files.js" started...');
|
|
4
|
+
|
|
5
|
+
if (fse.pathExistsSync('dist/browser/de')) {
|
|
6
|
+
console.log('> Move files (locale "de")...');
|
|
7
|
+
fse.copySync('dist/browser/de', 'dist/', { overwrite: true });
|
|
8
|
+
fse.removeSync('dist/browser/de');
|
|
9
|
+
console.log('> Success!');
|
|
10
|
+
} else {
|
|
11
|
+
console.log('> No folder "de" found. Nothing is to do.');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
if (fse.pathExistsSync('dist/browser/en')) {
|
|
15
|
+
console.log('> Move files (locale "en")...');
|
|
16
|
+
fse.copySync('dist/browser/en', 'dist/en', { overwrite: true });
|
|
17
|
+
fse.removeSync('dist/browser/en');
|
|
18
|
+
console.log('> Success!');
|
|
19
|
+
} else {
|
|
20
|
+
console.log('> No folder "en" found. Nothing is to do.');
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
if (fse.pathExistsSync('dist/browser')) {
|
|
24
|
+
fse.removeSync('dist/browser');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
console.log('> Script "move-de-files.js" finished.');
|