-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating config and move package to organization
- Loading branch information
1 parent
59f77a9
commit dc769c9
Showing
21 changed files
with
4,468 additions
and
3,603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
{ | ||
"presets": [ | ||
"@babel/env", | ||
"@babel/preset-typescript" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-transform-typescript", | ||
"@babel/plugin-proposal-class-properties" | ||
] | ||
"presets": ["@babel/env", "@babel/preset-typescript"], | ||
"plugins": ["@babel/plugin-transform-typescript"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
// https://eslint.org/docs/user-guide/configuring | ||
|
||
module.exports = { | ||
root: true, | ||
parser: "@typescript-eslint/parser", | ||
env: { | ||
browser: true, | ||
node: true, | ||
es6: true | ||
es6: true, | ||
jest: true, | ||
}, | ||
|
||
globals: { | ||
page: 'readonly' | ||
} | ||
// https://github.com/standard/standard/blob/master/docs/RULES-en.md | ||
extends: ["standard", "prettier"], | ||
plugins: ["@typescript-eslint"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18 | ||
20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"printWidth": 120 | ||
"printWidth": 120, | ||
"semi": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import "@babel/polyfill" | ||
import "mutationobserver-shim" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,73 @@ | ||
{ | ||
"name": "stimulus-rails-nested-form", | ||
"name": "@stimulus-components/rails-nested-form", | ||
"version": "4.1.0", | ||
"description": "A Stimulus controller to create new fields on the fly to populate your Rails relationship.", | ||
"keywords": [ | ||
"stimulus", | ||
"stimulusjs", | ||
"stimulus controller", | ||
"rails", | ||
"nested form" | ||
], | ||
"repository": "[email protected]:stimulus-components/stimulus-rails-nested-form.git", | ||
"bugs": { | ||
"url": "https://github.com/stimulus-components/stimulus-rails-nested-form/issues" | ||
}, | ||
"author": "Guillaume Briday <[email protected]>", | ||
"license": "MIT", | ||
"homepage": "https://github.com/stimulus-components/stimulus-rails-nested-form", | ||
"private": false, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"main": "dist/stimulus-rails-nested-form.umd.js", | ||
"module": "dist/stimulus-rails-nested-form.mjs", | ||
"types": "dist/types/index.d.ts", | ||
"scripts": { | ||
"format": "prettier-standard '**/*.{ts,css,html}' --format", | ||
"lint": "prettier-standard '**/*.{ts,css,html}' --lint", | ||
"lint": "tsc --noEmit && eslint --ext .js,.mjs,.ts . && prettier . --check", | ||
"lintfix": "eslint --ext .js,.mjs,.ts . --fix && prettier . --write", | ||
"types": "tsc --noEmit false --declaration true --emitDeclarationOnly true --outDir dist/types", | ||
"dev": "vite", | ||
"prod": "vite build --mode netlify", | ||
"build": "tsc --noEmit && vite build", | ||
"build": "vite build && yarn types", | ||
"version": "yarn build", | ||
"test": "BABEL_ENV=test jest", | ||
"np": "np --no-2fa" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.20.7", | ||
"@babel/plugin-syntax-class-properties": "7.12.13", | ||
"@babel/polyfill": "^7.12.1", | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@hotwired/stimulus": "^3.2.1", | ||
"@testing-library/dom": "^8.19.1", | ||
"@types/jest": "^29.2.4", | ||
"autoprefixer": "^10.4.13", | ||
"babel-jest": "^29.3.1", | ||
"jest": "^29.3.1", | ||
"jest-environment-jsdom": "^29.3.1", | ||
"@babel/core": "7.24.3", | ||
"@babel/polyfill": "7.12.1", | ||
"@babel/preset-env": "7.24.3", | ||
"@babel/preset-typescript": "7.24.1", | ||
"@hotwired/stimulus": "^3", | ||
"@types/jest": "^29.5.12", | ||
"@typescript-eslint/eslint-plugin": "^7.3.1", | ||
"@typescript-eslint/parser": "^7.3.1", | ||
"autoprefixer": "10.4.19", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-config-standard": "17.1.0", | ||
"eslint-plugin-import": "2.29.1", | ||
"eslint-plugin-n": "16.6.2", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-promise": "6.1.1", | ||
"eslint-plugin-standard": "5.0.0", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"mutationobserver-shim": "^0.3.7", | ||
"np": "^7.6.2", | ||
"postcss": "^8.4.20", | ||
"prettier-standard": "16.4.1", | ||
"tailwindcss": "^3.2.4", | ||
"typescript": "^4.9.4", | ||
"vite": "^4.0.3" | ||
"np": "9.2.0", | ||
"postcss": "8.4.38", | ||
"prettier": "3.2.5", | ||
"tailwindcss": "3.4.1", | ||
"typescript": "^5.4.3", | ||
"vite": "5.2.4" | ||
}, | ||
"peerDependencies": { | ||
"@hotwired/stimulus": "^3.0.0" | ||
}, | ||
"jest": { | ||
"setupFiles": [ | ||
"<rootDir>/jest/jest-setup.js" | ||
"<rootDir>/jest/jest-setup.ts" | ||
] | ||
}, | ||
"peerDependencies": { | ||
"@hotwired/stimulus": "^3.2.1" | ||
} | ||
} |
Oops, something went wrong.