Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dc769c9

Browse files
Updating config and move package to organization
1 parent 59f77a9 commit dc769c9

21 files changed

+4468
-3603
lines changed

‎.babelrc

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
{
2-
"presets": [
3-
"@babel/env",
4-
"@babel/preset-typescript"
5-
],
6-
"plugins": [
7-
"@babel/plugin-transform-typescript",
8-
"@babel/plugin-proposal-class-properties"
9-
]
2+
"presets": ["@babel/env", "@babel/preset-typescript"],
3+
"plugins": ["@babel/plugin-transform-typescript"]
104
}

‎.eslintrc.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
// https://eslint.org/docs/user-guide/configuring
22

33
module.exports = {
4+
root: true,
5+
parser: "@typescript-eslint/parser",
46
env: {
57
browser: true,
68
node: true,
7-
es6: true
9+
es6: true,
10+
jest: true,
811
},
9-
10-
globals: {
11-
page: 'readonly'
12-
}
12+
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
13+
extends: ["standard", "prettier"],
14+
plugins: ["@typescript-eslint"],
1315
}

‎.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v2
1111
with:
12-
node-version-file: '.node-version'
13-
cache: 'yarn'
12+
node-version-file: ".node-version"
13+
cache: "yarn"
1414
- run: |
1515
yarn install --silent --non-interactive
1616
yarn lint

‎.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Test
32

43
on: [push]
@@ -10,8 +9,8 @@ jobs:
109
- uses: actions/checkout@v2
1110
- uses: actions/setup-node@v2
1211
with:
13-
node-version-file: '.node-version'
14-
cache: 'yarn'
12+
node-version-file: ".node-version"
13+
cache: "yarn"
1514
- name: test
1615
run: |
1716
yarn install --silent --non-interactive

‎.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

‎.npmignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ index.html
66
netlify.toml
77
.node-version
88
.eslintrc.js
9-
src
109
spec
1110
tsconfig.json
12-
vite.config.js
11+
vite.config.mjs
1312
.prettierignore
1413
postcss.config.js
1514
tailwind.config.js

‎.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist
2+
node_modules

‎.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"printWidth": 120
2+
"printWidth": 120,
3+
"semi": false
34
}

‎CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
56
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
67

78
## [Unreleased]
89

10+
## [5.0.0] - 2024年03月23日
11+
912
### Added
1013

1114
- Dispatch `rails-nested-form:add` and `rails-nested-form:remove` events.
1215

16+
### Chore
17+
18+
- Renaming the component from `stimulus-rails-nested-form` to `@stimulus-components/rails-nested-form`
19+
- Upgrading dependencies
20+
- Exporting Typescript Types
21+
- Updating demo UI
22+
- Add [Stimulus LSP](https://github.com/marcoroth/stimulus-lsp) compatibility
23+
1324
## [4.1.0] - 2022年12月23日
1425

1526
### Added

‎LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Guillaume Briday
3+
Copyright (c) Guillaume Briday
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /