From a9331fdfda19003a8875bf0dfedf06e46c3380ec Mon Sep 17 00:00:00 2001 From: Simon Alling Date: Wed, 31 Jul 2024 22:20:02 +0200 Subject: [PATCH] chore: Use v5.0.0 in bootstrapped userscript --- bootstrap/metadata.ts | 2 +- bootstrap/package-lock.json | 14 +++++++------- bootstrap/package.json | 2 +- bootstrap/src/operations.ts | 2 +- bootstrap/src/preferences.ts | 2 +- bootstrap/src/stylesheets.ts | 4 ++-- bootstrap/webpack.config.ts | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bootstrap/metadata.ts b/bootstrap/metadata.ts index 074f575..d512632 100644 --- a/bootstrap/metadata.ts +++ b/bootstrap/metadata.ts @@ -1,7 +1,7 @@ import { Metadata } from "userscript-metadata"; import { BuildConfig, -} from "userscripter/build"; +} from "userscripter/build-time"; import U from "./src/userscript"; diff --git a/bootstrap/package-lock.json b/bootstrap/package-lock.json index e130c0a..4f97783 100644 --- a/bootstrap/package-lock.json +++ b/bootstrap/package-lock.json @@ -12,7 +12,7 @@ "ts-preferences": "^2.0.0", "typescript": "^3.7.4", "userscript-metadata": "^1.0.0", - "userscripter": "4.0.0", + "userscripter": "5.0.0", "webpack": "^4.41.5", "webpack-cli": "^3.3.10" } @@ -4679,9 +4679,9 @@ } }, "node_modules/userscripter": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/userscripter/-/userscripter-4.0.0.tgz", - "integrity": "sha512-KHdpe173p179cAYURkI1G251jxjhF7tTLX74TfRGRKL0MWqR2N+YpMDd5dUxqk2cU6aVv85igswEohPRsgD2cg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/userscripter/-/userscripter-5.0.0.tgz", + "integrity": "sha512-lIvXdu16SFu3UqhfgincC6FPGsIxx7CW27ZAGkKfneYkqgOswEuJleI6R76d2M+C9vHNL/OibGpJktkuQak0mA==", "dependencies": { "@types/sass": "^1.16.0", "@types/terser-webpack-plugin": "^2.2.0", @@ -8962,9 +8962,9 @@ } }, "userscripter": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/userscripter/-/userscripter-4.0.0.tgz", - "integrity": "sha512-KHdpe173p179cAYURkI1G251jxjhF7tTLX74TfRGRKL0MWqR2N+YpMDd5dUxqk2cU6aVv85igswEohPRsgD2cg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/userscripter/-/userscripter-5.0.0.tgz", + "integrity": "sha512-lIvXdu16SFu3UqhfgincC6FPGsIxx7CW27ZAGkKfneYkqgOswEuJleI6R76d2M+C9vHNL/OibGpJktkuQak0mA==", "requires": { "@types/sass": "^1.16.0", "@types/terser-webpack-plugin": "^2.2.0", diff --git a/bootstrap/package.json b/bootstrap/package.json index 28c0b39..4dc71cb 100644 --- a/bootstrap/package.json +++ b/bootstrap/package.json @@ -14,7 +14,7 @@ "ts-preferences": "^2.0.0", "typescript": "^3.7.4", "userscript-metadata": "^1.0.0", - "userscripter": "4.0.0", + "userscripter": "5.0.0", "webpack": "^4.41.5", "webpack-cli": "^3.3.10" } diff --git a/bootstrap/src/operations.ts b/bootstrap/src/operations.ts index 2f3bea8..39ffe32 100644 --- a/bootstrap/src/operations.ts +++ b/bootstrap/src/operations.ts @@ -1,4 +1,4 @@ -import { Operation, operation } from "userscripter/lib/operations"; +import { Operation, operation } from "userscripter/run-time/operations"; const OPERATIONS: ReadonlyArray> = [ ]; diff --git a/bootstrap/src/preferences.ts b/bootstrap/src/preferences.ts index 31d2d36..01fdce2 100644 --- a/bootstrap/src/preferences.ts +++ b/bootstrap/src/preferences.ts @@ -1,7 +1,7 @@ import { PreferenceManager, } from "ts-preferences"; -import { loggingResponseHandler } from "userscripter/lib/preferences"; +import { loggingResponseHandler } from "userscripter/run-time/preferences"; import U from "~src/userscript"; diff --git a/bootstrap/src/stylesheets.ts b/bootstrap/src/stylesheets.ts index 2fa1387..d9315ef 100644 --- a/bootstrap/src/stylesheets.ts +++ b/bootstrap/src/stylesheets.ts @@ -1,5 +1,5 @@ -import { ALWAYS } from "userscripter/lib/environment"; -import { Stylesheets, stylesheet } from "userscripter/lib/stylesheets"; +import { ALWAYS } from "userscripter/run-time/environment"; +import { Stylesheets, stylesheet } from "userscripter/run-time/stylesheets"; const STYLESHEETS = { main: stylesheet({ diff --git a/bootstrap/webpack.config.ts b/bootstrap/webpack.config.ts index 795ce6a..3d542cd 100644 --- a/bootstrap/webpack.config.ts +++ b/bootstrap/webpack.config.ts @@ -3,7 +3,7 @@ import { createWebpackConfig, DEFAULT_BUILD_CONFIG, DEFAULT_METADATA_SCHEMA, -} from "userscripter/build"; +} from "userscripter/build-time"; import METADATA from "./metadata"; import * as CONFIG from "./src/config";