Skip to content

Commit

Permalink
Init 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis authored Nov 19, 2021
1 parent 47c1918 commit b24e846
Show file tree
Hide file tree
Showing 19 changed files with 8,117 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
12 changes: 12 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"root": true,
"ignorePatterns": ["*.js"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {}
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,8 @@ dist

# TernJS port file
.tern-port


*.js
*.js.map
*.d.ts
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx pretty-quick --staged
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.ts
*.spec.ts
*.spec.js
!*.d.ts
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Add files here to ignore them from prettier formatting

/dist
/coverage
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
7 changes: 7 additions & 0 deletions executors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"currents": {
"implementation": "./src/executors/currents/currents.impl",
"schema": "./src/executors/cypress/schema.json",
"description": "Run Cypress e2e tests with Currents"
}
}
22 changes: 22 additions & 0 deletions generators.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Nx Currents",
"version": "0.1",
"schematics": {
"init": {
"factory": "./src/generators/init/init#currentsInitSchematic",
"schema": "./src/generators/init/schema.json",
"description": "Initialize the @currents/nx plugin",
"aliases": ["ng-add"],
"hidden": true
}
},
"generators": {
"init": {
"factory": "./src/generators/init/init#currentsInitGenerator",
"schema": "./src/generators/init/schema.json",
"description": "Initialize the @currents/nx plugin",
"aliases": ["ng-add"],
"hidden": true
}
}
}
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { currentsInitGenerator } from './src/generators/init/init';
Empty file added migrations.json
Empty file.
Loading

0 comments on commit b24e846

Please sign in to comment.