@abcnews/aunty 14.0.2 → 15.0.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/README.md +1 -13
- package/package.json +7 -7
- package/src/config/webpack.js +1 -1
- package/src/generators/project/index.js +1 -1
- package/ts/config.json +1 -1
package/README.md
CHANGED
|
@@ -120,7 +120,7 @@ If you don't need to override any of the project defaults, your entire aunty con
|
|
|
120
120
|
| `hasBundleAnalysis` | `false` | Setting this to true will spin up a second server on another port, allowing you to inspect your bundle. The address will be logged to the console when the dev server starts. |
|
|
121
121
|
| `host` | `"localhost"` | The hostname of your dev server. If you're on the ABC internal network, the default will change to your machine's hostname (`ws<number>.aus.aunty.abc.net.au`). The `AUNTY_HOST` environment variable, if present, will override this setting. |
|
|
122
122
|
| `hot` | `true` | Should the dev server enable hot reloading. If `NODE_ENV !== "development"`, the default will change to `false`. |
|
|
123
|
-
| `https` | `true` | Should the dev server use SSL (with a self-signed certificate matching the `host`). You can alternatively supply your own `{cert: string, key: string}` object if you've generated your certificate some other way.
|
|
123
|
+
| `https` | `true` | Should the dev server use SSL (with a self-signed certificate matching the `host`). You can alternatively supply your own `{cert: string, key: string}` object if you've generated your certificate some other way. |
|
|
124
124
|
| `port` | `8000` | The port number of your dev server. If the port specified is unavailable, **aunty** will try incrementing the port number until it finds an available one. The `AUNTY_PORT` environment variable, if present, will override this setting. |
|
|
125
125
|
|
|
126
126
|
#### `deploy` config properties
|
|
@@ -142,18 +142,6 @@ You _could_ also specify `type` (`"ftp"`/`"ssh"`), `host`, `port`, `username` &
|
|
|
142
142
|
|
|
143
143
|
Aunty comes with a few basic generators. Run `aunty generate --help` for the full list, or `aunty generate <generator> --help` for further details.
|
|
144
144
|
|
|
145
|
-
### Async/await
|
|
146
|
-
|
|
147
|
-
One way to add `async`/`await` and generators/`yield` to your project is with the [`regenerator-runtime`](https://www.npmjs.com/package/regenerator-runtime) package.
|
|
148
|
-
|
|
149
|
-
`npm install regenerator-runtime` and then:
|
|
150
|
-
|
|
151
|
-
```js
|
|
152
|
-
import 'regenerator-runtime/runtime';
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
Note: You may also need a `Promise` polyfill for IE11.
|
|
156
|
-
|
|
157
145
|
## Authors
|
|
158
146
|
|
|
159
147
|
- Colin Gourlay
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abcnews/aunty",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "A toolkit for working with ABC News projects",
|
|
5
5
|
"repository": "abcnews/aunty",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"main": "src/api",
|
|
32
32
|
"engines": {
|
|
33
|
-
"node": ">=
|
|
33
|
+
"node": ">=16"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@babel/core": "^7.11.4",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"basic-ftp": "^5.0.2",
|
|
47
47
|
"chalk": "^4.1.2",
|
|
48
48
|
"cli-select": "^1.1.2",
|
|
49
|
-
"copy-webpack-plugin": "^
|
|
49
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
50
50
|
"css-loader": "^6.7.1",
|
|
51
51
|
"csv-loader": "^3.0.3",
|
|
52
52
|
"deepmerge": "^4.0.0",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"sass-loader": "^11.0.1",
|
|
79
79
|
"semver": "^7.3.2",
|
|
80
80
|
"style-loader": "^2.0.0",
|
|
81
|
-
"svelte": "^
|
|
82
|
-
"svelte-loader": "^3.1.
|
|
83
|
-
"svelte-preprocess": "^
|
|
81
|
+
"svelte": "^4.2.8",
|
|
82
|
+
"svelte-loader": "^3.1.9",
|
|
83
|
+
"svelte-preprocess": "^5.1.1",
|
|
84
84
|
"tcp-ping-sync": "^1.0.0",
|
|
85
|
-
"typescript": "^
|
|
85
|
+
"typescript": "^5.3.2",
|
|
86
86
|
"update-notifier": "^6.0.2",
|
|
87
87
|
"webpack": "^5.33.2",
|
|
88
88
|
"webpack-bundle-analyzer": "^4.5.0",
|
package/src/config/webpack.js
CHANGED
|
@@ -47,7 +47,7 @@ const PROJECT_TYPES_CONFIG = {
|
|
|
47
47
|
config.resolve = {
|
|
48
48
|
// Make sure that only one copy of the Svelte runtime is bundled in the app
|
|
49
49
|
alias: {
|
|
50
|
-
svelte: resolve('node_modules', 'svelte')
|
|
50
|
+
svelte: resolve('node_modules', 'svelte/src/runtime')
|
|
51
51
|
},
|
|
52
52
|
// Recognise .svelte files
|
|
53
53
|
extensions: [...config.resolve.extensions, '.svelte'],
|
package/ts/config.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"esModuleInterop": true,
|
|
15
15
|
"forceConsistentCasingInFileNames": true,
|
|
16
16
|
"allowSyntheticDefaultImports": true,
|
|
17
|
-
"
|
|
17
|
+
"verbatimModuleSyntax": true,
|
|
18
18
|
"resolveJsonModule": true,
|
|
19
19
|
"isolatedModules": true,
|
|
20
20
|
"strictNullChecks": true
|