Przeglądaj źródła

Give yarn workspace another chance

pull/619/head
Guillaume Vincent 3 lat temu
rodzic
commit
4b4a10b38b
51 zmienionych plików z 17057 dodań i 34822 usunięć
  1. +3
    -4
      .github/workflows/build-lesspass-pure-package.yml
  2. +1
    -0
      .github/workflows/deploy-cli.yml
  3. +3
    -4
      .github/workflows/deploy-lesspass-crypto-package.yml
  4. +3
    -4
      .github/workflows/deploy-lesspass-entropy-package.yml
  5. +3
    -4
      .github/workflows/deploy-lesspass-fingerprint-package.yml
  6. +3
    -4
      .github/workflows/deploy-lesspass-package.yml
  7. +13
    -1
      .github/workflows/deploy-lesspass-pure-package.yml
  8. +3
    -4
      .github/workflows/deploy-lesspass-render-password-package.yml
  9. +4
    -53
      .github/workflows/test.yml
  10. +20
    -0
      package.json
  11. +0
    -3
      packages/lesspass-crypto/package.json
  12. +0
    -2497
      packages/lesspass-crypto/yarn.lock
  13. +2
    -10
      packages/lesspass-entropy/package.json
  14. +0
    -2300
      packages/lesspass-entropy/yarn.lock
  15. +1
    -9
      packages/lesspass-fingerprint/package.json
  16. +0
    -2305
      packages/lesspass-fingerprint/yarn.lock
  17. +2
    -2
      packages/lesspass-pure/.gitignore
  18. +2
    -1
      packages/lesspass-pure/cypress.json
  19. +0
    -1
      packages/lesspass-pure/cypress/plugins/index.js
  20. +0
    -1
      packages/lesspass-pure/cypress/support/commands.js
  21. +44
    -32
      packages/lesspass-pure/package.json
  22. +1
    -1
      packages/lesspass-pure/src/components/Menu.vue
  23. +1
    -1
      packages/lesspass-pure/src/views/MyAccount.vue
  24. +18
    -13
      packages/lesspass-pure/src/views/PasswordGenerator.vue
  25. +10
    -3
      packages/lesspass-pure/src/views/Passwords.vue
  26. +10
    -0
      packages/lesspass-pure/tests/e2e/.eslintrc.js
  27. +25
    -0
      packages/lesspass-pure/tests/e2e/plugins/index.js
  28. +0
    -0
      packages/lesspass-pure/tests/e2e/specs/connectedMode.spec.js
  29. +0
    -0
      packages/lesspass-pure/tests/e2e/specs/index.spec.js
  30. +0
    -0
      packages/lesspass-pure/tests/e2e/specs/passwordGeneration.spec.js
  31. +0
    -0
      packages/lesspass-pure/tests/e2e/specs/settings.spec.js
  32. +0
    -0
      packages/lesspass-pure/tests/e2e/support/commands.js
  33. +0
    -0
      packages/lesspass-pure/tests/e2e/support/index.js
  34. +1
    -1
      packages/lesspass-pure/tests/unit/api/password.spec.js
  35. +1
    -1
      packages/lesspass-pure/tests/unit/api/user.spec.js
  36. +3
    -3
      packages/lesspass-pure/tests/unit/components/InputSite.spec.js
  37. +1
    -1
      packages/lesspass-pure/tests/unit/services/form-validator.spec.js
  38. +1
    -1
      packages/lesspass-pure/tests/unit/services/url-parser.spec.js
  39. +1
    -1
      packages/lesspass-pure/tests/unit/store/getters.spec.js
  40. +3
    -3
      packages/lesspass-pure/tests/unit/store/mutations.spec.js
  41. +2
    -1
      packages/lesspass-pure/vue.config.js
  42. +0
    -11199
      packages/lesspass-pure/yarn.lock
  43. +0
    -3
      packages/lesspass-render-password/package.json
  44. +0
    -3590
      packages/lesspass-render-password/yarn.lock
  45. +1
    -1
      packages/lesspass-site/package.json
  46. +0
    -4122
      packages/lesspass-site/yarn.lock
  47. +0
    -5004
      packages/lesspass-web-extension/yarn.lock
  48. +3
    -6
      packages/lesspass/package.json
  49. +0
    -3616
      packages/lesspass/yarn.lock
  50. +5
    -12
      sandbox/lesspass-web-component/package.json
  51. +16863
    -0
      yarn.lock

