@featurevisor/types 1.2.2 → 1.27.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.27.5](https://github.com/featurevisor/featurevisor/compare/v1.27.4...v1.27.5) (2024-12-21)
7
+
8
+ **Note:** Version bump only for package @featurevisor/types
9
+
10
+
11
+
12
+
13
+
14
+ # [1.3.0](https://github.com/featurevisor/featurevisor/compare/v1.2.4...v1.3.0) (2024-01-23)
15
+
16
+
17
+ ### Features
18
+
19
+ * allow exposing features with tags + environment combination ([#254](https://github.com/featurevisor/featurevisor/issues/254)) ([1ae08e7](https://github.com/featurevisor/featurevisor/commit/1ae08e71393b620f98f7080aff18033a3e3b7192))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [1.2.2](https://github.com/featurevisor/featurevisor/compare/v1.2.1...v1.2.2) (2024-01-17)
7
26
 
8
27
  **Note:** Version bump only for package @featurevisor/types
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023 Fahad Heylaal (https://fahad19.com)
3
+ Copyright (c) 2024 Fahad Heylaal (https://fahad19.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @featurevisor/types
2
2
 
3
- Common TypeScript typings for Featurevisor packages.
3
+ > Common TypeScript typings for Featurevisor packages.
4
4
 
5
5
  Visit [https://featurevisor.com](https://featurevisor.com) for more information.
6
6
 
package/lib/index.d.ts CHANGED
@@ -183,12 +183,12 @@ export interface Rule {
183
183
  [key: string]: VariableValue;
184
184
  };
185
185
  }
186
+ export type Tag = string;
186
187
  export interface Environment {
187
- expose?: boolean;
188
+ expose?: boolean | Tag[];
188
189
  rules: Rule[];
189
190
  force?: Force[];
190
191
  }
191
- export type Tag = string;
192
192
  export interface ParsedFeature {
193
193
  key: FeatureKey;
194
194
  archived?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@featurevisor/types",
3
- "version": "1.2.2",
3
+ "version": "1.27.5",
4
4
  "description": "Common Typescript types for Featurevisor",
5
5
  "main": "dist/index.js",
6
6
  "module": "lib/index.js",
@@ -9,11 +9,7 @@
9
9
  "transpile": "rimraf lib && tsc --project tsconfig.esm.json",
10
10
  "dist": "webpack --config ./webpack.config.js",
11
11
  "build": "npm run transpile && npm run dist",
12
- "test": "echo 'Nothing to test in types package'",
13
- "format": "prettier . --check --cache --loglevel=warn",
14
- "lint": "eslint . --cache",
15
- "format:fix": "prettier . --write --cache --loglevel=warn",
16
- "lint:fix": "eslint . --fix --cache"
12
+ "test": "echo 'Nothing to test in types package'"
17
13
  },
18
14
  "author": {
19
15
  "name": "Fahad Heylaal",
@@ -44,5 +40,5 @@
44
40
  "url": "https://github.com/featurevisor/featurevisor/issues"
45
41
  },
46
42
  "license": "MIT",
47
- "gitHead": "65f5422bceb755a6d6a2e5b0c025b41486612c73"
43
+ "gitHead": "adb04db89781cd1adb190a576b6e3da31cb00a39"
48
44
  }
package/src/index.ts CHANGED
@@ -293,14 +293,14 @@ export interface Rule {
293
293
  };
294
294
  }
295
295
 
296
+ export type Tag = string;
297
+
296
298
  export interface Environment {
297
- expose?: boolean;
299
+ expose?: boolean | Tag[];
298
300
  rules: Rule[];
299
301
  force?: Force[];
300
302
  }
301
303
 
302
- export type Tag = string;
303
-
304
304
  export interface ParsedFeature {
305
305
  key: FeatureKey;
306
306
 
package/.eslintcache DELETED
@@ -1 +0,0 @@
1
- [{"/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts":"1"},{"size":10206,"mtime":1705524041722,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"sabtla","/home/runner/work/featurevisor/featurevisor/packages/types/src/index.ts",[],[]]
package/.eslintrc.js DELETED
@@ -1,8 +0,0 @@
1
- const rootConfig = require("../../.eslintrc.js");
2
-
3
- /** @type {import("eslint").Linter.Config} */
4
- const config = {
5
- ...rootConfig,
6
- };
7
-
8
- module.exports = config;
package/.prettierignore DELETED
@@ -1,5 +0,0 @@
1
- dist/
2
- lib/
3
- coverage/
4
-
5
- **/*.md
@@ -1,8 +0,0 @@
1
- const rootConfig = require("../../prettier.config");
2
-
3
- /** @type {import('prettier').Config} */
4
- const config = {
5
- ...rootConfig,
6
- };
7
-
8
- module.exports = config;