Skip to content

Commit

Permalink
nv-3687-consolidate-provider-npm-packages-into-a-single (#5453)
Browse files Browse the repository at this point in the history
* refactor(providers): combine all provider packages
Replace hydrate generator with nx gen for providers
  • Loading branch information
tatarco authored May 6, 2024
1 parent 9ee9da5 commit f64be41
Show file tree
Hide file tree
Showing 859 changed files with 4,944 additions and 16,486 deletions.
13 changes: 11 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,16 @@
"websockets",
"whatsapp",
"whatsappbusiness",
"parens"
"parens",
"Webpush",
"webpush",
"xkeysib",
"firestore",
"firsttris",
"esbenp",
"npmjs",
"maxage",
"unpublish"
],
"flagWords": [],
"patterns": [
Expand Down Expand Up @@ -730,6 +739,6 @@
".env.development",
".env.local",
".env.production",
".env.test",
".env.test"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,4 @@ docker/.env
# EE Symlinked folders - we need these for the EE build
# @TODO - find a way to remove the symlinks without breaking the build
!enterprise/packages/**/src
/.idea/jsLinters/eslint.xml
8 changes: 8 additions & 0 deletions .idea/nx-angular-config.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions _templates/provider/new/.czrc.ejs.t

This file was deleted.

7 changes: 0 additions & 7 deletions _templates/provider/new/.eslintrc.json.ejs.t

This file was deleted.

13 changes: 0 additions & 13 deletions _templates/provider/new/.gitignore.ejs.t

This file was deleted.

14 changes: 0 additions & 14 deletions _templates/provider/new/README.ejs.t

This file was deleted.

9 changes: 0 additions & 9 deletions _templates/provider/new/jest.config.js.ejs.t

This file was deleted.

82 changes: 0 additions & 82 deletions _templates/provider/new/package.ejs.t

This file was deleted.

13 changes: 0 additions & 13 deletions _templates/provider/new/prompt.js

This file was deleted.

5 changes: 0 additions & 5 deletions _templates/provider/new/src/index.ejs.t

This file was deleted.

36 changes: 0 additions & 36 deletions _templates/provider/new/src/lib/provider.ejs.t

This file was deleted.

11 changes: 0 additions & 11 deletions _templates/provider/new/src/lib/test.provider.spec.ejs.t

This file was deleted.

14 changes: 0 additions & 14 deletions _templates/provider/new/tsconfig.json.ejs.t

This file was deleted.

15 changes: 0 additions & 15 deletions _templates/provider/new/tsconfig.module.json.ejs.t

This file was deleted.

1 change: 0 additions & 1 deletion apps/webhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"strictNullChecks\": false}' TZ=UTC NODE_ENV=test E2E_RUNNER=true mocha --timeout 10000 --require ts-node/register --exit --file e2e/setup.ts src/**/**/*.spec.ts",
"test:e2e": "cross-env TS_NODE_COMPILER_OPTIONS='{\"strictNullChecks\": false}' TZ=UTC NODE_ENV=test E2E_RUNNER=true mocha --timeout 10000 --require ts-node/register --exit --file e2e/setup.ts e2e/**/*.e2e.ts src/**/*.e2e.ts"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# http://editorconfig.org
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
indent_size = 2
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
max_line_length = off
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions libs/automation/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
41 changes: 41 additions & 0 deletions libs/automation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
dist
tmp
/out-tsc

# dependencies
node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db

.nx/cache
4 changes: 4 additions & 0 deletions libs/automation/.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
/.nx/cache
28 changes: 28 additions & 0 deletions libs/automation/.verdaccio/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# path to a directory with all packages
storage: ../tmp/local-registry/storage

# a list of other known repositories we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
maxage: 60m

packages:
'**':
# give all users (including non-authenticated users) full access
# because it is a local registry
access: $all
publish: $all
unpublish: $all

# if package is not available locally, proxy requests to npm registry
proxy: npmjs

# log settings
logs:
type: stdout
format: pretty
level: warn

publish:
allow_offline: true # set offline to true to allow publish offline
3 changes: 3 additions & 0 deletions libs/automation/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["nrwl.angular-console", "esbenp.prettier-vscode", "firsttris.vscode-jest-runner"]
}
3 changes: 3 additions & 0 deletions libs/automation/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"eslint.validate": ["json"]
}
Loading

0 comments on commit f64be41

Please sign in to comment.