bimplus-renderer 1.7.8 → 1.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +124 -124
- package/bin/README.emcc.md +41 -41
- package/bin/processPartitionVertices.js +4 -4
- package/dist/bimplus-renderer.js +1 -1
- package/eslint.config.mjs +38 -38
- package/openAllFiles.ps1 +16 -16
- package/package-lock.json +13342 -13371
- package/package.json +140 -140
- package/types/bimplus-renderer.d.ts +341 -341
package/eslint.config.mjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import globals from "globals";
|
|
2
|
-
import js from "@eslint/js";
|
|
3
|
-
|
|
4
|
-
export default [
|
|
5
|
-
js.configs.recommended,
|
|
6
|
-
// File-pattern specific overrides
|
|
7
|
-
{
|
|
8
|
-
files: ["src/**/*", "test/**/*"],
|
|
9
|
-
rules: {
|
|
10
|
-
semi: ["warn", "always"], // check for missing semicolons at line ends
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
ignores: [
|
|
15
|
-
"./recordings/*", // don't check *.har recordings
|
|
16
|
-
"src/compiledWorkers/*", // don't check compiled worker files
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
languageOptions: {
|
|
21
|
-
ecmaVersion: 2022,
|
|
22
|
-
sourceType: "module",
|
|
23
|
-
globals: {
|
|
24
|
-
...globals.browser,
|
|
25
|
-
$: true,
|
|
26
|
-
jQuery: true,
|
|
27
|
-
QUnit: true,
|
|
28
|
-
// needed for webpack files
|
|
29
|
-
define: true,
|
|
30
|
-
require: true,
|
|
31
|
-
module: true,
|
|
32
|
-
__dirname: true,
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
plugins: {},
|
|
36
|
-
rules: {},
|
|
37
|
-
},
|
|
38
|
-
];
|
|
1
|
+
import globals from "globals";
|
|
2
|
+
import js from "@eslint/js";
|
|
3
|
+
|
|
4
|
+
export default [
|
|
5
|
+
js.configs.recommended,
|
|
6
|
+
// File-pattern specific overrides
|
|
7
|
+
{
|
|
8
|
+
files: ["src/**/*", "test/**/*"],
|
|
9
|
+
rules: {
|
|
10
|
+
semi: ["warn", "always"], // check for missing semicolons at line ends
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
ignores: [
|
|
15
|
+
"./recordings/*", // don't check *.har recordings
|
|
16
|
+
"src/compiledWorkers/*", // don't check compiled worker files
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
languageOptions: {
|
|
21
|
+
ecmaVersion: 2022,
|
|
22
|
+
sourceType: "module",
|
|
23
|
+
globals: {
|
|
24
|
+
...globals.browser,
|
|
25
|
+
$: true,
|
|
26
|
+
jQuery: true,
|
|
27
|
+
QUnit: true,
|
|
28
|
+
// needed for webpack files
|
|
29
|
+
define: true,
|
|
30
|
+
require: true,
|
|
31
|
+
module: true,
|
|
32
|
+
__dirname: true,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
plugins: {},
|
|
36
|
+
rules: {},
|
|
37
|
+
},
|
|
38
|
+
];
|
package/openAllFiles.ps1
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# security warning about running scripts, you need to change the execution policy
|
|
2
|
-
# to allow running scripts. You can do this by running the following command in PowerShell:
|
|
3
|
-
# Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
|
4
|
-
|
|
5
|
-
# Define the path to the projects directory
|
|
6
|
-
$projectsPath = ".\src"
|
|
7
|
-
|
|
8
|
-
# Get all .ts, .less, and .html files, excluding node_modules and dist directories
|
|
9
|
-
$files = Get-ChildItem -Path $projectsPath -Recurse -Include *.js, *.less, *.html | Where-Object {
|
|
10
|
-
$_.FullName -notmatch '\\node_modules\\' -and $_.FullName -notmatch '\\dist\\'
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
# Open each file in Visual Studio Code
|
|
14
|
-
$files | ForEach-Object { code $_.FullName }
|
|
15
|
-
|
|
16
|
-
# Output the count of opened files
|
|
1
|
+
# security warning about running scripts, you need to change the execution policy
|
|
2
|
+
# to allow running scripts. You can do this by running the following command in PowerShell:
|
|
3
|
+
# Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
|
4
|
+
|
|
5
|
+
# Define the path to the projects directory
|
|
6
|
+
$projectsPath = ".\src"
|
|
7
|
+
|
|
8
|
+
# Get all .ts, .less, and .html files, excluding node_modules and dist directories
|
|
9
|
+
$files = Get-ChildItem -Path $projectsPath -Recurse -Include *.js, *.less, *.html | Where-Object {
|
|
10
|
+
$_.FullName -notmatch '\\node_modules\\' -and $_.FullName -notmatch '\\dist\\'
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
# Open each file in Visual Studio Code
|
|
14
|
+
$files | ForEach-Object { code $_.FullName }
|
|
15
|
+
|
|
16
|
+
# Output the count of opened files
|
|
17
17
|
$files.Count
|