Skip to content

Commit f723c1a

Browse files
authored
Merge pull request #1 from creativetimofficial/feature/v1.0.0
Feature: v1.0.0
2 parents ab9d1d5 + aff7655 commit f723c1a

File tree

117 files changed

+8769
-942
lines changed

Some content is hidden

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

117 files changed

+8769
-942
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Autocloser
2+
on: [issues]
3+
jobs:
4+
autoclose:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Issue auto-closer
8+
uses: roots/[email protected]
9+
with:
10+
repo-token: ${{ secrets.GITHUB_TOKEN }}
11+
issue-close-message: "@${issue.user.login} this issue was automatically closed because it did not follow our rules:\n\n<pre>\n\n\n\nIMPORTANT: Please use the following link to create a new issue:\n\nhttps://www.creative-tim.com/new-issue/tailwind-webapp-angular?ref=twa-new-issue\n\n**If your issue was not created using the app above, it will be closed immediately.**\n\n\n\nLove Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:\n👉 https://www.creative-tim.com/bundles\n👉 https://www.creative-tim.com\n\n\n</pre>\n\n"
12+
issue-pattern: (\#\#\# Version([\S\s.*]*?)\#\#\# Reproduction link([\S\s.*]*?)\#\#\# Operating System([\S\s.*]*?)\#\#\# Device([\S\s.*]*?)\#\#\# Browser & Version([\S\s.*]*?)\#\#\# Steps to reproduce([\S\s.*]*?)\#\#\# What is expected([\S\s.*]*?)\#\#\# What is actually happening([\S\s.*]*?)---([\S\s.*]*?)\#\#\# Solution([\S\s.*]*?)\#\#\# Additional comments([\S\s.*]*?)\<\!-- generated by creative-tim-issues\. DO NOT REMOVE --\>)|(\#\#\# What is your enhancement([\S\s.*]*?)\<\!-- generated by creative-tim-issues\. DO NOT REMOVE --\>)

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw?
22+
23+
package-lock.json

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Change Log
2+
3+
## [1.0.0] 2020-09-29
4+
### Original Release
5+
- Started project from [Tailwind Starter Kit by Creative Tim](https://www.creative-tim.com/learning-lab/tailwind-starter-kit/presentation?ref=twa-changelog)
6+
- Added design from Tailwind Starter Kit by Creative Tim

ISSUE_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--
2+
IMPORTANT: Please use the following link to create a new issue:
3+
4+
https://www.creative-tim.com/new-issue/tailwind-webapp-angular?ref=twa-new-issue
5+
6+
**If your issue was not created using the app above, it will be closed immediately.**
7+
-->
8+
9+
<!--
10+
Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
11+
👉 https://www.creative-tim.com/bundles?ref=twa-issue-template
12+
👉 https://www.creative-tim.com?ref=twa-issue-template
13+
-->

LICENSE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Creative Tim (https://www.creative-tim.com?ref=twa-license)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 254 additions & 159 deletions
Large diffs are not rendered by default.

angular.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"angular-landing-page": {
6+
"tailwind-webapp-angular": {
77
"projectType": "application",
88
"schematics": {},
99
"root": "",
@@ -14,7 +14,7 @@
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
1616
"allowedCommonJsDependencies": [ "chart.js" ],
17-
"outputPath": "dist/angular-landing-page",
17+
"outputPath": "dist/tailwind-webapp-angular",
1818
"index": "src/index.html",
1919
"main": "src/main.ts",
2020
"polyfills": "src/polyfills.ts",
@@ -26,7 +26,8 @@
2626
],
2727
"styles": [
2828
"src/styles.css",
29-
"node_modules/@fortawesome/fontawesome-free/css/all.min.css"
29+
"node_modules/@fortawesome/fontawesome-free/css/all.min.css",
30+
"src/assets/styles/tailwind.css",
3031
],
3132
"scripts": []
3233
},
@@ -65,18 +66,18 @@
6566
"serve": {
6667
"builder": "@angular-devkit/build-angular:dev-server",
6768
"options": {
68-
"browserTarget": "angular-landing-page:build"
69+
"browserTarget": "tailwind-webapp-angular:build"
6970
},
7071
"configurations": {
7172
"production": {
72-
"browserTarget": "angular-landing-page:build:production"
73+
"browserTarget": "tailwind-webapp-angular:build:production"
7374
}
7475
}
7576
},
7677
"extract-i18n": {
7778
"builder": "@angular-devkit/build-angular:extract-i18n",
7879
"options": {
79-
"browserTarget": "angular-landing-page:build"
80+
"browserTarget": "tailwind-webapp-angular:build"
8081
}
8182
},
8283
"test": {
@@ -113,15 +114,15 @@
113114
"builder": "@angular-devkit/build-angular:protractor",
114115
"options": {
115116
"protractorConfig": "e2e/protractor.conf.js",
116-
"devServerTarget": "angular-landing-page:serve"
117+
"devServerTarget": "tailwind-webapp-angular:serve"
117118
},
118119
"configurations": {
119120
"production": {
120-
"devServerTarget": "angular-landing-page:serve:production"
121+
"devServerTarget": "tailwind-webapp-angular:serve:production"
121122
}
122123
}
123124
}
124125
}
125126
}},
126-
"defaultProject": "angular-landing-page"
127+
"defaultProject": "tailwind-webapp-angular"
127128
}

e2e/protractor.conf.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,31 @@
22
// Protractor configuration file, see link for more information
33
// https://github.com/angular/protractor/blob/master/lib/config.ts
44

5-
const { SpecReporter } = require('jasmine-spec-reporter');
5+
const { SpecReporter } = require("jasmine-spec-reporter");
66

77
/**
88
* @type { import("protractor").Config }
99
*/
1010
exports.config = {
1111
allScriptsTimeout: 11000,
12-
specs: [
13-
'./src/**/*.e2e-spec.ts'
14-
],
12+
specs: ["./src/**/*.e2e-spec.ts"],
1513
capabilities: {
16-
browserName: 'chrome'
14+
browserName: "chrome",
1715
},
1816
directConnect: true,
19-
baseUrl: 'http://localhost:4200/',
20-
framework: 'jasmine',
17+
baseUrl: "http://localhost:4200/",
18+
framework: "jasmine",
2119
jasmineNodeOpts: {
2220
showColors: true,
2321
defaultTimeoutInterval: 30000,
24-
print: function() {}
22+
print: function () {},
2523
},
2624
onPrepare() {
27-
require('ts-node').register({
28-
project: require('path').join(__dirname, './tsconfig.json')
25+
require("ts-node").register({
26+
project: require("path").join(__dirname, "./tsconfig.json"),
2927
});
30-
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
31-
}
32-
};
28+
jasmine
29+
.getEnv()
30+
.addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
31+
},
32+
};

e2e/src/app.e2e-spec.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
import { AppPage } from './app.po';
2-
import { browser, logging } from 'protractor';
1+
import { AppPage } from "./app.po";
2+
import { browser, logging } from "protractor";
33

4-
describe('workspace-project App', () => {
4+
describe("workspace-project App", () => {
55
let page: AppPage;
66

77
beforeEach(() => {
88
page = new AppPage();
99
});
1010

11-
it('should display welcome message', () => {
11+
it("should display welcome message", () => {
1212
page.navigateTo();
13-
expect(page.getTitleText()).toEqual('angular-landing-page app is running!');
13+
expect(page.getTitleText()).toEqual("tailwind-webapp-angular app is running!");
1414
});
1515

1616
afterEach(async () => {
1717
// Assert that there are no errors emitted from the browser
1818
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19-
expect(logs).not.toContain(jasmine.objectContaining({
20-
level: logging.Level.SEVERE,
21-
} as logging.Entry));
19+
expect(logs).not.toContain(
20+
jasmine.objectContaining({
21+
level: logging.Level.SEVERE,
22+
} as logging.Entry)
23+
);
2224
});
2325
});

e2e/src/app.po.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
import { browser, by, element } from 'protractor';
1+
import { browser, by, element } from "protractor";
22

33
export class AppPage {
44
navigateTo() {
55
return browser.get(browser.baseUrl) as Promise<any>;
66
}
77

88
getTitleText() {
9-
return element(by.css('app-root .content span')).getText() as Promise<string>;
9+
return element(by.css("app-root .content span")).getText() as Promise<
10+
string
11+
>;
1012
}
1113
}

0 commit comments

Comments
 (0)