create-rstack
Advanced tools
+33
-2
@@ -39,3 +39,3 @@ export declare type Argv = { | ||
| export declare function create({ name, root, templates, skipFiles, getTemplateName, mapESLintTemplate, version, noteInformation, }: { | ||
| export declare function create({ name, root, templates, skipFiles, getTemplateName, mapESLintTemplate, version, noteInformation, extraTools, argv: processArgv, }: { | ||
| name: string; | ||
@@ -46,3 +46,7 @@ root: string; | ||
| getTemplateName: (argv: Argv) => Promise<string>; | ||
| mapESLintTemplate: (templateName: string, context: { | ||
| /** | ||
| * Map the template name to the ESLint template name. | ||
| * If not provided, defaults to 'vanilla-ts' for all templates. | ||
| */ | ||
| mapESLintTemplate?: (templateName: string, context: { | ||
| distFolder: string; | ||
@@ -52,2 +56,10 @@ }) => ESLintTemplateName | null; | ||
| noteInformation?: string[]; | ||
| /** | ||
| * Specify additional tools. | ||
| */ | ||
| extraTools?: ExtraTool[]; | ||
| /** | ||
| * For test purpose, override the default argv (process.argv). | ||
| */ | ||
| argv?: string[]; | ||
| }): Promise<void>; | ||
@@ -57,2 +69,21 @@ | ||
| declare type ExtraTool = { | ||
| /** | ||
| * The value of the multiselect option. | ||
| */ | ||
| value: string; | ||
| /** | ||
| * The label of the multiselect option. | ||
| */ | ||
| label: string; | ||
| /** | ||
| * The action to perform when the tool is selected. | ||
| */ | ||
| action?: () => unknown; | ||
| /** | ||
| * The custom command to run when the tool is selected. | ||
| */ | ||
| command?: string; | ||
| }; | ||
| /** | ||
@@ -59,0 +90,0 @@ * Merge AGENTS.md files from multiple sources |
+13
-8
| { | ||
| "name": "create-rstack", | ||
| "version": "1.7.11", | ||
| "version": "1.7.12", | ||
| "description": "Create a new Rstack project", | ||
@@ -43,17 +43,22 @@ "repository": { | ||
| "devDependencies": { | ||
| "@biomejs/biome": "2.3.2", | ||
| "@biomejs/biome": "2.3.8", | ||
| "@clack/prompts": "^0.11.0", | ||
| "@microsoft/api-extractor": "^7.53.3", | ||
| "@rslib/core": "0.17.0", | ||
| "@rstest/core": "0.6.1", | ||
| "@microsoft/api-extractor": "^7.55.1", | ||
| "@rslib/core": "0.18.2", | ||
| "@rstest/core": "0.6.8", | ||
| "@types/cross-spawn": "^6.0.6", | ||
| "@types/fs-extra": "^11.0.4", | ||
| "@types/minimist": "^1.2.5", | ||
| "@types/node": "24.9.2", | ||
| "@types/node": "24.10.1", | ||
| "cross-spawn": "^7.0.6", | ||
| "deepmerge": "^4.3.1", | ||
| "fs-extra": "^11.3.2", | ||
| "minimist": "^1.2.8", | ||
| "picocolors": "^1.1.1", | ||
| "rslog": "^1.3.0", | ||
| "rimraf": "^6.1.2", | ||
| "rslog": "^1.3.2", | ||
| "simple-git-hooks": "^2.13.1", | ||
| "typescript": "^5.9.3" | ||
| }, | ||
| "packageManager": "pnpm@10.20.0", | ||
| "packageManager": "pnpm@10.24.0", | ||
| "publishConfig": { | ||
@@ -60,0 +65,0 @@ "access": "public", |
@@ -10,4 +10,4 @@ { | ||
| "devDependencies": { | ||
| "@biomejs/biome": "2.3.2" | ||
| "@biomejs/biome": "2.3.8" | ||
| } | ||
| } |
@@ -9,8 +9,8 @@ { | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.39.0", | ||
| "eslint": "^9.39.0", | ||
| "@eslint/js": "^9.39.1", | ||
| "eslint": "^9.39.1", | ||
| "eslint-plugin-react-hooks": "^7.0.1", | ||
| "eslint-plugin-react-refresh": "^0.4.24", | ||
| "globals": "^16.4.0" | ||
| "globals": "^16.5.0" | ||
| } | ||
| } |
@@ -9,9 +9,9 @@ { | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.39.0", | ||
| "eslint": "^9.39.0", | ||
| "@eslint/js": "^9.39.1", | ||
| "eslint": "^9.39.1", | ||
| "eslint-plugin-react-hooks": "^7.0.1", | ||
| "eslint-plugin-react-refresh": "^0.4.24", | ||
| "globals": "^16.4.0", | ||
| "typescript-eslint": "^8.46.2" | ||
| "globals": "^16.5.0", | ||
| "typescript-eslint": "^8.48.0" | ||
| } | ||
| } |
@@ -9,7 +9,7 @@ { | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.39.0", | ||
| "eslint": "^9.39.0", | ||
| "@eslint/js": "^9.39.1", | ||
| "eslint": "^9.39.1", | ||
| "eslint-plugin-svelte": "^3.13.0", | ||
| "globals": "^16.4.0" | ||
| "globals": "^16.5.0" | ||
| } | ||
| } |
@@ -9,9 +9,9 @@ { | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.39.0", | ||
| "eslint": "^9.39.0", | ||
| "@eslint/js": "^9.39.1", | ||
| "eslint": "^9.39.1", | ||
| "eslint-plugin-svelte": "^3.13.0", | ||
| "globals": "^16.4.0", | ||
| "typescript-eslint": "^8.46.2" | ||
| "globals": "^16.5.0", | ||
| "typescript-eslint": "^8.48.0" | ||
| }, | ||
| "type": "module" | ||
| } |
@@ -9,6 +9,6 @@ { | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.39.0", | ||
| "eslint": "^9.39.0", | ||
| "globals": "^16.4.0" | ||
| "@eslint/js": "^9.39.1", | ||
| "eslint": "^9.39.1", | ||
| "globals": "^16.5.0" | ||
| } | ||
| } |
@@ -9,7 +9,7 @@ { | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.39.0", | ||
| "eslint": "^9.39.0", | ||
| "globals": "^16.4.0", | ||
| "typescript-eslint": "^8.46.2" | ||
| "@eslint/js": "^9.39.1", | ||
| "eslint": "^9.39.1", | ||
| "globals": "^16.5.0", | ||
| "typescript-eslint": "^8.48.0" | ||
| } | ||
| } |
@@ -9,7 +9,7 @@ { | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.39.0", | ||
| "eslint": "^9.39.0", | ||
| "eslint-plugin-vue": "^10.5.1", | ||
| "globals": "^16.4.0" | ||
| "@eslint/js": "^9.39.1", | ||
| "eslint": "^9.39.1", | ||
| "eslint-plugin-vue": "^10.6.2", | ||
| "globals": "^16.5.0" | ||
| } | ||
| } |
@@ -10,7 +10,7 @@ { | ||
| "@vue/eslint-config-typescript": "^14.6.0", | ||
| "eslint": "^9.39.0", | ||
| "eslint-plugin-vue": "^10.5.1", | ||
| "globals": "^16.4.0", | ||
| "typescript-eslint": "^8.46.2" | ||
| "eslint": "^9.39.1", | ||
| "eslint-plugin-vue": "^10.6.2", | ||
| "globals": "^16.5.0", | ||
| "typescript-eslint": "^8.48.0" | ||
| } | ||
| } |
@@ -9,4 +9,4 @@ { | ||
| "devDependencies": { | ||
| "prettier": "^3.6.2" | ||
| "prettier": "^3.7.3" | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
130060
19.21%2705
20.44%18
38.46%31
933.33%1
Infinity%