Remove TS configs for now from designer bindins project
This commit is contained in:
parent
04aff2c1c9
commit
7a9ccb99cf
|
|
@ -7,14 +7,9 @@
|
|||
"watch": "cross-env webpack --watch --mode=development --env configuration=Debug"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.14.0",
|
||||
"@babel/preset-env": "^7.14.1",
|
||||
"babel-loader": "^8.2.2",
|
||||
"copy-webpack-plugin": "^8.1.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"monaco-editor": "^0.23.0",
|
||||
"ts-loader": "^9.1.2",
|
||||
"typescript": "^4.2.4",
|
||||
"webpack": "^5.36.2",
|
||||
"webpack-cli": "^4.7.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"allowUnreachableCode": true,
|
||||
"allowUnusedLabels": true,
|
||||
"declaration": false,
|
||||
"experimentalDecorators": true,
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2019"
|
||||
],
|
||||
"moduleResolution": "node",
|
||||
"module": "esnext",
|
||||
"target": "ES2019",
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"jsx": "react",
|
||||
"jsxFactory": "h"
|
||||
}
|
||||
}
|
||||
|
|
@ -6,21 +6,8 @@ module.exports = env => {
|
|||
return {
|
||||
entry: ['./index.js'],
|
||||
devtool: env && env.production ? 'none' : 'source-map',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(ts|tsx)$/,
|
||||
use: 'ts-loader',
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
{
|
||||
test: /\.(js|jsx)$/,
|
||||
exclude: /node_modules/,
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.tsx', '.ts', '.js', '.jsx'],
|
||||
extensions: ['.js'],
|
||||
},
|
||||
experiments: {
|
||||
outputModule: true
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ using NodaTime;
|
|||
|
||||
namespace Elsa.Scripting.JavaScript.Handlers
|
||||
{
|
||||
public class DateTimeScriptEngineConfigurator : INotificationHandler<EvaluatingJavaScriptExpression>
|
||||
public class ConfigureJavaScriptEngineWithDateTimeFeatures : INotificationHandler<EvaluatingJavaScriptExpression>
|
||||
{
|
||||
private readonly IClock _clock;
|
||||
|
||||
public DateTimeScriptEngineConfigurator(IClock clock)
|
||||
public ConfigureJavaScriptEngineWithDateTimeFeatures(IClock clock)
|
||||
{
|
||||
_clock = clock;
|
||||
}
|
||||
Loading…
Reference in a new issue