Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit a8d5394

Browse files
authored
chore: 🔧 releasing 1.2.3
2 parents 363b377 + a9503d6 commit a8d5394

File tree

30 files changed

+5657
-8009
lines changed

30 files changed

+5657
-8009
lines changed

.github/workflows/build.yaml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Use Node.js 14.x
13+
- name: Use Node.js 16.x
1414
uses: actions/setup-node@v1
1515
with:
16-
node-version: 14.x
16+
node-version: 16.x
1717
- run: yarn add shelljs
1818
- run: yarn run create:npm-package
1919
- name: Upload template
@@ -26,17 +26,17 @@ jobs:
2626
needs: createNpmPackage
2727
runs-on: ubuntu-latest
2828
steps:
29-
- name: Use Node.js 14.x
29+
- name: Use Node.js 16.x
3030
uses: actions/setup-node@v1
3131
with:
32-
node-version: 14.x
32+
node-version: 16.x
3333
- name: Download template
3434
uses: actions/download-artifact@v1
3535
with:
3636
name: cra-template-rb
3737
path: ../cra-template-rb # Put into the upper folder. create-react-app wants the current directory empty
3838
- name: Create CRA from downloaded template
39-
run: npx create-react-app --template file:../cra-template-rb .
39+
run: yarn create react-app --template file:../cra-template-rb .
4040
- run: yarn run build
4141
- run: yarn run test:generators
4242
- run: yarn run lint
@@ -47,4 +47,23 @@ jobs:
4747
- run: yarn run test:generators
4848
- run: yarn run lint
4949
- run: yarn run checkTs
50-
50+
createCRAWithMultipleNodeVersions:
51+
needs: createNpmPackage
52+
strategy:
53+
matrix:
54+
node-version: [14.x, 16.x, 17.x]
55+
runs-on: ubuntu-latest
56+
steps:
57+
- name: Use Node.js ${{ matrix.node-version }}
58+
uses: actions/setup-node@v1
59+
with:
60+
node-version: ${{ matrix.node-version }}
61+
- name: Download template
62+
uses: actions/download-artifact@v1
63+
with:
64+
name: cra-template-rb
65+
path: ../cra-template-rb # Put into the upper folder. create-react-app wants the current directory empty
66+
- name: Create CRA from downloaded template
67+
run: yarn create react-app --template file:../cra-template-rb .
68+
- run: yarn run build
69+
- run: yarn run test

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
createAndTestCRAFromNpm:
1111
strategy:
1212
matrix:
13-
node-version: [14.x, 15.x, 16.x]
13+
node-version: [16.x, 17.x]
1414

1515
runs-on: ubuntu-latest
1616
steps:
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
node-version: ${{ matrix.node-version }}
2121
- name: Create CRA from npm template
22-
run: npx create-react-app --template cra-template-rb .
22+
run: yarn create react-app --template cra-template-rb .
2323
- run: yarn run build
2424
- run: yarn run test:generators
2525
- run: yarn run lint

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- name: Use Node.js 14.x
12+
- name: Use Node.js 16.x
1313
uses: actions/setup-node@v1
1414
with:
15-
node-version: 14.x
15+
node-version: 16.x
1616
- run: yarn --frozen-lockfile
1717
- run: yarn run test:coverage
1818
- name: Upload to Coveralls
@@ -23,9 +23,9 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v2
26-
- name: Use Node.js 14.x
26+
- name: Use Node.js 16.x
2727
uses: actions/setup-node@v1
2828
with:
29-
node-version: 14.x
29+
node-version: 16.x
3030
- run: yarn --frozen-lockfile
3131
- run: yarn run test:internals

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/dubnium
1+
lts/fermium

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Start your `create-react-app` projects in seconds with the best, industry-standa
6060
Create React App with the template
6161

6262
```shell
63-
npx create-react-app --template cra-template-rb my-app
63+
yarn create react-app --template cra-template-rb my-app
6464
```
6565

6666
Start and check our example app, if you want

docs/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You have just **3** easy-peasy steps to do :)
77
**1)** Create **CRA** app with the custom template
88

99
```shell
10-
npx create-react-app --template cra-template-rb my-app
10+
yarn create react-app --template cra-template-rb my-app
1111
```
1212

1313
**2)** Start the example application and checkout the features made ready for you.

internals/extractMessages/jest.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
module.exports = {
2-
globals: {
3-
'ts-jest': {
4-
tsConfig: 'internals/ts-node.tsconfig.json',
5-
},
6-
},
72
testMatch: [
83
'**/__tests__/**/*.+(ts|tsx|js)',
94
'**/?(*.)+(spec|test).+(ts|tsx|js)',

internals/generators/plopfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function plop(plop: NodePlopAPI) {
1111
plop.setGenerator('slice', sliceGenerator);
1212

1313
plop.setActionType('prettify', (answers, config) => {
14-
const data = config.data as PrettifyCustomActionData;
14+
const data = config!.data as PrettifyCustomActionData;
1515
shell.exec(`yarn run prettify -- "${data.path}"`, { silent: true });
1616
return '';
1717
});

internals/scripts/clean.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export function cleanAndSetup(opts: Options = {}) {
3636

3737
function modifyPackageJsonFile() {
3838
delete packageJson['eslintConfig'];
39-
delete packageJson['dependencies']['replace-in-file'];
4039
delete packageJson['scripts']['cleanAndSetup'];
4140

4241
packageJson['scripts']['prepare'] = 'husky install';

internals/scripts/create-changelog.script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function createChangeLog(opts: Options = {}) {
1010
process.exit(1);
1111
}
1212
shell.exec(
13-
`npx standard-version --skip.commit --skip.tag --skip.changelog=0`,
13+
`yarn standard-version --skip.commit --skip.tag --skip.changelog=0`,
1414
{
1515
silent: false,
1616
},

0 commit comments

Comments
 (0)