forked from cms/tibi-svelte-starter
yarn 2, package upgrade
This commit is contained in:
parent
fd613e5a7d
commit
09a7688e29
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
.yarn/cache/** filter=lfs diff=lfs merge=lfs -text
|
BIN
.yarn/install-state.gz
Normal file
BIN
.yarn/install-state.gz
Normal file
Binary file not shown.
546
.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
vendored
Normal file
546
.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
vendored
Normal file
File diff suppressed because one or more lines are too long
785
.yarn/releases/yarn-3.2.0.cjs
vendored
Executable file
785
.yarn/releases/yarn-3.2.0.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
7
.yarnrc.yml
Normal file
7
.yarnrc.yml
Normal file
@ -0,0 +1,7 @@
|
||||
nodeLinker: node-modules
|
||||
|
||||
plugins:
|
||||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
|
||||
spec: "@yarnpkg/plugin-interactive-tools"
|
||||
|
||||
yarnPath: .yarn/releases/yarn-3.2.0.cjs
|
@ -9,13 +9,11 @@ config.options.entryPoints = ["./src/ssr.ts"]
|
||||
config.options.outfile = __dirname + "/_temp/app.server.js"
|
||||
config.options.plugins = [
|
||||
config.sveltePlugin({
|
||||
compileOptions: {
|
||||
compilerOptions: {
|
||||
generate: "ssr",
|
||||
css: false,
|
||||
hydratable: true,
|
||||
dev:
|
||||
(process.argv?.length > 2 ? process.argv[2] : "build") !==
|
||||
"build",
|
||||
dev: (process.argv?.length > 2 ? process.argv[2] : "build") !== "build",
|
||||
},
|
||||
preprocess: svelteConfig.preprocess,
|
||||
}),
|
||||
|
53
package.json
53
package.json
@ -21,45 +21,46 @@
|
||||
"cy:docker:open": "CURRENT_UID=$(id -u):$(id -g) CY_COMMAND=open docker-compose -f docker-compose.cypress.yml up --exit-code-from=cypress"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.16.8",
|
||||
"@babel/core": "^7.16.12",
|
||||
"@babel/cli": "^7.17.6",
|
||||
"@babel/core": "^7.17.9",
|
||||
"@babel/plugin-transform-spread": "^7.16.7",
|
||||
"@babel/preset-env": "^7.16.11",
|
||||
"@tsconfig/svelte": "^3.0.0",
|
||||
"browser-sync": "^2.27.5",
|
||||
"browser-sync": "^2.27.9",
|
||||
"chokidar": "^3.5.3",
|
||||
"connect-history-api-fallback": "^1.6.0",
|
||||
"copy-dir": "^1.3.0",
|
||||
"esbuild": "^0.14.16",
|
||||
"esbuild-svelte": "^0.6.2",
|
||||
"http-proxy-middleware": "^2.0.2",
|
||||
"less": "^4.1.1",
|
||||
"esbuild": "^0.14.38",
|
||||
"esbuild-svelte": "^0.7.0",
|
||||
"http-proxy-middleware": "^2.0.6",
|
||||
"less": "^4.1.2",
|
||||
"morgan": "^1.10.0",
|
||||
"postcss": "^8.4.6",
|
||||
"prettier": "^2.4.0",
|
||||
"prettier-plugin-svelte": "^2.6.0",
|
||||
"svelte": "^3.46.3",
|
||||
"svelte-check": "^2.4.1",
|
||||
"svelte-preprocess": "^4.10.2",
|
||||
"postcss": "^8.4.12",
|
||||
"prettier": "^2.6.2",
|
||||
"prettier-plugin-svelte": "^2.7.0",
|
||||
"svelte": "^3.47.0",
|
||||
"svelte-check": "^2.7.0",
|
||||
"svelte-preprocess": "^4.10.6",
|
||||
"svelte-preprocess-esbuild": "^2.0.0",
|
||||
"svelte-routing": "^1.6.0",
|
||||
"svelte-scrollto": "^0.2.0",
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "^4.5.5",
|
||||
"tibi-types": "https://gitbase.de/cms/tibi-types.git"
|
||||
"tibi-types": "https://gitbase.de/cms/tibi-types.git#commit=099ae2fb37c7be4d40f17861e286411b4621bf8e",
|
||||
"tslib": "^2.4.0",
|
||||
"typescript": "^4.6.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/browser": "^6.17.3",
|
||||
"@sentry/tracing": "^6.17.3",
|
||||
"core-js": "3.21.0"
|
||||
"@sentry/browser": "^6.19.6",
|
||||
"@sentry/tracing": "^6.19.6",
|
||||
"core-js": "3.22.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@cypress/code-coverage": "^3.9.10",
|
||||
"axios": "^0.25.0",
|
||||
"babel-plugin-istanbul": "^6.0.0",
|
||||
"cypress": "^9.4.1",
|
||||
"cypress-terminal-report": "^3.4.1",
|
||||
"@cypress/code-coverage": "^3.9.12",
|
||||
"axios": "^0.27.1",
|
||||
"babel-plugin-istanbul": "^6.1.1",
|
||||
"cypress": "^9.6.0",
|
||||
"cypress-terminal-report": "^3.5.2",
|
||||
"live-server": "^1.2.1",
|
||||
"mongodb": "^4.3.1"
|
||||
}
|
||||
"mongodb": "^4.5.0"
|
||||
},
|
||||
"packageManager": "yarn@3.2.0"
|
||||
}
|
@ -1,9 +1,5 @@
|
||||
const cacheName = "site-cache-v1"
|
||||
const assetsToCache = [
|
||||
"/",
|
||||
"/_dist_/index.mjs.css?t=__TIMESTAMP__",
|
||||
"/_dist_/index.mjs?t=__TIMESTAMP__",
|
||||
]
|
||||
const assetsToCache = ["/", "/_dist_/index.css?t=__TIMESTAMP__", "/_dist_/index.mjs?t=__TIMESTAMP__"]
|
||||
self.addEventListener("install", (event) => {
|
||||
self.skipWaiting() // skip waiting
|
||||
event.waitUntil(
|
||||
|
Loading…
Reference in New Issue
Block a user