Skip to content

Commit dc1e45b

Browse files
committed
feat: add wc app
1 parent 8d2c784 commit dc1e45b

File tree

72 files changed

+4901
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+4901
-86
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Compiled output
44
/dist
5+
/dist-wc
56
/tmp
67
/out-tsc
78
/bazel-out

angular.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,60 @@
3131
}
3232
}
3333
}
34+
},
35+
"wc": {
36+
"projectType": "application",
37+
"root": "projects/wc",
38+
"sourceRoot": "projects/wc/src",
39+
"prefix": "wc",
40+
"architect": {
41+
"build": {
42+
"builder": "ngx-build-plus:browser",
43+
"options": {
44+
"outputPath": "dist-wc/assets",
45+
"singleBundle": true,
46+
"outputHashing": "none",
47+
"index": "",
48+
"main": "projects/wc/src/main.ts",
49+
"assets": ["projects/wc/src/assets"],
50+
"scripts": []
51+
},
52+
"configurations": {
53+
"production": {
54+
"optimization": true,
55+
"buildOptimizer": true,
56+
"sourceMap": false,
57+
"extractLicenses": false,
58+
"vendorChunk": false,
59+
"namedChunks": false,
60+
"tsConfig": "projects/wc/tsconfig.app.prod.json"
61+
},
62+
"development": {
63+
"aot": true,
64+
"optimization": false,
65+
"buildOptimizer": false,
66+
"sourceMap": true,
67+
"extractLicenses": false,
68+
"namedChunks": true,
69+
"vendorChunk": true,
70+
"tsConfig": "projects/wc/tsconfig.app.json"
71+
}
72+
},
73+
"defaultConfiguration": "production"
74+
},
75+
"test": {
76+
"builder": "@angular-builders/jest:run",
77+
"options": {
78+
"tsConfig": "./tsconfig.spec.json"
79+
}
80+
},
81+
"lint": {
82+
"builder": "@angular-eslint/builder:lint",
83+
"options": {
84+
"lintFilePatterns": ["projects/wc/**/*.ts", "projects/wc/**/*.html"]
85+
}
86+
}
87+
}
3488
}
3589
}
3690
}

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
preset: 'jest-preset-angular',
33
testRunner: 'jest-jasmine2',
44
collectCoverage: true,
5-
modulePathIgnorePatterns: ['<rootDir>/dist/'],
5+
modulePathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/dist-wc/'],
66
coveragePathIgnorePatterns: ['/node_modules/', '/integration-tests/'],
77
moduleNameMapper: {
88
'^@luigi-project/client-support-angular$': '<rootDir>/projects/lib/_mocks_/luigi-client-support-angular.ts',

0 commit comments

Comments
 (0)