diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6cd0eb3..4f907b4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -103,7 +103,7 @@ ES Modules 作成し、[Rollup](https://rollupjs.org/)などを用いて、UMD "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/ads1015/package.json b/packages/ads1015/package.json index a4a1f0c..d80732f 100644 --- a/packages/ads1015/package.json +++ b/packages/ads1015/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/ads1x15/package.json b/packages/ads1x15/package.json index 6110317..0cd6bf8 100644 --- a/packages/ads1x15/package.json +++ b/packages/ads1x15/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/adt7410/package.json b/packages/adt7410/package.json index 6f16577..91e19c9 100644 --- a/packages/adt7410/package.json +++ b/packages/adt7410/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/aht10/package.json b/packages/aht10/package.json index 841bfb9..7799679 100755 --- a/packages/aht10/package.json +++ b/packages/aht10/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/ak8963/package.json b/packages/ak8963/package.json index bb07fb0..0e2cd0c 100644 --- a/packages/ak8963/package.json +++ b/packages/ak8963/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/amg8833/package.json b/packages/amg8833/package.json index d044071..c78452f 100644 --- a/packages/amg8833/package.json +++ b/packages/amg8833/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/apds9960/package.json b/packages/apds9960/package.json index 8b73751..4bc686a 100644 --- a/packages/apds9960/package.json +++ b/packages/apds9960/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/arduino-stepping-motor/package.json b/packages/arduino-stepping-motor/package.json index 8e0c647..95ad80c 100644 --- a/packages/arduino-stepping-motor/package.json +++ b/packages/arduino-stepping-motor/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/as3935/package.json b/packages/as3935/package.json index 4e919e3..7a0d3a4 100755 --- a/packages/as3935/package.json +++ b/packages/as3935/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/bh1750/package.json b/packages/bh1750/package.json index 58ea861..e80741a 100755 --- a/packages/bh1750/package.json +++ b/packages/bh1750/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/bme280/package.json b/packages/bme280/package.json index 059d7a1..45ac9da 100644 --- a/packages/bme280/package.json +++ b/packages/bme280/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/bmp180/package.json b/packages/bmp180/package.json index 30ea115..4f0a987 100644 --- a/packages/bmp180/package.json +++ b/packages/bmp180/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/bmp280/package.json b/packages/bmp280/package.json index 05409e8..3133e2b 100644 --- a/packages/bmp280/package.json +++ b/packages/bmp280/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/canzasi/package.json b/packages/canzasi/package.json index b7e5713..1f893e8 100644 --- a/packages/canzasi/package.json +++ b/packages/canzasi/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/gp2y0e03/package.json b/packages/gp2y0e03/package.json index b4de760..f26ad39 100644 --- a/packages/gp2y0e03/package.json +++ b/packages/gp2y0e03/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/grove-accelerometer/package.json b/packages/grove-accelerometer/package.json index ed06d3d..2aaefc0 100644 --- a/packages/grove-accelerometer/package.json +++ b/packages/grove-accelerometer/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/grove-gesture/package.json b/packages/grove-gesture/package.json index 10fed3f..85efc37 100644 --- a/packages/grove-gesture/package.json +++ b/packages/grove-gesture/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/grove-light/package.json b/packages/grove-light/package.json index 4ba5a67..1726bc6 100644 --- a/packages/grove-light/package.json +++ b/packages/grove-light/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/grove-oled-display/package.json b/packages/grove-oled-display/package.json index 2fe8357..878dd87 100644 --- a/packages/grove-oled-display/package.json +++ b/packages/grove-oled-display/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/grove-touch/package.json b/packages/grove-touch/package.json index 7a524eb..1186542 100644 --- a/packages/grove-touch/package.json +++ b/packages/grove-touch/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/ht16k33/package.json b/packages/ht16k33/package.json index 69ac18f..82a030b 100755 --- a/packages/ht16k33/package.json +++ b/packages/ht16k33/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/htu21d/package.json b/packages/htu21d/package.json index d98eeb9..8f09722 100755 --- a/packages/htu21d/package.json +++ b/packages/htu21d/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/ina219/package.json b/packages/ina219/package.json index cfec9e7..e017902 100644 --- a/packages/ina219/package.json +++ b/packages/ina219/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/mlx90614/package.json b/packages/mlx90614/package.json index 0181806..28c181d 100644 --- a/packages/mlx90614/package.json +++ b/packages/mlx90614/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/mpu6050/package.json b/packages/mpu6050/package.json index b5e541b..f6533db 100644 --- a/packages/mpu6050/package.json +++ b/packages/mpu6050/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/mpu6500/package.json b/packages/mpu6500/package.json index 5b37ae9..c910a28 100644 --- a/packages/mpu6500/package.json +++ b/packages/mpu6500/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/neopixel-i2c/package.json b/packages/neopixel-i2c/package.json index 11712d8..f9fceb1 100644 --- a/packages/neopixel-i2c/package.json +++ b/packages/neopixel-i2c/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/pca9685-pwm/package.json b/packages/pca9685-pwm/package.json index 58f15bf..bc50a50 100644 --- a/packages/pca9685-pwm/package.json +++ b/packages/pca9685-pwm/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/pca9685/package.json b/packages/pca9685/package.json index 2be3d8c..d683fcb 100644 --- a/packages/pca9685/package.json +++ b/packages/pca9685/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/pcf8591/package.json b/packages/pcf8591/package.json index f45fbda..a619360 100644 --- a/packages/pcf8591/package.json +++ b/packages/pcf8591/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/s11059/package.json b/packages/s11059/package.json index 0398be1..6beff2b 100644 --- a/packages/s11059/package.json +++ b/packages/s11059/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/scd40/package.json b/packages/scd40/package.json index db256b0..11edb9a 100755 --- a/packages/scd40/package.json +++ b/packages/scd40/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/seesaw/package.json b/packages/seesaw/package.json index 01c9403..0139f82 100755 --- a/packages/seesaw/package.json +++ b/packages/seesaw/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/sht30/package.json b/packages/sht30/package.json index 866485b..aabd996 100755 --- a/packages/sht30/package.json +++ b/packages/sht30/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/tca9548a/package.json b/packages/tca9548a/package.json index c036664..02a947b 100644 --- a/packages/tca9548a/package.json +++ b/packages/tca9548a/package.json @@ -23,7 +23,7 @@ "doc": "typedoc", "build": "run-p build:*", "build:esm": "tsc --declaration --outDir esm", - "build:umd": "rollup -c", + "build:umd": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/tcs34725/package.json b/packages/tcs34725/package.json index 417936b..60305da 100644 --- a/packages/tcs34725/package.json +++ b/packages/tcs34725/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/veml6070/package.json b/packages/veml6070/package.json index 854f14e..f745734 100644 --- a/packages/veml6070/package.json +++ b/packages/veml6070/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/vl53l0x/package.json b/packages/vl53l0x/package.json index 94711c1..abdc5c8 100644 --- a/packages/vl53l0x/package.json +++ b/packages/vl53l0x/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": { diff --git a/packages/vl53l1x/package.json b/packages/vl53l1x/package.json index aa86a14..958cec2 100644 --- a/packages/vl53l1x/package.json +++ b/packages/vl53l1x/package.json @@ -14,7 +14,7 @@ "access": "public" }, "scripts": { - "build": "rollup -c", + "build": "rollup -c --bundleConfigAsCjs", "prepublishOnly": "npm run build" }, "devDependencies": {