@remaginer-io/rm-configs 0.1.0 → 0.2.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/index.mjs +30 -0
- package/package.json +25 -27
- package/tsup/index.mjs +14 -0
- package/typescript/next.json +18 -0
- package/typescript/vite.json +17 -0
- package/eslint-config/index.mjs +0 -14
- package/eslint-config/node_modules/.bin/acorn +0 -17
- package/eslint-config/node_modules/.bin/eslint +0 -21
- package/eslint-config/node_modules/.bin/eslint-config-prettier +0 -21
- package/eslint-config/node_modules/.bin/jiti +0 -21
- package/eslint-config/node_modules/.bin/tsc +0 -21
- package/eslint-config/node_modules/.bin/tsserver +0 -21
- package/typescript-config/vite.json +0 -16
- package/vitest-config/index.d.ts +0 -4
- package/vitest-config/index.js +0 -10
- package/vitest-config/node_modules/.bin/jiti +0 -21
- package/vitest-config/node_modules/.bin/vite +0 -21
- package/vitest-config/node_modules/.bin/vitest +0 -21
- package/vitest-config/packages.d.ts +0 -4
- package/vitest-config/packages.js +0 -22
- /package/{eslint-config → eslint}/index.js +0 -0
- /package/{typescript-config → typescript}/base.json +0 -0
- /package/{typescript-config → typescript}/module.json +0 -0
- /package/{typescript-config → typescript}/react-library.json +0 -0
package/eslint/index.mjs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import eslint from '@eslint/js';
|
|
2
|
+
import globals from 'globals';
|
|
3
|
+
import tseslint from 'typescript-eslint';
|
|
4
|
+
import prettier from 'eslint-config-prettier';
|
|
5
|
+
|
|
6
|
+
export default [
|
|
7
|
+
{
|
|
8
|
+
ignores: [
|
|
9
|
+
'**/.next/**',
|
|
10
|
+
'**/build/**',
|
|
11
|
+
'**/dist/**',
|
|
12
|
+
'**/node_modules/**',
|
|
13
|
+
'**/out/**',
|
|
14
|
+
'**/storybook-static/**',
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
languageOptions: {
|
|
19
|
+
globals: globals.node,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
eslint.configs.recommended,
|
|
23
|
+
...tseslint.configs.recommended,
|
|
24
|
+
prettier,
|
|
25
|
+
{
|
|
26
|
+
rules: {
|
|
27
|
+
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
];
|
package/package.json
CHANGED
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remaginer-io/rm-configs",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Shared TypeScript, ESLint, and test configuration for Remaginer repositories.",
|
|
5
6
|
"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
7
|
"files": [
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
8
|
+
"typescript/",
|
|
9
|
+
"eslint/",
|
|
10
|
+
"tsup/",
|
|
11
|
+
"vitest/"
|
|
19
12
|
],
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"typescript
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
},
|
|
29
|
-
"peerDependenciesMeta": {
|
|
30
|
-
"vitest": {
|
|
31
|
-
"optional": true
|
|
32
|
-
}
|
|
13
|
+
"exports": {
|
|
14
|
+
"./eslint": "./eslint/index.mjs",
|
|
15
|
+
"./tsup": "./tsup/index.mjs",
|
|
16
|
+
"./typescript/base": "./typescript/base.json",
|
|
17
|
+
"./typescript/module": "./typescript/module.json",
|
|
18
|
+
"./typescript/next": "./typescript/next.json",
|
|
19
|
+
"./typescript/vite": "./typescript/vite.json",
|
|
20
|
+
"./typescript/react-library": "./typescript/react-library.json"
|
|
33
21
|
},
|
|
34
22
|
"publishConfig": {
|
|
35
23
|
"access": "restricted"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@eslint/js": "9.39.2",
|
|
27
|
+
"eslint": "9.39.2",
|
|
28
|
+
"eslint-config-prettier": "10.1.8",
|
|
29
|
+
"globals": "16.5.0",
|
|
30
|
+
"typescript-eslint": "8.67.0"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=20"
|
|
36
34
|
}
|
|
37
35
|
}
|
package/tsup/index.mjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export function createReactLibraryConfig({
|
|
2
|
+
entry = 'src/index.tsx',
|
|
3
|
+
useClient = false,
|
|
4
|
+
...overrides
|
|
5
|
+
} = {}) {
|
|
6
|
+
return {
|
|
7
|
+
entry,
|
|
8
|
+
format: ['cjs', 'esm'],
|
|
9
|
+
dts: true,
|
|
10
|
+
external: ['react', 'react-dom'],
|
|
11
|
+
...(useClient ? { banner: { js: "'use client'" } } : {}),
|
|
12
|
+
...overrides,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "./base.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"declaration": false,
|
|
7
|
+
"declarationMap": false,
|
|
8
|
+
"incremental": true,
|
|
9
|
+
"jsx": "preserve",
|
|
10
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
11
|
+
"module": "ESNext",
|
|
12
|
+
"moduleResolution": "Bundler",
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"target": "ES2020"
|
|
16
|
+
},
|
|
17
|
+
"exclude": ["node_modules"]
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
"useDefineForClassFields": true,
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"lib": ["ESNext", "DOM"],
|
|
8
|
+
"jsx": "react-jsx",
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"resolveJsonModule": true,
|
|
11
|
+
"noEmit": true,
|
|
12
|
+
"noUnusedLocals": true,
|
|
13
|
+
"noUnusedParameters": true,
|
|
14
|
+
"noImplicitReturns": true
|
|
15
|
+
},
|
|
16
|
+
"exclude": ["node_modules"]
|
|
17
|
+
}
|
package/eslint-config/index.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
];
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|
package/vitest-config/index.d.ts
DELETED
package/vitest-config/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|