+ 3
- 4
.github/workflows/build-lesspass-pure-package.yml Wyświetl plik

@@ -13,15 +13,14 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: git hash
run: |
git rev-parse HEAD
- name: test lesspass-pure package
run: |
cd packages/lesspass-pure
yarn install
yarn test
yarn workspace lesspass-pure run test

build-and-commit-and-push:
runs-on: ubuntu-18.04
@@ -32,7 +31,7 @@ jobs:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: build lesspass-pure package
run: |
cd packages/lesspass-pure


+ 1
- 0
.github/workflows/deploy-cli.yml Wyświetl plik

@@ -17,6 +17,7 @@ jobs:
run: |
cd cli
./test

deploy-cli:
runs-on: ubuntu-18.04
needs: test-cli


+ 3
- 4
.github/workflows/deploy-lesspass-crypto-package.yml Wyświetl plik

@@ -12,12 +12,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: test lesspass-crypto package
run: |
cd packages/lesspass-crypto
yarn install
yarn test
yarn workspace lesspass-crypto run test

deploy:
runs-on: ubuntu-18.04
@@ -26,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: deploy lesspass-crypto package
run: |
cd packages


+ 3
- 4
.github/workflows/deploy-lesspass-entropy-package.yml Wyświetl plik

@@ -12,12 +12,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: test lesspass-entropy package
run: |
cd packages/lesspass-entropy
yarn install
yarn test
yarn workspace lesspass-entropy run test

deploy:
runs-on: ubuntu-18.04
@@ -26,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: deploy lesspass-entropy package
run: |
cd packages


+ 3
- 4
.github/workflows/deploy-lesspass-fingerprint-package.yml Wyświetl plik

@@ -12,12 +12,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: test lesspass-fingerprint package
run: |
cd packages/lesspass-fingerprint
yarn install
yarn test
yarn workspace lesspass-fingerprint run test

deploy:
runs-on: ubuntu-18.04
@@ -26,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: deploy lesspass-fingerprint package
run: |
cd packages


+ 3
- 4
.github/workflows/deploy-lesspass-package.yml Wyświetl plik

@@ -12,12 +12,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: test lesspass package
run: |
cd packages/lesspass
yarn install
yarn test
yarn workspace lesspass run test

deploy:
runs-on: ubuntu-18.04
@@ -26,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: deploy lesspass package
run: |
cd packages


+ 13
- 1
.github/workflows/deploy-lesspass-pure-package.yml Wyświetl plik

@@ -6,13 +6,25 @@ on:
- "packages/lesspass-pure/dist/**"

jobs:
test:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "14"
- name: test lesspass-pure package
run: |
yarn install
yarn workspace lesspass-pure run test

deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: git hash
run: |
git rev-parse HEAD


+ 3
- 4
.github/workflows/deploy-lesspass-render-password-package.yml Wyświetl plik

@@ -12,12 +12,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: test lesspass-render-password package
run: |
cd packages/lesspass-render-password
yarn install
yarn test
yarn workspace lesspass-render-password run test

deploy:
runs-on: ubuntu-18.04
@@ -26,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: deploy lesspass-render-password package
run: |
cd packages


+ 4
- 53
.github/workflows/test.yml Wyświetl plik

@@ -3,65 +3,16 @@ name: test
on: [push, pull_request]

jobs:
test-lesspass-crypto:
test-packages:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- run: |
cd packages/lesspass-crypto
yarn install
yarn test

test-lesspass-entropy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- run: |
cd packages/lesspass-entropy
yarn install
yarn test

test-lesspass-fingerprint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- run: |
cd packages/lesspass-fingerprint
yarn install
yarn test

