Skip to content

Commit

Permalink
Merge pull request #530 from codeforpdx/Development
Browse files Browse the repository at this point in the history
Version Update from v0.10.0 to v0.11.0
  • Loading branch information
leekahung authored Nov 30, 2023
2 parents e88319f + 112e683 commit 1db5416
Show file tree
Hide file tree
Showing 133 changed files with 10,243 additions and 9,417 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
16.20.2
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ PASS is currently in development working towards MVP release by generous efforts

- ### Prerequisites

Currently we require Node version 16 or higher and NPM for our package manager. Most places recommend using a node version manager to install node and npm. To proceed using NVM perform the following..
Currently we require Node version 16.20.2 and NPM for our package manager. We recommend managing node and npm using Node Version Manager (NVM). To do so:

1. Download NVM for your system.

- For Mac, Linux, and other POSIX users: https://github.com/nvm-sh/nvm
- For Windows users: https://github.com/coreybutler/nvm-windows

2. Install node version 16:
2. Install node version 16.20.2:
```
nvm install 16
nvm install 16.20.2
```
3. Use that node version:
```
nvm use 16
nvm use 16.20.2
```
4. Check that node and npm are set up:
```
Expand Down
9 changes: 7 additions & 2 deletions __mocks__/@inrupt/solid-client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { vi } from 'vitest';
import { mockSolidDatasetFrom, addMockResourceAclTo } from '@inrupt/solid-client';
import {
mockSolidDatasetFrom,
addMockResourceAclTo,
createSolidDataset as realCreateSolidDataset
} from '@inrupt/solid-client';

export * from '@inrupt/solid-client';

Expand All @@ -18,9 +22,10 @@ export const saveAclFor = vi.fn((url) =>
export const saveSolidDatasetAt = vi.fn(mockDatasetFactory);
export const getSolidDataset = vi.fn(mockDatasetFactory);
export const createContainerAt = vi.fn(() => Promise.resolve());
export const createSolidDataset = vi.fn(() => realCreateSolidDataset());
export const deleteFile = vi.fn(() => Promise.resolve());
export const getSolidDatasetWithAcl = vi.fn(mockDatasetFactory);
export const saveSolidDatasetInContainer = vi.fn(() => Promise.resolve());
export const getFile = vi.fn(() => Promise.resolve());
export const saveFileInContainer = vi.fn(() => Promise.resolve());
export const getWebIdDataset = vi.fn((url) => Promise.resolve(mockSolidDatasetFrom(url)))
export const getWebIdDataset = vi.fn((url) => Promise.resolve(mockSolidDatasetFrom(url)));
4 changes: 2 additions & 2 deletions __mocks__/src/constants/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const ENV = {
VITE_SOLID_IDENTITY_PROVIDER: 'https://solidcommunity.net'
VITE_SOLID_IDENTITY_PROVIDER: 'https://solidcommunity.net',
VITE_SUGGESTED_OIDC_OPTIONS: 'http://testurl_1.com/, http://testurl_2.com/, http://testurl_3.com/'
};

export { ENV }; /* eslint-disable-line */

1 change: 1 addition & 0 deletions env.template
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
VITE_SOLID_IDENTITY_PROVIDER="http://localhost:3000/"
VITE_SOLID_POD_SERVER="http://localhost:3000/"
VITE_SUGGESTED_OIDC_OPTIONS="http://localhost:3000/, https://opencommons.net/, https://solidcommunity.net/, https://login.inrupt.com/, https://inrupt.net/"
Loading

0 comments on commit 1db5416

Please sign in to comment.