Skip to content

Commit

Permalink
Merge branch 'main' into southworks/update/core-http-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
sw-joelmut authored Jan 13, 2025
2 parents 7f7bc9d + 428a1cd commit 128d6b3
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -316,3 +316,6 @@ coverage
# typescript assets
*.tsbuildinfo
*.js.map

# tsup vendors folders
libraries/**/vendors
10 changes: 6 additions & 4 deletions libraries/adaptive-expressions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"big-integer": "^1.6.52",
"@types/xmldom": "^0.1.34",
"btoa-lite": "^1.0.0",
"d3-format": "^2.0.0",
"d3-format": "^3.1.0",
"dayjs": "^1.11.13",
"jspath": "^0.4.0",
"lodash": "^4.17.21",
Expand All @@ -58,18 +58,20 @@
"build:browser": "npm-run-all build:browser:clean build:browser:run",
"build:browser:clean": "rimraf --glob lib/browser.*",
"build:browser:run": "tsup --config ../../tsup/browser.config.ts",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"depcheck": "depcheck --config ../../.depcheckrc --ignores sinon,@types/xmldom",
"clean": "rimraf lib vendors tsconfig.tsbuildinfo",
"depcheck": "depcheck --config ../../.depcheckrc --ignores @types/xmldom,d3-format,sinon",
"build-docs": "typedoc --theme markdown --entryPoint adaptive-expressions --excludePrivate --includeDeclarations --ignoreCompilerErrors --module amd --out ..\\..\\doc\\adaptive-expressions .\\lib\\index.d.ts --hideGenerator --name \"Bot Builder SDK - Expression\" --readme none",
"test": "yarn build && mocha tests --timeout 60000",
"test:compat": "api-extractor run --verbose",
"lint": "eslint .",
"prebuild": "tsup ./node_modules/d3-format/src/*.js --format cjs --out-dir vendors/d3-format --clean --sourcemap",
"antlr-build-expression": "antlr4ts src/parser/ExpressionAntlrLexer.g4 -o src/parser/generated && antlr4ts src/parser/ExpressionAntlrParser.g4 -visitor -o src/parser/generated",
"antlr-build-commonregex": "antlr4ts src/CommonRegex.g4 -o src/generated -visitor"
},
"files": [
"lib",
"src",
"types"
"types",
"vendors"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Licensed under the MIT License.
*/

import { formatLocale as d3formatLocale, format as d3format } from 'd3-format';
import { formatLocale as d3formatLocale, format as d3format } from '../../vendors/d3-format';
import { Expression } from '../expression';
import { EvaluateExpressionDelegate, ExpressionEvaluator } from '../expressionEvaluator';
import { ExpressionType } from '../expressionType';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Licensed under the MIT License.
*/

import { formatLocale as d3formatLocale, format as d3format } from 'd3-format';
import { formatLocale as d3formatLocale, format as d3format } from '../../vendors/d3-format';
import { EvaluateExpressionDelegate, ExpressionEvaluator, ValueWithError } from '../expressionEvaluator';
import { ExpressionType } from '../expressionType';
import { FunctionUtils } from '../functionUtils';
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@
"nohoist": [
"**/@types/selenium-webdriver",
"botbuilder/filenamify",
"botbuilder-stdlib/@azure/core-http-compat"
"botbuilder-stdlib/@azure/core-http-compat",
"adaptive-expressions/d3-format"
],
"nohoistComments": {
"**/@types/selenium-webdriver": "This package is excluded from the root @types folder as it requires ES2015+, whereas some BotBuilder libraries support ES5+.",
"botbuilder/filenamify": "This package is excluded because it's compiled as CJS by tsup as it's ESM-only.",
"botbuilder-stdlib/@azure/core-http-compat": "This package is excluded to access the utils functions from botbuilder-stdlib/node_modules folder."
"botbuilder-stdlib/@azure/core-http-compat": "This package is excluded to access the utils functions from botbuilder-stdlib/node_modules folder.",
"adaptive-expressions/d3-format": "This package is excluded because it's compiled as CJS by tsup as it's ESM-only."
}
},
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6902,10 +6902,10 @@ csv@^6.2.2:
csv-stringify "^6.5.0"
stream-transform "^3.3.2"

d3-format@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-2.0.0.tgz#a10bcc0f986c372b729ba447382413aabf5b0767"
integrity sha512-Ab3S6XuE/Q+flY96HXT0jOXcM4EAClYFnRGY5zsjRGNy6qCYrQsMffs7cV5Q9xejb35zxW5hf/guKw34kvIKsA==
d3-format@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-3.1.0.tgz#9260e23a28ea5cb109e93b21a06e24e2ebd55641"
integrity sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==

dashdash@^1.12.0:
version "1.14.1"
Expand Down

0 comments on commit 128d6b3

Please sign in to comment.