test-lesspass-render-password:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- run: |
cd packages/lesspass-render-password
yarn install
yarn test

test-lesspass-site:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
- run: |
cd packages/lesspass-site
yarn install
yarn build
yarn workspaces run test

test-mobile:
runs-on: ubuntu-18.04
@@ -69,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12"
node-version: "14"
- name: test mobile
run: |
cd mobile


+ 20
- 0
package.json Wyświetl plik

@@ -0,0 +1,20 @@
{
"name": "lesspass-root",
"description": "Stateless Password Manager",
"repository": "git@github.com:lesspass/lesspass.git",
"author": "Guillaume Vincent <guillaume@oslab.fr>",
"license": "GPL-3.0",
"private": true,
"workspaces": [
"packages/*"
],
"devDependencies": {
"browserify": "^17.0.0",
"jest": "^27.2.4",
"karma": "^6.3.4",
"karma-browserify": "^8.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"mocha": "^9.1.2"
}
}

+ 0
- 3
packages/lesspass-crypto/package.json Wyświetl plik

@@ -10,8 +10,5 @@
"main": "index.js",
"scripts": {
"test": "jest"
},
"devDependencies": {
"jest": "latest"
}
}

+ 0
- 2497
packages/lesspass-crypto/yarn.lock
Plik diff jest za duży
Wyświetl plik


+ 2
- 10
packages/lesspass-entropy/package.json Wyświetl plik

@@ -17,14 +17,6 @@
"test:browser": "karma start test/karma.conf.js"
},
"dependencies": {
"lesspass-crypto": "9.1.9"
},
"devDependencies": {
"browserify": "^17.0.0",
"karma": "^6.1.2",
"karma-browserify": "^8.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"mocha": "^8.3.1"
"lesspass-crypto": "9.1.10"
}
}
}

+ 0
- 2300
packages/lesspass-entropy/yarn.lock
Plik diff jest za duży
Wyświetl plik


+ 1
- 9
packages/lesspass-fingerprint/package.json Wyświetl plik

@@ -17,14 +17,6 @@
"test:browser": "karma start test/karma.conf.js"
},
"dependencies": {
"lesspass-crypto": "9.1.9"
},
"devDependencies": {
"browserify": "^17.0.0",
"karma": "^6.1.2",
"karma-browserify": "^8.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"mocha": "^8.3.1"
"lesspass-crypto": "9.1.10"
}
}

+ 0
- 2305
packages/lesspass-fingerprint/yarn.lock
Plik diff jest za duży
Wyświetl plik


+ 2
- 2
packages/lesspass-pure/.gitignore Wyświetl plik

@@ -1,2 +1,2 @@
cypress/videos
cypress/screenshots
tests/e2e/videos
tests/e2e/screenshots

+ 2
- 1
packages/lesspass-pure/cypress.json Wyświetl plik

@@ -1,3 +1,4 @@
{
"baseUrl": "http://localhost:8000"
"baseUrl": "http://localhost:8000",
"pluginsFile": "tests/e2e/plugins/index.js"
}

+ 0
- 1
packages/lesspass-pure/cypress/plugins/index.js Wyświetl plik

@@ -1 +0,0 @@
module.exports = (on, config) => {};

+ 0
- 1
packages/lesspass-pure/cypress/support/commands.js Wyświetl plik

@@ -1 +0,0 @@


+ 44
- 32
packages/lesspass-pure/package.json Wyświetl plik

