create-rstack 0.0.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/LICENSE +21 -0
- package/README.md +49 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1577 -0
- package/package.json +55 -0
- package/template-biome/biome.json +25 -0
- package/template-biome/node_modules/.bin/biome +17 -0
- package/template-biome/package.json +12 -0
- package/template-eslint/react-js/eslint.config.mjs +29 -0
- package/template-eslint/react-js/node_modules/.bin/acorn +17 -0
- package/template-eslint/react-js/node_modules/.bin/eslint +17 -0
- package/template-eslint/react-js/node_modules/.bin/jiti +17 -0
- package/template-eslint/react-js/package.json +16 -0
- package/template-eslint/react-ts/eslint.config.mjs +31 -0
- package/template-eslint/react-ts/node_modules/.bin/acorn +17 -0
- package/template-eslint/react-ts/node_modules/.bin/eslint +17 -0
- package/template-eslint/react-ts/node_modules/.bin/jiti +17 -0
- package/template-eslint/react-ts/node_modules/.bin/tsc +17 -0
- package/template-eslint/react-ts/node_modules/.bin/tsserver +17 -0
- package/template-eslint/react-ts/package.json +17 -0
- package/template-eslint/svelte-js/eslint.config.mjs +20 -0
- package/template-eslint/svelte-js/node_modules/.bin/acorn +17 -0
- package/template-eslint/svelte-js/node_modules/.bin/eslint +17 -0
- package/template-eslint/svelte-js/node_modules/.bin/jiti +17 -0
- package/template-eslint/svelte-js/package.json +14 -0
- package/template-eslint/svelte-ts/eslint.config.mjs +28 -0
- package/template-eslint/svelte-ts/node_modules/.bin/acorn +17 -0
- package/template-eslint/svelte-ts/node_modules/.bin/eslint +17 -0
- package/template-eslint/svelte-ts/node_modules/.bin/jiti +17 -0
- package/template-eslint/svelte-ts/node_modules/.bin/tsc +17 -0
- package/template-eslint/svelte-ts/node_modules/.bin/tsserver +17 -0
- package/template-eslint/svelte-ts/package.json +16 -0
- package/template-eslint/vanilla-js/eslint.config.mjs +8 -0
- package/template-eslint/vanilla-js/node_modules/.bin/acorn +17 -0
- package/template-eslint/vanilla-js/node_modules/.bin/eslint +17 -0
- package/template-eslint/vanilla-js/node_modules/.bin/jiti +17 -0
- package/template-eslint/vanilla-js/package.json +13 -0
- package/template-eslint/vanilla-ts/eslint.config.mjs +10 -0
- package/template-eslint/vanilla-ts/node_modules/.bin/acorn +17 -0
- package/template-eslint/vanilla-ts/node_modules/.bin/eslint +17 -0
- package/template-eslint/vanilla-ts/node_modules/.bin/jiti +17 -0
- package/template-eslint/vanilla-ts/node_modules/.bin/tsc +17 -0
- package/template-eslint/vanilla-ts/node_modules/.bin/tsserver +17 -0
- package/template-eslint/vanilla-ts/package.json +14 -0
- package/template-eslint/vue-js/eslint.config.mjs +10 -0
- package/template-eslint/vue-js/node_modules/.bin/acorn +17 -0
- package/template-eslint/vue-js/node_modules/.bin/eslint +17 -0
- package/template-eslint/vue-js/node_modules/.bin/jiti +17 -0
- package/template-eslint/vue-js/package.json +14 -0
- package/template-eslint/vue-ts/eslint.config.mjs +12 -0
- package/template-eslint/vue-ts/node_modules/.bin/acorn +17 -0
- package/template-eslint/vue-ts/node_modules/.bin/eslint +17 -0
- package/template-eslint/vue-ts/node_modules/.bin/jiti +17 -0
- package/template-eslint/vue-ts/node_modules/.bin/tsc +17 -0
- package/template-eslint/vue-ts/node_modules/.bin/tsserver +17 -0
- package/template-eslint/vue-ts/package.json +15 -0
- package/template-prettier/.prettierignore +4 -0
- package/template-prettier/.prettierrc +3 -0
- package/template-prettier/node_modules/.bin/prettier +17 -0
- package/template-prettier/package.json +11 -0
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules:/Users/chenjiahan/Project/rsbuild/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.12.1/node_modules/acorn/bin/acorn" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/acorn" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../eslint/bin/eslint.js" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/jiti.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/jiti.js" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules:/Users/chenjiahan/Project/rsbuild/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.12.1/node_modules/acorn/bin/acorn" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/acorn" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../eslint/bin/eslint.js" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/jiti.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/jiti.js" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/tsc" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/tsc" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/tsserver" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/tsserver" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rsbuild-eslint-common-ts",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"lint": "eslint ."
|
|
7
|
+
},
|
|
8
|
+
"devDependencies": {
|
|
9
|
+
"@eslint/js": "^9.9.1",
|
|
10
|
+
"eslint": "^9.9.1",
|
|
11
|
+
"globals": "^15.9.0",
|
|
12
|
+
"typescript-eslint": "^8.2.0"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import js from '@eslint/js';
|
|
2
|
+
import vue from 'eslint-plugin-vue';
|
|
3
|
+
import globals from 'globals';
|
|
4
|
+
|
|
5
|
+
export default [
|
|
6
|
+
{ languageOptions: { globals: globals.browser } },
|
|
7
|
+
js.configs.recommended,
|
|
8
|
+
...vue.configs['flat/essential'],
|
|
9
|
+
{ ignores: ['dist/'] },
|
|
10
|
+
];
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules:/Users/chenjiahan/Project/rsbuild/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.12.1/node_modules/acorn/bin/acorn" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/acorn" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../eslint/bin/eslint.js" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/jiti.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/jiti.js" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rsbuild-eslint-vue-js",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"lint": "eslint ."
|
|
7
|
+
},
|
|
8
|
+
"devDependencies": {
|
|
9
|
+
"@eslint/js": "^9.9.1",
|
|
10
|
+
"eslint": "^9.9.1",
|
|
11
|
+
"eslint-plugin-vue": "^9.27.0",
|
|
12
|
+
"globals": "^15.9.0"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import js from '@eslint/js';
|
|
2
|
+
import vue from 'eslint-plugin-vue';
|
|
3
|
+
import globals from 'globals';
|
|
4
|
+
import ts from 'typescript-eslint';
|
|
5
|
+
|
|
6
|
+
export default [
|
|
7
|
+
{ languageOptions: { globals: globals.browser } },
|
|
8
|
+
js.configs.recommended,
|
|
9
|
+
...ts.configs.recommended,
|
|
10
|
+
...vue.configs['flat/essential'],
|
|
11
|
+
{ ignores: ['dist/'] },
|
|
12
|
+
];
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/acorn@8.12.1/node_modules:/Users/chenjiahan/Project/rsbuild/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.12.1/node_modules/acorn/bin/acorn" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/acorn@8.12.1/node_modules/acorn/bin/acorn" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules/eslint/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/eslint@9.9.1_jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../eslint/bin/eslint.js" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/jiti@1.21.6/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/jiti.js" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/jiti@1.21.6/node_modules/jiti/bin/jiti.js" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/tsc" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/tsc" "$@"
|
|
17
|
+
fi
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/typescript@5.5.2/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/tsserver" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../../../../../../node_modules/.pnpm/typescript@5.5.2/node_modules/typescript/bin/tsserver" "$@"
|
|
17
|
+
fi
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rsbuild-eslint-vue-ts",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"lint": "eslint ."
|
|
7
|
+
},
|
|
8
|
+
"devDependencies": {
|
|
9
|
+
"@eslint/js": "^9.9.1",
|
|
10
|
+
"eslint": "^9.9.1",
|
|
11
|
+
"eslint-plugin-vue": "^9.27.0",
|
|
12
|
+
"globals": "^15.9.0",
|
|
13
|
+
"typescript-eslint": "^8.2.0"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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/chenjiahan/Project/rsbuild/node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/prettier@3.3.3/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules"
|
|
10
|
+
else
|
|
11
|
+
export NODE_PATH="/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/bin/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/prettier@3.3.3/node_modules:/Users/chenjiahan/Project/rsbuild/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
|
+
fi
|
|
13
|
+
if [ -x "$basedir/node" ]; then
|
|
14
|
+
exec "$basedir/node" "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
15
|
+
else
|
|
16
|
+
exec node "$basedir/../prettier/bin/prettier.cjs" "$@"
|
|
17
|
+
fi
|