Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Angular to v8 #7

Merged
merged 1 commit into from Oct 9, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -11,14 +11,14 @@
"schematics": {},
"architect": {
"build": {
"builder": "ngx-build-plus:build",
"builder": "@angular-devkit/build-angular:browser",
"options": {
"extraWebpackConfig": "webpack.extra.js",
"outputPath": "dist/angular-comlink-example",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"webWorkerTsConfig": "tsconfig.worker.json",
"assets": [
"src/favicon.ico",
"src/assets"
@@ -56,9 +56,8 @@
}
},
"serve": {
"builder": "ngx-build-plus:dev-server",
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"extraWebpackConfig": "webpack.extra.js",
"browserTarget": "angular-comlink-example:build"
},
"configurations": {
@@ -95,7 +94,8 @@
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
"src/tsconfig.spec.json",
"tsconfig.worker.json"
],
"exclude": [
"**/node_modules/**"
@@ -3,40 +3,38 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --extraWebpackConfig webpack.extra.js",
"build": "ng build --extraWebpackConfig webpack.extra.js",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "~7.2.9",
"@angular/common": "~7.2.9",
"@angular/compiler": "~7.2.9",
"@angular/core": "~7.2.9",
"@angular/forms": "~7.2.9",
"@angular/platform-browser": "~7.2.9",
"@angular/platform-browser-dynamic": "~7.2.9",
"@angular/router": "~7.2.9",
"@angular/animations": "~8.2.9",
"@angular/common": "~8.2.9",
"@angular/compiler": "~8.2.9",
"@angular/core": "~8.2.9",
"@angular/forms": "~8.2.9",
"@angular/platform-browser": "~8.2.9",
"@angular/platform-browser-dynamic": "~8.2.9",
"@angular/router": "~8.2.9",
"@types/marked": "^0.5.0",
"comlink": "^4.0.0-alpha.8",
"comlink": "^4.0.4",
"core-js": "^2.5.4",
"marked": "^0.5.2",
"ngx-build-plus": "^7.5.1",
"rxjs": "~6.4.0",
"rxjs": "~6.5.3",
"tslib": "^1.9.0",
"zone.js": "~0.8.29"
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.11.0",
"@angular/cli": "~7.3.6",
"@angular/compiler-cli": "~7.2.9",
"@angular/language-service": "~7.2.9",
"@angular-devkit/build-angular": "~0.803.8",
"@angular/cli": "~8.3.8",
"@angular/compiler-cli": "~8.2.9",
"@angular/language-service": "~8.2.9",
"@types/node": "~8.9.4",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.2.4",
"worker-plugin": "^3.0.0"
"typescript": "~3.5.3"
}
}
}
@@ -2,8 +2,8 @@ import { Injectable } from '@angular/core';
import { wrap } from 'comlink';

async function createMarkdownWorker() {
const workerProxy = wrap<typeof import('../worker/markdown').Markdown>(
new Worker('../worker/markdown', { type: 'module' }),
const workerProxy = wrap<typeof import('../worker/markdown.worker').Markdown>(
new Worker('../worker/markdown.worker', { type: 'module' }),
);
return await new workerProxy();
}
File renamed without changes.
@@ -6,6 +6,7 @@
},
"exclude": [
"test.ts",
"**/*.spec.ts"
"**/*.spec.ts",
"**/*.worker.ts"
]
}
@@ -0,0 +1,14 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/worker",
"lib": [
"es2018",
"webworker"
],
"types": []
},
"include": [
"**/*.worker.ts"
]
}

This file was deleted.

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.