@@ -10,25 +10,41 @@
"i18n:build": "node src/i18n/build.js",
"i18n:translate": "node src/i18n/translate.js",
"prettier": "prettier --write 'src/**/*'",
"cypress:run": "cypress run",
"cypress:open": "cypress open",
"test": "npm run test:unit && npm run test:e2e",
"test:watch": "jest --watch",
"test:unit": "jest",
"test:e2e": "start-server-and-test start http://localhost:8000 cypress:run"
"test:unit": "vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e --headless",
"lint": "vue-cli-service lint"
},
"jest": {
"testPathIgnorePatterns": [
"cypress"
],
"moduleFileExtensions": [
"js",
"vue"
"preset": "@vue/cli-plugin-unit-jest"
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"browser": true,
"webextensions": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"transform": {
".*\\.(vue)$": "vue-jest",
"^.+\\.js$": "babel-jest"
}
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {},
"overrides": [
{
"files": [
"**/__tests__/*.{j,t}s?(x)",
"**/tests/unit/**/*.spec.{j,t}s?(x)"
],
"env": {
"jest": true
}
}
]
},
"dependencies": {
"@oslab/atob": "^0.1.0",
@@ -40,7 +56,7 @@
"core-js": "^3.9.1",
"font-awesome": "^4.7.0",
"jwt-decode": "^3.1.2",
"lesspass": "^9.0.0",
"lesspass": "9.2.0",
"lodash": "^4.17.21",
"vue": "^2.6.12",
"vue-polyglot": "^2.0.1",
@@ -51,26 +67,22 @@
"vuex-router-sync": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@google-cloud/translate": "^6.1.0",
"@vue/cli-plugin-babel": "^4.5.11",
"@vue/cli-service": "^4.5.11",
"@vue/test-utils": "^1.1.3",
"axios-mock-adapter": "^1.19.0",
"babel-core": "7.0.0-bridge.0",
"cypress": "^6.8.0",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-e2e-cypress": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-unit-jest": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/test-utils": "^1.0.3",
"axios-mock-adapter": "^1.20.0",
"babel-eslint": "^10.1.0",
"cypress-plugin-tab": "^1.0.5",
"jest": "^26.6.3",
"jquery": "^3.6.0",
"popper.js": "^1.16.1",
"start-server-and-test": "^1.12.1",
"vue-jest": "^3.0.7",
"vue-polyglot-utils": "^0.1.1",
"vue-template-compiler": "^2.6.12",
"walk": "^2.3.14"
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"vue-template-compiler": "^2.6.11"
},
"browserslist": [
"> 1%",
"last 2 versions"
"last 2 versions",
"not dead"
]
}

+ 1
- 1
packages/lesspass-pure/src/components/Menu.vue Wyświetl plik

