create-clojurific 0.12.7 → 0.12.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-clojurific",
3
- "version": "0.12.7",
3
+ "version": "0.12.8",
4
4
  "description": "Scaffolds a ClojureScript project compiled by Clojurific and bundled by Vite: npm create clojurific@latest",
5
5
  "license": "EPL-1.0",
6
6
  "repository": {
@@ -1,4 +1,4 @@
1
- import cljs from 'clojurific/vite';
1
+ import cljf from 'clojurific/vite';
2
2
  import devServer from '@hono/vite-dev-server';
3
3
  import build from '@hono/vite-build/node';
4
4
 
@@ -7,7 +7,7 @@ const entry = 'target/cljs/cljs-esm-entries/server.js';
7
7
 
8
8
  export default {
9
9
  plugins: [
10
- cljs({
10
+ cljf({
11
11
  outputDir: 'target/cljs',
12
12
  compilerOptions: {
13
13
  'js-entries': { server: { exports: { default: "'{{ns}}/app" } } },
@@ -27,7 +27,7 @@ export default {
27
27
  // namespaces in place: defonce keeps its value
28
28
  loadModule: async (server, entry) => (await server.environments.ssr.runner.import(entry)).default,
29
29
  }),
30
- // the cljs plugin minifies, after pruning unused protocol implementations
30
+ // the cljf plugin minifies, after pruning unused protocol implementations
31
31
  build({ entry, emptyOutDir: true, minify: false }),
32
32
  ],
33
33
  };
@@ -1,8 +1,8 @@
1
- import cljs from 'clojurific/vite';
1
+ import cljf from 'clojurific/vite';
2
2
 
3
3
  export default {
4
4
  plugins: [
5
- cljs({
5
+ cljf({
6
6
  outputDir: 'target/cljs',
7
7
  // the dev server starts an nREPL server, its port in .nrepl-port
8
8
  compilerOptions: { repl: { 'nrepl-port': 0 } },
@@ -1,8 +1,8 @@
1
- import cljs from 'clojurific/vite';
1
+ import cljf from 'clojurific/vite';
2
2
 
3
3
  export default {
4
4
  plugins: [
5
- cljs({
5
+ cljf({
6
6
  outputDir: 'target/cljs',
7
7
  // the dev server starts an nREPL server, its port in .nrepl-port
8
8
  compilerOptions: { repl: { 'nrepl-port': 0 } },
@@ -1,8 +1,8 @@
1
- import cljs from 'clojurific/vite';
1
+ import cljf from 'clojurific/vite';
2
2
 
3
3
  export default {
4
4
  plugins: [
5
- cljs({
5
+ cljf({
6
6
  outputDir: 'target/cljs',
7
7
  // the dev server starts an nREPL server, its port in .nrepl-port
8
8
  compilerOptions: { repl: { 'nrepl-port': 0 } },