Skip to content

Commit

Permalink
fix(javascript): do not publish ts (generated)
Browse files Browse the repository at this point in the history
  • Loading branch information
algolia-bot committed Oct 14, 2024
1 parent a12b799 commit 4007b15
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 12 deletions.
1 change: 1 addition & 0 deletions packages/client-common/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/common';
1 change: 1 addition & 0 deletions packages/client-common/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/common.cjs');
4 changes: 2 additions & 2 deletions packages/client-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type": "module",
"files": [
"dist",
"src",
"index.ts"
"index.js",
"index.d.ts"
],
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/logger-console/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/logger';
1 change: 1 addition & 0 deletions packages/logger-console/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/logger.cjs');
4 changes: 2 additions & 2 deletions packages/logger-console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type": "module",
"files": [
"dist",
"src",
"index.ts"
"index.js",
"index.d.ts"
],
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/requester-browser-xhr/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/requester.xhr';
1 change: 1 addition & 0 deletions packages/requester-browser-xhr/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/requester.xhr.js');
4 changes: 2 additions & 2 deletions packages/requester-browser-xhr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"react-native": "./dist/requester.xhr.js",
"files": [
"dist",
"src",
"index.ts"
"index.d.ts",
"index.js"
],
"scripts": {
"build": "yarn clean && yarn tsup",
Expand Down
1 change: 1 addition & 0 deletions packages/requester-fetch/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/requester.fetch.node';
1 change: 1 addition & 0 deletions packages/requester-fetch/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/requester.fetch.node.cjs');
4 changes: 2 additions & 2 deletions packages/requester-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react-native": "./dist/requester.fetch.browser.js",
"files": [
"dist",
"src",
"index.ts"
"index.d.ts",
"index.js"
],
"scripts": {
"build": "yarn clean && yarn tsup",
Expand Down
1 change: 1 addition & 0 deletions packages/requester-node-http/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/requester.http';
1 change: 1 addition & 0 deletions packages/requester-node-http/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/requester.http.cjs');
4 changes: 2 additions & 2 deletions packages/requester-node-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type": "module",
"files": [
"dist",
"src",
"index.ts"
"index.d.ts",
"index.js"
],
"exports": {
".": {
Expand Down
1 change: 1 addition & 0 deletions packages/requester-testing/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/node';
1 change: 1 addition & 0 deletions packages/requester-testing/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/node.cjs');
4 changes: 2 additions & 2 deletions packages/requester-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"type": "module",
"files": [
"dist",
"src",
"index.ts"
"index.d.ts",
"index.js"
],
"exports": {
".": {
Expand Down

0 comments on commit 4007b15

Please sign in to comment.