Skip to content

Commit 67f562a

Browse files
OS-pedrogustavobilroandredestro
authored andcommitted
docs: fix incosistency
1 parent 01871cc commit 67f562a

File tree

78 files changed

+29146
-919
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+29146
-919
lines changed

example-app-spm/.browserslistrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Chrome >=79
2+
ChromeAndroid >=79
3+
Firefox >=70
4+
Edge >=79
5+
Safari >=14
6+
iOS >=14

example-app-spm/.eslintrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
'extends': [
7+
'plugin:react/recommended',
8+
'eslint:recommended'
9+
],
10+
parserOptions: {
11+
ecmaVersion: 2020
12+
},
13+
rules: {
14+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
16+
}
17+
}

example-app-spm/.gitignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/dist
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
/.vscode/*
21+
!/.vscode/extensions.json
22+
.idea
23+
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# Optional eslint cache
29+
.eslintcache

example-app-spm/CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
# [2.1.0](https://github.com/ionic-team/capacitor-barcode-scanner/compare/v2.0.4...v2.1.0) (2025-09-09)
7+
8+
9+
### Features
10+
11+
* Use hint and return barcode format ([#86](https://github.com/ionic-team/capacitor-barcode-scanner/issues/86)) ([e3de532](https://github.com/ionic-team/capacitor-barcode-scanner/commit/e3de532351db36674c4f0f372b705d299f63b785))
12+
13+
14+
15+
16+
17+
## [2.0.4](https://github.com/ionic-team/capacitor-barcode-scanner/compare/v2.0.3...v2.0.4) (2025-08-20)
18+
19+
### Performance improvements
20+
21+
* (android) Reduce memory consumption for ML Kit ([#82](https://github.com/ionic-team/capacitor-barcode-scanner/pull/82))
22+
23+
24+
25+
26+
27+
## [1.0.2](https://github.com/ionic-team/capacitor-barcode-scanner/compare/v1.0.1...v1.0.2) (2024-12-02)
28+
29+
30+
### Bug Fixes
31+
32+
* **example-app:** Set minSdkVersion version to 26 ([#9](https://github.com/ionic-team/capacitor-barcode-scanner/issues/9)) ([ddfb3e4](https://github.com/ionic-team/capacitor-barcode-scanner/commit/ddfb3e493713d49ac0dc7142da357d9c5f790958))
33+
34+
35+
36+
37+
38+
## [1.0.1](https://github.com/ionic-team/capacitor-barcode-scanner/compare/v1.0.0...v1.0.1) (2024-05-16)
39+
40+
41+
### Bug Fixes
42+
43+
* use defaults where needed ([59d9fc5](https://github.com/ionic-team/capacitor-barcode-scanner/commit/59d9fc5b1eb8fe65a3a1fd6d8cf361666d27154f))
44+
45+
46+
47+
48+
49+
# [1.0.0](https://github.com/ionic-team/capacitor-barcode-scanner/compare/v1.0.0-alpha.2...v1.0.0) (2024-04-16)
50+
51+
**Note:** Version bump only for package example-app
52+
53+
54+
55+
56+
57+
# [1.0.0-alpha.2](https://github.com/ionic-team/capacitor-barcode-scanner/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2024-04-16)
58+
59+
**Note:** Version bump only for package example-app
60+
61+
62+
63+
64+
65+
# 1.0.0-alpha.1 (2024-04-16)
66+
67+
68+
### Bug Fixes
69+
70+
* align native interfaces with web ([2895ff8](https://github.com/ionic-team/capacitor-barcode-scanner/commit/2895ff894d0a4a976afc32b4d34749cdae49054a))
71+
72+
73+
### Features
74+
75+
* **web:** Implement scanning on the web ([f1d1105](https://github.com/ionic-team/capacitor-barcode-scanner/commit/f1d11053996969790e7f468c024606cb61479b63))
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { CapacitorConfig } from '@capacitor/cli';
2+
3+
const config: CapacitorConfig = {
4+
appId: 'io.ionic.starter',
5+
appName: 'example-app',
6+
webDir: 'dist',
7+
server: {
8+
androidScheme: 'https'
9+
}
10+
};
11+
12+
export default config;

example-app-spm/cypress.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { defineConfig } from "cypress";
2+
3+
export default defineConfig({
4+
e2e: {
5+
baseUrl: "http://localhost:5173",
6+
setupNodeEvents(on, config) {
7+
// implement node event listeners here
8+
},
9+
},
10+
});
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
describe('My First Test', () => {
2+
it('Visits the app root url', () => {
3+
cy.visit('/')
4+
cy.contains('#container', 'Ready to create an app?')
5+
})
6+
})
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "Using fixtures to represent data",
3+
"email": "[email protected]",
4+
"body": "Fixtures are a great way to mock data for responses to routes"
5+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/// <reference types="cypress" />
2+
// ***********************************************
3+
// This example commands.ts shows you how to
4+
// create various custom commands and overwrite
5+
// existing commands.
6+
//
7+
// For more comprehensive examples of custom
8+
// commands please read more here:
9+
// https://on.cypress.io/custom-commands
10+
// ***********************************************
11+
//
12+
//
13+
// -- This is a parent command --
14+
// Cypress.Commands.add('login', (email, password) => { ... })
15+
//
16+
//
17+
// -- This is a child command --
18+
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
19+
//
20+
//
21+
// -- This is a dual command --
22+
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
23+
//
24+
//
25+
// -- This will overwrite an existing command --
26+
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
27+
//
28+
// declare global {
29+
// namespace Cypress {
30+
// interface Chainable {
31+
// login(email: string, password: string): Chainable<void>
32+
// drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
33+
// dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
34+
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
35+
// }
36+
// }
37+
// }
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// ***********************************************************
2+
// This example support/e2e.ts is processed and
3+
// loaded automatically before your test files.
4+
//
5+
// This is a great place to put global configuration and
6+
// behavior that modifies Cypress.
7+
//
8+
// You can change the location of this file or turn off
9+
// automatically serving support files with the
10+
// 'supportFile' configuration option.
11+
//
12+
// You can read more here:
13+
// https://on.cypress.io/configuration
14+
// ***********************************************************
15+
16+
// Import commands.js using ES2015 syntax:
17+
import './commands'
18+
19+
// Alternatively you can use CommonJS syntax:
20+
// require('./commands')

0 commit comments

Comments
 (0)