reef-knot 0.1.1 → 0.2.0

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
@@ -1,5 +1,23 @@
1
1
  # reef-knot
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add Metrics Events support
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @reef-knot/connect-wallet-modal@0.2.0
13
+ - @reef-knot/web3-react@0.2.0
14
+
15
+ ## 0.1.2
16
+
17
+ ### Patch Changes
18
+
19
+ - Fix subpackages versions in dependencies
20
+
3
21
  ## 0.1.1
4
22
 
5
23
  ### Patch Changes
@@ -17,5 +35,5 @@
17
35
  ### Patch Changes
18
36
 
19
37
  - Updated dependencies
20
- - @reef-knot/connect-wallet-modal@1.0.0
38
+ - @reef-knot/connect-wallet-modal@0.1.0
21
39
  - @reef-knot/web3-react@0.1.0
package/package.json CHANGED
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "reef-knot",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
7
7
  "license": "MIT",
8
8
  "publishConfig": {
9
+ "registry": "https://registry.npmjs.org/",
9
10
  "access": "public"
10
11
  },
11
12
  "scripts": {
12
13
  "build": "rollup -c",
13
- "dev": "rollup -c -w"
14
+ "dev": "dev=on rollup -c -w"
14
15
  },
15
16
  "dependencies": {
16
- "@reef-knot/connect-wallet-modal": "*",
17
- "@reef-knot/web3-react": "*"
17
+ "@reef-knot/connect-wallet-modal": "0.2.0",
18
+ "@reef-knot/web3-react": "0.2.0"
18
19
  }
19
20
  }
@@ -1,7 +0,0 @@
1
- $ rollup -c
2
- 
3
- ./src/index → dist/cjs, dist/esm...
4
- (node:2114) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /home/runner/work/reef-knot/reef-knot/node_modules/tslib/package.json.
5
- Update this package.json to use a subpath pattern like "./*".
6
- (Use `node --trace-deprecation ...` to show where the warning was created)
7
- created dist/cjs, dist/esm in 3.8s
package/rollup.config.js DELETED
@@ -1,62 +0,0 @@
1
- import fs from 'fs';
2
- import ts from 'typescript';
3
- import tslib from 'tslib';
4
- import del from 'rollup-plugin-delete';
5
- import resolve from '@rollup/plugin-node-resolve';
6
- import typescript from 'rollup-plugin-typescript2';
7
- import commonjs from '@rollup/plugin-commonjs';
8
- import { babel } from '@rollup/plugin-babel';
9
-
10
- const extensions = ['.js', '.jsx', '.ts', '.tsx'];
11
-
12
- const packageJson = JSON.parse(fs.readFileSync('package.json', 'utf-8'));
13
- const { dependencies, peerDependencies } = packageJson;
14
- const commonExternal = ['react/jsx-runtime'];
15
- const external = [
16
- ...commonExternal,
17
- ...Object.keys({ ...dependencies, ...peerDependencies }),
18
- ];
19
-
20
- export default {
21
- input: './src/index',
22
- output: [
23
- {
24
- format: 'cjs',
25
- dir: 'dist/cjs',
26
- preserveModules: true,
27
- exports: 'named',
28
- },
29
- {
30
- format: 'es',
31
- dir: 'dist/esm',
32
- preserveModules: true,
33
- exports: 'named',
34
- },
35
- ],
36
- plugins: [
37
- del({ targets: 'dist/*', runOnce: true }),
38
- resolve({ extensions }),
39
- typescript({
40
- tslib,
41
- typescript: ts,
42
- tsconfig: 'tsconfig.json',
43
- tsconfigOverride: {
44
- compilerOptions: {
45
- paths: { tslib: [require.resolve('tslib/tslib.d.ts')] },
46
- emitDeclarationOnly: false,
47
- noEmit: false,
48
- rootDir: './src',
49
- },
50
- exclude: ['node_modules', 'dist', '**/*.stories.*', '**/*.test.*'],
51
- include: ['**/src/*.ts', '**/src/*.tsx'],
52
- },
53
- }),
54
- commonjs(),
55
- babel({
56
- exclude: 'node_modules/**',
57
- babelHelpers: 'bundled',
58
- extensions,
59
- }),
60
- ],
61
- external,
62
- };
package/src/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from '@reef-knot/connect-wallet-modal';
2
- export * from '@reef-knot/web3-react';
package/tsconfig.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "extends": "tsconfig/react-library.json",
3
- "include": ["**/src/**/*.ts", "**/src/**/*.tsx"],
4
- "exclude": ["node_modules", "dist", "**/*.test.*"]
5
- }