Skip to content

Commit

Permalink
Merge pull request #20439 from emberjs/ts-targets
Browse files Browse the repository at this point in the history
[CLEANUP BETA] Update tsconfig to target ES2021
  • Loading branch information
chriskrycho authored Apr 18, 2023
2 parents 2a8e063 + fc68331 commit b1ebc7d
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 185 deletions.
2 changes: 1 addition & 1 deletion broccoli/deprecated-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const fs = require('fs');
const path = require('path');
const ts = require('./typescript');
const ts = require('typescript');

/**
* @param name {string}
Expand Down
2 changes: 1 addition & 1 deletion broccoli/features.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const fs = require('fs');
const ts = require('./typescript');
const ts = require('typescript');

function getFeatures() {
let fileName = 'packages/@ember/canary-features/index.ts';
Expand Down
17 changes: 0 additions & 17 deletions broccoli/typescript.js

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"broccoli-babel-transpiler": "^7.8.1",
"broccoli-persistent-filter": "^2.3.1",
"broccoli-plugin": "^4.0.3",
"broccoli-rollup": "^2.1.1",
"broccoli-rollup": "^3",
"broccoli-source": "^3.0.1",
"broccoli-string-replace": "^0.1.2",
"broccoli-typescript-compiler": "^8.0.0",
Expand Down Expand Up @@ -152,8 +152,6 @@
"puppeteer": "^19.4.1",
"qunit": "^2.19.4",
"recast": "^0.21.5",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^4.2.4",
"route-recognizer": "^0.3.4",
"router_js": "^8.0.3",
"rsvp": "^4.8.5",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig/compiler-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// Compilation Configuration
"target": "es2017",
"target": "es2021",
"sourceMap": true,
"baseUrl": "../packages",
"rootDir": "../packages",
Expand Down
Loading

0 comments on commit b1ebc7d

Please sign in to comment.