Skip to content

Commit 172c88e

Browse files
authored
Merge pull request #3011 from CarnegieLearningWeb/fix/clientlib-path-upgradetypes
fix upgrade_types in clientlib build
2 parents 46b5eb7 + ca775cc commit 172c88e

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

clientlibs/js/packages/full-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "upgrade_client_lib_full_node",
3-
"version": "6.2.6",
3+
"version": "6.4.0",
44
"description": "UpGrade client library for Node.js (includes axios)",
55
"main": "dist/node/index.js",
66
"types": "dist/node/index.d.ts",

clientlibs/js/packages/lite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "upgrade_client_lib_lite",
3-
"version": "6.2.6",
3+
"version": "6.4.0",
44
"description": "UpGrade client library with externalized axios - works in both browser and Node.js",
55
"main": "dist/lite/index.js",
66
"types": "dist/lite/index.d.ts",

clientlibs/js/src/UpGradeClient/UpgradeClient.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DataService } from './../DataService/DataService';
22
import ApiService from './../ApiService/ApiService';
33
import UpgradeClient from './UpgradeClient';
4-
import { EXPERIMENT_TYPE } from '../../../../types/src';
4+
import { EXPERIMENT_TYPE } from 'upgrade_types';
55

66
const mockHttpClient = {
77
doGet: jest.fn(),

clientlibs/js/src/types/requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MARKED_DECISION_POINT_STATUS } from '../../../../types/src';
1+
import { MARKED_DECISION_POINT_STATUS } from 'upgrade_types';
22
import { UpGradeClientInterfaces } from './Interfaces';
33

44
/* eslint-disable @typescript-eslint/no-namespace */

clientlibs/js/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"typeRoots": ["./node_modules/@types"],
2020
"lib": ["es2018", "dom"],
2121
"paths": {
22-
"upgrade_types": ["../../../types"]
22+
"upgrade_types": ["../../../packages/types"]
2323
},
2424
"esModuleInterop": true
2525
},

clientlibs/js/webpack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const generalConfiguration = {
1818
},
1919
resolve: {
2020
alias: {
21-
upgrade_types: path.resolve(__dirname, '../../types/src'),
21+
upgrade_types: path.resolve(__dirname, '../../packages/types/src'),
2222
},
2323
extensions: ['.tsx', '.ts', '.js'],
2424
},

0 commit comments

Comments
 (0)