@remaginer-io/rm-configs 0.1.0
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/eslint-config/index.js +17 -0
- package/eslint-config/index.mjs +14 -0
- package/eslint-config/node_modules/.bin/acorn +17 -0
- package/eslint-config/node_modules/.bin/eslint +21 -0
- package/eslint-config/node_modules/.bin/eslint-config-prettier +21 -0
- package/eslint-config/node_modules/.bin/jiti +21 -0
- package/eslint-config/node_modules/.bin/tsc +21 -0
- package/eslint-config/node_modules/.bin/tsserver +21 -0
- package/package.json +37 -0
- package/typescript-config/base.json +20 -0
- package/typescript-config/module.json +9 -0
- package/typescript-config/react-library.json +7 -0
- package/typescript-config/vite.json +16 -0
- package/vitest-config/index.d.ts +4 -0
- package/vitest-config/index.js +10 -0
- package/vitest-config/node_modules/.bin/jiti +21 -0
- package/vitest-config/node_modules/.bin/vite +21 -0
- package/vitest-config/node_modules/.bin/vitest +21 -0
- package/vitest-config/packages.d.ts +4 -0
- package/vitest-config/packages.js +22 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const eslint = require("@eslint/js");
|
|
2
|
+
const tseslint = require("typescript-eslint");
|
|
3
|
+
const prettier = require("eslint-config-prettier");
|
|
4
|
+
|
|
5
|
+
module.exports = [
|
|
6
|
+
{
|
|
7
|
+
ignores: ["dist/**", "node_modules/**"],
|
|
8
|
+
},
|
|
9
|
+
eslint.configs.recommended,
|
|
10
|
+
...tseslint.configs.recommended,
|
|
11
|
+
prettier,
|
|
12
|
+
{
|
|
13
|
+
rules: {
|
|
14
|
+
"@typescript-eslint/no-non-null-assertion": "off",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import eslint from "@eslint/js";
|
|
2
|
+
import tseslint from "typescript-eslint";
|
|
3
|
+
import prettier from "eslint-config-prettier";
|
|
4
|
+
|
|
5
|
+
export default [
|
|
6
|
+
eslint.configs.recommended,
|
|
7
|
+
...tseslint.configs.recommended,
|
|
8
|
+
prettier,
|
|
9
|
+
{
|
|
10
|
+
rules: {
|
|
11
|
+
"@typescript-eslint/no-non-null-assertion": "off",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
6
|
+
esac
|
|
7
|
+
|
|
8
|
+
if [ -z "$NODE_PATH" ]; then
|
|
9
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/acorn@8.15.0/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/acorn@8.15.0/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/bin/acorn" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/bin/acorn" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../eslint/bin/eslint.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint-config-prettier@10.1.8_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-config-prettier/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint-config-prettier@10.1.8_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-config-prettier/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint-config-prettier@10.1.8_eslint@9.39.2_jiti@2.6.1_/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint-config-prettier@10.1.8_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-config-prettier/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint-config-prettier@10.1.8_eslint@9.39.2_jiti@2.6.1_/node_modules/eslint-config-prettier/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/eslint-config-prettier@10.1.8_eslint@9.39.2_jiti@2.6.1_/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../eslint-config-prettier/bin/cli.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../eslint-config-prettier/bin/cli.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/bin/tsc" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/bin/tsc" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/typescript@5.5.4/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/bin/tsserver" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/bin/tsserver" "$@"
|
|
21
|
+
fi
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@remaginer-io/rm-configs",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"exports": {
|
|
7
|
+
"./eslint": "./eslint-config/index.mjs",
|
|
8
|
+
"./typescript/base": "./typescript-config/base.json",
|
|
9
|
+
"./typescript/module": "./typescript-config/module.json",
|
|
10
|
+
"./typescript/vite": "./typescript-config/vite.json",
|
|
11
|
+
"./typescript/react-library": "./typescript-config/react-library.json",
|
|
12
|
+
"./vitest": "./vitest-config/index.js",
|
|
13
|
+
"./vitest/packages": "./vitest-config/packages.js"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"eslint-config",
|
|
17
|
+
"typescript-config",
|
|
18
|
+
"vitest-config"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@eslint/js": "^9.39.2",
|
|
22
|
+
"eslint": "^9",
|
|
23
|
+
"eslint-config-prettier": "^10.1.8",
|
|
24
|
+
"typescript-eslint": "^8.50.1"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"vitest": "^4.0.0"
|
|
28
|
+
},
|
|
29
|
+
"peerDependenciesMeta": {
|
|
30
|
+
"vitest": {
|
|
31
|
+
"optional": true
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "restricted"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"composite": false,
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"declarationMap": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"forceConsistentCasingInFileNames": true,
|
|
9
|
+
"inlineSources": false,
|
|
10
|
+
"isolatedModules": true,
|
|
11
|
+
"module": "ESNext",
|
|
12
|
+
"moduleResolution": "Bundler",
|
|
13
|
+
"noUnusedLocals": false,
|
|
14
|
+
"noUnusedParameters": false,
|
|
15
|
+
"preserveWatchOutput": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"strict": true
|
|
18
|
+
},
|
|
19
|
+
"exclude": ["node_modules"]
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
"useDefineForClassFields": true,
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"lib": ["ESNext", "DOM"],
|
|
8
|
+
"sourceMap": true,
|
|
9
|
+
"resolveJsonModule": true,
|
|
10
|
+
"noEmit": true,
|
|
11
|
+
"noUnusedLocals": true,
|
|
12
|
+
"noUnusedParameters": true,
|
|
13
|
+
"noImplicitReturns": true
|
|
14
|
+
},
|
|
15
|
+
"exclude": ["node_modules"]
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vite@7.3.0_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules/vite/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vite@7.3.0_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules/vite/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vite@7.3.0_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vite@7.3.0_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules/vite/bin/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vite@7.3.0_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules/vite/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vite@7.3.0_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@7.3.0_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules/vite/bin/vite.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/vite@7.3.0_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules/vite/bin/vite.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vitest@4.0.16_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules/vitest/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vitest@4.0.16_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vitest@4.0.16_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules/vitest/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/vitest@4.0.16_@types+node@25.0.3_jiti@2.6.1_lightningcss@1.30.2/node_modules:/Users/mmm/Desktop/remaginer-io/rm/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../vitest/vitest.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineConfig } from "vitest/config";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Base vitest config for packages
|
|
5
|
+
*
|
|
6
|
+
* Usage in package vitest.config.ts:
|
|
7
|
+
* import config from "@remaginer-io/rm-vitest-config/packages";
|
|
8
|
+
* export default config;
|
|
9
|
+
*/
|
|
10
|
+
export default defineConfig({
|
|
11
|
+
test: {
|
|
12
|
+
globals: true,
|
|
13
|
+
environment: "node",
|
|
14
|
+
testTimeout: 30_000,
|
|
15
|
+
hookTimeout: 10_000,
|
|
16
|
+
include: ["__tests__/**/*.test.ts", "src/**/*.test.ts"],
|
|
17
|
+
sequence: {
|
|
18
|
+
shuffle: false,
|
|
19
|
+
concurrent: false,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
});
|