@ac-components/ac-input-basic 0.1.0 → 0.1.1

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/README.md +6 -5
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -69,11 +69,12 @@ El método `focus()` lleva el foco al campo interno.
69
69
  ## Desarrollo
70
70
 
71
71
  ```bash
72
- ac component:serve # o: pnpm --filter @ac-components/ac-input-basic component:serve — demo en http://localhost:5173
73
- ac component:test
74
- ac component:build
75
- ac component:test:e2e # funcional (WebdriverIO + Cucumber)
76
- ac component:test:e2e:a11y # accesibilidad (axe-core)
72
+ aclit component:lint
73
+ aclit component:serve # o: pnpm --filter @ac-components/ac-input-basic component:serve — demo en http://localhost:5173
74
+ aclit component:test
75
+ aclit component:build
76
+ aclit component:test:e2e # funcional (WebdriverIO + Cucumber)
77
+ aclit component:test:e2e:a11y # accesibilidad (axe-core)
77
78
  ```
78
79
 
79
80
  > `src/input-basic.styles.js` se genera a partir de `src/input-basic.styles.scss` (`component:build:styles`, corre automáticamente antes de `component:serve`/`component:build`/`component:test`) y no se versiona en git. Durante `component:serve` queda además en modo watch: cada guardado de `.scss` lo recompila y Vite recarga el navegador solo, sin reiniciar nada.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ac-components/ac-input-basic",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "ac-lit text input Web Component",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@ac-base/ac-core": "^0.1.0",
29
- "@ac-base/ac-demo-content": "^0.1.0",
29
+ "@ac-base/ac-demo-content": "^0.1.1",
30
30
  "@ac-base/ac-e2e-testing": "^0.1.0",
31
- "@ac-base/cli": "^0.1.0",
31
+ "@ac-base/cli": "^0.2.0",
32
32
  "@open-wc/testing": "^4.0.0",
33
33
  "@web/test-runner": "^0.18.0",
34
34
  "concurrently": "^9.1.0",
@@ -37,6 +37,7 @@
37
37
  "vite": "^5.4.8"
38
38
  },
39
39
  "scripts": {
40
+ "component:lint": "eslint .",
40
41
  "component:build:styles": "node ./node_modules/@ac-base/cli/scripts/compile-scss-to-lit.cjs src/input-basic.styles.scss src/input-basic.styles.js InputBasicStyles",
41
42
  "component:build:styles:watch": "node ./node_modules/@ac-base/cli/scripts/compile-scss-to-lit.cjs src/input-basic.styles.scss src/input-basic.styles.js InputBasicStyles --watch",
42
43
  "component:serve": "pnpm run component:build:styles && concurrently -k -n styles,vite -c blue,green \"pnpm run component:build:styles:watch\" \"vite demo\"",