Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .changeset/angry-shrimps-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@scaleway/validate-icu-locales': patch
'@scaleway/changesets-renovate': patch
'@scaleway/outdated-browser': patch
'@scaleway/use-query-params': patch
'@scaleway/use-random-name': patch
'@scaleway/use-dataloader': patch
'@scaleway/jest-helpers': patch
'@scaleway/random-name': patch
'@scaleway/use-segment': patch
'@scaleway/use-storage': patch
'@scaleway/use-media': patch
'@scaleway/use-i18n': patch
'@scaleway/use-gtm': patch
'@scaleway/regex': patch
---

Add `exports` field & fix package lint errors
5 changes: 5 additions & 0 deletions .changeset/odd-cats-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@scaleway/tsconfig': patch
---

Set `moduleResolution` to `Bundler`
10 changes: 5 additions & 5 deletions packages/changesets-renovate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
"name": "@scaleway/changesets-renovate",
"version": "1.2.6",
"description": "Automatically create changesets for Renovate",
"keywords": [
"changesets",
"renovate",
"sync"
],
"type": "module",
"engines": {
"node": ">=14.x"
Expand All @@ -24,6 +19,11 @@
"directory": "packages/changesets-renovate"
},
"license": "MIT",
"keywords": [
"changesets",
"renovate",
"sync"
],
"dependencies": {
"simple-git": "3.19.1"
}
Expand Down
7 changes: 4 additions & 3 deletions packages/jest-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand Down
8 changes: 5 additions & 3 deletions packages/outdated-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"engines": {
"node": ">=14.x"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 4 additions & 3 deletions packages/random-name/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 4 additions & 3 deletions packages/regex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tsconfig/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"esModuleInterop": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"moduleResolution": "Bundler",

"jsx": "react-jsx",

Expand Down
19 changes: 10 additions & 9 deletions packages/use-dataloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@
"name": "@scaleway/use-dataloader",
"version": "4.0.1",
"description": "A small hook to handle api requests",
"keywords": [
"react",
"reactjs",
"hooks",
"dataloader"
],
"type": "module",
"engines": {
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -25,6 +20,12 @@
"directory": "packages/use-dataloader"
},
"license": "MIT",
"keywords": [
"react",
"reactjs",
"hooks",
"dataloader"
],
"peerDependencies": {
"react": "18.x"
}
Expand Down
23 changes: 12 additions & 11 deletions packages/use-gtm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,15 @@
"name": "@scaleway/use-gtm",
"version": "2.0.1",
"description": "A small hook to handle gtm in a react app",
"keywords": [
"react",
"reactjs",
"hooks",
"google",
"google tag manager",
"gtm"
],
"type": "module",
"engines": {
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -27,6 +20,14 @@
"directory": "packages/use-gtm"
},
"license": "MIT",
"keywords": [
"react",
"reactjs",
"hooks",
"google",
"google tag manager",
"gtm"
],
"peerDependencies": {
"react": "18.x || 18"
}
Expand Down
23 changes: 12 additions & 11 deletions packages/use-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,15 @@
"name": "@scaleway/use-i18n",
"version": "5.3.2",
"description": "A small hook to handle i18n",
"keywords": [
"react",
"reactjs",
"hooks",
"i18n",
"intl",
"react-intl"
],
"type": "module",
"engines": {
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -27,6 +20,14 @@
"directory": "packages/use-i18n"
},
"license": "MIT",
"keywords": [
"react",
"reactjs",
"hooks",
"i18n",
"intl",
"react-intl"
],
"dependencies": {
"@formatjs/ecma402-abstract": "1.17.0",
"@formatjs/fast-memoize": "2.2.0",
Expand Down
21 changes: 11 additions & 10 deletions packages/use-media/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,15 @@
"name": "@scaleway/use-media",
"version": "2.0.0",
"description": "A small hook to track CSS media query state",
"keywords": [
"react",
"reactjs",
"hooks",
"media",
"media queries"
],
"type": "module",
"engines": {
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -26,6 +20,13 @@
"directory": "packages/use-media"
},
"license": "MIT",
"keywords": [
"react",
"reactjs",
"hooks",
"media",
"media queries"
],
"peerDependencies": {
"react": "18.x"
}
Expand Down
25 changes: 13 additions & 12 deletions packages/use-query-params/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,15 @@
"name": "@scaleway/use-query-params",
"version": "4.0.12",
"description": "A small hook to handle params",
"keywords": [
"react",
"react-dom",
"reactjs",
"hooks",
"params",
"react-router-dom",
"query-params"
],
"type": "module",
"engines": {
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -28,6 +20,15 @@
"directory": "packages/use-query-params"
},
"license": "MIT",
"keywords": [
"react",
"react-dom",
"reactjs",
"hooks",
"params",
"react-router-dom",
"query-params"
],
"dependencies": {
"history": "5.3.0",
"query-string": "8.1.0"
Expand Down
7 changes: 4 additions & 3 deletions packages/use-random-name/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand Down
22 changes: 13 additions & 9 deletions packages/use-segment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
"name": "@scaleway/use-segment",
"version": "0.9.12",
"description": "A small hook to handle segment",
"keywords": [
"react",
"reactjs",
"hooks",
"segment"
],
"type": "module",
"engines": {
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand All @@ -22,6 +20,12 @@
"directory": "packages/use-segment"
},
"license": "MIT",
"keywords": [
"react",
"reactjs",
"hooks",
"segment"
],
"dependencies": {
"@segment/analytics-next": "1.53.0",
"use-deep-compare-effect": "1.8.1"
Expand Down
7 changes: 4 additions & 3 deletions packages/use-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"node": ">=14.x"
},
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"publishConfig": {
"access": "public"
},
Expand Down
Loading