@adbayb/stack 2.40.0-next-4118432 → 2.40.0-next-14160b1

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.
@@ -4,10 +4,11 @@ import type { OxlintConfig } from "oxlint";
4
4
  import { defineConfig } from "oxlint";
5
5
 
6
6
  const JAVASCRIPT_EXTENSIONS = ["js", "jsx", "cjs", "mjs", "mjsx"];
7
+ const JAVASCRIPT_EXTENSIONS_AS_STRING = JAVASCRIPT_EXTENSIONS.join(",");
8
+ const JAVASCRIPT_FILES = [`**/*.{${JAVASCRIPT_EXTENSIONS_AS_STRING}}`];
7
9
  const TYPESCRIPT_EXTENSIONS = ["ts", "tsx", "cts", "mts", "mtsx"];
8
10
  const JAVASCRIPT_LIKE_EXTENSIONS = [...JAVASCRIPT_EXTENSIONS, ...TYPESCRIPT_EXTENSIONS];
9
11
  const JAVASCRIPT_LIKE_EXTENSIONS_AS_STRING = JAVASCRIPT_LIKE_EXTENSIONS.join(",");
10
- const JAVASCRIPT_LIKE_FILES = [`**/*.{${JAVASCRIPT_LIKE_EXTENSIONS_AS_STRING}}`];
11
12
 
12
13
  const TEST_LIKE_FILES = [
13
14
  `**/{test,test-d}.{${JAVASCRIPT_LIKE_EXTENSIONS_AS_STRING}}`,
@@ -40,8 +41,9 @@ const config = defineConfig({
40
41
  },
41
42
  },
42
43
  {
43
- files: JAVASCRIPT_LIKE_FILES,
44
+ files: JAVASCRIPT_FILES,
44
45
  rules: {
46
+ // Following disabled rules are required until this issue is resolved https://github.com/oxc-project/oxc/issues/20073
45
47
  "typescript/no-unsafe-assignment": "off",
46
48
  "typescript/no-unsafe-call": "off",
47
49
  "typescript/no-unsafe-member-access": "off",
@@ -10,6 +10,7 @@ const JAVASCRIPT_EXTENSIONS = [
10
10
  "mjs",
11
11
  "mjsx"
12
12
  ];
13
+ const JAVASCRIPT_FILES = [`**/*.{${JAVASCRIPT_EXTENSIONS.join(",")}}`];
13
14
  const TYPESCRIPT_EXTENSIONS = [
14
15
  "ts",
15
16
  "tsx",
@@ -18,7 +19,6 @@ const TYPESCRIPT_EXTENSIONS = [
18
19
  "mtsx"
19
20
  ];
20
21
  const JAVASCRIPT_LIKE_EXTENSIONS_AS_STRING = [...JAVASCRIPT_EXTENSIONS, ...TYPESCRIPT_EXTENSIONS].join(",");
21
- const JAVASCRIPT_LIKE_FILES = [`**/*.{${JAVASCRIPT_LIKE_EXTENSIONS_AS_STRING}}`];
22
22
  const TEST_LIKE_FILES = [`**/{test,test-d}.{${JAVASCRIPT_LIKE_EXTENSIONS_AS_STRING}}`, `**/*.{test,test-d}.{${JAVASCRIPT_LIKE_EXTENSIONS_AS_STRING}}`];
23
23
  const config = defineConfig({
24
24
  categories: {
@@ -48,7 +48,7 @@ const config = defineConfig({
48
48
  rules: { "unicorn/require-module-specifiers": "off" }
49
49
  },
50
50
  {
51
- files: JAVASCRIPT_LIKE_FILES,
51
+ files: JAVASCRIPT_FILES,
52
52
  rules: {
53
53
  "typescript/no-unsafe-assignment": "off",
54
54
  "typescript/no-unsafe-call": "off",
package/dist/index.js CHANGED
@@ -442,7 +442,7 @@ const PRESERVE_FILES = ["node_modules"];
442
442
 
443
443
  //#endregion
444
444
  //#region package.json
445
- var version = "2.40.0-next-4118432";
445
+ var version = "2.40.0-next-14160b1";
446
446
 
447
447
  //#endregion
448
448
  //#region src/commands/create.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbayb/stack",
3
- "version": "2.40.0-next-4118432",
3
+ "version": "2.40.0-next-14160b1",
4
4
  "description": "My opinionated JavaScript-based toolchain",
5
5
  "keywords": [
6
6
  "development",