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

Next #24

Merged
merged 93 commits into from
Nov 30, 2018
Merged

Next #24

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
0902013
feat: initial GitHub release
Nov 7, 2018
4127c3a
feat: implement
Nov 7, 2018
ed3444f
feat: add cli to npm, update configs and CI
Nov 7, 2018
f8ffc12
fix: update ci config
Nov 7, 2018
1310bfd
fix: ci, try global
Nov 7, 2018
6777d25
fix: fix ci config
Nov 7, 2018
039472e
fix: tweak ci
Nov 7, 2018
d41f9eb
fix: tweaks
Nov 7, 2018
2ef6abd
fix: ahh tweaks
Nov 7, 2018
f15c173
fix: try to use itself for publishing
Nov 7, 2018
22ca68f
fix: trigger
Nov 7, 2018
c140c0c
fix: try org-global again
Nov 7, 2018
403e609
fix: no git tag on npm version
Nov 7, 2018
c3ee6b0
feat: cleanup, install itself as Github App to itself
Nov 7, 2018
700b476
chore: debugging
Nov 7, 2018
4e7e1f4
chore: trigger
Nov 7, 2018
7665f67
fix: octokit getContent returns {data, meta}
Nov 7, 2018
97d0478
fix: foo bar
Nov 7, 2018
388cfee
feat: few robot logs and add deploy npm script
Nov 7, 2018
da4e7df
fix: hmmm
Nov 7, 2018
232ad7b
fix: use npm registry instread of unpkg
Nov 7, 2018
47110c5
fix: tweaks
Nov 7, 2018
6260db2
fix: fooo bar baz
Nov 7, 2018
5893971
fix: quuuuuuuuuuuuuxxxxx
Nov 7, 2018
a19e1fa
fix: tweaks
Nov 7, 2018
c196f6f
feat: back to unpkg
Nov 7, 2018
b902a62
feat: lint... dooooooooh
Nov 7, 2018
49c12bd
feat: all commits since last tag
Nov 7, 2018
327b59f
feat: better ensurance
Nov 7, 2018
9863458
feat: dooooh, npm sucks
Nov 7, 2018
208ee66
fix: debugging output each commit
Nov 7, 2018
9274f3e
fix: debugginggggggggg
Nov 7, 2018
d634581
feat: should completely work now
Nov 7, 2018
485d1cb
feat: update the rendering and activate Github Now
Nov 7, 2018
e75d73b
fix: tune commits since, disable Now
Nov 8, 2018
11987f1
fix: tweak render
Nov 8, 2018
6e91037
fix: trigger
Nov 8, 2018
16861d7
feat: cleanup and update cli
Nov 8, 2018
ae03c35
fix: cleanup
Nov 8, 2018
79989df
fix: tweaks for commit data in rendering
Nov 9, 2018
95fcb5d
feat: rendering tweaks and redeploy to Now
Nov 9, 2018
9207bc3
fix: rendering tweaks
Nov 9, 2018
f1c9c2d
feat: tweaks, cli is already externalized
Nov 12, 2018
0fbd2b5
feat: add now.json (try v2)
Nov 12, 2018
f660f8e
fix: trig
Nov 12, 2018
b691776
chore: update now
Nov 12, 2018
9e5e71f
fix: tweaks
Nov 12, 2018
879942d
feat: updates for the v3 parse-commit-message
Nov 12, 2018
bc6f5fe
fix: doh tweaks for now
Nov 12, 2018
0e8a75e
chore: cleanup
Nov 12, 2018
2b298e4
fix: rendering tweaks
Nov 12, 2018
c181183
fix: last rendering tweaks
Nov 12, 2018
9eebd5d
fix: ok ok ok
Nov 12, 2018
546fcc8
feat(doh): this not make any sense, damn!?!
Nov 12, 2018
6d5d464
feat: replace itself with the new-release app
Nov 12, 2018
74878b8
fix: update badges, re-activate Now GitHub
Nov 12, 2018
44203c5
fix: try Now v2 again
Nov 13, 2018
fc97657
fix: re-add envs
Nov 13, 2018
2df2fd3
fix: switch back to Now v1
Nov 13, 2018
58a7b2f
fix: reverse the status check logics
Nov 14, 2018
a7be693
fix: tweaks
Nov 14, 2018
2d4ebd2
fix: switch to Now v2, again
Nov 18, 2018
17d093d
fix: update min required node version
Nov 18, 2018
d6cae60
fix: try versioning of Now builders
Nov 18, 2018
7291ec0
fix: decrease @now/node to 0.4.22
Nov 18, 2018
d662302
fix: try @now/node 0.4.24
Nov 18, 2018
6974f1a
fix: try @now/node 0.4.20
Nov 18, 2018
9f28230
fix: switch back to Now v1 (because https://github.com/zeit/ncc/issue…
Nov 18, 2018
1a3e811
fix: update docs
Nov 18, 2018
1003ae1
fix: update docs
Nov 18, 2018
cb4e3ca
fix: try again Now v2
Nov 28, 2018
08adddf
fix: update deps
Nov 28, 2018
d0ebc34
feat: run update, update Now config
Nov 29, 2018
67a111f
fix: update deps (latest possible aws nodejs is v8.10)
Nov 29, 2018
309e5a8
chore: Update issue templates
Nov 29, 2018
055bd0a
feat: rebranding to
Nov 29, 2018
40875db
chore: Merge github.com:standard-release/app
Nov 29, 2018
2f2fc2f
feat: rebranding
Nov 29, 2018
03d82e7
fix: trigger, force update circleci
Nov 29, 2018
07f05b3
chore: retrigger
Nov 29, 2018
92f8a5f
chore: triggerrrrrrrrrrr
Nov 29, 2018
fe3cff0
chore: doh ci
Nov 29, 2018
a54a010
fix: triggerrrrrrrrrrr
Nov 30, 2018
c85fef1
chore: finally working circleci?
Nov 30, 2018
35147d7
chore: dooooooh
Nov 30, 2018
2af848b
fix: add deploy job to ci
Nov 30, 2018
0295259
fix: remove deploy job
Nov 30, 2018
d27209e
fix: chore: duh doh
Nov 30, 2018
326460a
feat: cleanup and bump deps
Nov 30, 2018
9e9c828
fix: update license start year to 2017
Nov 30, 2018
81e6804
chore: resolve merge conflicts
Nov 30, 2018
da3bfa6
chore: again to Now v1
Nov 30, 2018
3a01d13
chore: small tweak for the v2 confgi
Nov 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
{
"projectName": "sr-app",
"projectName": "release",
"projectOwner": "tunnckoCore",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"CONTRIBUTORS.md"
"README.md"
],
"imageSize": 100,
"commit": true,
"imageSize": 120,
"commit": false,
"contributorsPerLine": 6,
"contributors": [
{
"login": "olstenlarck",
"login": "tunnckoCore",
"name": "Charlike Mike Reagent",
"avatar_url": "https://avatars3.githubusercontent.com/u/5038030?v=4",
"profile": "https://charlike.online",
"profile": "https://tunnckocore.com",
"contributions": [
"question",
"code",
"doc",
"question",
"review",
"test"
"fundingFinding"
]
}
]
Expand Down
186 changes: 129 additions & 57 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,85 +1,157 @@
version: 2

defaults: &defaults
working_directory: ~/sr-app
workdir: &workdir
working_directory: ~/repo

# node8osx: &node8osx
# <<: *workdir
# macos:
# xcode: "9.2"

# node10osx: &node10osx
# <<: *workdir
# macos:
# xcode: "9"

node8linux: &node8linux
<<: *workdir
docker:
- image: circleci/node:8

node10linux: &node10linux
<<: *workdir
docker:
- image: circleci/node:10

restore_modules_cache: &restore_modules_cache
restore_cache:
keys:
- sr-app-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- sr-app-
- repo-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- repo-

# jobinstall: &jobinstall
# steps:
# - checkout
# # - *restore_modules_cache
# - run:
# name: Installing PNPM package manager
# command: sudo npm i -g pnpm
# - run:
# name: Installing project dependencies
# command: pnpm run inst
# - save_cache:
# key: repo-{{ checksum "yarn.lock" }}
# paths: node_modules
# - run:
# name: Remove node_modules to cleanup workspace
# command: rm -rf node_modules

jobtest: &jobtest
steps:
- checkout
- *restore_modules_cache
- run:
name: Installing project dependencies
command: yarn install --prefer-offline || yarn install
- run:
name: Checking and linting
command: |-
yarn add --dev eslint-config-tunnckocore@next eslint prettier &&
yarn scripts lint &&
yarn remove eslint-config-tunnckocore eslint prettier
- run:
name: Testing your project
command: yarn global add nyc && yarn scripts test
- save_cache:
key: repo-{{ checksum "yarn.lock" }}
paths: node_modules
- run:
name: Sending test coverage to CodeCov
command: bash <(curl -s https://codecov.io/bash)

jobs:
install:
<<: *defaults
steps:
- checkout
- *restore_modules_cache
- run:
name: Installing Dependencies
command: yarn install
- save_cache:
key: sr-app-{{ checksum "yarn.lock" }}
paths: node_modules
- run:
name: Remove node_modules to cleanup workspace
command: rm -rf node_modules
# install-node8linux:
# <<: *node8linux
# <<: *jobinstall

test:
<<: *defaults
steps:
- checkout
- *restore_modules_cache
- run:
name: Running tests and checks
command: yarn test
- run:
name: Sending test coverage to CodeCov
command: bash <(curl -s https://codecov.io/bash)
test-node8linux:
<<: *node8linux
<<: *jobtest

build:
<<: *defaults
steps:
- checkout
- *restore_modules_cache
- run:
name: Creating distributable files
command: echo ok
- store_artifacts:
path: dist
destination: sr-app
# install-node10linux:
# <<: *node10linux
# <<: *jobinstall

test-node10linux:
<<: *node10linux
<<: *jobtest

# install-node8osx:
# <<: *node8osx
# <<: *jobinstall

# test-node8osx:
# <<: *node8osx
# <<: *jobtest

# install-node10osx:
# <<: *node10osx
# <<: *jobinstall

# test-node10osx:
# <<: *node10osx
# <<: *jobtest

publish:
<<: *defaults
<<: *node10linux
steps:
- checkout
- *restore_modules_cache
- run:
name: Trying to deploy
command: yarn start release
name: Bundling your awesome project
command: yarn scripts build || echo "No build step."
- run:
name: Releasing and publishing
command: |-
yarn global add @tunnckocore/release-cli &&
yarn scripts release

workflows:
version: 2
automated:
jobs:
- install
- test:
requires:
- install
- build:
filters:
branches:
only: master
requires:
- test
# Linux
- test-node8linux
- test-node10linux

# - install-node8linux
# - test-node8linux:
# requires:
# - install-node8linux
# - install-node10linux
# - test-node10linux:
# requires:
# - install-node10linux
# OSX
# - install-node8osx
# - test-node8osx:
# requires:
# - install-node8osx
# - install-node10osx
# - test-node10osx:
# requires:
# - install-node10osx

# Release and NPM publish
# Executed only on master
- publish:
requires:
# - test-node8osx
# - test-node10osx
- test-node8linux
- test-node10linux
filters:
branches:
only: master
requires:
- build
context: org-global
# context: org-global
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# http://editorconfig.org/
root = true

[*]
[*.{js,mjs,jsx,ts,tsx}]
indent_style = space
indent_size = 2
charset = utf-8
Expand Down
87 changes: 43 additions & 44 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
# Always-ignore dirs #
# ####################
_gh_pages
node_modules
jspm_packages
bower_components
vendor
build
dest
dist
lib-cov
coverage
.nyc_output
nyc_output
nbproject
cache
temp
tmp
release

# npm >=5 lock file (& shrinkwrap), we use Yarn!
# Lockfiles. We use Yarn (https://yarnpkg.com/)
package-lock.json
npm-shrinkwrap.json
shrinkwrap.yaml

# Typescript v1 declaration files
typings/

# Packages #
# Archives and packages #
# ##########
*.7z
*.dmg
Expand All @@ -47,47 +29,64 @@ logs
*.sqlite
*~
~*
.DS_Store*

# dotenv environment variables file
.env
.pem
*.pem

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Editors
*.idea
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Another files #
# ###############
Icon?
.DS_Store*
Thumbs.db
ehthumbs.db
Desktop.ini
.directory
._*
lcov.info
# Coverage directory used by tools like istanbul
coverage

# Runtime data
pids
*.pid
*.seed
*.pid.lock
# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Optional eslint cache
.eslintcache
# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# The `@std/esm` package cache
.esm-cache

# dotenv environment variables file
.env

# next.js build output
.next
13 changes: 0 additions & 13 deletions .eslintrc

This file was deleted.

Loading