Skip to content

Commit 30d3358

Browse files
authored
Merge pull request #1 from kungfooman/mergeMain
Merge `main` for Calculation PR
2 parents 6ebbc75 + 57c03f3 commit 30d3358

File tree

55,453 files changed

+4008674
-1921309
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55,453 files changed

+4008674
-1921309
lines changed

.c8rc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"reporter": ["lcovonly", "cobertura"],
3+
"src": "src",
4+
"include": ["src/**", "built/local/**"],
5+
"exclude": ["**/node_modules/**"],
6+
"mergeAsync": true
7+
}

.devcontainer/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.154.0/containers/javascript-node/.devcontainer/base.Dockerfile
1+
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/blob/v0.245.2/containers/javascript-node/.devcontainer/base.Dockerfile
22

3-
# [Choice] Node.js version: 14, 12, 10
4-
ARG VARIANT="14-buster"
3+
# [Choice] Node.js version: 18, 16, 14
4+
ARG VARIANT="18-buster"
55
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
66

7-
RUN sudo -u node npm install -g gulp-cli
7+
RUN sudo -u node npm install -g hereby

.devcontainer/devcontainer.json

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,25 @@
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": {
6-
"VARIANT": "14"
6+
"VARIANT": "18"
77
}
88
},
9-
"settings": {
10-
"terminal.integrated.defaultProfile.linux": "bash",
11-
"terminal.integrated.profiles.linux": {
12-
"bash": {
13-
"path": "/bin/bash",
14-
"icon": "terminal-bash",
9+
"customizations": {
10+
"vscode": {
11+
"settings": {
12+
"terminal.integrated.defaultProfile.linux": "bash",
13+
"terminal.integrated.profiles.linux": {
14+
"bash": {
15+
"path": "/bin/bash",
16+
"icon": "terminal-bash"
17+
}
18+
}
1519
},
16-
},
20+
"extensions": [
21+
"dbaeumer.vscode-eslint",
22+
"dprint.dprint"
23+
]
24+
}
1725
},
18-
"extensions": [
19-
"dbaeumer.vscode-eslint"
20-
],
2126
"remoteUser": "node"
2227
}

.dockerignore

Lines changed: 0 additions & 48 deletions
This file was deleted.

.dprint.jsonc

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
// If updating this, also update the config in dtsBundler.mjs.
3+
"indentWidth": 4,
4+
"lineWidth": 1000,
5+
"newLineKind": "auto",
6+
"useTabs": false,
7+
"typescript": {
8+
"newLineKind": "crlf",
9+
"semiColons": "always",
10+
"quoteStyle": "preferDouble",
11+
"quoteProps": "consistent",
12+
"useBraces": "whenNotSingleLine",
13+
"bracePosition": "sameLineUnlessHanging",
14+
"singleBodyPosition": "sameLine",
15+
"nextControlFlowPosition": "nextLine", // Stroustrup style braces.
16+
"trailingCommas": "onlyMultiLine",
17+
"preferHanging": false,
18+
"operatorPosition": "maintain",
19+
20+
"arrowFunction.useParentheses": "preferNone",
21+
"conditionalExpression.linePerExpression": false, // Keep our "match/case"-ish conditionals.
22+
"functionExpression.spaceAfterFunctionKeyword": true,
23+
"importDeclaration.forceMultiLine": "whenMultiple",
24+
"constructorType.spaceAfterNewKeyword": true,
25+
"constructSignature.spaceAfterNewKeyword": true,
26+
27+
"module.sortImportDeclarations": "caseInsensitive",
28+
"module.sortExportDeclarations": "caseInsensitive",
29+
"exportDeclaration.sortNamedExports": "caseInsensitive",
30+
"importDeclaration.sortNamedImports": "caseInsensitive"
31+
},
32+
"prettier": {
33+
"newLineKind": "lf",
34+
"associations": [
35+
"**/*.{yaml,yml}"
36+
],
37+
"yml.tabWidth": 2,
38+
"yaml.tabWidth": 2,
39+
"yml.singleQuote": true,
40+
"yaml.singleQuote": true
41+
},
42+
"json": {
43+
// This would be good to do in known-JSONC files, but VS Code warns on trailing commas.
44+
"trailingCommas": "never"
45+
},
46+
"excludes": [
47+
"**/.git",
48+
"**/node_modules",
49+
"**/*-lock.json",
50+
"coverage/**",
51+
"lib/**",
52+
"built/**",
53+
"tests/**",
54+
"internal/**",
55+
"**/*.generated.*",
56+
"scripts/*.d.*",
57+
"**/_namespaces/**"
58+
],
59+
// Note: if adding new languages, make sure settings.template.json is updated too.
60+
// Also, if updating typescript, update the one in package.json.
61+
"plugins": [
62+
"https://plugins.dprint.dev/typescript-0.90.5.wasm",
63+
"https://plugins.dprint.dev/json-0.19.2.wasm",
64+
"https://plugins.dprint.dev/prettier-0.40.0.json@68c668863ec834d4be0f6f5ccaab415df75336a992aceb7eeeb14fdf096a9e9c"
65+
]
66+
}

.eslint-plugin-local.cjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const fs = require("fs");
2+
const path = require("path");
3+
4+
const rulesDir = path.join(__dirname, "scripts", "eslint", "rules");
5+
const ext = ".cjs";
6+
const ruleFiles = fs.readdirSync(rulesDir).filter(p => p.endsWith(ext));
7+
8+
module.exports = {
9+
rules: Object.fromEntries(ruleFiles.map(p => {
10+
return [p.slice(0, -ext.length), require(path.join(rulesDir, p))];
11+
})),
12+
};

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)