react-alp-connection-state 5.0.1 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.0.2](https://github.com/christophehurpeau/alp/compare/react-alp-connection-state@5.0.1...react-alp-connection-state@5.0.2) (2022-02-06)
7
+
8
+ **Note:** Version bump only for package react-alp-connection-state
9
+
10
+
11
+
12
+
13
+
6
14
  ## [5.0.1](https://github.com/christophehurpeau/alp/compare/react-alp-connection-state@5.0.0...react-alp-connection-state@5.0.1) (2022-01-15)
7
15
 
8
16
  **Note:** Version bump only for package react-alp-connection-state
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-alp-connection-state",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "connection state",
5
5
  "keywords": [],
6
6
  "author": "Christophe Hurpeau <christophe@hurpeau.com> (https://christophe.hurpeau.com)",
@@ -44,12 +44,13 @@
44
44
  "module:modern-browsers": "./dist/index-browsermodern.es.js",
45
45
  "sideEffects": false,
46
46
  "scripts": {
47
- "build": "pob-build && yarn run build:definitions",
47
+ "build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
48
48
  "build:definitions": "tsc -p tsconfig.build.json",
49
- "clean": "rm -Rf dist",
49
+ "clean": "yarn clean:build",
50
+ "clean:build": "rm -Rf dist",
50
51
  "lint": "yarn run lint:eslint",
51
52
  "lint:eslint": "cd ../.. && yarn run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet packages/react-alp-connection-state",
52
- "watch": "pob-watch"
53
+ "watch": "yarn clean:build && rollup --config rollup.config.mjs --watch"
53
54
  },
54
55
  "prettier": {
55
56
  "trailingComma": "all",
@@ -89,20 +90,20 @@
89
90
  "ynnub": "^1.0.0 || ^2.0.0"
90
91
  },
91
92
  "dependencies": {
92
- "@babel/runtime": "^7.16.7",
93
- "alp-types": "^3.0.0",
94
- "react-alp-context": "4.0.1",
95
- "react-alp-translate": "6.0.1"
93
+ "@babel/runtime": "^7.17.0",
94
+ "alp-types": "3.1.0",
95
+ "react-alp-context": "4.0.2",
96
+ "react-alp-translate": "6.0.2"
96
97
  },
97
98
  "devDependencies": {
98
- "@babel/core": "7.16.7",
99
- "@babel/preset-env": "7.16.8",
99
+ "@babel/core": "7.17.0",
100
+ "@babel/preset-env": "7.16.11",
100
101
  "@babel/preset-react": "7.16.7",
101
102
  "babel-preset-modern-browsers": "15.0.2",
102
- "pob-babel": "29.6.1",
103
+ "pob-babel": "31.0.0",
103
104
  "react": "17.0.2",
104
- "typescript": "4.5.4",
105
+ "typescript": "4.5.5",
105
106
  "ynnub": "2.0.0"
106
107
  },
107
- "gitHead": "a69797c459e219e09fcf22cc2ea46aa60dce396b"
108
+ "gitHead": "1af3cf2eb4bba25ab23f174cda860416ff68a63d"
108
109
  }
package/rollup.config.mjs CHANGED
@@ -1,3 +1,5 @@
1
1
  import createRollupConfig from 'pob-babel/createRollupConfig.js';
2
2
 
3
- export default createRollupConfig({});
3
+ export default createRollupConfig({
4
+ cwd: new URL('.', import.meta.url).pathname,
5
+ });