diff --git a/.changeset/wild-kings-invent.md b/.changeset/wild-kings-invent.md new file mode 100644 index 000000000..76832d7e8 --- /dev/null +++ b/.changeset/wild-kings-invent.md @@ -0,0 +1,6 @@ +--- +'create-modular-react-app': major +'modular-scripts': major +--- + +Drop support for node 12 in favor of LTS versions `^14.17.0 || >=16.0.0`. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9c40055a..0bda4a7f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3.1.1 with: - node-version: 14.x + node-version: '14.17.0' registry-url: https://registry.npmjs.org/ cache: 'yarn' diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index d65d62bf7..b03dbb6c8 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -29,7 +29,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3.1.1 with: - node-version: 14.x + node-version: '14.17.0' cache: 'yarn' - name: 'Install Dependencies' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 841ac53ce..a86c7ef6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - node-version: [12.x, 14.x, 16.x] + node-version: ['14.17.0', '16.0.0'] steps: - uses: actions/checkout@v3 diff --git a/babel.config.js b/babel.config.js index 6585a5f47..76acc42c3 100644 --- a/babel.config.js +++ b/babel.config.js @@ -13,7 +13,7 @@ module.exports = (api) => { { targets: { // TODO: can we get this to read from package.json somehow..? - node: '12', + node: '14', }, }, ], diff --git a/package.json b/package.json index 2c07e1da8..c33b1d54d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "packages/**" ], "engines": { - "node": "^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.17.0 || >=16.0.0" }, "scripts": { "format": "prettier --write .", diff --git a/packages/create-modular-react-app/package.json b/packages/create-modular-react-app/package.json index e631e85c1..fd8e0fc26 100644 --- a/packages/create-modular-react-app/package.json +++ b/packages/create-modular-react-app/package.json @@ -11,7 +11,7 @@ "./package.json": "./package.json" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.17.0 || >=16.0.0" }, "scripts": { "create-modular-react-app": "ts-node src/cli.ts", diff --git a/packages/modular-scripts/package.json b/packages/modular-scripts/package.json index 10ca314f1..098ba776f 100644 --- a/packages/modular-scripts/package.json +++ b/packages/modular-scripts/package.json @@ -13,7 +13,7 @@ "./tsconfig.json": "./tsconfig.json" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.17.0 || >=16.0.0" }, "scripts": { "modular": "ts-node src/cli.ts",