@@ -97,7 +97,7 @@ export default {
methods: {
fullReload() {
this.$store.dispatch("resetPassword");
this.$router.push({ name: "home" }).catch(e => {});
this.$router.push({ name: "home" }).catch(console.error);
},
saveOrUpdatePassword() {
this.$store.dispatch("saveOrUpdatePassword");


+ 1
- 1
packages/lesspass-pure/src/views/MyAccount.vue Wyświetl plik

@@ -122,7 +122,7 @@ export default {
})
.catch(() => message.displayGenericError());
})
.catch(err => {
.catch(() => {
message.error(
this.$t(
"ChangePasswordError",


+ 18
- 13
packages/lesspass-pure/src/views/PasswordGenerator.vue Wyświetl plik

@@ -282,20 +282,25 @@ export default {
);
},
sharePasswordProfile() {
const copied = copy(this.passwordURL);
if (copied) {
const copySuccessMessage = this.$t(
"PasswordProfileCopied",
"Your password profile has been copied"
);
const element = document.getElementById("sharePasswordProfileButton");
showTooltip(element, copySuccessMessage, "left");
setTimeout(() => hideTooltip(element), 2000);
} else {
message.warning(
this.$t("SorryCopy", "Sorry, copying only works in modern browsers.")
navigator.clipboard
.writeText(this.passwordURL)
.then(() => {
const copySuccessMessage = this.$t(
"PasswordProfileCopied",
"Your password profile has been copied"
);
const element = document.getElementById("sharePasswordProfileButton");
showTooltip(element, copySuccessMessage, "left");
setTimeout(() => hideTooltip(element), 2000);
})
.catch(() =>
message.warning(
this.$t(
"SorryCopy",
"Sorry, copying only works in modern browsers."
)
)
);
}
},
setSite(site) {
this.password.site = site;


+ 10
- 3
packages/lesspass-pure/src/views/Passwords.vue Wyświetl plik

@@ -108,9 +108,6 @@ export default {
var siteMatch = password.site.match(new RegExp(this.searchQuery, "i"));
return loginMatch || siteMatch;
});
this.pagination.pageCount = Math.ceil(
passwords.length / this.pagination.perPage
);
return passwords.slice(
this.pagination.currentPage * this.pagination.perPage -
this.pagination.perPage,
@@ -118,6 +115,16 @@ export default {
);
}
},
watch: {
filteredPasswords: {
deep: true,
handler: function(newVal) {
this.pagination.pageCount = Math.ceil(
newVal.length / this.pagination.perPage
);
}
}
},
beforeMount() {
this.$store.dispatch("getPasswords");
},


+ 10
- 0
packages/lesspass-pure/tests/e2e/.eslintrc.js Wyświetl plik

@@ -0,0 +1,10 @@
module.exports = {
plugins: ["cypress"],
env: {
mocha: true,
"cypress/globals": true
},
rules: {
strict: "off"
}
};

+ 25
- 0
packages/lesspass-pure/tests/e2e/plugins/index.js Wyświetl plik

@@ -0,0 +1,25 @@
/* eslint-disable arrow-body-style */
// https://docs.cypress.io/guides/guides/plugins-guide.html

// if you need a custom webpack configuration you can uncomment the following import
// and then use the `file:preprocessor` event
// as explained in the cypress docs
// https://docs.cypress.io/api/plugins/preprocessors-api.html#Examples

// /* eslint-disable import/no-extraneous-dependencies, global-require */
// const webpack = require('@cypress/webpack-preprocessor')

module.exports = (on, config) => {
// on('file:preprocessor', webpack({
// webpackOptions: require('@vue/cli-service/webpack.config'),
// watchOptions: {}
// }))

return Object.assign({}, config, {
fixturesFolder: 'tests/e2e/fixtures',
integrationFolder: 'tests/e2e/specs',
screenshotsFolder: 'tests/e2e/screenshots',
videosFolder: 'tests/e2e/videos',
supportFile: 'tests/e2e/support/index.js'
})
}

packages/lesspass-pure/cypress/integration/connectedMode.spec.js → packages/lesspass-pure/tests/e2e/specs/connectedMode.spec.js Wyświetl plik


packages/lesspass-pure/cypress/integration/index.spec.js → packages/lesspass-pure/tests/e2e/specs/index.spec.js Wyświetl plik


packages/lesspass-pure/cypress/integration/passwordGeneration.spec.js → packages/lesspass-pure/tests/e2e/specs/passwordGeneration.spec.js Wyświetl plik


packages/lesspass-pure/cypress/integration/settings.spec.js → packages/lesspass-pure/tests/e2e/specs/settings.spec.js Wyświetl plik


+ 0
- 0
packages/lesspass-pure/tests/e2e/support/commands.js Wyświetl plik


packages/lesspass-pure/cypress/support/index.js → packages/lesspass-pure/tests/e2e/support/index.js Wyświetl plik


packages/lesspass-pure/src/api/password.test.js → packages/lesspass-pure/tests/unit/api/password.spec.js Wyświetl plik

@@ -1,6 +1,6 @@
import axios from "axios";
import MockAdapter from "axios-mock-adapter";
import Passwords from "./password";
import Passwords from "@/api/password";

const mock = new MockAdapter(axios);


packages/lesspass-pure/src/api/user.test.js → packages/lesspass-pure/tests/unit/api/user.spec.js Wyświetl plik

@@ -1,6 +1,6 @@
import axios from "axios";
import MockAdapter from "axios-mock-adapter";
import User from "./user";
import User from "@/api/user";

const mock = new MockAdapter(axios);


packages/lesspass-pure/src/components/InputSite.test.js → packages/lesspass-pure/tests/unit/components/InputSite.spec.js Wyświetl plik

@@ -1,8 +1,8 @@
import { mount } from "@vue/test-utils";
import InputSite from "./InputSite.vue";
import InputSite from "@/components/InputSite.vue";

jest.mock("../services/url-parser");
import { getSuggestions } from "../services/url-parser";
jest.mock("@/services/url-parser");
import { getSuggestions } from "@/services/url-parser";

const createWrapper = data =>
mount({

packages/lesspass-pure/src/services/form-validator.test.js → packages/lesspass-pure/tests/unit/services/form-validator.spec.js Wyświetl plik

@@ -1,4 +1,4 @@
import formValidator from "./form-validator";
import formValidator from "@/services/form-validator";

test("formValidator.increment()", () => {
expect(formValidator.increment(1, { min: 0, max: 10 })).toBe(2);

packages/lesspass-pure/src/services/url-parser.test.js → packages/lesspass-pure/tests/unit/services/url-parser.spec.js Wyświetl plik

@@ -1,4 +1,4 @@
import * as urlParser from "./url-parser";
import * as urlParser from "@/services/url-parser";

test("cleanUrl", () => {
expect(urlParser.cleanUrl("https://lesspass.com/#!/")).toBe("lesspass.com");

packages/lesspass-pure/src/store/getters.test.js → packages/lesspass-pure/tests/unit/store/getters.spec.js Wyświetl plik

@@ -1,4 +1,4 @@
import * as getters from "./getters";
import * as getters from "@/store/getters";

test("passwordURL", () => {
const state = {

packages/lesspass-pure/src/store/mutations.test.js → packages/lesspass-pure/tests/unit/store/mutations.spec.js Wyświetl plik

@@ -1,6 +1,6 @@
import mutations from "./mutations";
import * as types from "./mutation-types";
import defaultPassword from "./defaultPassword";
import mutations from "@/store/mutations";
import * as types from "@/store/mutation-types";
import defaultPassword from "@/store/defaultPassword";

test("LOGOUT", () => {
const LOGOUT = mutations[types.LOGOUT];

+ 2
- 1
packages/lesspass-pure/vue.config.js Wyświetl plik

@@ -11,5 +11,6 @@ module.exports = {
optimization: {
splitChunks: false
}
}
},
chainWebpack: config => config.resolve.symlinks(false)
};

+ 0
- 11199
packages/lesspass-pure/yarn.lock
Plik diff jest za duży
Wyświetl plik


+ 0
- 3
packages/lesspass-render-password/package.json Wyświetl plik

@@ -14,8 +14,5 @@
},
"dependencies": {
"big-integer": "1.6.48"
},
"devDependencies": {
"jest": "^26.6.3"
}
}

+ 0
- 3590
packages/lesspass-render-password/yarn.lock
Plik diff jest za duży
Wyświetl plik


+ 1
- 1
packages/lesspass-site/package.json Wyświetl plik

@@ -12,7 +12,7 @@
},
"dependencies": {
"express": "^4.17.1",
"lesspass-pure": "latest"
"lesspass-pure": "9.5.2"
},
"devDependencies": {
"favicons": "^6.2.1",


+ 0
- 4122
packages/lesspass-site/yarn.lock
Plik diff jest za duży
Wyświetl plik


+ 0
- 5004
packages/lesspass-web-extension/yarn.lock
Plik diff jest za duży
Wyświetl plik


+ 3
- 6
packages/lesspass/package.json Wyświetl plik

@@ -12,11 +12,8 @@
"test": "jest"
},
"dependencies": {
"lesspass-entropy": "latest",
"lesspass-fingerprint": "latest",
"lesspass-render-password": "latest"
},
"devDependencies": {
"jest": "^26.6.3"
"lesspass-entropy": "9.1.9",
"lesspass-fingerprint": "9.1.9",
"lesspass-render-password": "9.1.9"
}
}

+ 0
- 3616
packages/lesspass/yarn.lock
Plik diff jest za duży
Wyświetl plik


+ 5
- 12
sandbox/lesspass-web-component/package.json Wyświetl plik

@@ -61,16 +61,9 @@
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}

+ 16863
- 0
yarn.lock
Plik diff jest za duży
Wyświetl plik


Ładowanie…
Anuluj
Zapisz