aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/tsconfig.json
Commit message (Collapse)AuthorAgeFilesLines
* Migrate server to ESMChocobozzz2023-08-111-22/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sorry for the very big commit that may lead to git log issues and merge conflicts, but it's a major step forward: * Server can be faster at startup because imports() are async and we can easily lazy import big modules * Angular doesn't seem to support ES import (with .js extension), so we had to correctly organize peertube into a monorepo: * Use yarn workspace feature * Use typescript reference projects for dependencies * Shared projects have been moved into "packages", each one is now a node module (with a dedicated package.json/tsconfig.json) * server/tools have been moved into apps/ and is now a dedicated app bundled and published on NPM so users don't have to build peertube cli tools manually * server/tests have been moved into packages/ so we don't compile them every time we want to run the server * Use isolatedModule option: * Had to move from const enum to const (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums) * Had to explictely specify "type" imports when used in decorators * Prefer tsx (that uses esbuild under the hood) instead of ts-node to load typescript files (tests with mocha or scripts): * To reduce test complexity as esbuild doesn't support decorator metadata, we only test server files that do not import server models * We still build tests files into js files for a faster CI * Remove unmaintained peertube CLI import script * Removed some barrels to speed up execution (less imports)
* Remove webtorrent support from clientChocobozzz2023-07-101-9/+0
|
* Simplify ICU in componentsChocobozzz2023-06-291-2/+1
|
* Remove suppressImplicitAnyIndexErrorsChocobozzz2023-05-241-1/+0
| | | | It's deprecated by TS
* Upgrade to latest angular versionChocobozzz2023-02-161-19/+52
|
* More precise date for jobsChocobozzz2022-08-101-1/+1
|
* Support ICU in TS componentsChocobozzz2022-06-081-2/+3
|
* Fix buildChocobozzz2021-12-171-0/+2
|
* feat(types): create peertube-types packagelutangar2021-12-161-0/+1
| | | | | | | | | | | | Create dedicated Typescript "types" configuration file for each "projects". Create a types folder which includes every useful ts definition: - client - server - shared Add tooling to create a proper package, extract dependencies, etc... Add CI Github task. refactor(types): publish types package in release script
* Migrate client to eslintChocobozzz2021-08-181-1/+2
|
* Remove solution style ts configChocobozzz2021-08-171-11/+61
|
* Upgrade to angular 10Chocobozzz2020-08-071-42/+11
|
* deal with refresh token in embedRigel Kent2020-08-061-0/+1
|
* Use tslib in clientChocobozzz2020-06-091-0/+1
|
* Fix videojsChocobozzz2020-04-211-0/+1
|
* Fix videojs typingsChocobozzz2020-04-171-7/+6
|
* Fix videojs subtitlesChocobozzz2020-04-081-1/+1
|
* Strict templates enabledChocobozzz2020-02-101-1/+2
|
* Correctly type videojs playerChocobozzz2020-01-291-1/+1
|
* Update Angular -> 8.2.0Chocobozzz2019-08-011-28/+12
|
* Update angularChocobozzz2019-07-251-1/+2
|
* Add client hooksChocobozzz2019-07-241-0/+1
|
* tslint updateChocobozzz2019-04-021-0/+1
|
* Add/update/delete/list my playlistsChocobozzz2019-03-181-4/+8
|
* Add lazy loading in playerChocobozzz2019-02-111-0/+1
|
* add noImplicitThis flag (#1324)BO412018-10-241-0/+1
|
* NoImplicitAny flag true (#1157)BO412018-10-181-1/+2
| | | | | | | | this enables the `noImplicitAny` flag in the Typescript compiler > When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time. closes: #1131 replaces #1137
* add alwaysStrict flag to client/tsconfig.json (#1280)BO412018-10-151-0/+1
|
* Enable more angular optionsChocobozzz2018-09-281-0/+5
|
* Try to fix embed webpack buildChocobozzz2018-09-031-1/+5
|
* Add advanced search in clientChocobozzz2018-07-241-1/+7
|
* Replace angular-cli patch with something less risky (#742)William Lahti2018-06-281-1/+7
| | | | | | | | | | | | | | * Replace angular-cli patch with something less risky * path.join() is needed, provide a naive implementation * technically, webpack provided a polyfill for Buffer, we should too * process polyfill matches webpack; peertube depends on nextTick * polyfill for path to match webpack * http/https polyfills as per webpack
* Reduce bundle sizesChocobozzz2018-06-071-1/+2
|
* Add libs to tsconfigChocobozzz2018-05-071-0/+2
|
* Add ability to delete commentsChocobozzz2018-01-041-1/+5
|
* Move to angular cliChocobozzz2017-12-121-23/+10
|
* Update client modulesChocobozzz2017-06-111-7/+0
|
* Client: use tslib instead of ts-helpersChocobozzz2017-02-101-0/+1
|
* Client: use videojs as playerChocobozzz2016-11-081-0/+1
|
* Client: fix prod build processChocobozzz2016-09-191-4/+0
|
* Dirty update to Angular RC6Chocobozzz2016-09-061-13/+28
|
* Client: do not rewrite tsconfig at each change of a fileChocobozzz2016-08-231-83/+0
|
* Client: fix error display for componentChocobozzz2016-08-231-7/+0
|
* Client: centralize http res extraction in a serviceChocobozzz2016-08-231-0/+10
|
* Client: change url validation for friend addChocobozzz2016-08-231-0/+2
|
* Client: support the new make friends methodChocobozzz2016-08-211-0/+2
|
* Client: reset pagination when we search somethingChocobozzz2016-08-151-1/+1
|
* Client: add friends pageChocobozzz2016-08-121-1/+7
|
* Client: make an admin menu and a classic menu componentChocobozzz2016-08-121-2/+4
|
* Client: add user managementChocobozzz2016-08-091-1/+15
|