diff --git a/.npmrc b/.npmrc index c8baeb6..8190a98 100644 --- a/.npmrc +++ b/.npmrc @@ -1,9 +1,2 @@ -# Nuxt pnpm support, naughty deps: -# - vue -# - vue-router -# - ufo -# - node-fetch-native -# - @vue/* - -public-hoist-pattern[]=@vue/* +# used by playground examples prefer-workspace-packages=true diff --git a/package.json b/package.json index 1a51fc1..4629869 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,13 @@ "typescript", "vite" ] - } + }, + "onlyBuiltDependencies": [ + "@parcel/watcher", + "core-js", + "core-js-pure", + "esbuild", + "vue-demi" + ] } } diff --git a/playground/astro/package.json b/playground/astro/package.json index ec7e6c6..0c5f761 100644 --- a/playground/astro/package.json +++ b/playground/astro/package.json @@ -22,11 +22,11 @@ "@astrojs/vue": "^2.2.1", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", - "@whyframe/astro": "workspace:*", - "@whyframe/core": "workspace:*", - "@whyframe/jsx": "workspace:*", - "@whyframe/svelte": "workspace:*", - "@whyframe/vue": "workspace:*", + "@whyframe/astro": "^0.2.6", + "@whyframe/core": "^0.1.12", + "@whyframe/jsx": "^0.1.10", + "@whyframe/svelte": "^0.1.7", + "@whyframe/vue": "^0.1.7", "astro": "^2.10.15", "svelte": "^4.2.19", "vite-plugin-inspect": "^0.8.9" diff --git a/playground/docusaurus/package.json b/playground/docusaurus/package.json index 2640d3c..6a54c5e 100644 --- a/playground/docusaurus/package.json +++ b/playground/docusaurus/package.json @@ -28,8 +28,8 @@ "@docusaurus/module-type-aliases": "^2.4.3", "@docusaurus/plugin-content-docs": "^2.4.3", "@docusaurus/types": "^2.4.3", - "@whyframe/core": "workspace:*", - "@whyframe/jsx": "workspace:*" + "@whyframe/core": "^0.1.12", + "@whyframe/jsx": "^0.1.10" }, "browserslist": { "production": [ diff --git a/playground/next/package.json b/playground/next/package.json index 17a60d6..c69ac4b 100644 --- a/playground/next/package.json +++ b/playground/next/package.json @@ -13,8 +13,8 @@ "react-dom": "^18.3.1" }, "devDependencies": { - "@whyframe/core": "workspace:*", - "@whyframe/jsx": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/jsx": "^0.1.10", "next": "^13.5.8" } } diff --git a/playground/nuxt/package.json b/playground/nuxt/package.json index 2b67c94..99004b3 100644 --- a/playground/nuxt/package.json +++ b/playground/nuxt/package.json @@ -14,8 +14,8 @@ "devDependencies": { "@types/node": "^18.19.75", "@unhead/vue": "^1.11.18", - "@whyframe/core": "workspace:*", - "@whyframe/vue": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/vue": "^0.1.7", "node-fetch-native": "^1.6.6", "nuxt": "^3.15.4", "ufo": "^1.5.4", diff --git a/playground/sveltekit/package.json b/playground/sveltekit/package.json index cd365ee..5e6effc 100644 --- a/playground/sveltekit/package.json +++ b/playground/sveltekit/package.json @@ -11,8 +11,8 @@ "@sveltejs/adapter-auto": "^3.3.1", "@sveltejs/kit": "^2.17.1", "@sveltejs/vite-plugin-svelte": "^3.1.2", - "@whyframe/core": "workspace:*", - "@whyframe/svelte": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/svelte": "^0.1.7", "mdsvex": "^0.11.2", "svelte": "^4.2.19", "vite": "^5.4.14", diff --git a/playground/vite-preact/package.json b/playground/vite-preact/package.json index b43b651..f4c0b88 100644 --- a/playground/vite-preact/package.json +++ b/playground/vite-preact/package.json @@ -12,8 +12,8 @@ }, "devDependencies": { "@preact/preset-vite": "^2.10.1", - "@whyframe/core": "workspace:*", - "@whyframe/jsx": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/jsx": "^0.1.10", "vite": "^5.4.14", "vite-plugin-inspect": "^0.8.9" } diff --git a/playground/vite-react/package.json b/playground/vite-react/package.json index 265f267..68cae65 100644 --- a/playground/vite-react/package.json +++ b/playground/vite-react/package.json @@ -13,8 +13,8 @@ }, "devDependencies": { "@vitejs/plugin-react": "^4.3.4", - "@whyframe/core": "workspace:*", - "@whyframe/jsx": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/jsx": "^0.1.10", "vite": "^5.4.14", "vite-plugin-inspect": "^0.8.9" } diff --git a/playground/vite-solid/package.json b/playground/vite-solid/package.json index 627d98c..67d6bf3 100644 --- a/playground/vite-solid/package.json +++ b/playground/vite-solid/package.json @@ -11,8 +11,8 @@ "solid-js": "^1.9.4" }, "devDependencies": { - "@whyframe/core": "workspace:*", - "@whyframe/jsx": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/jsx": "^0.1.10", "babel-preset-solid": "^1.9.3", "vite": "^5.4.14", "vite-plugin-inspect": "^0.8.9", diff --git a/playground/vite-svelte/package.json b/playground/vite-svelte/package.json index a986f1c..6e40b82 100644 --- a/playground/vite-svelte/package.json +++ b/playground/vite-svelte/package.json @@ -9,8 +9,8 @@ }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.2", - "@whyframe/core": "workspace:*", - "@whyframe/svelte": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/svelte": "^0.1.7", "svelte": "^4.2.19", "vite": "^5.4.14", "vite-plugin-inspect": "^0.8.9" diff --git a/playground/vite-vue/package.json b/playground/vite-vue/package.json index 1b8c4b1..3bb896c 100644 --- a/playground/vite-vue/package.json +++ b/playground/vite-vue/package.json @@ -12,8 +12,8 @@ }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", - "@whyframe/core": "workspace:*", - "@whyframe/vue": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/vue": "^0.1.7", "vite": "^5.4.14", "vite-plugin-inspect": "^0.8.9" } diff --git a/playground/vitepress/package.json b/playground/vitepress/package.json index aeb99ee..18584ea 100644 --- a/playground/vitepress/package.json +++ b/playground/vitepress/package.json @@ -11,8 +11,8 @@ "vue": "^3.5.13" }, "devDependencies": { - "@whyframe/core": "workspace:*", - "@whyframe/vue": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/vue": "^0.1.7", "vite": "^5.4.14", "vite-plugin-inspect": "^0.8.9", "vitepress": "1.0.1" diff --git a/playground/webpack-react/package.json b/playground/webpack-react/package.json index 0b5dd8f..afdcfa4 100644 --- a/playground/webpack-react/package.json +++ b/playground/webpack-react/package.json @@ -15,8 +15,8 @@ "devDependencies": { "@babel/core": "^7.26.8", "@babel/preset-react": "^7.26.3", - "@whyframe/core": "workspace:*", - "@whyframe/jsx": "workspace:*", + "@whyframe/core": "^0.1.12", + "@whyframe/jsx": "^0.1.10", "babel-loader": "^9.2.1", "css-loader": "^6.11.0", "html-webpack-plugin": "^5.6.3",