From 89eee174ef054300ca0399fe78f3a63fbcd93fc7 Mon Sep 17 00:00:00 2001 From: Ni55aN Date: Tue, 20 Aug 2024 17:39:40 +0300 Subject: [PATCH] feat: add lit stack --- package-lock.json | 90 +++++++------------------------------- package.json | 4 +- src/commands/init/index.ts | 4 +- 3 files changed, 22 insertions(+), 76 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6710b11..f67f1d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,11 +24,8 @@ "devDependencies": { "@types/tinycolor2": "^1.4.3", "nodemon": "^2.0.20", - "rete-kit": "^1.8.1", + "rete-kit": "^1.8.3", "typescript": "^4.9.5" - }, - "peerDependencies": { - "rete-kit": "^1.8.0" } }, "node_modules/@ampproject/remapping": { @@ -3612,42 +3609,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/builtins": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", - "dev": true, - "dependencies": { - "semver": "^7.0.0" - } - }, - "node_modules/builtins/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/builtins/node_modules/semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/bytes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", @@ -4729,9 +4690,9 @@ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" }, "node_modules/fs-extra": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", - "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", "dev": true, "dependencies": { "graceful-fs": "^4.2.0", @@ -6483,26 +6444,11 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/npm-package-arg/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/npm-package-arg/node_modules/semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -7328,9 +7274,9 @@ } }, "node_modules/rete-kit": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/rete-kit/-/rete-kit-1.8.1.tgz", - "integrity": "sha512-wAE/ibiVUDTnn6uoHGDvxgP1dwtFOdcsKk9px3detb2qofuYsdGdpcmhhwkhPqbibKB1qJuiYv0HM5JDa+p8ww==", + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/rete-kit/-/rete-kit-1.8.3.tgz", + "integrity": "sha512-1kc7NwoxT12O7Xq8DU2Fe2jooAkSe2KDM354PiG6ScrMUwpwm3vhhhGlW5BoCS8TOBwpla8ZX/ZGPxgPXUVU/Q==", "dev": true, "dependencies": { "case": "^1.6.3", @@ -7363,6 +7309,7 @@ "version": "2.7.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, "dependencies": { "glob": "^7.1.3" @@ -8198,9 +8145,9 @@ } }, "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", "dev": true, "engines": { "node": ">= 10.0.0" @@ -8271,13 +8218,10 @@ } }, "node_modules/validate-npm-package-name": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", - "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz", + "integrity": "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==", "dev": true, - "dependencies": { - "builtins": "^5.0.0" - }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } diff --git a/package.json b/package.json index 38da28a..9d7a47b 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,11 @@ "devDependencies": { "@types/tinycolor2": "^1.4.3", "nodemon": "^2.0.20", - "rete-kit": "^1.8.1", + "rete-kit": "^1.8.3", "typescript": "^4.9.5" }, "peerDependencies": { - "rete-kit": "^1.8.0" + "rete-kit": "^1.8.3" }, "dependencies": { "@playwright/test": "^1.37.1", diff --git a/src/commands/init/index.ts b/src/commands/init/index.ts index ca336da..6bd140b 100644 --- a/src/commands/init/index.ts +++ b/src/commands/init/index.ts @@ -4,7 +4,8 @@ export const targets: { stack: App.AppStack, versions: number[] }[] = [ { stack: 'react', versions: [16, 17, 18] }, { stack: 'vue', versions: [2, 3] }, { stack: 'angular', versions: [12, 13, 14, 15, 16, 17] }, - { stack: 'svelte', versions: [3, 4] } + { stack: 'svelte', versions: [3, 4] }, + { stack: 'lit-vite', versions: [3] } ] export const stackNames = targets.map(t => t.stack) @@ -23,6 +24,7 @@ export function getFeatures({ stack, version }: Pick<(typeof fixtures)[0], 'stac stack === 'react' && new App.Features.React(version, stack, next), stack === 'vue' && new App.Features.Vue(version as 2 | 3, next), stack === 'svelte' && new App.Features.Svelte(version as 3 | 4, next), + stack === 'lit-vite' && new App.Features.Lit(version as 3, next), new App.Features.ZoomAt(), new App.Features.OrderNodes(), new App.Features.Dataflow(next),