File tree Expand file tree Collapse file tree 4 files changed +128
-4
lines changed
Expand file tree Collapse file tree 4 files changed +128
-4
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@v3
11+ with :
12+ submodules : true
1113 # Setup .npmrc file to publish to npm
1214 - uses : actions/setup-node@v3
1315 with :
1416 node-version : ' 16.x'
1517 registry-url : ' https://registry.npmjs.org'
18+ - run : npm run build
1619 - run : npm ci
1720 - run : npm publish
1821 env :
Original file line number Diff line number Diff line change 1+ # Logs
2+ logs
3+ * .log
4+ npm-debug.log *
5+ yarn-debug.log *
6+ yarn-error.log *
7+ lerna-debug.log *
8+
9+ # Diagnostic reports (https://nodejs.org/api/report.html)
10+ report. [0-9 ]* . [0-9 ]* . [0-9 ]* . [0-9 ]* .json
11+
12+ # Runtime data
13+ pids
14+ * .pid
15+ * .seed
16+ * .pid.lock
17+
18+ # Directory for instrumented libs generated by jscoverage/JSCover
19+ lib-cov
20+
21+ # Coverage directory used by tools like istanbul
22+ coverage
23+ * .lcov
24+
25+ # nyc test coverage
26+ .nyc_output
27+
28+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+ .grunt
30+
31+ # Bower dependency directory (https://bower.io/)
32+ bower_components
33+
34+ # node-waf configuration
35+ .lock-wscript
36+
37+ # Compiled binary addons (https://nodejs.org/api/addons.html)
38+ build /Release
39+
40+ # Dependency directories
41+ node_modules /
42+ jspm_packages /
43+
44+ # TypeScript v1 declaration files
45+ typings /
46+
47+ # TypeScript cache
48+ * .tsbuildinfo
49+
50+ # Optional npm cache directory
51+ .npm
52+
53+ # Optional eslint cache
54+ .eslintcache
55+
56+ # Microbundle cache
57+ .rpt2_cache /
58+ .rts2_cache_cjs /
59+ .rts2_cache_es /
60+ .rts2_cache_umd /
61+
62+ # Optional REPL history
63+ .node_repl_history
64+
65+ # Output of 'npm pack'
66+ * .tgz
67+
68+ # Yarn Integrity file
69+ .yarn-integrity
70+
71+ # dotenv environment variables file
72+ .env
73+ .env.test
74+
75+ # parcel-bundler cache (https://parceljs.org/)
76+ .cache
77+
78+ # Next.js build output
79+ .next
80+
81+ # Nuxt.js build / generate output
82+ .nuxt
83+
84+ # Gatsby files
85+ .cache /
86+ # Comment in the public line in if your project uses Gatsby and *not* Next.js
87+ # https://nextjs.org/blog/next-9-1#public-directory-support
88+ # public
89+
90+ # vuepress build output
91+ .vuepress /dist
92+
93+ # Serverless directories
94+ .serverless /
95+
96+ # FuseBox cache
97+ .fusebox /
98+
99+ # DynamoDB Local files
100+ .dynamodb /
101+
102+ # TernJS port file
103+ .tern-port
104+ deps /mermaid /*
105+ ! deps /mermaid /src
106+ samples /output * .md
107+ samples /raw * .txt
108+ samples /* .sql
109+ samples /* /* .sql
110+ junit.xml
111+ * .bak
112+ output- * .sql
113+ tests
Original file line number Diff line number Diff line change 11{
22 "name" : " @funktechno/little-mermaid-2-the-sql" ,
3- "version" : " 0.0.4 " ,
3+ "version" : " 0.0.5 " ,
44 "description" : " " ,
55 "main" : " ./lib/index.js" ,
66 "engines" : {
1111 },
1212 "scripts" : {
1313 "start" : " node index.mjs" ,
14- "littleMermaid2SQL" : " npm run build && littleMermaid2SQL" ,
15- "cli:help" : " npm i --force -g && littleMermaid2SQL --help" ,
16- "cli:test" : " npm i --force -g && littleMermaid2SQL" ,
14+ "littleMermaid2SQL" : " npm run build && npm i --force -g && littleMermaid2SQL" ,
15+ "cli:help" : " npm run build && npm i --force -g && littleMermaid2SQL --help" ,
16+ "cli:test" : " npm run build && npm i --force -g && littleMermaid2SQL" ,
17+ "cli:remove" : " npm uninstall -g" ,
1718 "test" : " jest" ,
1819 "lint" : " eslint" ,
1920 "create" : " npm run build && npm run cli:test" ,
Original file line number Diff line number Diff line change 1717 1 . sqlite ` npm run littleMermaid2SQL -- -d sqlite --src samples/chinook-database-2.0.1.md `
1818 1 . postgres ` npm run littleMermaid2SQL -- -d postgres --src samples/Adventureworks_pg.md `
1919 1 . mysql ` npm run littleMermaid2SQL -- -d mysql --src samples/Adventureworks_mysql.md `
20+ 4 . Force uninstall
21+ * ` npm uninstall -g little-mermaid-2-the-sql `
22+ * ` npm list -g `
23+ * ` littleMermaid2SQL --help `
24+ 5 . test package
25+ * update .npmignore
26+ * run ` npm pack ` unzip contents and verify, node_modules are not required b/c they will be installed with package.json
2027
2128### Technologies
2229* [ esLint] ( https://eslint.org/ )
You can’t perform that action at this time.
0 commit comments