Skip to content

Commit

Permalink
fix: remove tsup for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Feb 7, 2024
1 parent 6e4824f commit df1e3c1
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 301 deletions.
4 changes: 1 addition & 3 deletions components/js-api-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"scripts": {
"watch": "yarn tsc -W",
"build": "tsup src/index.ts --format esm,cjs --dts",
"build": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"bump": "yarn tsc && yarn version --no-git-tag-version --new-version"
Expand All @@ -20,11 +20,9 @@
},
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"devDependencies": {
"@tsconfig/node16": "^16.1.1",
"@types/node": "^20.10.4",
"tsup": "^8.0.1",
"@types/node-fetch": "^2",
"jest": "^29.7.0"
},
Expand Down
4 changes: 3 additions & 1 deletion components/js-api-client/tests/navigationFolders.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ test('Test Nav fetching Node: Shop', async () => {
expect(response.tree.children[0].children[0].path).toBe('/shop/decoration/shelves-in-wood-hey');

expect(response.tree.children[1].path).toBe('/shop/bathroom-fitting');
expect(response.tree.children[1].children[2].path).toBe('/shop/bathroom-fitting/mounted-bathroom-vanity-in-gray');
expect(response.tree.children[1].children[2].path).toBe(
'/shop/bathroom-fitting/mounted-bathroom-vanity-in-treated-wood',
);

// Verify all tree nodes have id properties
walkTree([response.tree], (node) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"devDependencies": {
"concurrently": "^7.1.0",
"prettier": "2.6.0",
"turbo": "^1.11.3"
"turbo": "^1.12.3"
},
"scripts": {
"build": "turbo run build",
Expand Down
Loading

0 comments on commit df1e3c1

Please sign in to comment.