create-pebble-app 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/index.js +8 -1
  2. package/package.json +11 -3
package/index.js CHANGED
@@ -66,9 +66,15 @@ export default defineConfig({
66
66
  plugins: [
67
67
  pebblePiu({
68
68
  entry: 'src/App.tsx',
69
- deploy: true,
70
69
  }),
71
70
  ],
71
+ // Minimal build config — the pebblePiu plugin handles the real output
72
+ build: {
73
+ lib: { entry: 'src/App.tsx', formats: ['es'] },
74
+ rollupOptions: { external: [/./] },
75
+ outDir: '.pebble-build-vite',
76
+ emptyOutDir: true,
77
+ },
72
78
  });
73
79
  `);
74
80
 
@@ -93,6 +99,7 @@ writeFileSync(join(dir, 'tsconfig.json'), JSON.stringify({
93
99
  writeFileSync(join(dir, '.gitignore'), `node_modules/
94
100
  dist/
95
101
  .pebble-build/
102
+ .pebble-build-vite/
96
103
  *.log
97
104
  `);
98
105
 
package/package.json CHANGED
@@ -1,13 +1,21 @@
1
1
  {
2
2
  "name": "create-pebble-app",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Scaffold a new react-pebble watchface or app project",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "create-pebble-app": "index.js"
8
8
  },
9
- "files": ["index.js"],
10
- "keywords": ["pebble", "smartwatch", "create", "scaffold", "watchface"],
9
+ "files": [
10
+ "index.js"
11
+ ],
12
+ "keywords": [
13
+ "pebble",
14
+ "smartwatch",
15
+ "create",
16
+ "scaffold",
17
+ "watchface"
18
+ ],
11
19
  "license": "MIT",
12
20
  "repository": {
13
21
  "type": "git",