diff --git a/skeleton/ibexa-ee/package.json b/skeleton/ibexa-ee/package.json index ab53b96..71ec9cd 100644 --- a/skeleton/ibexa-ee/package.json +++ b/skeleton/ibexa-ee/package.json @@ -5,12 +5,15 @@ "prettier": "eslint-config-ibexa/prettier", "dependencies": {}, "devDependencies": { - "eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#v1.0.0" + "eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#~v1.2.0", + "@ibexa/ts-config": "https://github.com/ibexa/ts-config-ibexa#~v1.0.0", + "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.1" }, "scripts": { "test": "yarn prettier-test && yarn eslint-test", "fix": "yarn prettier-test --write && yarn eslint-test --fix", - "eslint-test": "eslint \"./src/bundle/Resources/**/*.js\" \"./src/bundle/ui-dev/**/*.js\"", - "prettier-test": "yarn prettier \"./src/bundle/Resources/**/*.{js,scss}\" \"./src/bundle/ui-dev/**/*.js\" --check" + "eslint-test": "eslint \"./src/bundle/Resources/**/*.{js,ts}\" \"./src/bundle/ui-dev/**/*.{js,tsx}\"", + "prettier-test": "yarn prettier \"./src/bundle/Resources/**/*.{js,ts,scss}\" \"./src/bundle/ui-dev/**/*.{js,tsx}\" --check" } } diff --git a/skeleton/ibexa-ee/tsconfig.eslint.json b/skeleton/ibexa-ee/tsconfig.eslint.json new file mode 100644 index 0000000..508b168 --- /dev/null +++ b/skeleton/ibexa-ee/tsconfig.eslint.json @@ -0,0 +1,4 @@ +{ + "extends": "@ibexa/ts-config", + "include": ["src/bundle/**/*"] +} diff --git a/skeleton/ibexa-oss/package.json b/skeleton/ibexa-oss/package.json index ab53b96..71ec9cd 100644 --- a/skeleton/ibexa-oss/package.json +++ b/skeleton/ibexa-oss/package.json @@ -5,12 +5,15 @@ "prettier": "eslint-config-ibexa/prettier", "dependencies": {}, "devDependencies": { - "eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#v1.0.0" + "eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#~v1.2.0", + "@ibexa/ts-config": "https://github.com/ibexa/ts-config-ibexa#~v1.0.0", + "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.1" }, "scripts": { "test": "yarn prettier-test && yarn eslint-test", "fix": "yarn prettier-test --write && yarn eslint-test --fix", - "eslint-test": "eslint \"./src/bundle/Resources/**/*.js\" \"./src/bundle/ui-dev/**/*.js\"", - "prettier-test": "yarn prettier \"./src/bundle/Resources/**/*.{js,scss}\" \"./src/bundle/ui-dev/**/*.js\" --check" + "eslint-test": "eslint \"./src/bundle/Resources/**/*.{js,ts}\" \"./src/bundle/ui-dev/**/*.{js,tsx}\"", + "prettier-test": "yarn prettier \"./src/bundle/Resources/**/*.{js,ts,scss}\" \"./src/bundle/ui-dev/**/*.{js,tsx}\" --check" } } diff --git a/skeleton/ibexa-oss/tsconfig.eslint.json b/skeleton/ibexa-oss/tsconfig.eslint.json new file mode 100644 index 0000000..508b168 --- /dev/null +++ b/skeleton/ibexa-oss/tsconfig.eslint.json @@ -0,0 +1,4 @@ +{ + "extends": "@ibexa/ts-config", + "include": ["src/bundle/**/*"] +}