@simple-reporting/base 1.0.1 → 1.0.2

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/README.md CHANGED
@@ -21,3 +21,17 @@ Run dev server:
21
21
  Build all required files.
22
22
 
23
23
  > npm run build
24
+
25
+ ## Important CLI commands
26
+
27
+ | Command | Description |
28
+ |----------------------------------------------------------|--------------------------------------------------------------------------------|
29
+ | `npm install` | Installs all packages listed in `package.json` |
30
+ | `npm run dev` | Starts the development environment including SCSS and JS watcher (Live Reload) |
31
+ | `npm run build` | Generates all CSS and JS files and ZIP packages in `.output` |
32
+ | `npx @simple-reporting/base create component` | Creates a component |
33
+ | `npx @simple-reporting/base add components` | Adds predefined components |
34
+ | `npx @simple-reporting/base remove components` | Removes one or more components |
35
+ | `npx @simple-reporting/base add groups` | Adds predefined groups and their components |
36
+ | `npx @simple-reporting/base remove groups` | Removes one or more groups |
37
+
package/dev/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "postinstall": "srl prepare"
20
20
  },
21
21
  "dependencies": {
22
- "@simple-reporting/base": "^1.0.1",
22
+ "@simple-reporting/base": "^1.0.2",
23
23
  "axios": "^1.9.0",
24
24
  "chalk": "^5.4.1",
25
25
  "exceljs": "^4.4.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simple-reporting/base",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Manage srl templates, build and publish",
5
5
  "bin": {
6
6
  "srl": "cli.js"
@@ -354,8 +354,8 @@ async function writeComponent(group, name) {
354
354
  await mkdirSync(join(folders.ld, group, name, 'scss'));
355
355
  await writeFileSync(
356
356
  join(folders.ld, group, name, `${name}.html`),
357
- `<p class="srl-${name} srl-article__grid srl-article__grid--content">
358
- <span class="srl-article__grid--inner" doc-editable="text">
357
+ `<p class="srl-grid srl-${name} srl-linkable">
358
+ <span class="srl-grid__inner srl-${name}__text" doc-editable="paragraph">
359
359
  Editable Text
360
360
  </span>
361
361
  </p>