skeleton 0.1.2 → 1.0.1-next.0

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/LICENSE CHANGED
@@ -1,22 +1,21 @@
1
- Copyright (c) 2012 Etienne Lemay <etienne@heliom.ca>
1
+ MIT License
2
2
 
3
- Permission is hereby granted, free of charge, to any person
4
- obtaining a copy of this software and associated documentation
5
- files (the "Software"), to deal in the Software without
6
- restriction, including without limitation the rights to use,
7
- copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the
9
- Software is furnished to do so, subject to the following
10
- conditions:
3
+ Copyright (c) 2023 Skeleton Labs, LLC
11
4
 
12
- The above copyright notice and this permission notice shall be
13
- included in all copies or substantial portions of the Software.
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:
14
11
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
- OTHER DEALINGS IN THE SOFTWARE.
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.
package/README.md CHANGED
@@ -1,121 +1,23 @@
1
- ![Skeleton](https://s3.amazonaws.com/skeleton/skeleton.png)
1
+ # Skeleton CLI
2
2
 
3
- [Express](https://github.com/visionmedia/express) 3.0 framework-less app structure generator<br>
4
- [Documentation](http://etiennelem.github.com/skeleton) •
5
- [Blog post](http://heliom.ca/en/blog/skeleton)
3
+ The CLI for Skeleton related tooling.
6
4
 
7
5
  ## Usage
8
- ### Installation
9
- ```sh
10
- $ npm install -g skeleton
11
- ```
12
-
13
- ### Generate a project
14
- ```sh
15
- $ skeleton myapp
16
- $ skeleton --directory ~/Desktop myapp
17
- $ skeleton --renderer jade --css less myapp
18
- $ skeleton myapp --js js
19
- ```
20
-
21
- ### Start your application
22
- ```sh
23
- $ node server.js
24
- $ node server.js -p 1337
25
- ```
26
-
27
- ### Help
28
- ```sh
29
- $ skeleton --help
30
-
31
- Usage: skeleton [options] myapp
32
6
 
33
- -h, --help display this help message
34
- -v, --version display the version number
35
- -f, --force force on non-empty directory
36
- -n, --nolog do not print any message to process.stdout
37
- -d, --directory the output directory (default: ./)
38
- -r, --renderer template engine [ejs, jade] (default: ejs)
39
- -c, --css stylesheet engine [stylus, less, css] (default: stylus)
40
- -j, --js javascript engine [coffee, js] (default: coffee)
41
- ```
42
-
43
- ## Running tests
44
- ```sh
45
- $ npm test
46
- ```
47
-
48
- ## Features
49
- * Clean encapsulated Object-Oriented framework base (see [#not-quite-a-framework](#not-quite-a-framework))
50
- * CoffeeScript only. No js/compilation whatsoever
51
- * Automatically load `lib/**` & `app/controllers/**` files
52
- * Use [connect-assets](https://github.com/TrevorBurnham/connect-assets); The *“Rails 3.1-style asset pipeline for Node.js”*
53
- * Partials/layout ([removed from Express 3.0](https://github.com/visionmedia/express/wiki/Migrating-from-2.x-to-3.x)) via [express-partials](https://github.com/publicclass/express-partials)*
54
- * *At least until layout support is added to [ejs](https://github.com/visionmedia/ejs)
55
- * *Not in the package when using [Jade](https://github.com/visionmedia/jade)
56
- * Heroku-ready (see https://devcenter.heroku.com/articles/nodejs)
57
-
58
- ### Not quite a framework
59
- I guess this could be considered the generator part of a framework.
60
- It does create a view-controller user interface which does a bunch of things a framework would do, but once your project is generated it is up to you.
61
-
62
- ## Generated app structure
63
- See [example](https://github.com/EtienneLem/skeleton/tree/master/example).
64
- ```
65
- myapp
66
- ├─┬ app
67
- │ ├── app.coffee
68
- │ ├─┬ assets
69
- │ │ ├─┬ css
70
- │ │ │ └── styles.styl
71
- │ │ └─┬ js
72
- │ │ └── scripts.coffee
73
- │ ├─┬ controllers
74
- │ │ └── application_controller.coffee
75
- │ ├─┬ helpers
76
- │ │ └── index.coffee
77
- │ ├─┬ routes
78
- │ │ └── index.coffee
79
- │ └─┬ views
80
- │ ├── 404.ejs
81
- │ ├── index.ejs
82
- │ └── layout.ejs
83
- ├─┬ config
84
- │ └── boot.coffee
85
- ├─┬ lib
86
- │ └─┬ myapp
87
- │ └── my_custom_class.coffee
88
- ├── package.json
89
- ├── Procfile
90
- ├── public
91
- ├── README.md
92
- └── server.js
7
+ ```bash
8
+ npx skeleton [command] [args]
93
9
  ```
94
10
 
95
- ## Todo
96
- * Add [Haml](https://github.com/visionmedia/haml.js) support
97
- * Add [Sass](https://github.com/visionmedia/sass.js) support
11
+ ## Commands
98
12
 
99
- ## License
100
- Copyright (c) 2012 Etienne Lemay etienne@heliom.ca, [@EtienneLem](https://twitter.com/EtienneLem)
13
+ ### Migrate
101
14
 
102
- Permission is hereby granted, free of charge, to any person
103
- obtaining a copy of this software and associated documentation
104
- files (the "Software"), to deal in the Software without
105
- restriction, including without limitation the rights to use,
106
- copy, modify, merge, publish, distribute, sublicense, and/or sell
107
- copies of the Software, and to permit persons to whom the
108
- Software is furnished to do so, subject to the following
109
- conditions:
15
+ #### `skeleton-3`
110
16
 
111
- The above copyright notice and this permission notice shall be
112
- included in all copies or substantial portions of the Software.
17
+ The `skeleton-3` migration will migrate your project from V2 to V3, this includes:
113
18
 
114
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
115
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
116
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
117
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
118
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
119
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
120
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
121
- OTHER DEALINGS IN THE SOFTWARE.
19
+ - Tailwind classes
20
+ - Import statements
21
+ - Component names
22
+ - Your `package.json`
23
+ - Your `tailwind.config`
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ import { Command } from "commander";
3
+
4
+ //#region src/index.d.ts
5
+ declare const cli: Command;
6
+ //#endregion
7
+ export { cli };
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;cASM,KAAG"}