Skip to content

Commit 9e812d7

Browse files
committed
Initial commit
0 parents  commit 9e812d7

26 files changed

+8866
-0
lines changed

Diff for: .circleci/config.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/mern-starter
5+
docker:
6+
- image: circleci/node:latest
7+
steps:
8+
- checkout
9+
- restore_cache:
10+
key: dependency-cache-{{ checksum "package.json" }}
11+
- run:
12+
name: Install npm dependencies
13+
command: npm ci
14+
- save_cache:
15+
key: dependency-cache-{{ checksum "package.json" }}
16+
paths:
17+
- ./node_modules
18+
- run:
19+
name: Build
20+
command: npm run build
21+
- run:
22+
name: Test
23+
command: npm run test
24+
# TODO
25+
# - run:
26+
# name: Report coverage
27+
# command: npm run cover

Diff for: .eslintignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# From the .gitignore
2+
coverage
3+
dist
4+
node_modules
5+
*.log

Diff for: .eslintrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const configs = require("@snowcoders/renovate-config");
2+
3+
module.exports = configs.eslint;

Diff for: .gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/index.js text eol=lf

Diff for: .gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Locally generated files
2+
coverage
3+
dist
4+
node_modules
5+
*.log

Diff for: .huskyrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const configs = require("@snowcoders/renovate-config");
2+
3+
module.exports = configs.husky;

Diff for: .lintstagedrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const configs = require("@snowcoders/renovate-config");
2+
3+
module.exports = configs.lintStaged;

Diff for: .npmignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# From the .gitignore
2+
coverage
3+
node_modules
4+
*.log
5+
6+
# Github specific folders
7+
.circleci
8+
.github
9+
docs
10+
11+
# Developer Tools
12+
.vscode
13+
14+
# Source code not needed for package
15+
.gitattributes
16+
/src
17+
/.*ignore
18+
/*rc.js
19+
/*rc
20+
/*.dockerfile
21+
/*.json

Diff for: .prettierrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const configs = require("@snowcoders/renovate-config");
2+
3+
module.exports = configs.prettier;

Diff for: .sortierignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# From the .gitignore file
2+
coverage
3+
dist
4+
node_modules
5+
*.log

Diff for: .sortierrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const configs = require("@snowcoders/renovate-config");
2+
3+
module.exports = configs.sortier;

Diff for: .vscode/launch.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"configurations": [
6+
{
7+
"args": [
8+
"--runInBand",
9+
"--coverage",
10+
"false",
11+
"--findRelatedTests",
12+
"${relativeFile}"
13+
],
14+
"console": "integratedTerminal",
15+
"cwd": "${workspaceRoot}",
16+
"internalConsoleOptions": "neverOpen",
17+
"name": "Debug Relative Jest Tests",
18+
"program": "${workspaceRoot}/node_modules/jest/bin/jest",
19+
"request": "launch",
20+
"sourceMaps": true,
21+
"type": "node"
22+
},
23+
{
24+
"args": [],
25+
"cwd": "${workspaceRoot}",
26+
"name": "Debug app",
27+
"outFiles": [],
28+
"preLaunchTask": "npm: build",
29+
"program": "${workspaceRoot}/bin/index",
30+
"request": "launch",
31+
"runtimeArgs": ["--nolazy"],
32+
"sourceMaps": true,
33+
"type": "node"
34+
}
35+
],
36+
"version": "0.2.0"
37+
}

Diff for: .vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "node_modules\\typescript\\lib"
3+
}

Diff for: LICENSE

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

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Snowcoders CLI Scaffold
2+
3+
This represents the base of all of Snowcoder's CLI projects

Diff for: bin/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env node
2+
3+
"use strict";
4+
5+
return require("../dist/cli").run(process.argv.slice(2));

Diff for: changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
### Unreleased

Diff for: jest.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const configs = require("@snowcoders/renovate-config");
2+
3+
module.exports = configs.jest;

0 commit comments

Comments
 (0)