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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 739e95bb903279fb89fdeda1c8605a8adbcd24471c4d1ba5dc2e5b0f23d968b5
4
- data.tar.gz: 69be9fbca9c0e4da1d8efc5d8d8b8a9b62e1077b608327b45e60342112922c2f
3
+ metadata.gz: 6868e43f6619b9b24990d71dfdb7d9eff332ac8770b2af04aed483b88684fda1
4
+ data.tar.gz: 5c2ee6300e9f4248e88f5428ab3692a1d5da435ce3ddcb8e175cbc956b8d8353
5
5
  SHA512:
6
- metadata.gz: 22abfd0f96fb8a3f625f6d4d6cfeef0dc9f42d28f24ae23130574054ba829847fa5e2b1e36a13a450114999252f353359840eff35f9fef6de8e4c8df6d004e9c
7
- data.tar.gz: 480c41ab898cd9542d6d139157c763ca46939e21c4742c9b4f7648ab7e40d8144b5b9d88097d84c076012e81a732a088868848dda259db8026028363a644dc3a
6
+ metadata.gz: eb32ddf157e53e8fde840b8daf47500bd9f9f96e57790749bf075cf33e62f36eee02cc5071a569b800c65858e5703ff3c3ab73e97fd532e4dd151f6c91c01f62
7
+ data.tar.gz: ca53360a14e98eb82bd9e9a9ba08feefc99ded986c8101705576e522db6ee410644ae05c1b7bb3953f25105a36a19274a18ef893204987c7e998643ae958b7b0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.3] - 2024-06-21
2
+
3
+ - Include hidden template files/directories in gem
4
+
1
5
  ## [0.0.2] - 2024-06-21
2
6
 
3
7
  - Include templates in gem
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.2
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: