Browse Source

Update pridepack

Fix minified ESM build.
master
TheoryOfNekomata 7 months ago
parent
commit
d26fb483c8
8 changed files with 323 additions and 2469 deletions
  1. +0
    -9
      packages/cli/.eslintrc
  2. +2
    -4
      packages/cli/package.json
  3. +0
    -15
      packages/core/.eslintrc
  4. +2
    -4
      packages/core/package.json
  5. +5
    -3
      packages/example-web/index.html
  6. +0
    -9
      packages/web-api/.eslintrc
  7. +2
    -4
      packages/web-api/package.json
  8. +312
    -2421
      pnpm-lock.yaml

+ 0
- 9
packages/cli/.eslintrc View File

@@ -1,9 +0,0 @@
{
"root": true,
"extends": [
"lxsmnsyc/typescript"
],
"parserOptions": {
"project": "./tsconfig.eslint.json"
}
}

+ 2
- 4
packages/cli/package.json View File

@@ -15,11 +15,9 @@
"devDependencies": {
"@types/node": "^18.14.1",
"@types/yargs": "^17.0.24",
"eslint": "^8.35.0",
"eslint-config-lxsmnsyc": "^0.5.0",
"pridepack": "2.4.4",
"pridepack": "2.6.0",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"typescript": "5.4.5",
"vitest": "^0.28.5"
},
"scripts": {


+ 0
- 15
packages/core/.eslintrc View File

@@ -1,15 +0,0 @@
{
"root": true,
"rules": {
"indent": ["error", "tab"],
"no-tabs": "off",
"no-continue": "off",
"max-classes-per-file": "off"
},
"extends": [
"lxsmnsyc/typescript"
],
"parserOptions": {
"project": "./tsconfig.eslint.json"
}
}

+ 2
- 4
packages/core/package.json View File

@@ -19,11 +19,9 @@
"devDependencies": {
"@types/node": "^18.14.1",
"@vitest/coverage-v8": "^0.34.1",
"eslint": "^8.35.0",
"eslint-config-lxsmnsyc": "^0.5.0",
"pridepack": "2.4.4",
"pridepack": "2.6.0",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"typescript": "5.4.5",
"vitest": "^0.34.1"
},
"scripts": {


+ 5
- 3
packages/example-web/index.html View File

@@ -182,14 +182,16 @@
if (e.currentTarget.value.trim() === '') {
return;
}
let newValue;
try {
numberInput.value = parse(e.currentTarget.value, options.parse)
.toString();
// TODO group digits function from system.
newValue = parse(e.currentTarget.value, options.parse)
} catch (err) {
console.error(err);
e.currentTarget.setCustomValidity('Invalid name.');
}

numberInput.value = newValue.toString();
// TODO group digits function from system.
});

addTensDashesCheckbox.addEventListener('change', (e) => {


+ 0
- 9
packages/web-api/.eslintrc View File

@@ -1,9 +0,0 @@
{
"root": true,
"extends": [
"lxsmnsyc/typescript"
],
"parserOptions": {
"project": "./tsconfig.eslint.json"
}
}

+ 2
- 4
packages/web-api/package.json View File

@@ -13,11 +13,9 @@
],
"devDependencies": {
"@types/node": "^18.14.1",
"eslint": "^8.35.0",
"eslint-config-lxsmnsyc": "^0.5.0",
"pridepack": "2.4.4",
"pridepack": "2.6.0",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"typescript": "5.4.5",
"vite": "^4.3.9",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.28.5"


+ 312
- 2421
pnpm-lock.yaml
File diff suppressed because it is too large
View File


Loading…
Cancel
Save