odoro 0.3.3 → 1.0.0

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.
@@ -24,7 +24,18 @@ async function importConfigFile(file, root) {
24
24
  write: false,
25
25
  // Seul le code du projet est inline ; ses dependances restent externes,
26
26
  // sans quoi il faudrait resoudre tout node_modules pour lire trois lignes.
27
- packages: "external"
27
+ packages: "external",
28
+ // `packages: 'external'` ne suffit pas : un `baseUrl` dans le
29
+ // `tsconfig.json` fait chercher les imports nus depuis la racine du
30
+ // projet, ou `odoro.json` — le fichier du registre — est trouve avant le
31
+ // paquet. L'import cesse alors d'etre un import de paquet, la regle
32
+ // ci-dessus ne s'applique plus, et la compilation echoue sur un
33
+ // `defineConfig` introuvable dans un fichier de configuration.
34
+ //
35
+ // Le nommer explicitement le met hors d'atteinte de cette resolution. La
36
+ // liste vaut pour les projets deja crees : eux portent encore un
37
+ // `baseUrl`, et on ne peut pas reecrire leur tsconfig.
38
+ external: ["odoro"]
28
39
  });
29
40
  const code = result.outputFiles[0]?.text;
30
41
  if (code === void 0) {
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { loadConfig } from './chunk-Q35CGY2Z.js';
2
+ import { loadConfig } from './chunk-DL3NPC4H.js';
3
3
  import './chunk-T6RLHSCW.js';
4
4
  import { error } from './chunk-JMEHF3KN.js';
5
5
  import { realpathSync } from 'fs';
@@ -131,7 +131,7 @@ function rootFrom(flags, positional) {
131
131
  async function run(argv) {
132
132
  const { command, positional, flags } = parseArgs(argv);
133
133
  if (flags["version"] === true) {
134
- const manifest = await import('./package-KXIZ5RXR.js');
134
+ const manifest = await import('./package-6ADADETZ.js');
135
135
  console.log(manifest.default.version);
136
136
  return 0;
137
137
  }
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  export { startPreviewServer } from './chunk-34ES2ICQ.js';
3
- export { defineConfig, loadConfig } from './chunk-Q35CGY2Z.js';
3
+ export { defineConfig, loadConfig } from './chunk-DL3NPC4H.js';
4
4
  import './chunk-T6RLHSCW.js';
5
5
  export { buildProject, reportBuild } from './chunk-CJIUP7A3.js';
6
6
  export { ModuleGraph, depFileName, detectSelfAccepting, optimizeDeps, scanDependencies, startDevServer } from './chunk-R6PMAMXA.js';
@@ -2,7 +2,7 @@
2
2
  // package.json
3
3
  var package_default = {
4
4
  name: "odoro",
5
- version: "0.3.3",
5
+ version: "1.0.0",
6
6
  type: "module",
7
7
  license: "UNLICENSED",
8
8
  author: "BouBouw",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "odoro",
3
- "version": "0.3.3",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "author": "BouBouw",
@@ -18,8 +18,7 @@
18
18
  "skipLibCheck": true,
19
19
  "paths": {
20
20
  "@/*": ["./src/*"]
21
- },
22
- "baseUrl": "."
21
+ }
23
22
  },
24
23
  "include": ["src", "odoro.config.ts"]
25
24
  }
@@ -18,7 +18,6 @@
18
18
  "noFallthroughCasesInSwitch": true,
19
19
 
20
20
  "skipLibCheck": true,
21
- "baseUrl": ".",
22
21
  "paths": {
23
22
  "@/*": ["./client/src/*"]
24
23
  }