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

Rm abortcontroller polyfill #295

Merged
merged 6 commits into from
Dec 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,19 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.14.2-beta.0](https://github.com/izelnakri/mber/compare/v0.14.1...v0.14.2-beta.0)

- release-it upstream removal trial [`af3a8ec`](https://github.com/izelnakri/mber/commit/af3a8ecd4254525e4517200c1a573730aea3fe62)
- move auto-changelog dep to devDependencies [`ec19dc3`](https://github.com/izelnakri/mber/commit/ec19dc3f3ec1e505e80332801dd2d6395fea560d)
- pin project & boilerplate to node@15.4 [`f681335`](https://github.com/izelnakri/mber/commit/f681335b523326ab24fb024f9d7a7397031578c1)
- remove abortcontroller-polyfill pkg [`d461bc2`](https://github.com/izelnakri/mber/commit/d461bc2a28de78af551e236b7b2b9f1e91707145)
- README.md node.js version update [`2d96ac5`](https://github.com/izelnakri/mber/commit/2d96ac5b907b5951ef16bc77a2b69866d3d24178)

#### [v0.14.1](https://github.com/izelnakri/mber/compare/v0.14.0...v0.14.1)

> 13 December 2020

- Release 0.14.1 [`bd15380`](https://github.com/izelnakri/mber/commit/bd15380cd516336866d282995f3c477dc3bc9c12)
- make $ mber test tmp rmdir recursive [`f8792ed`](https://github.com/izelnakri/mber/commit/f8792ed57d1f903b9e89e9454b67919d5682bc1c)

#### [v0.14.0](https://github.com/izelnakri/mber/compare/v0.13.22...v0.14.0)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:15.3
FROM node:15.4

RUN apt-get update && \
apt-get install -y lsof vim libgtk-3-0 libatk1.0-0 libx11-xcb1 libnss3 libxss1 libasound2
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ I've never benchmarked this against ember-cli, but my observation is, mber is at

## Installation

Make sure you have node.js v12.4+ installed. `mber` uses the latest native nodejs `worker_thread` to achive multithreading. Then install mber CLI:
Make sure you have node.js v15+ installed. `mber` uses the latest native nodejs `worker_thread` to achive multithreading
and the latest node.js native [fs/promises](https://nodejs.org/dist/latest-v15.x/docs/api/fs.html#fs_promise_example)
module. Then install mber CLI:

```
npm install -g mber
Expand Down
1 change: 0 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
TODO: remove intercept-stdout module
TODO: check if whatwg-fetch is removable from devDependencies
TODO: check if abortcontroller-polyfill needed
TODO: check if all babel plugins needed
TODO: add ember-test-helpers addon-test-helpers types to tsconfig

Expand Down
15 changes: 9 additions & 6 deletions ember-app-boilerplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@
},
"fastbootDependencies": [
"crypto",
"node-fetch",
"abortcontroller-polyfill"
"node-fetch"
],
"dependencies": {
"@glimmer/tracking": "^1.0.3",
"memserver": "^2.3.5",
"abortcontroller-polyfill": "^1.5.0",
"ember-cli-fastboot": "^2.2.3",
"ember-data": "3.23.0",
"ember-load-initializers": "^2.1.2",
Expand All @@ -54,7 +52,7 @@
"node-fetch": "2.6.1"
},
"volta": {
"node": "15.3.0"
"node": "15.4.0"
},
"eslintConfig": {
"root": true,
Expand All @@ -66,8 +64,13 @@
"legacyDecorators": true
}
},
"plugins": ["ember"],
"extends": ["eslint:recommended", "plugin:ember/recommended"],
"plugins": [
"ember"
],
"extends": [
"eslint:recommended",
"plugin:ember/recommended"
],
"env": {
"browser": true,
"commonjs": true,
Expand Down
6 changes: 0 additions & 6 deletions ember-app-boilerplate/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ import Resolver from './resolver';
import loadInitializers from 'ember-load-initializers';
import config from '../config/environment';

declare global {
interface FreeObject {
[propName: string]: any;
}
}

export default class App extends Application {
modulePrefix = config.modulePrefix;
podModulePrefix = config.podModulePrefix;
Expand Down
5 changes: 1 addition & 4 deletions lib/builders/build-fastboot-package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default async function(
JSON.stringify(
{
dependencies: {
'abortcontroller-polyfill': '^1.4.0',
'node-fetch': '^2.6.0'
},
fastboot: {
Expand All @@ -56,9 +55,7 @@ export default async function(
vendorFiles: [assetMap['assets/vendor.js']]
},
moduleWhitelist: Array.from(new Set((packageJSON.fastbootDependencies || []).concat([
'node-fetch',
'abortcontroller-polyfill',
'abortcontroller-polyfill/dist/cjs-ponyfill'
'node-fetch'
]))),
schemaVersion: 3
}
Expand Down
Loading