foobara-empty-typescript-react-project-generator 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/templates/.env +1 -0
- data/templates/.eslintrc.js +43 -0
- data/templates/.github/workflows/tests.yml +18 -0
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6868e43f6619b9b24990d71dfdb7d9eff332ac8770b2af04aed483b88684fda1
|
|
4
|
+
data.tar.gz: 5c2ee6300e9f4248e88f5428ab3692a1d5da435ce3ddcb8e175cbc956b8d8353
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb32ddf157e53e8fde840b8daf47500bd9f9f96e57790749bf075cf33e62f36eee02cc5071a569b800c65858e5703ff3c3ab73e97fd532e4dd151f6c91c01f62
|
|
7
|
+
data.tar.gz: ca53360a14e98eb82bd9e9a9ba08feefc99ded986c8101705576e522db6ee410644ae05c1b7bb3953f25105a36a19274a18ef893204987c7e998643ae958b7b0
|
data/CHANGELOG.md
CHANGED
data/templates/.env
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
REACT_APP_FOOBARA_GLOBAL_URL_BASE=http://localhost:9292
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
"env": {
|
|
3
|
+
"browser": true,
|
|
4
|
+
"es2021": true
|
|
5
|
+
},
|
|
6
|
+
"extends": [
|
|
7
|
+
"standard-with-typescript",
|
|
8
|
+
"plugin:react/recommended"
|
|
9
|
+
],
|
|
10
|
+
"overrides": [
|
|
11
|
+
{
|
|
12
|
+
"env": {
|
|
13
|
+
"node": true
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
".eslintrc.{js,cjs}"
|
|
17
|
+
],
|
|
18
|
+
"parserOptions": {
|
|
19
|
+
"sourceType": "script"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
parser: '@typescript-eslint/parser',
|
|
24
|
+
"parserOptions": {
|
|
25
|
+
"ecmaVersion": "latest",
|
|
26
|
+
project: ['./tsconfig.json'],
|
|
27
|
+
"sourceType": "module"
|
|
28
|
+
},
|
|
29
|
+
"plugins": [
|
|
30
|
+
"react"
|
|
31
|
+
],
|
|
32
|
+
settings: {
|
|
33
|
+
react: {
|
|
34
|
+
version: "detect"
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
"rules": {
|
|
38
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
39
|
+
"@typescript-eslint/triple-slash-reference": "off",
|
|
40
|
+
"@typescript-eslint/explicit-function-return-type": "off",
|
|
41
|
+
"@typescript-eslint/no-floating-promises": "off",
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: tests
|
|
2
|
+
on: push
|
|
3
|
+
jobs:
|
|
4
|
+
tests:
|
|
5
|
+
runs-on: ubuntu-latest
|
|
6
|
+
name: run test suite
|
|
7
|
+
steps:
|
|
8
|
+
- uses: actions/checkout@v2
|
|
9
|
+
- name: Use Node.js
|
|
10
|
+
if: always()
|
|
11
|
+
uses: actions/setup-node@v2
|
|
12
|
+
with:
|
|
13
|
+
# how to grab this from .nvmrc??
|
|
14
|
+
node-version: "20.9"
|
|
15
|
+
- name: Install dependencies
|
|
16
|
+
run: npm install
|
|
17
|
+
- name: Run test
|
|
18
|
+
run: npm run test
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foobara-empty-typescript-react-project-generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Miles Georgi
|
|
@@ -55,6 +55,9 @@ files:
|
|
|
55
55
|
- src/empty_typescript_react_project_generator.rb
|
|
56
56
|
- src/generate_empty_typescript_react_project.rb
|
|
57
57
|
- src/write_empty_typescript_react_project_to_disk.rb
|
|
58
|
+
- templates/.env
|
|
59
|
+
- templates/.eslintrc.js
|
|
60
|
+
- templates/.github/workflows/tests.yml
|
|
58
61
|
- templates/tsconfig.json
|
|
59
62
|
homepage: https://github.com/foobara/generators-empty-typescript-react-project-generator
|
|
60
63
|
licenses:
|