@naturalcycles/dev-lib 20.13.0 → 20.13.2

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.
File without changes
File without changes
@@ -0,0 +1,56 @@
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
@@ -38,7 +38,7 @@
38
38
  "prefer-array-flat-map": 2,
39
39
  "prefer-set-has": 2,
40
40
  "no-array-constructor": 2,
41
- "no-useless-return": 2,
41
+ "no-useless-return": 0, // not useful
42
42
  "no-bitwise": 2,
43
43
  "no-empty": [2, { "allowEmptyCatch": true }],
44
44
  "no-regex-spaces": 2,
package/package.json CHANGED
@@ -1,36 +1,15 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.13.0",
5
- "scripts": {
6
- "tsx-debug": "tsx scripts/testScript.ts",
7
- "dev-lib": "tsx ./src/bin/dev-lib.ts",
8
- "bt": "tsx ./src/bin/dev-lib.ts bt && tsx scripts/eslintPrintConfig.script.ts && tsx scripts/oxlintPrintConfig.script.ts",
9
- "check": "tsx ./src/bin/dev-lib.ts check && tsx scripts/eslintPrintConfig.script.ts && tsx scripts/oxlintPrintConfig.script.ts",
10
- "typecheck": "tsx ./src/bin/dev-lib.ts typecheck",
11
- "clean": "tsx ./src/bin/dev-lib.ts clean",
12
- "build": "tsx ./src/bin/dev-lib.ts build",
13
- "out": "tsx ./src/bin/out.ts",
14
- "test": "tsx ./src/bin/dev-lib.ts test",
15
- "test-leaks": "tsx ./src/bin/dev-lib.ts test-leaks",
16
- "test-integration": "tsx ./src/bin/dev-lib.ts test-integration",
17
- "test-manual": "tsx ./src/bin/dev-lib.ts test-manual",
18
- "lint": "tsx scripts/eslintPrintConfig.script.ts && tsx scripts/oxlintPrintConfig.script.ts && tsx ./src/bin/dev-lib.ts lint",
19
- "eslint": "tsx ./src/bin/dev-lib.ts eslint",
20
- "eslint-no-fix": "tsx ./src/bin/dev-lib.ts eslint-no-fix",
21
- "biome-no-fix": "tsx ./src/bin/dev-lib.ts biome-no-fix",
22
- "oxlint": "tsx ./src/bin/dev-lib.ts oxlint",
23
- "oxlint-no-fix": "tsx ./src/bin/dev-lib.ts oxlint-no-fix",
24
- "lint-staged-debug": "tsx ./src/bin/dev-lib.ts lint-staged"
25
- },
4
+ "version": "20.13.2",
26
5
  "dependencies": {
27
6
  "@biomejs/biome": "^2",
28
7
  "@commitlint/cli": "^20",
29
8
  "@commitlint/config-conventional": "^20",
30
9
  "@eslint/js": "^9",
31
10
  "@inquirer/prompts": "^8",
32
- "@naturalcycles/js-lib": "workspace:^15",
33
- "@naturalcycles/nodejs-lib": "workspace:^15",
11
+ "@naturalcycles/js-lib": "^15",
12
+ "@naturalcycles/nodejs-lib": "^15",
34
13
  "@vitest/coverage-v8": "^4",
35
14
  "@vitest/eslint-plugin": "^1",
36
15
  "eslint": "^9",
@@ -112,5 +91,26 @@
112
91
  },
113
92
  "description": "Set of opinionated configuration files and tools for common project needs",
114
93
  "author": "Natural Cycles Team",
115
- "license": "MIT"
116
- }
94
+ "license": "MIT",
95
+ "scripts": {
96
+ "tsx-debug": "tsx scripts/testScript.ts",
97
+ "dev-lib": "tsx ./src/bin/dev-lib.ts",
98
+ "bt": "tsx ./src/bin/dev-lib.ts bt && tsx scripts/eslintPrintConfig.script.ts && tsx scripts/oxlintPrintConfig.script.ts",
99
+ "check": "tsx ./src/bin/dev-lib.ts check && tsx scripts/eslintPrintConfig.script.ts && tsx scripts/oxlintPrintConfig.script.ts",
100
+ "typecheck": "tsx ./src/bin/dev-lib.ts typecheck",
101
+ "clean": "tsx ./src/bin/dev-lib.ts clean",
102
+ "build": "tsx ./src/bin/dev-lib.ts build",
103
+ "out": "tsx ./src/bin/out.ts",
104
+ "test": "tsx ./src/bin/dev-lib.ts test",
105
+ "test-leaks": "tsx ./src/bin/dev-lib.ts test-leaks",
106
+ "test-integration": "tsx ./src/bin/dev-lib.ts test-integration",
107
+ "test-manual": "tsx ./src/bin/dev-lib.ts test-manual",
108
+ "lint": "tsx scripts/eslintPrintConfig.script.ts && tsx scripts/oxlintPrintConfig.script.ts && tsx ./src/bin/dev-lib.ts lint",
109
+ "eslint": "tsx ./src/bin/dev-lib.ts eslint",
110
+ "eslint-no-fix": "tsx ./src/bin/dev-lib.ts eslint-no-fix",
111
+ "biome-no-fix": "tsx ./src/bin/dev-lib.ts biome-no-fix",
112
+ "oxlint": "tsx ./src/bin/dev-lib.ts oxlint",
113
+ "oxlint-no-fix": "tsx ./src/bin/dev-lib.ts oxlint-no-fix",
114
+ "lint-staged-debug": "tsx ./src/bin/dev-lib.ts lint-staged"
115
+ }
116
+ }
package/readme.md CHANGED
@@ -14,6 +14,7 @@
14
14
  ## Tools that dev-lib enables
15
15
 
16
16
  - Prettier
17
+ - oxlint
17
18
  - ESLint
18
19
  - Biome
19
20
  - Stylelint