@monkeyplus/flow 5.0.0-rc.107 → 5.0.0-rc.108

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/dist/index.mjs +2 -18
  2. package/package.json +26 -26
package/dist/index.mjs CHANGED
@@ -25,7 +25,7 @@ import replace from '@rollup/plugin-replace';
25
25
  import { resolveTSConfig } from 'pkg-types';
26
26
  import fse from 'fs-extra';
27
27
 
28
- const version = "5.0.0-rc.107";
28
+ const version = "5.0.0-rc.108";
29
29
 
30
30
  let _distDir = dirname(fileURLToPath(import.meta.url));
31
31
  if (_distDir.endsWith("chunks"))
@@ -540,7 +540,6 @@ const addModuleTranspiles = (opts = {}) => {
540
540
  const flow = useNuxt();
541
541
  const modules = [
542
542
  ...opts.additionalModules || [],
543
- ...flow.options.buildModules,
544
543
  ...flow.options.modules,
545
544
  ...flow.options._modules
546
545
  ].map((m) => typeof m === "string" ? m : Array.isArray(m) ? m[0] : m.src).filter((m) => typeof m === "string").map((m) => m.split("node_modules/").pop());
@@ -557,7 +556,7 @@ const addModuleTranspiles = (opts = {}) => {
557
556
  function createFlow(options) {
558
557
  const hooks = createHooks();
559
558
  const flow = {
560
- _version: "3.0.0-rc.106",
559
+ _version: "3.0.0",
561
560
  version,
562
561
  options,
563
562
  hooks,
@@ -576,24 +575,9 @@ async function initFlow(flow) {
576
575
  flow.hook("close", () => nuxtCtx.unset());
577
576
  await flow.callHook("modules:before");
578
577
  const modulesToInstall = [
579
- ...flow.options.buildModules,
580
578
  ...flow.options.modules,
581
579
  ...flow.options._modules
582
580
  ];
583
- flow.hooks.deprecateHooks({
584
- "autoImports:sources": {
585
- to: "imports:sources",
586
- message: "`autoImports:sources` hook is deprecated. Use `addImportsSources()` from `@nuxt/kit` or `imports:dirs` with `nuxt>=3.0.0-rc.10`."
587
- },
588
- "autoImports:dirs": {
589
- to: "imports:dirs",
590
- message: "`autoImports:dirs` hook is deprecated. Use `addImportsDir()` from `@nuxt/kit` or `imports:dirs` with `nuxt>=3.0.0-rc.9`."
591
- },
592
- "autoImports:extend": {
593
- to: "imports:extend",
594
- message: "`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:extend` with `nuxt>=3.0.0-rc.9`."
595
- }
596
- });
597
581
  for (const m of modulesToInstall) {
598
582
  if (Array.isArray(m))
599
583
  await installModule(m[0], m[1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkeyplus/flow",
3
- "version": "5.0.0-rc.107",
3
+ "version": "5.0.0-rc.108",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -25,12 +25,12 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@monkeyplus/flow-cli": "5.0.0-rc.107",
29
- "@monkeyplus/flow-kit": "5.0.0-rc.107",
30
- "@monkeyplus/flow-schema": "5.0.0-rc.107",
28
+ "@monkeyplus/flow-cli": "5.0.0-rc.108",
29
+ "@monkeyplus/flow-kit": "5.0.0-rc.108",
30
+ "@monkeyplus/flow-schema": "5.0.0-rc.108",
31
31
  "@rollup/plugin-replace": "^4.0.0",
32
- "@vueuse/head": "^0.7.6",
33
- "c12": "^0.2.13",
32
+ "@vueuse/head": "^1.0.16",
33
+ "c12": "^1.0.1",
34
34
  "chokidar": "^3.5.3",
35
35
  "consola": "^2.15.3",
36
36
  "defu": "^6.1.0",
@@ -38,38 +38,38 @@
38
38
  "escape-string-regexp": "^5.0.0",
39
39
  "esno": "^0.16.3",
40
40
  "eta": "^1.12.3",
41
- "externality": "^0.2.2",
41
+ "externality": "^1.0.0",
42
42
  "fs-extra": "^10.1.0",
43
43
  "globby": "^13.1.2",
44
- "h3": "^0.8.6",
45
- "hookable": "^5.4.1",
44
+ "h3": "^1.0.1",
45
+ "hookable": "^5.4.2",
46
46
  "jiti": "^1.16.0",
47
- "ohash": "^0.1.5",
48
- "knitwork": "^0.1.3",
49
- "listhen": "^0.3.5",
47
+ "ohash": "^1.0.0",
48
+ "knitwork": "^1.0.0",
49
+ "listhen": "^1.0.0",
50
50
  "magic-string": "^0.26.7",
51
- "mlly": "^0.5.16",
51
+ "mlly": "^1.0.0",
52
52
  "mri": "^1.2.0",
53
- "nitropack": "^0.6.1",
54
- "pathe": "^0.3.9",
53
+ "nitropack": "^1.0.0",
54
+ "pathe": "^1.0.0",
55
55
  "perfect-debounce": "^0.1.3",
56
- "radix3": "^0.2.1",
57
- "unenv": "^0.6.2",
56
+ "radix3": "^1.0.0",
57
+ "unenv": "^1.0.0",
58
58
  "ohmyfetch": "^0.4.21",
59
- "node-fetch-native": "^0.1.8",
59
+ "node-fetch-native": "^1.0.1",
60
60
  "rollup": "^2.79.1",
61
61
  "rollup-plugin-visualizer": "^5.8.3",
62
- "scule": "^0.3.2",
63
- "ufo": "^0.8.6",
64
- "unctx": "^2.0.2",
65
- "unimport": "^0.7.0",
66
- "unplugin": "^0.10.2",
67
- "untyped": "^0.5.0",
68
- "pkg-types": "^0.3.6",
62
+ "scule": "^1.0.0",
63
+ "ufo": "^1.0.0",
64
+ "unctx": "^2.1.0",
65
+ "unimport": "^1.0.1",
66
+ "unplugin": "^1.0.0",
67
+ "untyped": "^1.0.0",
68
+ "pkg-types": "^1.0.1",
69
69
  "vite": "~3.2.2",
70
70
  "vite-node": "^0.24.5",
71
71
  "vite-plugin-checker": "^0.5.1",
72
- "vue-bundle-renderer": "^0.5.0",
72
+ "vue-bundle-renderer": "^1.0.0",
73
73
  "vue": "^3.2.41"
74
74
  },
75
75
  "devDependencies": {