Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest SDK and use Webpack build pipeline #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 3 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
root = true

[*.{js,json}]
charset = utf-8
indent_style = tab
indent_size = 4

[{package.json}]
indent_style = space
indent_size = 2


[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
6 changes: 0 additions & 6 deletions .eslintrc

This file was deleted.

9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
extends: [
'axway/env-titanium',
'axway/+babel'
],
globals: {
global: 'readonly'
}
}
9 changes: 3 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.DS_Store
Resources
/Resources
/platform
/i18n
build.log
build
npm-debug.log
Expand All @@ -8,8 +10,3 @@ tmp
.project
.settings
Thumbs.db
/platform
/i18n
plugins/ti.alloy
node_modules/
retirejs.output.json
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"axway.vscode-titanium"
]
}
27 changes: 27 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"files.exclude": {
"build/": true,
"i18n/": true,
"platform/": true,
"Resources/": true,
"node_modules/": true,
"package-lock.json": true
},
"search.exclude": {
"build/": true,
"i18n/": true,
"platform/": true,
"Resources/": true,
"node_modules/": true,
"package-lock.json": true
},
"files.watcherExclude": {
"build/": true,
"i18n/": true,
"platform/": true,
"Resources/": true,
"node_modules/": true,
"package-lock.json": true
},
"git.ignoreLimitWarning": true
}
21 changes: 10 additions & 11 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
Copyright 2016 by Appcelerator
Copyright 2020 by Axway

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
## Kitchen Sink 2.0
## KitchenSink 2

This project gives an overview of native components available in Titanium.
The components are grouped into multiple groups and can be logged in the "Logs" tab.
It also includes full support for iOS, Android & Windows.
It also includes full support for iOS and Android.

![screenshot](screenshot.png)
![screenshot](preview.png)


### Features
- [x] Full ES6+ support
- [x] API Logging
- [x] Controls (Switch, Slider, Tabbed Bar, Text Field, Alerts, Dialogs, ...)
- [x] Views (Scroll View, List View, Image View, Blur View, Web View, ...)
- [x] Services (Twitter, Facebook)
- [x] Services (Facebook)
- [x] Platform (Clipboard, URL-Schemes, Hyperloop, Databases, Geolocation, Camera, Gallery, ...)
- [ ] TODO: More Platform APIs (HTTP-Requests, Contacts, ...)

Expand Down
1 change: 0 additions & 1 deletion app/alloy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import ActionBarHelper from 'actionbar';

Alloy.CFG.tabGroup = {};
Expand Down
4 changes: 1 addition & 3 deletions app/config.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"global": {
"styles": {
"tintColor": "#c91326"
"tintColor": "#C91326"
}
},
"env:development": {},
"env:test": {},
"env:production": {},
"os:android": {},
"os:blackberry": {},
"os:ios": {},
"os:mobileweb": {},
"os:windows": {},
"dependencies": {
"ti.androidfingerprintalertdialog": "1.0"
Expand Down
4 changes: 2 additions & 2 deletions app/controllers/phone/cameraGallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function openComponent(e) {
}

function showCamera(mediaTypes) {
require('/permissions').checkCameraPermission(success => {
require('@/permissions').checkCameraPermission(success => {
if (!success) {
alert('No permissions!');
return;
Expand Down Expand Up @@ -106,7 +106,7 @@ function saveToGallery() {
}

function openFromGallery() {
require('/permissions').checkCameraPermission(success => {
require('@/permissions').checkCameraPermission(success => {
if (!success) {
alert('No permissions!');
return;
Expand Down
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@titanium-sdk/app'
]
};
15 changes: 0 additions & 15 deletions build-ipa.sh

This file was deleted.

1 change: 1 addition & 0 deletions node_modules/.bin/acorn

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/alloy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/atob

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/browserslist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/errno

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/eslint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/esparse

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/esvalidate

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/js-yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/jsesc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/jsonlint

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/miller-rabin

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/mkdirp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/node-which

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/parser

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/regjsparser

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/rimraf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/sha.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/terser

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/webpack

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/xml2tss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading