mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-11 18:31:02 +00:00
Bump dev (#297)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const path = require('path');
|
||||
const getWorkspaces = require('get-yarn-workspaces');
|
||||
const workspaces = getWorkspaces(__dirname).filter(item => {
|
||||
return path.normalize(item) !== path.normalize(__dirname);
|
||||
});
|
||||
let workspacesBuildDirs = workspaces.map(workspace => path.join(workspace, 'build/'));
|
||||
workspacesBuildDirs = workspacesBuildDirs.filter(item => item !== path.join(__dirname, '../reactnative-identicon/build/'));
|
||||
const workspaces = getWorkspaces(__dirname).filter((item) =>
|
||||
path.normalize(item) !== path.normalize(__dirname)
|
||||
);
|
||||
let workspacesBuildDirs = workspaces.map((workspace) => path.join(workspace, 'build/'));
|
||||
workspacesBuildDirs = workspacesBuildDirs.filter((item) => item !== path.join(__dirname, '../reactnative-identicon/build/'));
|
||||
|
||||
module.exports = {
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
/* eslint-disable no-global-assign */
|
||||
|
||||
import 'fast-text-encoding';
|
||||
import AsyncStorage from '@react-native-community/async-storage';
|
||||
|
||||
@@ -19,7 +20,7 @@ class Storage {
|
||||
return [...data];
|
||||
}
|
||||
|
||||
getItem = key => {
|
||||
getItem = (key) => {
|
||||
return this.dataMap.get(key);
|
||||
}
|
||||
|
||||
@@ -28,12 +29,12 @@ class Storage {
|
||||
return AsyncStorage.setItem(key, value);
|
||||
}
|
||||
|
||||
remove = key => {
|
||||
remove = (key) => {
|
||||
this.dataMap.delete(key);
|
||||
return AsyncStorage.removeItem(key);
|
||||
}
|
||||
|
||||
saveItem = item => {
|
||||
saveItem = (item) => {
|
||||
this.dataMap.set(item[0], item[1]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user