Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cesium2s
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Cesium-grp
cesium2s
Commits
d24b8ee1
Commit
d24b8ee1
authored
2 years ago
by
bl05b3e
Browse files
Options
Downloads
Patches
Plain Diff
[wip] Migrate to angular 15
parent
f7e7643a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
.browserslistrc
+0
-17
0 additions, 17 deletions
.browserslistrc
package-lock.json
+0
-36218
0 additions, 36218 deletions
package-lock.json
package.json
+13
-13
13 additions, 13 deletions
package.json
src/test.ts
+0
-11
0 additions, 11 deletions
src/test.ts
tsconfig.json
+50
-29
50 additions, 29 deletions
tsconfig.json
with
63 additions
and
36288 deletions
.browserslistrc
deleted
100644 → 0
+
0
−
17
View file @
f7e7643a
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
This diff is collapsed.
Click to expand it.
package-lock.json
deleted
100644 → 0
+
0
−
36218
View file @
f7e7643a
This diff is collapsed.
Click to expand it.
package.json
+
13
−
13
View file @
d24b8ee1
...
...
@@ -22,13 +22,13 @@
"generate:meta"
:
"ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package @duniter/core-types/interfaces --output ./src/interfaces --endpoint ./src/interfaces/types.json"
},
"dependencies"
:
{
"
@angular/animations
"
:
"
^1
4.2.6
"
,
"
@angular/common
"
:
"
^1
4.2.6
"
,
"
@angular/core
"
:
"
^1
4.2.6
"
,
"
@angular/forms
"
:
"
^1
4.2.6
"
,
"
@angular/platform-browser
"
:
"
^1
4.2.6
"
,
"
@angular/platform-browser-dynamic
"
:
"
^1
4.2.6
"
,
"
@angular/router
"
:
"
^1
4.2.6
"
,
"
@angular/animations
"
:
"
^1
5.0.2
"
,
"
@angular/common
"
:
"
^1
5.0.2
"
,
"
@angular/core
"
:
"
^1
5.0.2
"
,
"
@angular/forms
"
:
"
^1
5.0.2
"
,
"
@angular/platform-browser
"
:
"
^1
5.0.2
"
,
"
@angular/platform-browser-dynamic
"
:
"
^1
5.0.2
"
,
"
@angular/router
"
:
"
^1
5.0.2
"
,
"
@capacitor-community/barcode-scanner
"
:
"
3.0.0
"
,
"
@capacitor-community/sqlite
"
:
"
^4.0.1
"
,
"
@capacitor/android
"
:
"
4.1.0
"
,
...
...
@@ -68,15 +68,15 @@
"
ngx-markdown
"
:
"
^14.0.1
"
,
"
ngx-material-timepicker
"
:
"
5.5.3
"
,
"
ngx-quicklink
"
:
"
^0.3.0
"
,
"
@angular-devkit/build-angular
"
:
"
^1
4.2.6
"
,
"
@angular-devkit/build-angular
"
:
"
^1
5.0.2
"
,
"
@angular-eslint/builder
"
:
"
~13.5.0
"
,
"
@angular-eslint/eslint-plugin
"
:
"
~13.5.0
"
,
"
@angular-eslint/eslint-plugin-template
"
:
"
~13.5.0
"
,
"
@angular-eslint/template-parser
"
:
"
~13.5.0
"
,
"
@angular/cli
"
:
"
^1
4.2.6
"
,
"
@angular/compiler
"
:
"
^1
4.2.6
"
,
"
@angular/compiler-cli
"
:
"
^1
4.2.6
"
,
"
@angular/language-service
"
:
"
^1
4.2.6
"
,
"
@angular/cli
"
:
"
^1
5.0.2
"
,
"
@angular/compiler
"
:
"
^1
5.0.2
"
,
"
@angular/compiler-cli
"
:
"
^1
5.0.2
"
,
"
@angular/language-service
"
:
"
^1
5.0.2
"
,
"
@capacitor/cli
"
:
"
4.1.0
"
,
"
@ionic/cli
"
:
"
^6.20.1
"
,
"
@ionic/angular-toolkit
"
:
"
^6.1.0
"
,
...
...
This diff is collapsed.
Click to expand it.
src/test.ts
+
0
−
11
View file @
d24b8ee1
...
...
@@ -7,13 +7,6 @@ import {
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
,
...
...
@@ -21,7 +14,3 @@ getTestBed().initTestEnvironment(
teardown
:
{
destroyAfterEach
:
false
}
}
);
// Then we find all the tests.
const
context
=
require
.
context
(
'
./
'
,
true
,
/
\.
spec
\.
ts$/
);
// And load the modules.
context
.
keys
().
map
(
context
);
This diff is collapsed.
Click to expand it.
tsconfig.json
+
50
−
29
View file @
d24b8ee1
...
...
@@ -11,40 +11,61 @@
"moduleResolution"
:
"node"
,
"importHelpers"
:
true
,
"incremental"
:
true
,
"target"
:
"
es
202
0
"
,
"target"
:
"
ES
202
2
"
,
"module"
:
"es2020"
,
"lib"
:
[
"es2018"
,
"dom"
],
"lib"
:
[
"es2020"
,
"dom"
],
"allowSyntheticDefaultImports"
:
true
,
"typeRoots"
:
[
"node_modules/@types"
],
"paths"
:
{
//
Project
sources
"@app/*"
:
[
"src/app/*"
],
"@environments/*"
:
[
"src/environments/*"
],
//
Force
using
the
RxJS
project's
version
"rxjs"
:
[
"node_modules/rxjs"
],
"rxjs/*"
:
[
"node_modules/rxjs/*"
],
//
Local
deps
//
Package
name
"@duniter/core-types/*"
:
[
"src/*"
],
//
here
we
replace
the
@polkadot/api
augmentation
with
our
own
,
generated
from
chain
"@polkadot/api/augment"
:
[
"src/interfaces/augment-api.ts"
],
//
replace
the
augmented
types
with
our
own
,
as
generated
from
definitions
"@polkadot/types/augment"
:
[
"src/interfaces/augment-types.ts"
],
"@polkadot/types"
:
[
"./node_modules/@polkadot/types"
],
//
Node
JS
lib
"crypto"
:
[
"node_modules/crypto-browserify"
],
"stream"
:
[
"node_modules/stream-browserify"
],
"assert"
:
[
"node_modules/assert"
],
"http"
:
[
"node_modules/stream-http"
],
"https"
:
[
"node_modules/https-browserify"
],
"os"
:
[
"node_modules/os-browserify"
]
}
"@app/*"
:
[
"src/app/*"
],
"@environments/*"
:
[
"src/environments/*"
],
"rxjs"
:
[
"node_modules/rxjs"
],
"rxjs/*"
:
[
"node_modules/rxjs/*"
],
"@duniter/core-types/*"
:
[
"src/*"
],
"@polkadot/api/augment"
:
[
"src/interfaces/augment-api.ts"
],
"@polkadot/types/augment"
:
[
"src/interfaces/augment-types.ts"
],
"@polkadot/types"
:
[
"./node_modules/@polkadot/types"
],
"crypto"
:
[
"node_modules/crypto-browserify"
],
"stream"
:
[
"node_modules/stream-browserify"
],
"assert"
:
[
"node_modules/assert"
],
"http"
:
[
"node_modules/stream-http"
],
"https"
:
[
"node_modules/https-browserify"
],
"os"
:
[
"node_modules/os-browserify"
]
},
"useDefineForClassFields"
:
false
},
"angularCompilerOptions"
:
{
"enableI18nLegacyMessageIdFormat"
:
false
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment