@atlaskit/react-compiler-gating 0.2.3 → 0.2.4

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
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/react-compiler-gating
2
2
 
3
+ ## 0.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 0.2.3
4
10
 
5
11
  ### Patch Changes
package/compass.yml ADDED
@@ -0,0 +1,38 @@
1
+ configVersion: 1
2
+ id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/400fcae2-5ca6-453c-ba8f-40b50f3468f4
3
+ name: '@atlassian/react-compiler-gating'
4
+ ownerId: ari:cloud:identity::team/5462ad8a-1d76-4c0d-9131-ce43b1bc966f # Design System Accessibility
5
+ labels:
6
+ - platform-code
7
+ - platform-afm
8
+ typeId: OTHER
9
+ fields:
10
+ tier: 4
11
+ lifecycle: Active
12
+ isMonorepoProject: true
13
+ links:
14
+ - name: Root Repository
15
+ type: REPOSITORY
16
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
17
+ - name: Slack Channel
18
+ type: CHAT_CHANNEL
19
+ url: https://atlassian.enterprise.slack.com/archives/C07DNJQ2KQD # #dst-a11y-afm-tooling
20
+ - name: React Compiler Gating
21
+ type: REPOSITORY
22
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/react-compiler/react-compiler-gating
23
+ customFields:
24
+ - name: Department
25
+ type: text
26
+ value: Des - Atlassian Design System
27
+ - name: Technical Owner
28
+ type: user
29
+ value: ari:cloud:identity::user/5d53579aacb80e0d853a5ede # Sudharsanam Narasimhan
30
+ - name: Required Reviewers Opt In
31
+ type: boolean
32
+ value: true
33
+ - name: Reviewer Selection Mechanism
34
+ type: text
35
+ value: random(2)
36
+ - name: Required Reviewer Approvals
37
+ type: number
38
+ value: 1
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.isReactCompilerActivePlatform = isReactCompilerActivePlatform;
8
- var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
8
+ var _featureGates = _interopRequireDefault(require("@atlaskit/feature-gate-js-client/feature-gates"));
9
9
  /**
10
10
  * Returns true if the React Compiler runtime is active for platform packages.
11
11
  *
12
12
  * Controlled by the 'confluence_enable_react-compiler-runtime-platform' experiment in Switcheroo.
13
13
  */
14
14
  function isReactCompilerActivePlatform() {
15
- if (_featureGateJsClient.default.getExperimentValue('confluence_enable_react-compiler-runtime-platform', 'isEnabled', false)) {
15
+ if (_featureGates.default.getExperimentValue('confluence_enable_react-compiler-runtime-platform', 'isEnabled', false)) {
16
16
  return true;
17
17
  }
18
18
  return false;
@@ -1,4 +1,4 @@
1
- import FeatureGates from '@atlaskit/feature-gate-js-client';
1
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
2
2
 
3
3
  /**
4
4
  * Returns true if the React Compiler runtime is active for platform packages.
@@ -1,4 +1,4 @@
1
- import FeatureGates from '@atlaskit/feature-gate-js-client';
1
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
2
2
 
3
3
  /**
4
4
  * Returns true if the React Compiler runtime is active for platform packages.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-compiler-gating",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Runtime gating for enabling the React Compiler in Atlassian platform packages.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -17,7 +17,7 @@
17
17
  "types": "dist/types/index.d.ts",
18
18
  "atlaskit:src": "src/index.ts",
19
19
  "dependencies": {
20
- "@atlaskit/feature-gate-js-client": "^6.0.0",
20
+ "@atlaskit/feature-gate-js-client": "^7.0.0",
21
21
  "@babel/runtime": "^7.0.0"
22
22
  }
23
23
  }
@@ -1,4 +1,4 @@
1
- import FeatureGates from '@atlaskit/feature-gate-js-client';
1
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
2
2
 
3
3
  /**
4
4
  * Returns true if the React Compiler runtime is active for platform packages.
package/tsconfig.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "extends": "../../../tsconfig.json",
3
- "include": [
4
- "src/**/*.ts",
5
- "src/**/*.tsx"
6
- ]
2
+ "extends": "./tsconfig.dev.json",
3
+ "compilerOptions": {
4
+ "disableReferencedProjectLoad": true,
5
+ "disableSolutionSearching": true
6
+ }
7
7
  }
@@ -1,25 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.local-consumption.json",
3
- "include": [
4
- "../src/**/*.ts",
5
- "../src/**/*.tsx"
6
- ],
7
- "exclude": [
8
- "../src/**/__tests__/*",
9
- "../src/**/*.test.*",
10
- "../src/**/test.*",
11
- "../src/**/mocks/*",
12
- "../src/**/examples.*"
13
- ],
14
- "compilerOptions": {
15
- "outDir": "../../../../../confluence/tsDist/@atlaskit__react-compiler-gating",
16
- "rootDir": "../",
17
- "composite": true,
18
- "noCheck": true
19
- },
20
- "references": [
21
- {
22
- "path": "../../../measurement/feature-gate-js-client/afm-cc/tsconfig.json"
23
- }
24
- ]
25
- }