diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index dc25d841a..2ce0fea0b 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -79,11 +79,11 @@ Please fill in all the relevant fields by running these commands in terminal. --> -1. `npm ls react-scripts-ts` (if you haven’t ejected): +1. `npm ls react-scripts-ts-ai` (if you haven’t ejected): 2. `node -v`: 3. `npm -v`: 4. `yarn --version` (if you use Yarn): -5. `npm ls react-scripts-ts` (if you haven’t ejected): +5. `npm ls react-scripts-ts-ai` (if you haven’t ejected): Then, specify: diff --git a/packages/react-scripts/bin/react-scripts-ts.js b/packages/react-scripts/bin/react-scripts-ts-ai.js similarity index 96% rename from packages/react-scripts/bin/react-scripts-ts.js rename to packages/react-scripts/bin/react-scripts-ts-ai.js index bc7f8f7dc..76d547645 100755 --- a/packages/react-scripts/bin/react-scripts-ts.js +++ b/packages/react-scripts/bin/react-scripts-ts-ai.js @@ -52,6 +52,6 @@ switch (script) { } default: console.log('Unknown script "' + script + '".'); - console.log('Perhaps you need to update react-scripts-ts?'); + console.log('Perhaps you need to update react-scripts-ts-ai?'); break; } diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index ac285bbb6..a08a1d1c7 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -18,7 +18,7 @@ "utils" ], "bin": { - "react-scripts-ts": "./bin/react-scripts-ts.js" + "react-scripts-ts-ai": "./bin/react-scripts-ts-ai.js" }, "dependencies": { "autoprefixer": "7.1.2", diff --git a/packages/react-scripts/scripts/init.js b/packages/react-scripts/scripts/init.js index 77aa58539..4c7292526 100644 --- a/packages/react-scripts/scripts/init.js +++ b/packages/react-scripts/scripts/init.js @@ -39,10 +39,10 @@ module.exports = function( // Setup the script rules appPackage.scripts = { - start: 'react-scripts-ts start', - build: 'react-scripts-ts build', - test: 'react-scripts-ts test --env=jsdom', - eject: 'react-scripts-ts eject', + start: 'react-scripts-ts-ai start', + build: 'react-scripts-ts-ai build', + test: 'react-scripts-ts-ai test --env=jsdom', + eject: 'react-scripts-ts-ai eject', }; fs.writeFileSync(