my-cool-addon 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/sv/index.js +7 -2
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "my-cool-addon",
|
|
3
3
|
"description": "sv add-on for my-cool-addon",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"demo-create": "sv create demo --types ts --template minimal --no-add-ons --no-install",
|
|
9
9
|
"demo-add": "sv add file:../ --cwd demo --no-git-check --no-install",
|
|
10
|
-
"demo-add:ci": "sv add file
|
|
10
|
+
"demo-add:ci": "sv add file:../ --cwd demo --no-git-check --no-download-check --no-install",
|
|
11
11
|
"test": "vitest run"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
package/src/sv/index.js
CHANGED
|
@@ -6,8 +6,13 @@ export default defineAddon({
|
|
|
6
6
|
run() {},
|
|
7
7
|
nextSteps() {
|
|
8
8
|
return [
|
|
9
|
-
"
|
|
10
|
-
color.
|
|
9
|
+
"Doc Explorer badge unlocked 🎉",
|
|
10
|
+
`${color.route("console.log(")}` +
|
|
11
|
+
`${color.optional(`"You're officially `)}` +
|
|
12
|
+
`${color.addon("cool")}${color.optional(`!"`)}` +
|
|
13
|
+
`${color.route(")")}`,
|
|
14
|
+
`Now build yours → ${color.website("#SvelteAddon")} 🦋`,
|
|
11
15
|
];
|
|
12
16
|
},
|
|
13
17
|
});
|
|
18
|
+
console.log("sdsd");
|