Compare commits
2 Commits
9cc5400285
...
fa68f728f4
Author | SHA1 | Date |
---|---|---|
Bauke | fa68f728f4 | |
Bauke | e23984fea4 |
|
@ -9,7 +9,7 @@ NODE_ENV = { condition = { env_not_set = ["NODE_ENV"] }, value = "development" }
|
||||||
# Start a browser instance that will reload the extension when changes are made.
|
# Start a browser instance that will reload the extension when changes are made.
|
||||||
[tasks.dev]
|
[tasks.dev]
|
||||||
clear = true
|
clear = true
|
||||||
dependencies = ["build"]
|
dependencies = ["pnpm-install", "build"]
|
||||||
command = "pnpm"
|
command = "pnpm"
|
||||||
args = ["conc", "-c=auto", "-k", "makers watch", "makers run"]
|
args = ["conc", "-c=auto", "-k", "makers watch", "makers run"]
|
||||||
|
|
||||||
|
@ -45,10 +45,19 @@ args = ["stylelint", "source/**/*.scss"]
|
||||||
# Re-build and pack the WebExtension for publishing.
|
# Re-build and pack the WebExtension for publishing.
|
||||||
[tasks.pack]
|
[tasks.pack]
|
||||||
clear = true
|
clear = true
|
||||||
dependencies = ["clean", "build"]
|
dependencies = ["pnpm-install", "clean", "build"]
|
||||||
command = "pnpm"
|
command = "pnpm"
|
||||||
args = ["web-ext", "build", "--config=build/web-ext-${BROWSER}.json"]
|
args = ["web-ext", "build", "--config=build/web-ext-${BROWSER}.json"]
|
||||||
|
|
||||||
|
# Run "pnpm install" if the node_modules directory doesn't exist.
|
||||||
|
[tasks.pnpm-install]
|
||||||
|
clear = true
|
||||||
|
# Disable NODE_ENV so pnpm installs everything.
|
||||||
|
env = { NODE_ENV = "" }
|
||||||
|
condition = { files_not_exist = ["node_modules/"] }
|
||||||
|
command = "pnpm"
|
||||||
|
args = ["install", "--silent"]
|
||||||
|
|
||||||
# Start a browser instance with the extension loaded.
|
# Start a browser instance with the extension loaded.
|
||||||
[tasks.run]
|
[tasks.run]
|
||||||
clear = true
|
clear = true
|
||||||
|
|
|
@ -13,7 +13,7 @@ export function createManifest(browser: string): Manifest.WebExtensionManifest {
|
||||||
manifest_version: Number.NaN,
|
manifest_version: Number.NaN,
|
||||||
name: "Tildes ReExtended",
|
name: "Tildes ReExtended",
|
||||||
description: "The principal enhancement suite for Tildes.",
|
description: "The principal enhancement suite for Tildes.",
|
||||||
version: "2.1.0",
|
version: "2.1.1",
|
||||||
permissions: ["downloads", "storage", "*://tildes.net/*"],
|
permissions: ["downloads", "storage", "*://tildes.net/*"],
|
||||||
options_ui: {
|
options_ui: {
|
||||||
page: "options/index.html",
|
page: "options/index.html",
|
||||||
|
|
Loading…
Reference in New Issue