@ecency/wallets 1.0.0 → 1.0.1
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/package.json +10 -1
- package/.github/workflows/any.yml +0 -24
- package/.github/workflows/release.yml +0 -20
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/vcs.xml +0 -6
- package/.idea/wallets.iml +0 -9
- package/tsconfig.json +0 -27
- package/vite.config.ts +0 -45
package/package.json
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecency/wallets",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/ecency-wallets.umd.js",
|
|
7
7
|
"module": "./dist/ecency-wallets.es.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"README.md"
|
|
11
|
+
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./dist/ecency-renderer.es.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
8
17
|
"scripts": {
|
|
9
18
|
"dev": "vite",
|
|
10
19
|
"build": "tsc && vite build",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: Any build
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- '*'
|
|
6
|
-
jobs:
|
|
7
|
-
build:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
strategy:
|
|
10
|
-
matrix:
|
|
11
|
-
node-version: [20.x]
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v3
|
|
14
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
15
|
-
uses: actions/setup-node@v3
|
|
16
|
-
with:
|
|
17
|
-
node-version: ${{ matrix.node-version }}
|
|
18
|
-
- name: npm install, lint and/or test
|
|
19
|
-
run: |
|
|
20
|
-
yarn
|
|
21
|
-
- name: build
|
|
22
|
-
run: yarn build
|
|
23
|
-
env:
|
|
24
|
-
CI: true
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
name: Publish to npm
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
- app
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
publish:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
steps:
|
|
12
|
-
- uses: actions/checkout@v1
|
|
13
|
-
- uses: actions/setup-node@v1
|
|
14
|
-
with:
|
|
15
|
-
node-version: 20
|
|
16
|
-
- run: yarn
|
|
17
|
-
- run: yarn build
|
|
18
|
-
- uses: JS-DevTools/npm-publish@v1
|
|
19
|
-
with:
|
|
20
|
-
token: ${{ secrets.NPM_TOKEN }}
|
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
package/.idea/vcs.xml
DELETED
package/.idea/wallets.iml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|
package/tsconfig.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"isolatedModules": true,
|
|
13
|
-
"moduleDetection": "force",
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
|
|
16
|
-
/* Linting */
|
|
17
|
-
"strict": true,
|
|
18
|
-
"noUnusedLocals": true,
|
|
19
|
-
"noUnusedParameters": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"noUncheckedSideEffectImports": true,
|
|
22
|
-
"paths": {
|
|
23
|
-
"@/*": ["./src/*"]
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"include": ["src"]
|
|
27
|
-
}
|
package/vite.config.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import path, { resolve } from "path";
|
|
2
|
-
import { defineConfig } from "vite";
|
|
3
|
-
import react from "@vitejs/plugin-react";
|
|
4
|
-
import dtsPlugin from "vite-plugin-dts";
|
|
5
|
-
import { nodePolyfills } from "vite-plugin-node-polyfills";
|
|
6
|
-
|
|
7
|
-
// https://vitejs.dev/guide/build.html#library-mode
|
|
8
|
-
export default defineConfig({
|
|
9
|
-
build: {
|
|
10
|
-
lib: {
|
|
11
|
-
entry: path.resolve(__dirname, "src/index.ts"),
|
|
12
|
-
name: "Ecency Wallets",
|
|
13
|
-
formats: ["es"],
|
|
14
|
-
fileName: (format) => `ecency-wallets.${format}.js`,
|
|
15
|
-
},
|
|
16
|
-
rollupOptions: {
|
|
17
|
-
external: [
|
|
18
|
-
"crypto",
|
|
19
|
-
"react",
|
|
20
|
-
"@hiveio/dhive",
|
|
21
|
-
"@tanstack/react-query",
|
|
22
|
-
"lru-cache",
|
|
23
|
-
"scheduler",
|
|
24
|
-
"react/jsx-runtime",
|
|
25
|
-
"@okxweb3/coin-aptos",
|
|
26
|
-
"@okxweb3/coin-base",
|
|
27
|
-
"@okxweb3/coin-bitcoin",
|
|
28
|
-
"@okxweb3/coin-cosmos",
|
|
29
|
-
"@okxweb3/coin-ethereum",
|
|
30
|
-
"@okxweb3/coin-solana",
|
|
31
|
-
"@okxweb3/coin-ton",
|
|
32
|
-
"@okxweb3/coin-tron",
|
|
33
|
-
"@okxweb3/crypto-lib",
|
|
34
|
-
"bip39",
|
|
35
|
-
],
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
resolve: {
|
|
39
|
-
alias: {
|
|
40
|
-
"@": path.resolve(__dirname, "./src"),
|
|
41
|
-
"near-api-js": "near-api-js/dist/near-api-js.js",
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
plugins: [react(), dtsPlugin({ rollupTypes: true }), nodePolyfills()],
|
|
45
|
-
});
|