@naturalcycles/dev-lib 20.44.1 → 20.45.1
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/bin/dev-lib.js +2 -0
- package/bin/out.js +2 -0
- package/cfg/oxlint.config.js +6 -0
- package/dist/bin/dev-lib.d.ts +0 -1
- package/dist/bin/dev-lib.js +0 -1
- package/dist/bin/out.d.ts +0 -1
- package/dist/bin/out.js +0 -1
- package/package.json +4 -3
- package/cfg/overwrite/.gitignore +0 -56
package/bin/dev-lib.js
ADDED
package/bin/out.js
ADDED
package/cfg/oxlint.config.js
CHANGED
|
@@ -42,6 +42,7 @@ export const sharedConfig = {
|
|
|
42
42
|
jsPlugins: [`${import.meta.dirname}/oxlint-plugin-stylistic.mjs`],
|
|
43
43
|
options: {
|
|
44
44
|
reportUnusedDisableDirectives: 'deny',
|
|
45
|
+
respectEslintDisableDirectives: false,
|
|
45
46
|
maxWarnings: 0,
|
|
46
47
|
denyWarnings: true,
|
|
47
48
|
typeAware: true,
|
|
@@ -74,12 +75,16 @@ export const sharedConfig = {
|
|
|
74
75
|
'no-async-promise-executor': 0,
|
|
75
76
|
'no-standalone-expect': 0,
|
|
76
77
|
'no-conditional-expect': 0,
|
|
78
|
+
'vitest/no-conditional-expect': 0,
|
|
77
79
|
'expect-expect': 0,
|
|
80
|
+
'vitest/expect-expect': 0,
|
|
78
81
|
'no-disabled-tests': 0,
|
|
82
|
+
'vitest/no-disabled-tests': 0,
|
|
79
83
|
'no-useless-assignment': 0, // buggy, gives false positives
|
|
80
84
|
'object-shorthand': 2,
|
|
81
85
|
'valid-expect': 0,
|
|
82
86
|
'valid-title': 0,
|
|
87
|
+
'vitest/valid-title': 0,
|
|
83
88
|
'valid-describe-callback': 0,
|
|
84
89
|
'jsdoc/require-yields': 0,
|
|
85
90
|
'no-new-wrappers': 2,
|
|
@@ -147,6 +152,7 @@ export const sharedConfig = {
|
|
|
147
152
|
'oxc/no-const-enum': 2,
|
|
148
153
|
'oxc/approx-constant': 2,
|
|
149
154
|
'oxc/misrefactored-assign-op': 2,
|
|
155
|
+
'oxc/branches-sharing-code': 0, // todo: consider later
|
|
150
156
|
'promise/spec-only': 2,
|
|
151
157
|
'typescript/class-literal-property-style': 2,
|
|
152
158
|
'typescript/consistent-type-exports': 2,
|
package/dist/bin/dev-lib.d.ts
CHANGED
package/dist/bin/dev-lib.js
CHANGED
package/dist/bin/out.d.ts
CHANGED
package/dist/bin/out.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/dev-lib",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "20.
|
|
4
|
+
"version": "20.45.1",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@naturalcycles/js-lib": "^15",
|
|
7
7
|
"@naturalcycles/nodejs-lib": "^15",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"./testing/testOffline": "./dist/testing/testOffline.js"
|
|
69
69
|
},
|
|
70
70
|
"files": [
|
|
71
|
+
"bin",
|
|
71
72
|
"dist",
|
|
72
73
|
"scripts/tsconfig.json",
|
|
73
74
|
"cfg/overwrite/.gitignore",
|
|
@@ -76,8 +77,8 @@
|
|
|
76
77
|
"main": "dist/index.js",
|
|
77
78
|
"types": "dist/index.d.ts",
|
|
78
79
|
"bin": {
|
|
79
|
-
"out": "
|
|
80
|
-
"dev-lib": "
|
|
80
|
+
"out": "bin/out.js",
|
|
81
|
+
"dev-lib": "bin/dev-lib.js"
|
|
81
82
|
},
|
|
82
83
|
"engines": {
|
|
83
84
|
"node": ">=24.10.0"
|
package/cfg/overwrite/.gitignore
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# DO NOT MODIFY, WILL BE OVERWRITTEN BY @naturalcycles/dev-lib
|
|
3
|
-
#
|
|
4
|
-
# You can put more .gitignore files in your respective subfolders (e.g `src`) to ignore additional things.
|
|
5
|
-
# Or PR to @naturalcycles/dev-lib if you want to ignore something generic.
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
#
|
|
9
|
-
# Global (all dirs)
|
|
10
|
-
#
|
|
11
|
-
*.iml
|
|
12
|
-
.idea
|
|
13
|
-
.vscode
|
|
14
|
-
.DS_Store
|
|
15
|
-
node_modules
|
|
16
|
-
.env
|
|
17
|
-
.npmrc
|
|
18
|
-
.classpath
|
|
19
|
-
.project
|
|
20
|
-
.settings
|
|
21
|
-
.externalToolBuilders
|
|
22
|
-
.cache
|
|
23
|
-
.stencil
|
|
24
|
-
.nuxt
|
|
25
|
-
.gitconfig
|
|
26
|
-
.lighthouseci
|
|
27
|
-
|
|
28
|
-
#
|
|
29
|
-
# Root dir
|
|
30
|
-
#
|
|
31
|
-
/target
|
|
32
|
-
/*.log
|
|
33
|
-
/log.txt
|
|
34
|
-
/.sass-cache
|
|
35
|
-
/.sourcemaps
|
|
36
|
-
/docs/.vuepress/dist
|
|
37
|
-
/docs/.vitepress/dist
|
|
38
|
-
/docs/.vitepress/cache
|
|
39
|
-
/loader
|
|
40
|
-
/.angular/cache
|
|
41
|
-
|
|
42
|
-
/coverage
|
|
43
|
-
|
|
44
|
-
/dist
|
|
45
|
-
/dist-cjs
|
|
46
|
-
/dist-esm
|
|
47
|
-
/tmp
|
|
48
|
-
|
|
49
|
-
# All secrets are ignored, except encrypted
|
|
50
|
-
/secret/**/*.*
|
|
51
|
-
!/secret/**/*.enc
|
|
52
|
-
|
|
53
|
-
/scripts/try.*
|
|
54
|
-
/logs
|
|
55
|
-
/www/*
|
|
56
|
-
!/www/.gitkeep
|