diff --git a/.eslintrc.json b/.eslintrc.json index 4042216..63d4b35 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -2,5 +2,8 @@ "extends": ["@alleyinteractive/eslint-config/typescript-react"], "settings": { "import/resolver": "webpack" + }, + "globals": { + "wpPageCacheControl": true } } diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml index d4d0502..0a61f6b 100644 --- a/.github/workflows/node-tests.yml +++ b/.github/workflows/node-tests.yml @@ -12,4 +12,5 @@ jobs: node-tests: uses: alleyinteractive/.github/.github/workflows/node-tests.yml@main with: + node: 18 run-audit: true diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 7378254..b9bb1d8 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -12,7 +12,7 @@ jobs: php-tests: strategy: matrix: - php: [8.0, 8.1] + php: [8.1, 8.2] wordpress: ["latest"] uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main with: diff --git a/package-lock.json b/package-lock.json index c01ecb5..ca6dd01 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,8 +26,8 @@ "webpack-cli": "^5.1.4" }, "engines": { - "node": "16", - "npm": "8" + "node": "18", + "npm": "9" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 021ee49..0a0680d 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "@alleyinteractive/wp-page-cache-control", - "version": "1.0.0-alpha.6", + "version": "1.0.0", "license": "GPL-2.0-or-later", "main": "./types/index.d.ts", "types": "./types/index.d.ts", "engines": { - "node": "16", - "npm": "8" + "node": "18", + "npm": ">=8" }, "private": false, "browserslist": [