@odg/chemical-x 2.3.0 → 2.4.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.
- package/agents.md +1 -1
- package/package.json +9 -14
package/agents.md
CHANGED
|
@@ -127,7 +127,7 @@ import { BrowserManager, BasePage, BaseHandler, Container } from "@odg/chemical-
|
|
|
127
127
|
5. **`Container.loadModule()` antes de executar**: Sem essa chamada, classes registradas com `@ODGDecorators.injectable` não estarão disponíveis no container.
|
|
128
128
|
6. **Pages por intenção, não por URL**: Não assuma 1:1 entre URL e Page. Modele Pages pela responsabilidade/ação desejada.
|
|
129
129
|
7. **Handlers não agem — validam**: Handler nunca deve interagir com a page diretamente nem chamar outras Pages. Declara Solution ou lança Exception.
|
|
130
|
-
8. **Dependências de runtime**: `@odg/exception`, `inversify`
|
|
130
|
+
8. **Dependências de runtime**: `@odg/exception`, `inversify` são dependências obrigatórias em runtime.
|
|
131
131
|
9. **Ordem decorators**: `@ODGDecorators.injectable()` deve ser o primeiro decorator, ficando a cima de todos os demais para evitar criar container sem os demais decorators registrados.
|
|
132
132
|
|
|
133
133
|
## 📖 Detailed Documentation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odg/chemical-x",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Chemical-X Project It's the basis of everything",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,38 +37,33 @@
|
|
|
37
37
|
"author": "Dragons Gamers <https://www.linkedin.com/in/victor-alves-odgodinho>",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@odg/eslint-config": "^3.
|
|
41
|
-
"@odg/events": "^1.
|
|
40
|
+
"@odg/eslint-config": "^3.4.0",
|
|
41
|
+
"@odg/events": "^1.4.0",
|
|
42
42
|
"@odg/tsconfig": "^1.3.0",
|
|
43
43
|
"@types/node": ">=24",
|
|
44
|
-
"@vitest/coverage-istanbul": "^4.1.
|
|
44
|
+
"@vitest/coverage-istanbul": "^4.1.4",
|
|
45
45
|
"concurrently": "^9.2.1",
|
|
46
46
|
"playwright": "^1.59.1",
|
|
47
|
-
"puppeteer": "^24.
|
|
47
|
+
"puppeteer": "^24.41.0",
|
|
48
48
|
"reflect-metadata": "^0.2.2",
|
|
49
49
|
"rimraf": "^6.1.3",
|
|
50
50
|
"tsc-alias": "^1.8.16",
|
|
51
51
|
"typescript": "^5.9.3",
|
|
52
|
-
"vite": "^8.0.
|
|
53
|
-
"vitest": "^4.1.
|
|
52
|
+
"vite": "^8.0.8",
|
|
53
|
+
"vitest": "^4.1.4"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@inversifyjs/binding-decorators": "^3.0.0",
|
|
57
56
|
"@inversifyjs/strongly-typed": "^3.0.0",
|
|
58
|
-
"@odg/exception": "^1.
|
|
57
|
+
"@odg/exception": "^1.10.0",
|
|
59
58
|
"inversify": "^8.1.0"
|
|
60
59
|
},
|
|
61
60
|
"peerDependencies": {
|
|
62
|
-
"@inversifyjs/binding-decorators": "^2.0.0",
|
|
63
61
|
"@inversifyjs/strongly-typed": "^2.2.0",
|
|
64
|
-
"@odg/events": "^1.
|
|
62
|
+
"@odg/events": "^1.4.0",
|
|
65
63
|
"inversify": "^7.1.0",
|
|
66
64
|
"reflect-metadata": ">=0.2.2"
|
|
67
65
|
},
|
|
68
66
|
"peerDependenciesMeta": {
|
|
69
|
-
"@inversifyjs/binding-decorators": {
|
|
70
|
-
"optional": true
|
|
71
|
-
},
|
|
72
67
|
"@inversifyjs/strongly-typed": {
|
|
73
68
|
"optional": true
|
|
74
69
|
},
|