Skip to content

update plugin with changes from svelte main #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
34b32e9
Bump lodash from 4.17.20 to 4.17.21 (#183)
dependabot[bot] May 6, 2021
2d25b92
Bump glob-parent from 5.1.1 to 5.1.2 (#185)
dependabot[bot] Jun 8, 2021
8bc5ee4
ci(workflow): add cache to workflows using actions/setup-node (#187)
oscard0m Jul 6, 2021
816725b
Add ignoreExportsWarn option
traed Apr 1, 2022
4a27693
Add text and fix format
traed Apr 1, 2022
ee82ecf
Recursive parsing of package.json files
traed Apr 1, 2022
8fadd18
Remove unused options from readme
traed Apr 2, 2022
a95d38d
Add importer to resolver
traed Apr 2, 2022
2001d22
Change function names to snake case
traed Apr 4, 2022
c127e26
Change variable name to snake case
traed Apr 4, 2022
123b363
suggest using SvelteKit or vite-plugin-svelte
benmccann Jun 22, 2022
353fc55
remove comma
benmccann Jun 22, 2022
aec4bfa
[docs] suggest vite/sveltekit
dummdidumm Jun 23, 2022
87b44e1
[chore] update dependencies (#202)
benmccann Aug 10, 2022
2f46031
[docs] update svelte preprocess url (#203)
rainrisa Aug 17, 2022
607e0a9
[docs] recommend svelte export condition rather than svelte mainField…
benmccann Nov 16, 2022
282be74
Merge pull request #198 from traed/master
Rich-Harris Feb 9, 2023
5d7a9c7
-> v7.1.1
Rich-Harris Feb 9, 2023
bd50f9c
Merge branch 'master' of github.com:sveltejs/rollup-plugin-svelte
Rich-Harris Feb 9, 2023
dd64bab
-> v7.1.1
Rich-Harris Feb 9, 2023
82d3697
fix package resolution
Rich-Harris Feb 9, 2023
66b806b
Merge pull request #205 from sveltejs/fix-pkg-resolution
Rich-Harris Feb 9, 2023
9744823
-> v7.1.2
Rich-Harris Feb 9, 2023
0f8ece9
docs: clarify
dummdidumm Feb 14, 2023
9288f82
warn about missing svelte export condition
Rich-Harris Feb 15, 2023
25751ef
lint
Rich-Harris Feb 15, 2023
51ffed2
guess it would help to install resolve.exports, huh
Rich-Harris Feb 15, 2023
1344757
get tests passing
Rich-Harris Feb 16, 2023
9750a01
Update index.js
dummdidumm Feb 16, 2023
a7463e7
dedent
dummdidumm Feb 16, 2023
f0e64bf
docs: clarify
dummdidumm Feb 16, 2023
3be2d58
Merge pull request #206 from sveltejs/warn-about-missing-svelte-condi…
Rich-Harris Feb 16, 2023
2a7647f
-> v7.1.3
Rich-Harris Feb 16, 2023
6abf913
fix: pass options to silence warning
dummdidumm Mar 2, 2023
c4c9f1f
Merge pull request #208 from sveltejs/dummdidumm-patch-1
Rich-Harris Mar 2, 2023
0d55b01
-> v7.1.4
Rich-Harris Mar 2, 2023
4271788
chore: get ready for Svelte 4
dummdidumm May 26, 2023
8b5c16d
fix: set compilerOptions.css to 'external' when emitCss was true (#211)
gucheen Jun 26, 2023
ff0b431
chore: 7.1.6
dummdidumm Jun 26, 2023
ed67842
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#213)
dependabot[bot] Jul 18, 2023
fe52a2d
feat: support compiling `svelte.js/ts` files in Svelte 5
dummdidumm Mar 11, 2024
9b5e8ec
fix: prevent crash when `css` is `null` in Svelte 5
dummdidumm Mar 11, 2024
a03264d
chore: release 7.2.0
dummdidumm Mar 11, 2024
719f351
chore: bump CI node versions
dummdidumm Jun 4, 2024
1e01360
core: Svelte 5 work
dummdidumm Jun 5, 2024
295cf0b
fix: compile svelte.xxx.js/ts files in Svelte 5
dummdidumm Jun 6, 2024
996eb8e
chore(deps-dev): bump svelte from 4.2.17 to 4.2.19 (#223)
dependabot[bot] Sep 3, 2024
9761963
chore: bump GitHub Actions (#224)
benmccann Sep 3, 2024
c75899a
chore: remove sander (#225)
benmccann Sep 3, 2024
a4b0465
chore(deps-dev): bump rollup from 2.77.2 to 2.79.2 (#228)
dependabot[bot] Jan 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 16 additions & 22 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
{
"root": true,
"rules": {
"indent": [ 2, "tab", { "SwitchCase": 1 } ],
"quotes": [ 2, "single" ],
"linebreak-style": [ 2, "unix" ],
"semi": [ 2, "always" ],
"keyword-spacing": [ 2, { "before": true, "after": true } ],
"space-before-blocks": [ 2, "always" ],
"no-mixed-spaces-and-tabs": [ 2, "smart-tabs" ],
"no-cond-assign": [ 0 ]
},
"env": {
"es6": true,
"browser": true,
"mocha": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 10,
"sourceType": "module"
}
"root": true,
"rules": {
"keyword-spacing": [2, { "before": true, "after": true }],
"no-cond-assign": [0]
},
"env": {
"es6": true,
"browser": true,
"mocha": true,
"node": true
},
"extends": ["eslint:recommended", "prettier"],
"parserOptions": {
"ecmaVersion": 10,
"sourceType": "module"
}
}
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,21 @@ jobs:
timeout-minutes: 3
strategy:
matrix:
nodejs: [10, 12, 14]
nodejs: [18, 20, 22]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.nodejs }}
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodejs }}
cache: npm

- name: Install
run: npm ci
- name: Install
run: npm ci

- name: Linter
if: matrix.os != 'windows-latest'
run: npm run lint
- name: Linter
if: matrix.os != 'windows-latest'
run: npm run lint

- name: Test
run: npm test
- name: Test
run: npm test
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"useTabs": true,
"singleQuote": true,
"printWidth": 100,
"endOfLine": "lf"
}
Loading