@voxgig/sdkgen-infrapack 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.sdk/model/target/seneca-provider.aon +120 -0
- package/.sdk/src/cmp/seneca-provider/Extras_seneca-provider.ts +4362 -0
- package/.sdk/src/cmp/seneca-provider/Gitignore_seneca-provider.ts +161 -0
- package/.sdk/src/cmp/seneca-provider/Main_seneca-provider.ts +1295 -0
- package/.sdk/tm/seneca-provider/CODE_OF_CONDUCT.md +132 -0
- package/.sdk/tm/seneca-provider/LICENSE +21 -0
- package/.sdk/tm/seneca-provider/Makefile +15 -0
- package/.sdk/tm/seneca-provider/src/tsconfig.json +18 -0
- package/.sdk/tm/seneca-provider/test/tsconfig.json +16 -0
- package/.sdk/tm/seneca-provider/tsfmt.json +3 -0
- package/LICENSE +21 -0
- package/README.md +123 -0
- package/package.json +98 -0
- package/sdkgen-package.json +18 -0
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
// The provider repo's `.gitignore` — GENERATED, not templated, and it has
|
|
2
|
+
// to be.
|
|
3
|
+
//
|
|
4
|
+
// npm NEVER publishes a file named `.gitignore`. It sits on npm's own
|
|
5
|
+
// always-excluded list, and naming the parent directory in package.json
|
|
6
|
+
// `files` does not override it: `npm pack --dry-run` on this package omits
|
|
7
|
+
// `project/.sdk/tm/seneca-provider/.gitignore` while shipping every sibling
|
|
8
|
+
// in that folder. So the template worked from a checkout and reached NOBODY
|
|
9
|
+
// who installed @voxgig/sdkgen from the registry — their generated provider
|
|
10
|
+
// had no ignore file, and the very first regeneration left the repo dirty
|
|
11
|
+
// with the `.jostraca/` output duplicate this content exists to hide.
|
|
12
|
+
//
|
|
13
|
+
// Every one of the 23 language targets already emits its `.gitignore` from a
|
|
14
|
+
// `Gitignore_<lang>.ts` for this same reason. seneca-provider was the only
|
|
15
|
+
// target still doing it with a template, and the only one npm could break.
|
|
16
|
+
//
|
|
17
|
+
// `packaging.test.ts` asks npm directly whether every shipped file survives
|
|
18
|
+
// packing, so the next dotfile added to the scaffold cannot repeat this.
|
|
19
|
+
//
|
|
20
|
+
// The content below is the template's, byte for byte. It carried no
|
|
21
|
+
// placeholder, so nothing about `stdrep` substitution changes by moving it.
|
|
22
|
+
|
|
23
|
+
import {
|
|
24
|
+
Content,
|
|
25
|
+
File,
|
|
26
|
+
cmp,
|
|
27
|
+
} from '@voxgig/sdkgen'
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
const Gitignore = cmp(async function Gitignore(_props: any) {
|
|
31
|
+
File({ name: '.gitignore' }, () => {
|
|
32
|
+
Content(`# Logs
|
|
33
|
+
logs
|
|
34
|
+
*.log
|
|
35
|
+
npm-debug.log*
|
|
36
|
+
yarn-debug.log*
|
|
37
|
+
yarn-error.log*
|
|
38
|
+
lerna-debug.log*
|
|
39
|
+
|
|
40
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
41
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
42
|
+
|
|
43
|
+
# Runtime data
|
|
44
|
+
pids
|
|
45
|
+
*.pid
|
|
46
|
+
*.seed
|
|
47
|
+
*.pid.lock
|
|
48
|
+
|
|
49
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
50
|
+
lib-cov
|
|
51
|
+
|
|
52
|
+
# Coverage directory used by tools like istanbul
|
|
53
|
+
coverage
|
|
54
|
+
*.lcov
|
|
55
|
+
|
|
56
|
+
# nyc test coverage
|
|
57
|
+
.nyc_output
|
|
58
|
+
|
|
59
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
60
|
+
.grunt
|
|
61
|
+
|
|
62
|
+
# Bower dependency directory (https://bower.io/)
|
|
63
|
+
bower_components
|
|
64
|
+
|
|
65
|
+
# node-waf configuration
|
|
66
|
+
.lock-wscript
|
|
67
|
+
|
|
68
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
69
|
+
build/Release
|
|
70
|
+
|
|
71
|
+
# Dependency directories
|
|
72
|
+
node_modules/
|
|
73
|
+
jspm_packages/
|
|
74
|
+
|
|
75
|
+
# TypeScript v1 declaration files
|
|
76
|
+
typings/
|
|
77
|
+
|
|
78
|
+
# TypeScript cache
|
|
79
|
+
*.tsbuildinfo
|
|
80
|
+
|
|
81
|
+
# Optional npm cache directory
|
|
82
|
+
.npm
|
|
83
|
+
|
|
84
|
+
# Optional eslint cache
|
|
85
|
+
.eslintcache
|
|
86
|
+
|
|
87
|
+
# Microbundle cache
|
|
88
|
+
.rpt2_cache/
|
|
89
|
+
.rts2_cache_cjs/
|
|
90
|
+
.rts2_cache_es/
|
|
91
|
+
.rts2_cache_umd/
|
|
92
|
+
|
|
93
|
+
# Optional REPL history
|
|
94
|
+
.node_repl_history
|
|
95
|
+
|
|
96
|
+
# Output of 'npm pack'
|
|
97
|
+
*.tgz
|
|
98
|
+
|
|
99
|
+
# Yarn Integrity file
|
|
100
|
+
.yarn-integrity
|
|
101
|
+
|
|
102
|
+
# dotenv environment variables file
|
|
103
|
+
.env
|
|
104
|
+
.env.test
|
|
105
|
+
|
|
106
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
107
|
+
.cache
|
|
108
|
+
|
|
109
|
+
# Next.js build output
|
|
110
|
+
.next
|
|
111
|
+
|
|
112
|
+
# Nuxt.js build / generate output
|
|
113
|
+
.nuxt
|
|
114
|
+
|
|
115
|
+
# Gatsby files
|
|
116
|
+
.cache/
|
|
117
|
+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
|
|
118
|
+
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
119
|
+
# public
|
|
120
|
+
|
|
121
|
+
# vuepress build output
|
|
122
|
+
.vuepress/dist
|
|
123
|
+
|
|
124
|
+
# Serverless directories
|
|
125
|
+
.serverless/
|
|
126
|
+
|
|
127
|
+
# FuseBox cache
|
|
128
|
+
.fusebox/
|
|
129
|
+
|
|
130
|
+
# DynamoDB Local files
|
|
131
|
+
.dynamodb/
|
|
132
|
+
|
|
133
|
+
# TernJS port file
|
|
134
|
+
.tern-port
|
|
135
|
+
|
|
136
|
+
*~
|
|
137
|
+
|
|
138
|
+
package-lock.json
|
|
139
|
+
yarn.lock
|
|
140
|
+
|
|
141
|
+
test/local-config.js
|
|
142
|
+
test/local-env.js
|
|
143
|
+
# TypeScript build info
|
|
144
|
+
*.tsbuildinfo
|
|
145
|
+
.tsbuildinfo/
|
|
146
|
+
|
|
147
|
+
# Generator bookkeeping. This package is GENERATED into this repo by
|
|
148
|
+
# @voxgig/sdkgen from the SDK project, and jostraca drops its meta log plus a
|
|
149
|
+
# full duplicate of the last generated output here on every run. The SDK repo
|
|
150
|
+
# commits its own copy; this repo has no reason to, and without this line
|
|
151
|
+
# every regeneration leaves the provider repo dirty with hundreds of
|
|
152
|
+
# untracked files.
|
|
153
|
+
.jostraca/
|
|
154
|
+
`)
|
|
155
|
+
})
|
|
156
|
+
})
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
export {
|
|
160
|
+
Gitignore
|
|
161
|
+
}
|