Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep for os #206

Merged
merged 40 commits into from
Feb 21, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
1643916
Add license headers
devongovett Feb 13, 2020
1690b3a
Add required OS documents
devongovett Feb 13, 2020
ce4a13e
Add licenses to package.jsons
devongovett Feb 13, 2020
8052ad4
status for stories
Feb 13, 2020
6d3f42c
update stories
Feb 13, 2020
77187ea
Don't rebuild icons on every yarn install
devongovett Feb 13, 2020
f02cb1b
Skip installing and running v2 parity tests outside adobe
devongovett Feb 13, 2020
ce3d499
Merge branch 'not-os' of github.com:adobe/react-spectrum-v3 into not-os
devongovett Feb 13, 2020
2732201
circle happy?
devongovett Feb 13, 2020
fd58537
circle npmrc
devongovett Feb 13, 2020
c3a0a27
Fix incorrect dependency
devongovett Feb 13, 2020
2d3f415
fix
devongovett Feb 13, 2020
17bad92
ugh
devongovett Feb 13, 2020
2998814
Get rid of redundant build step
devongovett Feb 13, 2020
8e13fcc
lint
devongovett Feb 13, 2020
2db470a
Update package.json urls
devongovett Feb 13, 2020
c508a5e
update urls
Feb 13, 2020
7949818
conflict
Feb 13, 2020
c3d328b
Move image off corp
devongovett Feb 13, 2020
fb139d9
Merge branch 'not-os' of github.com:adobe/react-spectrum-v3 into not-os
devongovett Feb 13, 2020
55f6826
readme updates
Feb 13, 2020
b590c97
Merge branch 'not-os' of github.com:adobe/react-spectrum-v3 into not-os
Feb 13, 2020
1b6798f
more updates
devongovett Feb 13, 2020
a140540
fix readmes
Feb 14, 2020
7f31207
Merge branch 'not-os' of github.com:adobe/react-spectrum-v3 into not-os
Feb 14, 2020
e746426
Add more license headers
devongovett Feb 14, 2020
74d727e
Merge branch 'not-os' of github.com:adobe/react-spectrum-v3 into not-os
devongovett Feb 14, 2020
f025155
Update plop templates
devongovett Feb 14, 2020
7829e6a
Remove eslint plugin
devongovett Feb 14, 2020
6833878
Remove lint-staged because I cannot be bothered
devongovett Feb 14, 2020
0b3d0ed
Merge branch 'master' of github.com:adobe/react-spectrum-v3 into not-os
devongovett Feb 18, 2020
79786ed
More headers
devongovett Feb 18, 2020
5013eb3
Add missing license to package.jsons
devongovett Feb 19, 2020
b0e2160
Fix repo urls
devongovett Feb 19, 2020
364ac4b
Merge branch 'master' of github.com:adobe/react-spectrum-v3 into not-os
devongovett Feb 19, 2020
d865365
Update PULL_REQUEST_TEMPLATE.md
dannify Feb 21, 2020
70ee427
Update CONTRIBUTING.md
dannify Feb 21, 2020
7baabd1
readme update with feedback
Feb 21, 2020
1b1222d
add issue link for feedback
Feb 21, 2020
c12f2a3
Merge branch 'master' into not-os
dannify Feb 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update plop templates
  • Loading branch information
devongovett committed Feb 14, 2020
commit f02515516c55dd775275e70c8020db9ccd8b1ca4
12 changes: 12 additions & 0 deletions plop-templates/@react-aria/index.ts.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

export * from './src';
12 changes: 12 additions & 0 deletions plop-templates/@react-aria/src/index.ts.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

export * from './use{{componentName}}';
12 changes: 12 additions & 0 deletions plop-templates/@react-aria/src/useComponent.ts.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

interface {{componentName}}Props {
}

Expand Down
12 changes: 12 additions & 0 deletions plop-templates/@react-aria/test/useComponent.test.js.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import {cleanup, render} from '@testing-library/react';
import {renderHook} from 'react-hooks-testing-library';
import React, {useRef} from 'react';
Expand Down
12 changes: 12 additions & 0 deletions plop-templates/@react-spectrum/index.ts.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

export * from './src';
12 changes: 12 additions & 0 deletions plop-templates/@react-spectrum/src/Component.tsx.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import {classNames, DOMRef, filterDOMProps, useDOMRef, useStyleProps} from '@react-spectrum/utils';
import {mergeProps} from '@react-aria/utils';
import { {{~componentName}}Props} from '@react-types/${{packageName}}';
Expand Down
12 changes: 12 additions & 0 deletions plop-templates/@react-spectrum/src/index.ts.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

export * from './{{componentName}}';
12 changes: 12 additions & 0 deletions plop-templates/@react-spectrum/stories/Component.stories.tsx.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import {action} from '@storybook/addon-actions';
import { {{~componentName~}} , {{componentName~}} Props} from '../';
import React from 'react';
Expand Down
12 changes: 12 additions & 0 deletions plop-templates/@react-spectrum/test/Component.test.js.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import {{{componentName}}} from '../';
import {cleanup, render} from '@testing-library/react';
import React from 'react';
Expand Down
12 changes: 12 additions & 0 deletions plop-templates/@react-stately/index.ts.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

export * from './src';
12 changes: 12 additions & 0 deletions plop-templates/@react-stately/src/index.ts.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

export * from './use{{componentName}}State';
12 changes: 12 additions & 0 deletions plop-templates/@react-stately/src/useComponentState.ts.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import {useControlledState} from '@react-stately/utils';

export function use{{componentName}}State(props/*: type me */)/*: type me */ {
Expand Down
12 changes: 12 additions & 0 deletions plop-templates/@react-types/src/index.d.ts.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

import {DOMProps, StyleProps} from '@react-types/shared';

export interface {{componentName}}Props {
Expand Down
12 changes: 12 additions & 0 deletions plop-templates/@scope/index.ts.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/

export * from './src';
11 changes: 11 additions & 0 deletions plop-templates/@scope/src/index.ts.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/