Added a 'clean' pass.

This commit is contained in:
Ken Sternberg 2024-01-09 13:06:10 -08:00
parent 3aae23e23f
commit 5d3d2a2548
2 changed files with 29 additions and 5 deletions

23
web/package-lock.json generated
View file

@ -14370,8 +14370,9 @@
}, },
"node_modules/npm-run-all": { "node_modules/npm-run-all": {
"version": "4.1.5", "version": "4.1.5",
"resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz",
"integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"ansi-styles": "^3.2.1", "ansi-styles": "^3.2.1",
"chalk": "^2.4.1", "chalk": "^2.4.1",
@ -19149,6 +19150,7 @@
} }
}, },
"packages/localization": { "packages/localization": {
"name": "@goauthentik/localization",
"version": "0.0.0", "version": "0.0.0",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
@ -19162,6 +19164,7 @@
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^3.1.1", "prettier": "^3.1.1",
"pseudolocale": "^2.0.0", "pseudolocale": "^2.0.0",
"rimraf": "^5.0.5",
"typescript": "^5.3.3" "typescript": "^5.3.3"
} }
}, },
@ -19522,6 +19525,24 @@
"@esbuild/win32-ia32": "0.19.11", "@esbuild/win32-ia32": "0.19.11",
"@esbuild/win32-x64": "0.19.11" "@esbuild/win32-x64": "0.19.11"
} }
},
"packages/localization/node_modules/rimraf": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz",
"integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==",
"dev": true,
"dependencies": {
"glob": "^10.3.7"
},
"bin": {
"rimraf": "dist/esm/bin.mjs"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
} }
} }
} }

View file

@ -9,7 +9,9 @@
"build": "run-s build-locales compile fix:lint fix:prettier", "build": "run-s build-locales compile fix:lint fix:prettier",
"build-locales": "lit-localize build", "build-locales": "lit-localize build",
"compile": "node ./build.mjs", "compile": "node ./build.mjs",
"clean": "rimraf src dist scripts/*.mjs", "clean:dist": "rimraf dist scripts/*.mjs",
"clean:build": "rimraf src",
"clean": "npm-run-all --parallel clean:dist clean:build",
"extract-locales": "run-p localization:extract localization:pseudolocalize", "extract-locales": "run-p localization:extract localization:pseudolocalize",
"lint:lint": "eslint . --max-warnings 0", "lint:lint": "eslint . --max-warnings 0",
"fix:lint": "eslint . --max-warnings 0 --fix dist/locale-codes.js", "fix:lint": "eslint . --max-warnings 0 --fix dist/locale-codes.js",
@ -29,16 +31,17 @@
"./dist/**/*" "./dist/**/*"
], ],
"devDependencies": { "devDependencies": {
"@lit/localize-tools": "^0.7.1",
"@typescript-eslint/eslint-plugin": "^6.17.0", "@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0", "@typescript-eslint/parser": "^6.17.0",
"@lit/localize-tools": "^0.7.1", "esbuild": "^0.19.10",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-config-google": "^0.14.0", "eslint-config-google": "^0.14.0",
"eslint-plugin-custom-elements": "0.0.8", "eslint-plugin-custom-elements": "0.0.8",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"prettier": "^3.1.1", "prettier": "^3.1.1",
"pseudolocale": "^2.0.0", "pseudolocale": "^2.0.0",
"typescript": "^5.3.3", "rimraf": "^5.0.5",
"esbuild": "^0.19.10" "typescript": "^5.3.3"
} }
} }