-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from thefrontside/try-rollup
Use tsdx to build without transpiling generators
- Loading branch information
Showing
12 changed files
with
2,753 additions
and
675 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
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"description": "Helpers for listening to events with effection", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"module": "dist/events.esm.js", | ||
"repository": "https://github.com/thefrontside/bigtest.git", | ||
"author": "Frontside Engineering <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -15,7 +16,7 @@ | |
"scripts": { | ||
"lint": "echo [skip @effection/events]", | ||
"test": "mocha -r ts-node/register test/**/*.test.ts", | ||
"prepack": "tsc --outdir dist --project tsconfig.dist.json", | ||
"prepack": "tsdx build --tsconfig tsconfig.dist.json", | ||
"mocha": "mocha -r ts-node/register" | ||
}, | ||
"devDependencies": { | ||
|
@@ -24,6 +25,7 @@ | |
"expect": "^25.4.0", | ||
"mocha": "^7.1.1", | ||
"ts-node": "^8.9.0", | ||
"tsdx": "0.13.2", | ||
"typescript": "^3.7.0" | ||
}, | ||
"peerDependencies": { | ||
|
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,7 @@ | ||
{ | ||
"extends": "./tsconfig", | ||
"compilerOptions": { | ||
"module": "esnext" | ||
}, | ||
"exclude": ["./test/*"] | ||
} |
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
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,7 @@ | ||
{ | ||
"extends": "./tsconfig", | ||
"compilerOptions": { | ||
"module": "esnext" | ||
}, | ||
"exclude": ["./test/*"] | ||
} |
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 |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
"extends": "@frontside/tsconfig", | ||
"include": [ | ||
"src/**/*.ts", | ||
"bin/*.ts", | ||
"test/**/*.ts" | ||
] | ||
} |
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,15 @@ | ||
diff --git a/node_modules/tsdx/dist/babelPluginTsdx.js b/node_modules/tsdx/dist/babelPluginTsdx.js | ||
index 57d9c93..418a103 100644 | ||
--- a/node_modules/tsdx/dist/babelPluginTsdx.js | ||
+++ b/node_modules/tsdx/dist/babelPluginTsdx.js | ||
@@ -73,10 +73,6 @@ exports.babelPluginTsdx = rollup_plugin_babel_1.default.custom(() => ({ | ||
{ name: '@babel/plugin-proposal-optional-chaining' }, | ||
// Adds syntax support for default value using ?? operator | ||
{ name: '@babel/plugin-proposal-nullish-coalescing-operator' }, | ||
- { | ||
- name: '@babel/plugin-transform-regenerator', | ||
- async: false, | ||
- }, | ||
{ | ||
name: 'babel-plugin-macros', | ||
}, |
Oops, something went wrong.