diff --git a/package.json b/package.json index bf023348e..c3d360423 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,14 @@ "private": true, "description": "OpenFeature SDK for JavaScript", "scripts": { - "test": "jest --selectProjects=server --selectProjects=shared --selectProjects=client --verbose", + "test": "jest --selectProjects=shared --selectProjects=server --selectProjects=client --verbose", "e2e-server": "git submodule update --init --recursive && shx cp test-harness/features/evaluation.feature packages/server/e2e/features && jest --selectProjects=server-e2e --verbose", "e2e-client": "git submodule update --init --recursive && shx cp test-harness/features/evaluation.feature packages/client/e2e/features && jest --selectProjects=client-e2e --verbose", "e2e": "npm run e2e-server && npm run e2e-client", "lint": "npm run lint --workspace=packages/shared --workspace=packages/server --workspace=packages/client --workspace=packages/react", "clean": "shx rm -rf ./dist", "build": "npm run build --workspace=packages/shared --workspace=packages/server --workspace=packages/client --workspace=packages/react", - "publish-all": "npm run publish-if-not-exists --workspace=packages/server --workspace=packages/client --workspace=packages/react", + "publish-all": "npm run publish-if-not-exists --workspace=packages/shared --workspace=packages/server --workspace=packages/client --workspace=packages/react", "docs": "typedoc", "core-version": "npm run version --workspace=packages/shared", "update-core-peers": "export OPENFEATURE_CORE_VERSION=$(npm run --silent core-version) && npm run update-core-peer --workspace=packages/server --workspace=packages/client --workspace=packages/react" diff --git a/packages/shared/README.md b/packages/shared/README.md index 0bdddc97b..2ade92a72 100644 --- a/packages/shared/README.md +++ b/packages/shared/README.md @@ -1,5 +1,4 @@ -

@@ -9,37 +8,8 @@

Shared js components (server and web)

- - -

- - Specification - - - - Release - - -
- - API Reference - - - NPM Download - - - codecov - - - CII Best Practices - -

- - [OpenFeature](https://openfeature.dev) is an open standard that provides a vendor-agnostic, community-driven API for feature flagging that works with your favorite feature flag management tool. - - ## 🔩 Shared JS components > [!IMPORTANT] diff --git a/tsconfig.json b/tsconfig.json index abccc8f87..e7a7b3538 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -28,7 +28,9 @@ // "rootDir": "./", /* Specify the root folder within your source files. */ "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ - // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ + "paths": { + "@openfeature/core": [ "./packages/shared/src" ] + }, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ // "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */ // "types": [], /* Specify type package names to be included without being referenced in a source file. */