Skip to main content
Sign in
Snippets Groups Projects
Commit cbbdd8d2 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Merge branch 'upgrade_packages' into 'master'

Upgrade packages

See merge request leximpact/leximpact-socio-fiscal-ui!159
parents 2d5d4207 dc9581a8
No related branches found
No related tags found
1 merge request!159Upgrade packages
Pipeline #10378 failed
......@@ -7,18 +7,29 @@ module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:svelte/recommended",
"prettier",
],
ignorePatterns: ["*.cjs"],
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],
plugins: ["svelte3", "@typescript-eslint"],
overrides: [
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
},
},
],
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
ecmaVersion: 2020,
extraFileExtensions: [".svelte"],
sourceType: "module",
},
plugins: ["@typescript-eslint"],
root: true,
settings: {
"svelte3/typescript": () => require("typescript"),
svelte: {
ignoreWarnings: ["no-irregular-whitespace", "svelte/no-at-html-tags"],
},
},
}
......@@ -208,9 +208,8 @@ async function main() {
// `npm install @leximpact/socio-fiscal-openfisca-json@latest` has updated `package-lock.json`.
// => Generate a new version of leximpact-socio-fiscal-api.
const pkg = await fs.readJson(packagePath)
const nextVersionObject = await nextVersionObjectFromPackageAndTags(
pkg,
)
const nextVersionObject =
await nextVersionObjectFromPackageAndTags(pkg)
await commitAndPushWithUpdatedVersions(nextVersionObject)
await triggerDevDeployPipeline()
await triggerProdDeployPipeline()
......@@ -241,9 +240,8 @@ async function main() {
await $`npm install @leximpact/socio-fiscal-openfisca-json@latest`
const pkg = await fs.readJson(packagePath)
const nextVersionObject = await nextVersionObjectFromPackageAndTags(
pkg,
)
const nextVersionObject =
await nextVersionObjectFromPackageAndTags(pkg)
// Test project with the current dependencies (and latest @leximpact/socio-fiscal-openfisca-json).
await $`ln -s example.env .env`
......
......
This diff is collapsed.
{
"name": "leximpact-socio-fiscal-ui",
"version": "0.0.454",
"type": "module",
"scripts": {
"build": "NODE_OPTIONS=--max_old_space_size=4096 vite build",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
......@@ -12,7 +13,7 @@
"test": "playwright test"
},
"devDependencies": {
"@auditors/core": "^0.6.0",
"@auditors/core": "^0.7.0",
"@fontsource/lato": "^5.0.5",
"@fontsource/lora": "^5.0.5",
"@leximpact/socio-fiscal-openfisca-json": "^0.0.117",
......@@ -24,8 +25,8 @@
"@sveltejs/adapter-node": "^1.2.3",
"@sveltejs/kit": "^1.15.8",
"@tailwindcss/typography": "^0.5.4",
"@tricoteuses/explorer-tools": "^0.3.0",
"@tricoteuses/legal-explorer": "^0.2.5",
"@tricoteuses/explorer-tools": "^0.4.3",
"@tricoteuses/legal-explorer": "^0.4.1",
"@types/cookie": "^0.5.0",
"@types/d3-scale": "^4.0.2",
"@types/fs-extra": "^11.0.0",
......@@ -42,8 +43,8 @@
"deep-equal": "^2.2.1",
"dotenv": "^16.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-svelte3": "^4.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte": "^2.33.0",
"fs-extra": "^11.1.0",
"iconify-icon": "^1.0.2",
"intro.js": "^7.0.1",
......@@ -54,13 +55,13 @@
"openid-client": "^5.1.10",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.4.1",
"prettier-plugin-tailwindcss": "^0.5.4",
"rfdc": "^1.3.0",
"sanitize-filename": "^1.6.3",
"scroll-into-view-if-needed": "^3.0.10",
"slug": "^8.0.0",
"sockette": "^2.0.6",
"svelte": "^3.59.2",
"svelte": "^4.2.0",
"svelte-check": "^3.0.1",
"svelte-dnd-action": "^0.9.8",
"svelte-floating-ui": "^1.5.3",
......@@ -75,5 +76,9 @@
"xxh3-ts": "^1.0.6",
"zx": "^7.0.7"
},
"type": "module"
"overrides": {
"@rgossiaux/svelte-headlessui": {
"svelte": "$svelte"
}
}
}
......@@ -277,7 +277,6 @@
<ul class="list-inside list-disc">
{#each parameter.referring_variables as variableName}
<li>
<!-- svelte-ignore a11y-missing-attribute -->
<a class="link" href="/variables/{variableName}"
>{variableName}</a
>
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment