Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stéphane Roucheray
Reactive-Architecture-and-UX-Patterns_Angular
Commits
5a4ab5ea
Commit
5a4ab5ea
authored
Jun 14, 2020
by
Michael Hladky
Browse files
progress
parent
f6549f82
Changes
10
Show whitespace changes
Inline
Side-by-side
projects/flattening-operators/README.md
0 → 100644
View file @
5a4ab5ea
-
search input switchMAp
-
refresh button exhaustMap
-
combine button clicks => merge
-
safe => merge
-
put concatMap
-
groupBy, mergeAll
projects/flattening-operators/karma.conf.js
0 → 100644
View file @
5a4ab5ea
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module
.
exports
=
function
(
config
)
{
config
.
set
({
basePath
:
''
,
frameworks
:
[
'
jasmine
'
,
'
@angular-devkit/build-angular
'
],
plugins
:
[
require
(
'
karma-jasmine
'
),
require
(
'
karma-chrome-launcher
'
),
require
(
'
karma-jasmine-html-reporter
'
),
require
(
'
karma-coverage-istanbul-reporter
'
),
require
(
'
@angular-devkit/build-angular/plugins/karma
'
)
],
client
:
{
clearContext
:
false
// leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter
:
{
dir
:
require
(
'
path
'
).
join
(
__dirname
,
'
../../coverage/flattening-operators
'
),
reports
:
[
'
html
'
,
'
lcovonly
'
,
'
text-summary
'
],
fixWebpackSourcePaths
:
true
},
reporters
:
[
'
progress
'
,
'
kjhtml
'
],
port
:
9876
,
colors
:
true
,
logLevel
:
config
.
LOG_INFO
,
autoWatch
:
true
,
browsers
:
[
'
Chrome
'
],
singleRun
:
false
,
restartOnFileChange
:
true
});
};
projects/flattening-operators/ng-package.json
0 → 100644
View file @
5a4ab5ea
{
"$schema"
:
"../../node_modules/ng-packagr/ng-package.schema.json"
,
"dest"
:
"../../dist/flattening-operators"
,
"lib"
:
{
"entryFile"
:
"src/public-api.ts"
}
}
\ No newline at end of file
projects/flattening-operators/package.json
0 → 100644
View file @
5a4ab5ea
{
"name"
:
"flattening-operators"
,
"version"
:
"0.0.1"
,
"peerDependencies"
:
{
"@angular/common"
:
"^9.1.6"
,
"@angular/core"
:
"^9.1.6"
,
"tslib"
:
"^1.10.0"
}
}
\ No newline at end of file
projects/flattening-operators/src/index.ts
0 → 100644
View file @
5a4ab5ea
/*
* Public API Surface of flattening-operators
*/
export
*
from
'
./lib/flattening-operators.module
'
;
projects/flattening-operators/src/test.ts
0 → 100644
View file @
5a4ab5ea
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import
'
zone.js/dist/zone
'
;
import
'
zone.js/dist/zone-testing
'
;
import
{
getTestBed
}
from
'
@angular/core/testing
'
;
import
{
BrowserDynamicTestingModule
,
platformBrowserDynamicTesting
}
from
'
@angular/platform-browser-dynamic/testing
'
;
declare
const
require
:
{
context
(
path
:
string
,
deep
?:
boolean
,
filter
?:
RegExp
):
{
keys
():
string
[];
<
T
>
(
id
:
string
):
T
;
};
};
// First, initialize the Angular testing environment.
getTestBed
().
initTestEnvironment
(
BrowserDynamicTestingModule
,
platformBrowserDynamicTesting
()
);
// Then we find all the tests.
const
context
=
require
.
context
(
'
./
'
,
true
,
/
\.
spec
\.
ts$/
);
// And load the modules.
context
.
keys
().
map
(
context
);
projects/flattening-operators/tsconfig.lib.json
0 → 100644
View file @
5a4ab5ea
{
"extends"
:
"../../tsconfig.json"
,
"compilerOptions"
:
{
"outDir"
:
"../../out-tsc/lib"
,
"target"
:
"es2015"
,
"declaration"
:
true
,
"inlineSources"
:
true
,
"types"
:
[],
"lib"
:
[
"dom"
,
"es2018"
]
},
"angularCompilerOptions"
:
{
"skipTemplateCodegen"
:
true
,
"strictMetadataEmit"
:
true
,
"enableResourceInlining"
:
true
},
"exclude"
:
[
"src/test.ts"
,
"**/*.spec.ts"
]
}
projects/flattening-operators/tsconfig.lib.prod.json
0 → 100644
View file @
5a4ab5ea
{
"extends"
:
"./tsconfig.lib.json"
,
"angularCompilerOptions"
:
{
"enableIvy"
:
false
}
}
projects/flattening-operators/tsconfig.spec.json
0 → 100644
View file @
5a4ab5ea
{
"extends"
:
"../../tsconfig.json"
,
"compilerOptions"
:
{
"outDir"
:
"../../out-tsc/spec"
,
"types"
:
[
"jasmine"
,
"node"
]
},
"files"
:
[
"src/test.ts"
],
"include"
:
[
"**/*.spec.ts"
,
"**/*.d.ts"
]
}
projects/flattening-operators/tslint.json
0 → 100644
View file @
5a4ab5ea
{
"extends"
:
"../../tslint.json"
,
"rules"
:
{
"directive-selector"
:
[
true
,
"attribute"
,
"lib"
,
"camelCase"
],
"component-selector"
:
[
true
,
"element"
,
"lib"
,
"kebab-case"
]
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment