{"id":16773595,"url":"https://github.com/wkylin/ng-funs","last_synced_at":"2025-04-10T20:04:06.605Z","repository":{"id":145689274,"uuid":"133325024","full_name":"wkylin/ng-funs","owner":"wkylin","description":"Angular funs...","archived":false,"fork":false,"pushed_at":"2019-06-15T14:57:17.000Z","size":1397,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T17:51:54.423Z","etag":null,"topics":["angular","angular-cli","eslint","express","mock","pwa","typescript","webpack"],"latest_commit_sha":null,"homepage":"https://wkylin.github.io/ng-funs/#/home","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wkylin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-14T07:54:13.000Z","updated_at":"2019-08-29T03:08:10.000Z","dependencies_parsed_at":"2023-06-04T22:30:18.243Z","dependency_job_id":null,"html_url":"https://github.com/wkylin/ng-funs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-funs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-funs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-funs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkylin%2Fng-funs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkylin","download_url":"https://codeload.github.com/wkylin/ng-funs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248287929,"owners_count":21078811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-cli","eslint","express","mock","pwa","typescript","webpack"],"created_at":"2024-10-13T06:46:23.559Z","updated_at":"2025-04-10T20:04:06.597Z","avatar_url":"https://github.com/wkylin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Funs\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.0.\n\n## Development server\n\nRun `npm run mock:porxy` for a dev server. Navigate to `http://localhost:4204/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build \n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n\n\n## Demo\n\n1. [https://stackblitz.com/github/wkylin/ng-funs](https://stackblitz.com/github/wkylin/ng-funs)\n\n2. [https://github.com/wkylin/ng-funs](https://github.com/wkylin/ng-funs)\n\n## Update Angular 7.0\n参考： [https://update.angular.io/](https://update.angular.io/)\n\n## Update Angular6.0\n\n1. npm uninstall -g @angular/cli\n2. npm install -g @angular/cli\n3. npm install  @angular/cli\n4. ng update  @angular/cli\n5. ng update @angular/core\n6. ng update @angular/material\n7. ng add rxjs-compat || npm install rxjs-compat --save\n\n## Cygwin \n1. 安装Cygwin https://cygwin.com/\n2. C:\\cygwin64\\home\\UserName\n3. openssl genrsa -out key.pem 1024\n4. openssl req -new -key key.pem -out cert.csr\n5. openssl x509 -req -in cert.csr -signkey key.pem -out cert.pem\n6. http-server -S  -C cert.pem -K key.pem\n\n## Ngrok\n1. \"build\": \"ng build --prod\",\n2. \"http:server\": \"cd dist \u0026\u0026 http-server -p 9088\",\n3. \"ngr\": \"ngrok http 9088\",\n\n## Run \n1. mock:proxy\n2. build \u0026\u0026 express:data \u0026\u0026 cd dist/browser \u0026\u0026 http-server -p 8088 \u0026\u0026 ngrok http 8088\n\n## angular-json-server\n1. https://my-json-server.typicode.com/wkylin/angular-json-server\n\n\n## angular-cli-ghpages\n1. 调整angular.json \"outputPath\": \"dist/browser\" 为 \"outputPath\": \"dist\"\n2. ServiceWorkerModule.register('/ng-funs/ngsw-worker.js', {enabled: environment.production})\n3. build:ngh\n4. ngh\n5. https://wkylin.github.io/ng-funs/\n\n## Angular Doc\nhttps://angulardoc.org/repos/detail/github/133325024/angular2/%252F/summary\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkylin%2Fng-funs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkylin%2Fng-funs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkylin%2Fng-funs/lists"}