-
-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update testpack to TS 5.0 (#1608)
* chore: stub 5.0 tests * chore: fix build * feat: tgypescript 5.0.4 * feat: update snapshots * feat: remove es3 test * chore: tremove node 14, add node 18 * fix: pnpm install * fix: build * fix: pnpm * fix: pnpm * fix: pnpm * fix: pnpm karma * fix: pnpm karma * fix: pnpm karma * fix: pnpm karma * fix: pnpm karma
- Loading branch information
1 parent
9533b2d
commit 5fbfb5c
Showing
2,105 changed files
with
21,215 additions
and
21,694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:14 | ||
FROM node:18 | ||
|
||
# See https://crbug.com/795759 | ||
RUN apt-get update && apt-get install -yq libgconf-2-4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 0 additions & 67 deletions
67
test/comparison-tests/aliasResolution/expectedOutput-4.9/bundle.js
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
test/comparison-tests/aliasResolution/expectedOutput-4.9/output.txt
This file was deleted.
Oops, something went wrong.
67 changes: 0 additions & 67 deletions
67
test/comparison-tests/aliasResolution/expectedOutput-4.9/patch0/bundle.js
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
test/comparison-tests/aliasResolution/expectedOutput-4.9/patch0/output.txt
This file was deleted.
Oops, something went wrong.
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
test/comparison-tests/aliasResolution/expectedOutput-5.0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
asset bundle.js 2.64 KiB [emitted] (name: main) | ||
./app.ts 156 bytes [built] [code generated] [2 errors] | ||
./common/components/myComponent.ts 46 bytes [built] [code generated] | ||
|
||
ERROR in app.ts | ||
./app.ts 1:29-53 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,30)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
ERROR in app.ts | ||
./app.ts 2:30-55 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(2,31)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
webpack compiled with 2 errors |
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
test/comparison-tests/aliasResolution/expectedOutput-5.0/patch0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
asset bundle.js 2.64 KiB [emitted] (name: main) | ||
cached modules 156 bytes [cached] 1 module | ||
./common/components/myComponent.ts 45 bytes [built] [code generated] | ||
|
||
ERROR in app.ts | ||
./app.ts 1:29-53 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,30)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
ERROR in app.ts | ||
./app.ts 2:30-55 | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(2,31)[39m[22m | ||
[1m[31m TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations.[39m[22m | ||
ts-loader-default_609318b4f68865d3 | ||
|
||
webpack compiled with 2 errors |
File renamed without changes.
File renamed without changes.
67 changes: 67 additions & 0 deletions
67
test/comparison-tests/aliasResolution/expectedOutput-transpile-5.0/patch0/bundle.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). | ||
* This devtool is neither made for production nor for readable output files. | ||
* It uses "eval()" calls to create a separate source file in the browser devtools. | ||
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) | ||
* or disable the default devtool with "devtool: false". | ||
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). | ||
*/ | ||
/******/ (() => { // webpackBootstrap | ||
/******/ "use strict"; | ||
/******/ var __webpack_modules__ = ({ | ||
|
||
/***/ "./app.ts": | ||
/*!****************!*\ | ||
!*** ./app.ts ***! | ||
\****************/ | ||
/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | ||
|
||
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?"); | ||
|
||
/***/ }), | ||
|
||
/***/ "./common/components/myComponent.ts": | ||
/*!******************************************!*\ | ||
!*** ./common/components/myComponent.ts ***! | ||
\******************************************/ | ||
/***/ ((module) => { | ||
|
||
eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?"); | ||
|
||
/***/ }) | ||
|
||
/******/ }); | ||
/************************************************************************/ | ||
/******/ // The module cache | ||
/******/ var __webpack_module_cache__ = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ // Check if module is in cache | ||
/******/ var cachedModule = __webpack_module_cache__[moduleId]; | ||
/******/ if (cachedModule !== undefined) { | ||
/******/ return cachedModule.exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = __webpack_module_cache__[moduleId] = { | ||
/******/ // no module.id needed | ||
/******/ // no module.loaded needed | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/************************************************************************/ | ||
/******/ | ||
/******/ // startup | ||
/******/ // Load entry module and return exports | ||
/******/ // This entry module can't be inlined because the eval devtool is used. | ||
/******/ var __webpack_exports__ = __webpack_require__("./app.ts"); | ||
/******/ | ||
/******/ })() | ||
; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.