Skip to content

Commit

Permalink
chore: cosmetics internal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
orefalo committed Jun 18, 2024
1 parent 510c2c8 commit dfde4c2
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on: # rebuild gh-pages when doc change on master
logLevel:
description: 'Log level'
required: false

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
Expand Down
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
".vscode": true,
".husky": true
},
"hide-files.files": [
"node_modules",
".vscode",
".husky"
],
"hide-files.files": ["node_modules", ".vscode", ".husky"],
"files.eol": "\n",
"editor.insertSpaces": false,
"[typescript]": {
Expand Down
2 changes: 1 addition & 1 deletion KNOWN-ISSUES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### Using @sveltejs/package > 2.3.0 will generate "ts" rather than transpiled outputs, resulting in ts files being pushed to npm.

For now it breaks Svelte preview REPL as it can't compile ts on the fly
For now it breaks Svelte preview REPL as it can't compile ts on the fly
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@
"vite": "^5.3.1"
},
"peerDependencies": {
"svelte": "5.0.0-next.155"
"svelte": "5.0.0-next.158"
}
}
86 changes: 43 additions & 43 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/comp/Contents.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
data-sveltekit-preload-data
class="page"
aria-current={pathIsCurrent(path, $page) ? 'page' : undefined}
href={base+path}
href={base + path}
>
{title}
</a>
Expand Down
8 changes: 3 additions & 5 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@ const config = {
kit: {
adapter: adapter({
pages: 'docs',
assets: 'docs',
fallback: '200.html'
assets: 'docs'
}),
// IMPORTANT: if you update aliases, run `pnpm run dev` for the configuration to update (tsconfig.json)

alias: {
'svelte-virtuallists': path.resolve('.', 'src/lib'),
$comp: path.resolve('./src/comp')
},
paths: {
base: '',
relative:false
base: process.env.BASE_PATH,
relative: false
}
}
};
Expand Down

0 comments on commit dfde4c2

Please sign in to comment.