Skip to content

fix: docs ci script #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/package-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
- id: build
name: Build the project
run: yarn build
- name: Build docs
run: yarn docs
- id: test
name: Test the project
run: yarn test:ci
Expand Down
2 changes: 2 additions & 0 deletions docs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -e

typedoc

# We need to fix the links in the generated markdown files.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"test:ci": "lerna run test:ci --stream",
"test": "lerna run test --stream",
"prettier": "lerna run prettier --stream",
"prettier:fix": "lerna run prettier -- --write",
"lint": "lerna run lint --stream",
"lint:ci": "lerna run lint:ci --stream",
"version": "lerna version --exact --no-push",
Expand Down
4 changes: 2 additions & 2 deletions packages/browser-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@bucketco/eslint-config": "0.0.2",
"@bucketco/tsconfig": "0.0.2",
"@playwright/test": "^1.49.1",
"@types/node": "^20.14.0",
"@types/node": "^22.12.0",
"@types/webpack": "^5.28.5",
"css-loader": "^6.9.0",
"eslint": "^8.57.0",
Expand All @@ -57,7 +57,7 @@
"postcss-preset-env": "^9.3.0",
"prettier": "^3.2.5",
"style-loader": "^3.3.4",
"typescript": "^5.4.5",
"typescript": "^5.7.3",
"vite": "^5.3.5",
"vite-plugin-dts": "^4.0.0-beta.1",
"vitest": "^2.0.4",
Expand Down
1 change: 1 addition & 0 deletions packages/browser-sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@bucketco/tsconfig/library",
"compilerOptions": {
"lib": [],
"outDir": "./dist/",
"jsx": "react",
"jsxFactory": "h",
Expand Down
4 changes: 2 additions & 2 deletions packages/flag-evaluation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"devDependencies": {
"@bucketco/eslint-config": "workspace:^",
"@bucketco/tsconfig": "workspace:^",
"@types/node": "^20.11.0",
"@types/node": "^22.12.0",
"eslint": "^8.57.0",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"typescript": "^5.7.3",
"vitest": "^2.0.5"
}
}
1 change: 1 addition & 0 deletions packages/flag-evaluation/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@bucketco/tsconfig/library",
"compilerOptions": {
"lib": [],
"outDir": "./dist/"
},
"include": ["src"],
Expand Down
4 changes: 2 additions & 2 deletions packages/node-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"@babel/core": "~7.24.7",
"@bucketco/eslint-config": "~0.0.2",
"@bucketco/tsconfig": "~0.0.2",
"@types/node": "~20.14.9",
"@types/node": "^22.12.0",
"@vitest/coverage-v8": "~1.6.0",
"c8": "~10.1.0",
"eslint": "~8.56.0",
"flush-promises": "~1.0.2",
"prettier": "~3.3.2",
"ts-node": "~10.9.2",
"typescript": "~5.5.3",
"typescript": "^5.7.3",
"vite": "~5.3.3",
"vite-plugin-dts": "~3.9.1",
"vitest": "~1.6.0"
Expand Down
1 change: 1 addition & 0 deletions packages/node-sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@bucketco/tsconfig/library",
"compilerOptions": {
"lib": [],
"outDir": "./dist/",
"declarationDir": "./dist/types",
"declarationMap": true
Expand Down
4 changes: 2 additions & 2 deletions packages/openfeature-browser-provider/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"react-dom": "^18"
},
"devDependencies": {
"@types/node": "^20",
"@types/node": "^22.12.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
"typescript": "^5.7.3"
}
}
4 changes: 2 additions & 2 deletions packages/openfeature-browser-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"@bucketco/tsconfig": "0.0.2",
"@openfeature/core": "1.5.0",
"@openfeature/web-sdk": "^1.3.0",
"@types/node": "^20.14.0",
"@types/node": "^22.12.0",
"eslint": "^8.57.0",
"jsdom": "^24.1.0",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"typescript": "^5.7.3",
"vite": "^5.3.5",
"vite-plugin-dts": "^4.0.0-beta.1",
"vitest": "^2.0.4"
Expand Down
4 changes: 2 additions & 2 deletions packages/openfeature-node-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"@bucketco/tsconfig": "~0.0.2",
"@openfeature/core": "^1.5.0",
"@openfeature/server-sdk": ">=1.16.1",
"@types/node": "~20.14.9",
"@types/node": "^22.12.0",
"eslint": "~8.56.0",
"flush-promises": "~1.0.2",
"prettier": "~3.3.2",
"ts-node": "~10.9.2",
"typescript": "~5.5.3",
"typescript": "^5.7.3",
"vite": "~5.3.3",
"vite-plugin-dts": "~3.9.1",
"vitest": "~1.6.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-sdk/dev/nextjs-flag-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"react-dom": "^18"
},
"devDependencies": {
"@types/node": "^20",
"@types/node": "^22.12.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
"typescript": "^5.7.3"
}
}
4 changes: 2 additions & 2 deletions packages/react-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@bucketco/tsconfig": "workspace:^",
"@testing-library/react": "^15.0.7",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.14.0",
"@types/node": "^22.12.0",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/webpack": "^5.28.5",
Expand All @@ -59,7 +59,7 @@
"react-dom": "*",
"rollup-preserve-directives": "^1.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"typescript": "^5.7.3",
"vite": "^5.0.13",
"vite-plugin-dts": "^4.0.0-beta.1",
"vitest": "^2.0.4",
Expand Down
1 change: 1 addition & 0 deletions packages/react-sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@bucketco/tsconfig/library",
"compilerOptions": {
"lib": [],
"outDir": "./dist/",
"declarationDir": "./dist/types",
"jsx": "react",
Expand Down
4 changes: 2 additions & 2 deletions packages/tracking-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@preact/preset-vite": "^2.8.1",
"@types/js-cookie": "^3.0.6",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.14.11",
"@types/node": "^22.12.0",
"@types/webpack": "^5.28.5",
"@types/webpack-node-externals": "^3.0.4",
"@vitest/coverage-v8": "^1.1.3",
Expand All @@ -57,7 +57,7 @@
"style-loader": "^3.3.4",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"typescript": "^5.7.3",
"vite": "^5.0.13",
"vite-plugin-dts": "^3.7.0",
"vitest": "^1.1.3",
Expand Down
1 change: 1 addition & 0 deletions packages/tracking-sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@bucketco/tsconfig/library",
"compilerOptions": {
"lib": [],
"outDir": "./dist/",
"jsx": "react",
"jsxFactory": "h",
Expand Down
1 change: 0 additions & 1 deletion packages/tsconfig/library.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"strict": true,
"lib": ["ESNext", "DOM"],
"target": "ES6",
"module": "commonjs",
"moduleResolution": "node",
Expand Down
Loading