From 1d92fc340dcd98f24de35be1641e7de2a26e6052 Mon Sep 17 00:00:00 2001 From: Marvin Frachet Date: Mon, 14 Oct 2024 09:13:33 +0200 Subject: [PATCH] chore(package): rename package (#1) --- package.json | 2 +- packages/{ff-engine => core}/eslint.config.mjs | 0 packages/{ff-engine => core}/package.json | 8 ++++---- packages/{ff-engine => core}/pnpm-lock.yaml | 0 packages/{ff-engine => core}/rollup.config.mjs | 0 packages/{ff-engine => core}/src/__tests__/api.test.ts | 0 packages/{ff-engine => core}/src/evaluateFlag.ts | 0 packages/{ff-engine => core}/src/getEligibleStrategy.ts | 0 packages/{ff-engine => core}/src/index.ts | 0 .../{ff-engine => core}/src/resolveStrategyVariant.ts | 0 packages/{ff-engine => core}/src/types.ts | 0 packages/{ff-engine => core}/tsconfig.json | 0 pnpm-lock.yaml | 2 +- 13 files changed, 6 insertions(+), 6 deletions(-) rename packages/{ff-engine => core}/eslint.config.mjs (100%) rename packages/{ff-engine => core}/package.json (87%) rename packages/{ff-engine => core}/pnpm-lock.yaml (100%) rename packages/{ff-engine => core}/rollup.config.mjs (100%) rename packages/{ff-engine => core}/src/__tests__/api.test.ts (100%) rename packages/{ff-engine => core}/src/evaluateFlag.ts (100%) rename packages/{ff-engine => core}/src/getEligibleStrategy.ts (100%) rename packages/{ff-engine => core}/src/index.ts (100%) rename packages/{ff-engine => core}/src/resolveStrategyVariant.ts (100%) rename packages/{ff-engine => core}/src/types.ts (100%) rename packages/{ff-engine => core}/tsconfig.json (100%) diff --git a/package.json b/package.json index d00c7e1..5bca37b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "root", + "name": "flag-engine", "version": "1.0.0", "description": "", "private": true, diff --git a/packages/ff-engine/eslint.config.mjs b/packages/core/eslint.config.mjs similarity index 100% rename from packages/ff-engine/eslint.config.mjs rename to packages/core/eslint.config.mjs diff --git a/packages/ff-engine/package.json b/packages/core/package.json similarity index 87% rename from packages/ff-engine/package.json rename to packages/core/package.json index 639ba9b..16b6960 100644 --- a/packages/ff-engine/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { - "name": "ff-engine", - "version": "1.0.0", - "description": "", + "name": "@flag-engine/core", + "version": "0.0.1", + "description": "Feature flags evaluation engine, runtime agnostic", "type": "module", "main": "./dist/index.cjs.js", "module": "./dist/index.mjs", @@ -22,7 +22,7 @@ }, "keywords": [], "author": "", - "license": "ISC", + "license": "MIT", "devDependencies": { "@eslint/js": "^9.12.0", "@rollup/plugin-node-resolve": "^15.3.0", diff --git a/packages/ff-engine/pnpm-lock.yaml b/packages/core/pnpm-lock.yaml similarity index 100% rename from packages/ff-engine/pnpm-lock.yaml rename to packages/core/pnpm-lock.yaml diff --git a/packages/ff-engine/rollup.config.mjs b/packages/core/rollup.config.mjs similarity index 100% rename from packages/ff-engine/rollup.config.mjs rename to packages/core/rollup.config.mjs diff --git a/packages/ff-engine/src/__tests__/api.test.ts b/packages/core/src/__tests__/api.test.ts similarity index 100% rename from packages/ff-engine/src/__tests__/api.test.ts rename to packages/core/src/__tests__/api.test.ts diff --git a/packages/ff-engine/src/evaluateFlag.ts b/packages/core/src/evaluateFlag.ts similarity index 100% rename from packages/ff-engine/src/evaluateFlag.ts rename to packages/core/src/evaluateFlag.ts diff --git a/packages/ff-engine/src/getEligibleStrategy.ts b/packages/core/src/getEligibleStrategy.ts similarity index 100% rename from packages/ff-engine/src/getEligibleStrategy.ts rename to packages/core/src/getEligibleStrategy.ts diff --git a/packages/ff-engine/src/index.ts b/packages/core/src/index.ts similarity index 100% rename from packages/ff-engine/src/index.ts rename to packages/core/src/index.ts diff --git a/packages/ff-engine/src/resolveStrategyVariant.ts b/packages/core/src/resolveStrategyVariant.ts similarity index 100% rename from packages/ff-engine/src/resolveStrategyVariant.ts rename to packages/core/src/resolveStrategyVariant.ts diff --git a/packages/ff-engine/src/types.ts b/packages/core/src/types.ts similarity index 100% rename from packages/ff-engine/src/types.ts rename to packages/core/src/types.ts diff --git a/packages/ff-engine/tsconfig.json b/packages/core/tsconfig.json similarity index 100% rename from packages/ff-engine/tsconfig.json rename to packages/core/tsconfig.json diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dd2efd3..ed5629f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ importers: specifier: ^2.1.2 version: 2.1.3 - packages/ff-engine: + packages/core: dependencies: murmurhash-js: specifier: ^1.0.0